CN105516257A - Video file processing method and video file processing system - Google Patents

Video file processing method and video file processing system Download PDF

Info

Publication number
CN105516257A
CN105516257A CN201510847848.2A CN201510847848A CN105516257A CN 105516257 A CN105516257 A CN 105516257A CN 201510847848 A CN201510847848 A CN 201510847848A CN 105516257 A CN105516257 A CN 105516257A
Authority
CN
China
Prior art keywords
video file
file
frame
processing method
cluster
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
CN201510847848.2A
Other languages
Chinese (zh)
Other versions
CN105516257B (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.)
SHENZHEN ZHONGBO KECHUANG INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ZHONGBO KECHUANG INFORMATION TECHNOLOGY 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 SHENZHEN ZHONGBO KECHUANG INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN ZHONGBO KECHUANG INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510847848.2A priority Critical patent/CN105516257B/en
Publication of CN105516257A publication Critical patent/CN105516257A/en
Application granted granted Critical
Publication of CN105516257B publication Critical patent/CN105516257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data

Abstract

The invention discloses a video file processing method. The video file processing method comprises: S1, identifying a video file stored in a cluster file system, judging whether the video file is a video file needed to be processed; if the video file is not the video needed to be processed, not processing the file; if the video file is the video file needed to be processed, carrying out following processing; S2, extracting the first frame of the video file needed to be processed, and storing to the cluster file system. The invention also provides a video file processing system. The video file processing method is used in the video file processing system. On the basis of the technical solution, the embodiment of the invention at least can generate following technical effects: improving the fluency of the non-linear editing software in the video file processing process.

Description

