CN105516257B - A kind of processing method and video file processing system of video file - Google Patents

A kind of processing method and video file processing system of video file Download PDF

Info

Publication number
CN105516257B
CN105516257B CN201510847848.2A CN201510847848A CN105516257B CN 105516257 B CN105516257 B CN 105516257B CN 201510847848 A CN201510847848 A CN 201510847848A CN 105516257 B CN105516257 B CN 105516257B
Authority
CN
China
Prior art keywords
video file
file
frame
cluster
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510847848.2A
Other languages
Chinese (zh)
Other versions
CN105516257A (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 kind of processing method of video file, the processing method of the video file includes: S1, identifies the video file for being stored in cluster file system, judges whether the video file is video file to be treated;If the video file is not required to the video file of processing, this document is not handled;If the video file is video file to be treated, it is handled as follows;S2, the first frame for extracting video file to be treated, and be saved in cluster file system.The present invention also provides a kind of video file processing systems, the video file processing system uses the processing method of above-mentioned video file, based on the above-mentioned technical proposal, the embodiment of the present invention at least can produce following technical effect: improve the non-fluency for compiling software in video file treatment process.

Description

A kind of processing method and video file processing system of video file
Technical field
The present invention relates to cluster file systems and non-volume software environment, are specifically non-volume software and bottom cluster-based storage pair In the collaboration processing method and video file processing system of video file.
Background technique
In recent years, cluster file system has become the new trend of technical development of computer.Cluster file system pass through by Multiple single independent hosts organically combine and are connected into a systematic entirety, and rely on storage area network, externally mention For the shared storage application of a large capacity file system, online non-volume environmental applications in storage area network are realized.
Even so, when non-volume software reads a large amount of video file in cluster-based storage, it still will cause non-volume software Middle video preview loaded slow problem.How to guarantee that non-volume software in video file on a large amount of lines of loading processing, is protected simultaneously Fluency is demonstrate,proved, the consumption to cluster resource is reduced, is all urgent problem.
Summary of the invention
One of purpose of the invention is to propose the processing method and video file processing system of a kind of video file, It solves the prior art and loaded slow technical problem there are video preview.It is preferred in many technical solutions provided by the invention Many technical effects elaboration as detailed below that technical solution can be generated.
To achieve the above object, the present invention provides following technical schemes:
The present invention provides a kind of processing method of video file, the processing method of the video file includes:
S1, identification are stored in the video file of cluster file system, judge whether the video file is to be treated Video file;If the video file is not required to the video file of processing, this document is not handled;If the video File is video file to be treated, then it is handled as follows;
S2, the first frame for extracting video file to be treated, and be saved in cluster file system.
Preferably, the processing method of the video file further include:
S3, non-volume software transfer video file;
S4, the video file address according to request, video file processing system return video file address and preservation First frame file address.
Preferably, the processing method of the video file further include:
Before the first frame file address that video file processing system returns to video file address and preservation, judge that non-volume is soft The first frame file for the video file whether part requests, if not compiling software requests the first frame file of video file, then video file Processing system returns to the first frame file address of video file address and preservation, if not compile the head that software does not request video file Frame file is then returned only to video file address.
Preferably, the processing method of the video file further include:
Specified folder in cluster file system is monitored, monitors whether new video file write-in cluster text Part system starts to carry out step S1 if monitoring new file write-in cluster file system.
Preferably, the processing method of the video file further include:
Specified folder in cluster file system is monitored, whether the video file in monitoring cluster file system Variation occurred, if variation occurred for the video file monitored in cluster file system, starts to carry out step S1, in step In S2, the first frame of the video file after variation is saved in cluster file system and replaces the first frame for changing preceding video file.
Preferably, the step S1 of the processing method of the video file includes:
Whether the suffix name that video file is identified by way of poll is video file to be treated.
Preferably, the step S2 of the processing method of the video file includes:
According to the storage of format needed for non-volume software head frame preview into first frame memory module.
The present invention also provides a kind of video file processing system, the video file processing system uses above-mentioned video text The processing method of part, the video file processing system include:
Cluster file system, for storing video file;
Identification module is stored in the video file of cluster file system for identification, judge the video file whether be Video file to be treated;
Processing module, for handling video file to be treated;
First frame extraction module, for extracting the first frame of video file to be treated;
Non- volume software transfer interface, for non-volume software transfer video file and the first frame of video file.
Preferably, the video file processing system further include:
Monitoring module monitors whether new video for being monitored to the specified folder in cluster file system Whether file write-in cluster file system and/or the video file monitored in cluster file system occurred variation.
Preferably, the cluster file system includes:
Metadata storage module, for storing video file;
First frame memory module, for storing the first frame of video file, the head frame memory module is hidden module.
Based on the above-mentioned technical proposal, the embodiment of the present invention at least can produce following technical effect: improving non-volume software and exists Fluency in video file treatment process.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the processing method of video file provided by the embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of video file provided by first embodiment of the invention;
Fig. 3 is the flow chart of the processing method of video file provided by second embodiment of the invention;
Fig. 4 is the schematic diagram of the video file processing system of video file provided by the embodiment of the present invention.
Appended drawing reference:
1- cluster file system;11- metadata storage module;12- head frame memory module;2- identification module;3- handles mould Block;4- head frame extraction module;The non-volume software transfer interface of 5-;6- monitoring module.
Specific embodiment
Be referred to attached drawing FIG. 1 to FIG. 4 below and word content understand the contents of the present invention and the present invention with it is existing Distinctive points between technology.Hereafter attached drawing and by way of enumerating some alternative embodiments of the invention, to of the invention Technical solution (including optimal technical scheme) is described in further detail.It should be understood that any skill in the present embodiment Art feature, any technical solution are the technical characteristic or one or more of optional technical solution of plurality of optional, in order to Description it is succinct need all alternative technical characteristics of the invention impossible to exhaust and alternative technical side in this document Case, the embodiment for being also not easy to each technical characteristic emphasize it for one of optional numerous embodiments, so this field Technical staff should know: any technological means provided by the invention can be replaced or by provided by the invention any two A or more technical means or technical features, which are combined with each other, obtains new technical solution.Any skill in the present embodiment Art feature and any technical solution do not limit the scope of the invention, and protection scope of the present invention should include this field Technical staff does not make the creative labor the thinkable any alternate embodiments of institute and those skilled in the art will be of the invention Any two or more technical means or technical features of offer technical solution new obtained from being combined with each other.
The embodiment of the invention provides a kind of processing method of video file and video file processing systems, can improve The non-fluency for compiling software in video file treatment process.
Technical solution provided by the invention is illustrated in more detail below with reference to FIG. 1 to FIG. 4.
As shown in Figure 1, a kind of processing method of video file, the place of the video file provided by the embodiment of the present invention Reason method includes:
S1, identification are stored in the video file of cluster file system 1, judge whether the video file is to be treated Video file;If the video file is not required to the video file of processing, this document is not handled;If the video File is video file to be treated, then it is handled as follows;
S2, the first frame for extracting video file to be treated, and be saved in cluster file system.
The processing method of above-mentioned video file is mentioned by pre-processing the video file being stored in cluster file system 1 The first frame of video file is taken, such processing mode can to directly acquire view when non-software for editing calls video file The first frame of frequency file changes to be effectively prevented from using slow problem was loaded for the first time when non-volume software editing video file It is apt to fluency of the non-volume software in video file treatment process.Wherein, the video text of cluster file system 1 is stored in identification When part, can identify whether the suffix name of video file is video file to be treated by way of poll.It is being saved in It, can be according to the first frame of format storage needed for non-volume software head frame preview to cluster file system 1 when in cluster file system In memory module 12.
Preferably, the processing method of the video file further include:
S3, non-volume software transfer video file;
S4, the video file address according to request, video file processing system return video file address and preservation First frame file address.
Preferably, before the first frame file address that video file processing system returns to video file address and preservation, sentence Break the non-first frame file for compiling the video file whether software requests, if not the first frame file that software requests video file is compiled, then Video file processing system returns to the first frame file address of video file address and preservation, if not compiling software does not request video The first frame file of file, then be returned only to video file address.
As shown in Fig. 2, the processing method of the video file further include:
Specified folder in cluster file system is monitored, monitors whether new video file write-in cluster text Part system starts to carry out step S1, by cluster file system if monitoring new file write-in cluster file system In specified folder be monitored, the identification movement such as video file can be started when in need, reduce operation Pressure.
As shown in figure 3, the processing method of the video file further include:
Specified folder in cluster file system is monitored, whether the video file in monitoring cluster file system Variation occurred, if variation occurred for the video file monitored in cluster file system, starts to carry out step S1, in step In S2, the first frame of the video file after variation is saved in cluster file system and replaces the first frame for changing preceding video file.Together The reason of sample can start identification by being monitored to the specified folder in cluster file system when in need The movement such as video file, reduces the pressure of operation.That is the specified folder in cluster file system is monitored On the one hand it can monitor whether new video file write-in cluster file system, on the other hand can also monitor group document system Whether the video file in system occurred variation, the two aspects can reach starting identification video text when in need The movement such as part, reduces the purpose of operating pressure.
As shown in figure 4, the video file processing system uses the present invention also provides a kind of video file processing system The processing method of above-mentioned video file, the video file processing system include:
Cluster file system 1, for storing video file;
Identification module 2 is stored in the video file of cluster file system 1 for identification, whether judges the video file For video file to be treated;
Processing module 3, for handling video file to be treated;
First frame extraction module 4, for extracting the first frame of video file to be treated;
Non- volume software transfer interface 5, for non-volume software transfer video file and the first frame of video file.
The video file processing system identifies the video text for being stored in cluster file system 1 by identification module 2 first Part judges whether the video file is video file to be treated, and is stored in cluster by the pre-processing of processing module 3 Video file in file system 1, the first frame of video file is extracted by first frame extraction module 4, and such processing mode can be with So that the first frame of video file is directly acquired when non-software for editing calls video file using non-volume software transfer interface 5, from And be effectively prevented from using slow problem was loaded when non-volume software editing video file for the first time, improve non-volume software in video Fluency in file handling procedure.
Wherein, when the video file of cluster file system 1 is stored in identification, video can be identified by way of poll Whether the suffix name of file is video file to be treated.It, can be soft according to non-volume when being saved in cluster file system Format needed for part head frame preview stores the first frame of video file into the first frame memory module 12 of cluster file system 1, will Video file is stored into metadata storage module 11.
Preferably, video file processing system further include: monitoring module 6, for the specified text in cluster file system 1 Part folder is monitored, which can monitor whether new video file write-in cluster file system, can also be monitored Whether the video file in cluster file system occurred variation.It can achieve starting identification video file when in need Deng movement, the purpose of operating pressure is reduced.
Any technical solution disclosed in aforementioned present invention unless otherwise stated, if it discloses numberical range, Disclosed numberical range is preferred numberical range, and any it should be appreciated by those skilled in the art preferred numberical ranges The only obvious or representative numerical value of technical effect in many enforceable numerical value.It, can not since numerical value is more Exhaustion, so the present invention just discloses technical solution of the component values to illustrate the present invention, also, the above-mentioned numerical value enumerated is not The limitation to the invention protection scope should be constituted.
If the words such as " first ", " second " are used herein come if limiting components, those skilled in the art are answered This knows: the use of " first ", " second " is intended merely to facilitate in description and is distinguished components as not having Stated otherwise Outside, above-mentioned word has no special meaning.
Meanwhile if aforementioned present invention discloses or relates to the components or structural member of connection fastened to each other, except another There is statement outer, is fixedly connected it is to be understood that connection (such as using bolt or screw connection) can be removedly fixed, it can also be with Understand are as follows: non-removable to be fixedly connected with (such as riveting, welding), certainly, connection fastened to each other or integral structure (such as manufacturing using casting technique is integrally formed) is replaced (obviously can not be using except integrally formed technique).
In addition, for indicating the art of positional relationship or shape applied in any technical solution disclosed in aforementioned present invention Its meaning includes approximate with its, similar or close state or shape to language unless otherwise stated.Either component provided by the invention Either being assembled by multiple individual component parts, or the separate part that integrally formed technique manufactures.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent The present invention is described in detail with reference to preferred embodiments for pipe, it should be understood by those ordinary skilled in the art that: still It can modify to a specific embodiment of the invention or some technical features can be equivalently replaced;Without departing from this hair The spirit of bright technical solution should all cover within the scope of the technical scheme claimed by the invention.

Claims (8)

1. a kind of processing method of video file, which is characterized in that the processing method of the video file includes:
S1, identification are stored in the video file of cluster file system, judge whether the video file is video to be treated File;If the video file is not required to the video file of processing, this document is not handled;If the video file It is video file to be treated, then it is handled as follows;
S2, the first frame for extracting video file to be treated, and be saved in cluster file system;
The processing method of the video file further include:
S3, non-volume software transfer video file;
S4, the video file address according to request, video file processing system return to the first frame of video file address and preservation File address;
The processing method of the video file further include:
Before the first frame file address that video file processing system returns to video file address and preservation, judge that non-volume software is The no first frame file for requesting video file, if not compiling the first frame file that software requests video file, then video file is handled System returns to the first frame file address of video file address and preservation, if not compile the first frame text that software does not request video file Part is then returned only to video file address.
2. the processing method of video file according to claim 1, which is characterized in that the processing method of the video file Further include:
Specified folder in cluster file system is monitored, monitors whether new video file write-in group document system System starts to carry out step S1 if monitoring new file write-in cluster file system.
3. the processing method of video file according to claim 1, which is characterized in that the processing method of the video file Further include:
Specified folder in cluster file system is monitored, whether the video file monitored in cluster file system occurs Variation is crossed, if variation occurred for the video file monitored in cluster file system, starts to carry out step S1, in step S2 In, the first frame of the video file after variation is saved in cluster file system and replaces the first frame for changing preceding video file.
4. the processing method of video file according to claim 1, which is characterized in that the processing method of the video file Step S1 include:
Whether the suffix name that video file is identified by way of poll is video file to be treated.
5. the processing method of video file according to claim 1, which is characterized in that the processing method of the video file Step S2 include:
According to the storage of format needed for non-volume software head frame preview into first frame memory module.
6. a kind of video file processing system, which is characterized in that the video file processing system uses such as claim 1 to 5 The processing method of described in any item video files, the video file processing system include:
Cluster file system, for storing video file;
Identification module is stored in the video file of cluster file system for identification, judges whether the video file is needs The video file of processing;
Processing module, for handling video file to be treated;
First frame extraction module, for extracting the first frame of video file to be treated;
Non- volume software transfer interface, for non-volume software transfer video file and the first frame of video file.
7. video file processing system according to claim 6, which is characterized in that the video file processing system is also wrapped It includes:
Monitoring module monitors whether new video file for being monitored to the specified folder in cluster file system Whether write-in cluster file system and/or the video file monitored in cluster file system occurred variation.
8. video file processing system according to claim 6, which is characterized in that the cluster file system includes:
Metadata storage module, for storing video file;
First frame memory module, for storing the first frame of video file, the head frame memory module is hidden 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 CN105516257A (en) 2016-04-20
CN105516257B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN105516257A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN106649362B (en) Webpage crawling method and device
CN108847977A (en) A kind of monitoring method of business datum, storage medium and server
CN102436404B (en) Daemon implementing method
CN105607986A (en) Acquisition method and device of user behavior log data
CN104462483A (en) Data synchronizing method, device and system
CN110032400A (en) A kind of method and electric terminal loading plug-in unit
CN110908837A (en) Application program exception handling method and device, electronic equipment and storage medium
CN105516257B (en) A kind of processing method and video file processing system of video file
CN106686148A (en) Method and system for increasing uploading speed of objects in object storage system
CN105512329A (en) GO-language-based dynamic figure cutting system
CN106790133B (en) A kind of application layer protocol analysis method and device
EP2760161A1 (en) Policy processing method and device
CN106611222B (en) Universal task management method and system
CN106125889A (en) A kind of wake source treating method and apparatus
CN103309710A (en) Method and system for loading OUT file through VXWORKS operating system
CN105574164B (en) The data analysis method and device of Excel document
CN105512215B (en) A kind of processing method and audio file processing system of audio file
CN110019497B (en) Data reading method and device
CN103853603B (en) The acquisition methods and device of a kind of function calling relationship
CN112860412B (en) Service data processing method and device, electronic equipment and storage medium
CN110412947A (en) Industrial equipment control method and its system, storage equipment
CN108683643A (en) A kind of data desensitization system and its desensitization method based on Stream Processing
KR100610904B1 (en) Meta data parsing method for providing multimedia service and handset using thereof
CN104301421A (en) Cloud calculation real-time data synchronization method
CN107833259B (en) Dynamic cartoon engine processing method and system based on intelligent terminal

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