A kind of processing method of video file and video file treatment system
Technical field
The present invention relates to cluster file system and non-volume software environment, is specifically non-volume software and bottom cluster-based storage for the collaboration processing method of video file and video file treatment system.
Background technology
In recent years, cluster file system has become the new trend of technical development of computer.Cluster file system is connected into a systematic entirety by organically being combined by multiple single independently main frame, and rely on storage area network, the shared storage application of a Large Copacity file system is externally provided, achieves online non-volume environmental applications in storage area network.
Even so, when non-volume software reads video files a large amount of in cluster-based storage, video preview in non-volume software still can be caused to load slow problem.How to ensure non-volume software on a large amount of line of loading processing during video file, ensureing fluency simultaneously, reduce the consumption to cluster resource, is all urgent problem.
Summary of the invention
One of them object of the present invention is the processing method and the video file treatment system that propose a kind of video file, solves prior art and there is video preview and loaded slow technical problem.Many technique effects that optimal technical scheme in many technical schemes provided by the invention can produce refer to hereafter sets forth.
For achieving the above object, the invention provides following technical scheme:
The invention provides a kind of processing method of video file, the processing method of described video file comprises:
S1, identify and leave the video file of cluster file system in, judge whether described video file is need video files to be processed; If described video file is not need video file to be processed, then this file is not processed; If described video file needs video file to be processed, then it is handled as follows;
The first frame of S2, extraction need video file to be processed, and be saved in cluster file system.
Preferably, the processing method of described video file also comprises:
S3, non-volume software transfer video file;
S4, according to request video file address, video file treatment system returns to the first frame file address of video file address and preservation.
Preferably, the processing method of described video file also comprises:
Before the first frame file address that video file treatment system returns video file address and preservation, judge the first frame file of the video file whether non-volume software asks, if not compile the software asks first frame file of video file, then video file treatment system returns to the first frame file address of video file address and preservation, if not compile the first frame file that video file do not asked by software, then only return to video file address.
Preferably, the processing method of described video file also comprises:
Monitor the specified folder in cluster file system, whether monitoring has new video file write cluster file system, if monitor new file write cluster file system, starts to carry out step S1.
Preferably, the processing method of described video file also comprises:
Specified folder in cluster file system is monitored, whether the video file in monitoring cluster file system there is change, if there is change in the video file monitored in cluster file system, then start to carry out step S1, in step s 2, the first frame of the video file after change is saved in the first frame also replacing the front video file of change in cluster file system.
Preferably, the step S1 of the processing method of described video file comprises:
Whether be need video files to be processed by the suffix name of the mode identification video file of poll.
Preferably, the step S2 of the processing method of described video file comprises:
Be stored in first Frame storage module according to the form needed for the first frame preview of non-volume software.
Present invention also offers a kind of video file treatment system, described video file treatment system uses the processing method of above-mentioned video file, and described video file treatment system comprises:
Cluster file system, for store video files;
Identification module, for identifying the video file leaving cluster file system in, judges whether described video file is need video file to be processed;
Processing module, for processing need video file to be processed;
First frame extraction module, for extracting the first frame needing video file to be processed;
Non-volume software transfer interface, for the first frame of non-volume software transfer video file and video file.
Preferably, described video file treatment system also comprises:
Monitoring module, for monitoring the specified folder in cluster file system, whether monitoring has the video file in new video file write cluster file system and/or monitoring cluster file system whether change to occur.
Preferably, described cluster file system comprises:
Metadata store module, for store video files;
First Frame storage module, for the first frame of store video files, described first Frame storage module is for hiding module.
Based on technique scheme, the embodiment of the present invention at least can produce following technique effect: improve the fluency of non-volume software in video file processing procedure.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
The flow chart of the processing method of the video file that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the processing method of the video file that Fig. 2 provides for first embodiment of the invention;
The flow chart of the processing method of the video file that Fig. 3 provides for second embodiment of the invention;
The schematic diagram of the video file treatment system of the video file that Fig. 4 provides for the embodiment of the present invention.
Reference numeral:
1-cluster file system; 11-metadata store module; The first Frame storage module of 12-; 2-identification module; 3-processing module; The first frame extraction module of 4-; 5-non-volume software transfer interface; 6-monitoring module.
Embodiment
Content of the present invention and the distinctive points between the present invention and prior art can be understood below with reference to accompanying drawing Fig. 1 ~ Fig. 4 and word content.Hereafter by accompanying drawing and the mode enumerating embodiment more of the present invention, technical scheme of the present invention (comprising optimal technical scheme) is described in further detail.It should be noted that: any technical characteristic in the present embodiment, any technical scheme is all one or more in the technical characteristic of plurality of optional or optional technical scheme, cannot exhaustive all alternative technical characteristics of the present invention and alternative technical scheme in order to describe succinct to need in presents, also the execution mode being not easy to each technical characteristic all emphasizes that it is one of optional numerous embodiments, so those skilled in the art should know: arbitrary technological means provided by the invention can be carried out replacing or two or more technological means or technical characteristic arbitrarily provided by the invention being carried out mutually combining and obtain new technical scheme.Any technical characteristic in the present embodiment and any technical scheme all do not limit the scope of the invention, protection scope of the present invention should comprise those skilled in the art do not pay creative work thinkable any alternate embodiments and those skilled in the art new technical scheme that two or more technological means or technical characteristic arbitrarily provided by the invention are carried out mutually combining and obtain.
Embodiments provide a kind of processing method and video file treatment system of video file, the fluency of non-volume software in video file processing procedure can be improved.
Below in conjunction with the elaboration that Fig. 1 ~ Fig. 4 carries out specifically to technical scheme provided by the invention.
As shown in Figure 1, the processing method of a kind of video file that the embodiment of the present invention provides, the processing method of described video file comprises:
S1, identify and leave the video file of cluster file system 1 in, judge whether described video file is need video files to be processed; If described video file is not need video file to be processed, then this file is not processed; If described video file needs video file to be processed, then it is handled as follows;
The first frame of S2, extraction need video file to be processed, and be saved in cluster file system.
The processing method of above-mentioned video file is by anticipating the video file left in cluster file system 1, extract the first frame of video file, such processing mode can make when non-software for editing calls video file, the first frame of direct acquisition video file, thus loaded slow problem for the first time when effectively avoiding using non-volume software editing video file, improve the fluency of non-volume software in video file processing procedure.Wherein, when the video file of cluster file system 1 is left in identification in, whether can be need video file to be processed by the suffix name of the mode identification video file of poll.When being saved in cluster file system, can be stored in the first Frame storage module 12 of cluster file system 1 according to the form needed for the first frame preview of non-volume software.
Preferably, the processing method of described video file also comprises:
S3, non-volume software transfer video file;
S4, according to request video file address, video file treatment system returns to the first frame file address of video file address and preservation.
Preferably, before the first frame file address that video file treatment system returns video file address and preservation, judge the first frame file of the video file whether non-volume software asks, if not compile the software asks first frame file of video file, then video file treatment system returns to the first frame file address of video file address and preservation, if not compile the first frame file that video file do not asked by software, then only return to video file address.
As shown in Figure 2, the processing method of described video file also comprises:
Specified folder in cluster file system is monitored, whether monitoring has new video file write cluster file system, if monitor new file write cluster file system, start to carry out step S1, by monitoring the specified folder in cluster file system, actions such as identifying video file can be started time in need, reduce the pressure of operation.
As shown in Figure 3, the processing method of described video file also comprises:
Specified folder in cluster file system is monitored, whether the video file in monitoring cluster file system there is change, if there is change in the video file monitored in cluster file system, then start to carry out step S1, in step s 2, the first frame of the video file after change is saved in the first frame also replacing the front video file of change in cluster file system.Same reason, by monitoring the specified folder in cluster file system, can start actions such as identifying video file, reducing the pressure of operation time in need.That is the specified folder in cluster file system is carried out monitoring to monitor whether there is new video file write cluster file system on the one hand, whether the video file also can monitored in cluster file system there is change on the other hand, these two aspects can reach and start actions such as identifying video file time in need, reduce the object of operating pressure.
As shown in Figure 4, present invention also offers a kind of video file treatment system, described video file treatment system uses the processing method of above-mentioned video file, and described video file treatment system comprises:
Cluster file system 1, for store video files;
Identification module 2, for identifying the video file leaving cluster file system 1 in, judges whether described video file is need video file to be processed;
Processing module 3, for processing need video file to be processed;
First frame extraction module 4, for extracting the first frame needing video file to be processed;
Non-volume software transfer interface 5, for the first frame of non-volume software transfer video file and video file.
This video file treatment system, first the video file leaving cluster file system 1 in is identified by identification module 2, judge whether described video file is need video file to be processed, and the video file left in cluster file system 1 is anticipated by processing module 3, the first frame of video file is extracted by first frame extraction module 4, such processing mode can make when non-software for editing utilizes non-volume software transfer interface 5 to call video file, the first frame of direct acquisition video file, thus loaded slow problem for the first time when effectively avoiding using non-volume software editing video file, improve the fluency of non-volume software in video file processing procedure.
Wherein, when the video file of cluster file system 1 is left in identification in, whether can be need video file to be processed by the suffix name of the mode identification video file of poll.When being saved in cluster file system, can according to the form needed for the first frame preview of non-volume software by the first Frame storage of video file in the first Frame storage module 12 of cluster file system 1, video file is stored in metadata store module 11.
Preferably, video file treatment system also comprises: monitoring module 6, for monitoring the specified folder in cluster file system 1, whether this monitoring module 6 can be monitored new video file write cluster file system, and whether the video file also can monitored in cluster file system change occurred.Can reach and start actions such as identifying video file time in need, reduce the object of operating pressure.
Arbitrary technical scheme disclosed in the invention described above unless otherwise stated, if the number range of it discloses, so disclosed number range is preferred number range, anyly it should be appreciated by those skilled in the art: preferred number range is only the numerical value that in many enforceable numerical value, technique effect is obvious or representative.Because numerical value is more, cannot be exhaustive, so the present invention just discloses component values to illustrate technical scheme of the present invention, and the above-mentioned numerical value enumerated should not form the restriction to the invention protection range.
If employ the word such as " first ", " second " herein to limit parts, those skilled in the art should know: the use of " first ", " second " is only used to be convenient to describe carry out difference as not having outside Stated otherwise to parts, the implication that above-mentioned word is not special.
Simultaneously, if the invention described above discloses or relate to parts or the structural member of connection fastened to each other, so, unless otherwise stated, be fixedly connected with and can be understood as: can releasably be fixedly connected with (such as using bolt or screw to connect), also can be understood as: to be non-removablely fixedly connected with (such as rivet, weld), certainly, connection fastened to each other also can be replaced by integral type structure (such as use casting technique is integrally formed create) (obviously cannot adopt except integrally formed technique).
In addition, apply in arbitrary technical scheme disclosed in the invention described above for represent position relationship or shape term unless otherwise stated its implication comprise approximate with it, similar or close state or shape.Arbitrary parts provided by the invention both can be assembled by multiple independent part, and also can be one of the forming manufacture technics separate part out.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or carry out equivalent replacement to portion of techniques feature; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request of the present invention protection.

Claims (10)

1. a processing method for video file, is characterized in that, the processing method of described video file comprises:
S1, identify and leave the video file of cluster file system in, judge whether described video file is need video files to be processed; If described video file is not need video file to be processed, then this file is not processed; If described video file needs video file to be processed, then it is handled as follows;
The first frame of S2, extraction need video file to be processed, and be saved in cluster file system.
2. the processing method of video file according to claim 1, is characterized in that, the processing method of described video file also comprises:
S3, non-volume software transfer video file;
S4, according to request video file address, video file treatment system returns to the first frame file address of video file address and preservation.
3. the processing method of video file according to claim 2, is characterized in that, the processing method of described video file also comprises:
Before the first frame file address that video file treatment system returns video file address and preservation, judge the first frame file of the video file whether non-volume software asks, if not compile the software asks first frame file of video file, then video file treatment system returns to the first frame file address of video file address and preservation, if not compile the first frame file that video file do not asked by software, then only return to video file address.
4. the processing method of video file according to claim 1, is characterized in that, the processing method of described video file also comprises:
Monitor the specified folder in cluster file system, whether monitoring has new video file write cluster file system, if monitor new file write cluster file system, starts to carry out step S1.
5. the processing method of video file according to claim 1, is characterized in that, the processing method of described video file also comprises:
Specified folder in cluster file system is monitored, whether the video file in monitoring cluster file system there is change, if there is change in the video file monitored in cluster file system, then start to carry out step S1, in step s 2, the first frame of the video file after change is saved in the first frame also replacing the front video file of change in cluster file system.
6. the processing method of video file according to claim 1, is characterized in that, the step S1 of the processing method of described video file comprises:
Whether be need video files to be processed by the suffix name of the mode identification video file of poll.
7. the processing method of video file according to claim 1, is characterized in that, the step S2 of the processing method of described video file comprises:
Be stored in first Frame storage module according to the form needed for the first frame preview of non-volume software.
8. a video file treatment system, is characterized in that, described video file treatment system uses the processing method of the video file as described in any one of claim 1 to 7, and described video file treatment system comprises:
Cluster file system, for store video files;
Identification module, for identifying the video file leaving cluster file system in, judges whether described video file is need video file to be processed;
Processing module, for processing need video file to be processed;
First frame extraction module, for extracting the first frame needing video file to be processed;
Non-volume software transfer interface, for the first frame of non-volume software transfer video file and video file.
9. video file treatment system according to claim 7, is characterized in that, described video file treatment system also comprises:
Monitoring module, for monitoring the specified folder in cluster file system, whether monitoring has the video file in new video file write cluster file system and/or monitoring cluster file system whether change to occur.
10. video file treatment system according to claim 7, is characterized in that, described cluster file system comprises:
Metadata store module, for store video files;
First Frame storage module, for the first frame of store video files, described first Frame storage module is for hiding module.
CN201510847848.2A 2015-11-27 2015-11-27 A kind of processing method and video file processing system of video file Active CN105516257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510847848.2A CN105516257B (en) 2015-11-27 2015-11-27 A kind of processing method and video file processing system of video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510847848.2A CN105516257B (en) 2015-11-27 2015-11-27 A kind of processing method and video file processing system of video file

Publications (2)

Publication Number Publication Date
CN105516257A true CN105516257A (en) 2016-04-20
CN105516257B CN105516257B (en) 2019-05-03

Family

ID=55723888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510847848.2A Active CN105516257B (en) 2015-11-27 2015-11-27 A kind of processing method and video file processing system of video file

Country Status (1)

Country Link
CN (1) CN105516257B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307842A (en) * 2019-07-31 2021-02-02 株洲中车时代电气股份有限公司 Video identification system and method for matching of train operation monitoring record files

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800839A (en) * 2009-12-24 2010-08-11 广东威创视讯科技股份有限公司 Method for opening multiple video objects in high efficiency
CN102572291A (en) * 2010-12-16 2012-07-11 新奥特(北京)视频技术有限公司 Script rough-editing system and method
CN102630041A (en) * 2012-04-01 2012-08-08 央视国际网络有限公司 Processing method, device and system for television program data
CN102722307A (en) * 2011-03-29 2012-10-10 腾讯科技(深圳)有限公司 Thumbnail navigation method and apparatus
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system
CN104954850A (en) * 2015-06-03 2015-09-30 新奥特(北京)视频技术有限公司 Nonlinear editing software dispatching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800839A (en) * 2009-12-24 2010-08-11 广东威创视讯科技股份有限公司 Method for opening multiple video objects in high efficiency
CN102572291A (en) * 2010-12-16 2012-07-11 新奥特(北京)视频技术有限公司 Script rough-editing system and method
CN102722307A (en) * 2011-03-29 2012-10-10 腾讯科技(深圳)有限公司 Thumbnail navigation method and apparatus
CN102630041A (en) * 2012-04-01 2012-08-08 央视国际网络有限公司 Processing method, device and system for television program data
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system
CN104954850A (en) * 2015-06-03 2015-09-30 新奥特(北京)视频技术有限公司 Nonlinear editing software dispatching method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307842A (en) * 2019-07-31 2021-02-02 株洲中车时代电气股份有限公司 Video identification system and method for matching of train operation monitoring record files

Also Published As

Publication number Publication date
CN105516257B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN102207873B (en) Realizing method of JavaScript extended object based on Android platform, and binding interface structure
CN106547580B (en) Method and device for hooking function, mobile terminal and storage medium
CN104503784A (en) Method and system for controlling micro-client downloading by using script
CN106528065B (en) A kind of thread acquisition methods and equipment
CN102915344B (en) SQL (structured query language) statement processing method and device
CN104346194A (en) Method, device and electronic equipment for starting file loading
CN105868093A (en) Log write-in method and server side
CN104424240A (en) Multi-table correlation method and system, main service node and computing node
CN109977168A (en) The method for synchronizing data of database and equipment preloaded based on data page
CN105516257A (en) Video file processing method and video file processing system
CN104346395A (en) Storage method for hard disk file
CN103870347A (en) System restoring method and device
CN104519062A (en) Method and system for creating connection of multiple pairs of socket ports
CN105242993A (en) Data backup method and system
CN110941658A (en) Data export method, device, server and storage medium
CN105512215A (en) Audio file processing method and audio file processing system
CN104965742B (en) A kind of automatized script and device handling front-end task
CN110874214B (en) Function calling method and device, electronic equipment and storage medium
KR101396781B1 (en) The device which manages a application program and managing method for the same
CN101908009A (en) File backup and using method
CN104331406A (en) Database capacity control method and database capacity control device
CN113805854A (en) Method, system and device for realizing Hook of application layer based on Linux system and storage medium
CN102541903A (en) Comma separated value (CSV) to microsoft excel (XLS) format conversion mode
CN104636345A (en) Database reading and writing method based on distributed cache
CN102779038B (en) Method and device for assembly integration

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of video file processing and video file processing system

Effective date of registration: 20200907

Granted publication date: 20190503

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: SHENZHEN ZHONGBO KECHUANG INFORMATION Co.,Ltd.

Registration number: Y2020990001081

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: B703, Shenzhen national engineering laboratory building, No. 20, Gaoxin South 7th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN ZHONGBO KECHUANG INFORMATION Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District South Road Fiyta Technology Building Room 1402

Patentee before: SHENZHEN ZHONGBO KECHUANG INFORMATION Co.,Ltd.

CP02 Change in the address of a patent holder
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20211022

Granted publication date: 20190503

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: SHENZHEN CHINA BLOG IMFORMATION TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001081

PC01 Cancellation of the registration of the contract for pledge of patent right