CN105512215B - A kind of processing method and audio file processing system of audio file - Google Patents
A kind of processing method and audio file processing system of audio file Download PDFInfo
- Publication number
- CN105512215B CN105512215B CN201510853634.6A CN201510853634A CN105512215B CN 105512215 B CN105512215 B CN 105512215B CN 201510853634 A CN201510853634 A CN 201510853634A CN 105512215 B CN105512215 B CN 105512215B
- Authority
- CN
- China
- Prior art keywords
- audio file
- file
- audio
- cluster
- processing method
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Abstract
The invention discloses a kind of processing method of audio file, the processing method of the audio file includes: S1, identifies the audio file for being stored in cluster file system;S2, the waveform diagram for generating audio file to be treated, and be saved in cluster file system.The present invention also provides a kind of audio file processing system, the audio file processing system uses the processing method of above-mentioned audio file.Based on the above-mentioned technical proposal, the present invention at least can produce following technical effect: improve fluency of the outside access component in audio file treatment process.
Description
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 audio file processing system of audio 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 outside access component, when being especially that non-volume software reads a large amount of audio file in cluster-based storage,
Still it will cause non-volume software middle pitch frequency file and transferred slow problem.How to guarantee non-volume software in a large amount of audios of loading processing
When file, guarantee that fluency is urgent problem.
Summary of the invention
One of purpose of the invention is to propose the processing method and audio file processing system of a kind of audio file,
Solving the prior art, there are outside access components to transfer the excessively slow technical problem of audio file.Many technologies provided by the invention
Many technical effects elaboration as detailed below that optimal technical scheme in scheme 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 audio file, the processing method of the audio file includes:
S1, identification are stored in the audio file of cluster file system;
S2, the waveform diagram for generating audio file to be treated, and be saved in cluster file system.
Preferably, the processing method of the audio file is after step S1 further include:
It obtains file acquisition audio file condition code and stores, receive the condition code of audio file, then execute step S2.
Preferably, the processing method of the audio file further include:
S3, outside access component invocation audio file;
S4, the audio file address according to request, audio file processing system return audio file address and preservation
The waveform diagram of audio file.
Preferably, the processing method of the audio file further include:
Before the waveform diagram file address that audio file processing system returns to audio file address and preservation, outside is judged
The waveform map file for the audio file whether access component requests, if the outside access component request waveform picture and text of audio file
Part, then audio file processing system returns to the waveform diagram file address of audio file address and preservation, if outside access component
The waveform map file for not requesting audio file, then be returned only to audio file address.
Preferably, the processing method of the audio file further include:
Specified folder in cluster file system is monitored, monitors whether new audio 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 audio file further include:
Specified folder in cluster file system is monitored, whether the audio file in monitoring cluster file system
Variation occurred, if variation occurred for the audio file monitored in cluster file system, starts to carry out step S1, in step
In S2, the waveform diagram of the audio file after variation is saved in cluster file system and replaces the waveform for changing preceding audio file
Figure.
Preferably, the step S1 of the processing method of the audio file includes:
Judge whether the audio file is audio file to be treated;If the audio file is not required to processing
Audio file is not handled this document then;If the audio file is audio file to be treated, it is carried out such as
Lower processing;
Whether the suffix name that audio file is identified by way of poll is audio file to be treated.
The present invention also provides a kind of audio file processing system, the audio file processing system uses above-mentioned audio
The processing method of file, the audio file processing system include:
Cluster file system, for storing audio file;
Identification module is stored in the audio file of cluster file system for identification, obtains audio file condition code and deposits
Storage;
Waveform diagram generation module receives the condition code of audio file, generates the waveform diagram of audio file;
Outside access interface module, the waveform diagram for outside access component invocation audio file and audio file.
Preferably, the audio file processing system further include:
Monitoring module monitors whether new audio for being monitored to the specified folder in cluster file system
Whether file write-in cluster file system and/or the audio file monitored in cluster file system occurred variation.
Preferably, the cluster file system includes:
Metadata storage module, for storing audio file;
Waveform diagram memory module, for storing the waveform diagram of audio file.
Based on the above-mentioned technical proposal, the embodiment of the present invention at least can produce following technical effect: improve outside access portion
Fluency of the part in audio 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 audio file provided by the embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of audio file provided by first embodiment of the invention;
Fig. 3 is the flow chart of the processing method of audio file provided by second embodiment of the invention;
Fig. 4 is the flow chart of the processing method of audio file provided by third embodiment of the invention;
Fig. 5 is the schematic diagram of the audio file processing system of audio file provided by the embodiment of the present invention.
Appended drawing reference:
1- cluster file system;11- metadata storage module;12- waveform diagram memory module;2- identification module;3- waveform
Figure generation module;4- outside access interface module;5- 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 audio file and audio file processing systems, can improve
Fluency of the outside access component in audio 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 audio file, the place of the audio file provided by the embodiment of the present invention
Reason method includes:
S1, identification are stored in the audio file of cluster file system;
S2, the waveform diagram for generating audio file to be treated, and be saved in cluster file system.
The processing method of above-mentioned audio file is mentioned by pre-processing the audio file being stored in cluster file system 1
The waveform diagram of audio file is taken directly to obtain when such processing mode can make portion's access component calling audio file outside
The waveform diagram of audio file is taken, loaded slow ask when to being effectively prevented from using outside access component editor audio file
Topic improves fluency of the outside access components in audio file treatment process.
Specific audio file can also be handled, judge whether the audio file is to need to locate in identification process
The audio file of reason;If the audio file is not required to the audio file of processing, this document is not handled;If described
Audio file is audio file to be treated, then handles it.Wherein, cluster file system 1 is stored in identification
When audio file, can identify whether the suffix name of audio file is audio file to be treated by way of poll.?
When being saved in cluster file system, it can store according to format needed for outside access component waveform diagram to cluster file system
In 1 waveform diagram memory module 12, wherein whether the suffix name that can identify audio file by way of poll is to need to locate
The audio file of reason.
As shown in Fig. 2, the processing method of audio file provided by the first embodiment of the present invention further includes in step S1
Later,
It obtains file acquisition audio file condition code and stores, receive the condition code of audio file, then execute step S2.
Preferably, the processing method of the audio file further include:
S3, outside access component invocation audio file;
S4, the audio file address according to request, audio file processing system return audio file address and preservation
The waveform diagram of audio file.
Preferably, before the waveform diagram file address that audio file processing system returns to audio file address and preservation,
Judge the waveform map file for the audio file whether outside access component requests, if outside access component request audio file
Waveform map file, then audio file processing system returns to the waveform diagram file address of audio file address and preservation, if external
Access component does not request the waveform map file of audio file, then is returned only to audio file address.
As shown in figure 3, the processing method of audio file provided by the second embodiment of the present invention further include: to cluster text
Specified folder in part system is monitored, and new audio file write-in cluster file system is monitored whether, if monitoring
There is new file write-in cluster file system then to start to carry out step S1, by the specified folder in cluster file system into
Row monitoring can start the movements such as identification audio file when in need, reduce the pressure of operation.
As shown in figure 4, the processing method of audio file provided by the third embodiment of the present invention further include: to cluster text
Specified folder in part system is monitored, and whether the audio file monitored in cluster file system occurred variation, if prison
It controls the audio file in cluster file system and variation occurred, then start to carry out step S1, in step s 2, the sound after variation
The waveform diagram of frequency file is saved in cluster file system and replaces the waveform diagram for changing preceding audio file.Same reason is led to
It crosses and the specified folder in cluster file system is monitored, it is dynamic that identification audio file etc. can be started when in need
Make, reduces the pressure of operation.That is on the one hand being monitored to the specified folder in cluster file system can supervise
Whether control has new audio file write-in cluster file system, on the other hand can also monitor the audio text in cluster file system
Whether part occurred variation, the two aspects can reach the movement such as starting identification audio file, drop when in need
The purpose of ow operating pressure.
As shown in figure 5, the present invention also provides a kind of audio file processing systems, which is characterized in that the audio file
Processing system uses the processing method of above-mentioned audio file, and the audio file processing system includes:
Cluster file system 1, for storing audio file;
Identification module 2 is stored in the audio file of cluster file system for identification, obtains audio file condition code and deposits
Storage;
Waveform diagram generation module 3 receives the condition code of audio file, generates the waveform diagram of audio file;
Outside access interface module 4, the waveform diagram for outside access component invocation audio file and audio file.
The audio file processing system identifies the audio text for being stored in cluster file system 1 by identification module 2 first
Part, and identify the audio file for being stored in cluster file system 1 by identification module 2, obtain audio file condition code and store,
The condition code that audio file is received by waveform diagram generation module 3, generates the waveform diagram of audio file, such processing mode can
So that directly acquiring the wave of audio file when external access component calls audio file using outside access interface module 4
Shape figure carried slow problem when to being effectively prevented from using outside access component editor audio file, improve outside access portion
Fluency of the part in audio file treatment process.
Wherein, when the audio file of cluster file system 1 is stored in identification, audio can be identified by way of poll
Whether the suffix name of file is audio file to be treated.When being saved in cluster file system 1, can be visited according to outside
Format needed for asking component waveform diagram is stored into the waveform diagram memory module 12 of cluster file system 1, by audio files storage
Into metadata storage module 11.
Preferably, the audio file processing system further include:
Monitoring module 5, for being monitored to the specified folder in cluster file system 1, which can be supervised
Whether control has new audio file write-in cluster file system, can also monitor whether the audio file in cluster file system is sent out
Gave birth to variation.It can achieve the movement such as starting identification audio file when in need, reduce the purpose of operating pressure.
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 (7)
1. a kind of processing method of audio file, which is characterized in that the processing method of the audio file includes:
S1, identification are stored in the audio file of cluster file system;
S2, the waveform diagram for generating audio file to be treated, and be saved in cluster file system;
The processing method of the audio file is after step S1 further include:
It obtains file acquisition audio file condition code and stores, receive the condition code of audio file, then execute step S2;
The processing method of the audio file further include:
S3, outside access component invocation audio file;
S4, the audio file address according to request, audio file processing system return to the audio of audio file address and preservation
The waveform diagram of file;
The processing method of the audio file further include:
Before the waveform diagram file address that audio file processing system returns to audio file address and preservation, outside access is judged
The waveform map file for the audio file whether component requests, if the outside access component request waveform map file of audio file,
Then audio file processing system returns to the waveform diagram file address of audio file address and preservation, if outside access component does not have
The waveform map file for requesting audio file, then be returned only to audio file address.
2. the processing method of audio file according to claim 1, which is characterized in that the processing method of the audio file
Further include:
Specified folder in cluster file system is monitored, monitors whether new audio 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 audio file according to claim 1, which is characterized in that the processing method of the audio file
Further include:
Specified folder in cluster file system is monitored, whether the audio file monitored in cluster file system occurs
Variation is crossed, if variation occurred for the audio file monitored in cluster file system, starts to carry out step S1, in step S2
In, the waveform diagram of the audio file after variation is saved in cluster file system and replaces the waveform diagram for changing preceding audio file.
4. the processing method of audio file according to claim 1, which is characterized in that the processing method of the audio file
Step S1 include:
Judge whether the audio file is audio file to be treated;If the audio file is not required to the audio of processing
File is not handled this document then;If the audio file is audio file to be treated, it is located as follows
Reason;
Whether the suffix name that audio file is identified by way of poll is audio file to be treated.
5. a kind of audio file processing system, which is characterized in that the audio file processing system uses such as Claims 1-4
The processing method of described in any item audio files, the audio file processing system include:
Cluster file system, for storing audio file;
Identification module is stored in the audio file of cluster file system for identification, obtains audio file condition code and stores;
Waveform diagram generation module receives the condition code of audio file, generates the waveform diagram of audio file;
Outside access interface module, the waveform diagram for outside access component invocation audio file and audio file.
6. audio file processing system according to claim 5, which is characterized in that the audio file processing system is also wrapped
It includes:
Monitoring module monitors whether new audio file for being monitored to the specified folder in cluster file system
Whether write-in cluster file system and/or the audio file monitored in cluster file system occurred variation.
7. audio file processing system according to claim 5, which is characterized in that the cluster file system includes:
Metadata storage module, for storing audio file;
Waveform diagram memory module, for storing the waveform diagram of audio file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510853634.6A CN105512215B (en) | 2015-11-27 | 2015-11-27 | A kind of processing method and audio file processing system of audio file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510853634.6A CN105512215B (en) | 2015-11-27 | 2015-11-27 | A kind of processing method and audio file processing system of audio file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105512215A CN105512215A (en) | 2016-04-20 |
CN105512215B true CN105512215B (en) | 2019-03-05 |
Family
ID=55720197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510853634.6A Active CN105512215B (en) | 2015-11-27 | 2015-11-27 | A kind of processing method and audio file processing system of audio file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105512215B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101762320A (en) * | 2009-12-18 | 2010-06-30 | 深圳市万兴软件有限公司 | Method for drawing audio waveform under MAC desktop and system thereof |
CN102543126A (en) * | 2010-12-28 | 2012-07-04 | 新奥特(北京)视频技术有限公司 | Pyramid-based type multi-resolution audio waveform drawing method |
CN102722307A (en) * | 2011-03-29 | 2012-10-10 | 腾讯科技(深圳)有限公司 | Thumbnail navigation method and apparatus |
CN102920475A (en) * | 2012-10-31 | 2013-02-13 | 中国人民解放军总医院 | Gastrointestinal sound monitor system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820565B (en) * | 2009-02-27 | 2015-01-07 | 本田技研工业株式会社 | Method and apparatus for estimating sound source |
-
2015
- 2015-11-27 CN CN201510853634.6A patent/CN105512215B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101762320A (en) * | 2009-12-18 | 2010-06-30 | 深圳市万兴软件有限公司 | Method for drawing audio waveform under MAC desktop and system thereof |
CN102543126A (en) * | 2010-12-28 | 2012-07-04 | 新奥特(北京)视频技术有限公司 | Pyramid-based type multi-resolution audio waveform drawing method |
CN102722307A (en) * | 2011-03-29 | 2012-10-10 | 腾讯科技(深圳)有限公司 | Thumbnail navigation method and apparatus |
CN102920475A (en) * | 2012-10-31 | 2013-02-13 | 中国人民解放军总医院 | Gastrointestinal sound monitor system |
Also Published As
Publication number | Publication date |
---|---|
CN105512215A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107451147B (en) | Method and device for dynamically switching kafka clusters | |
CN102916953A (en) | Method and device for realizing concurrent service on basis of TCP (transmission control protocol) connection | |
CN108491163B (en) | Big data processing method and device and storage medium | |
CN105045607A (en) | Method for achieving uniform interface of multiple big data calculation frames | |
CN108319499B (en) | Task scheduling method and device | |
CN109379398B (en) | Data synchronization method and device | |
CN103377059A (en) | Function module dynamic loading method and device based on jQuery framework | |
CN105843819A (en) | Method and device for exporting data | |
CN105955807B (en) | Task processing system and method | |
CN105786909A (en) | Message queue backlog load self-adaptive application triggering method and system | |
CN103577251A (en) | Event based Internet computing processing system and method | |
CN104408068A (en) | Report form data processing method and related equipment | |
CN110162387A (en) | Thread scheduling method, device, computer equipment and computer readable storage medium | |
CN110177127A (en) | Data transmission method, device and equipment based on grpc frame | |
CN110908837A (en) | Application program exception handling method and device, electronic equipment and storage medium | |
US20140136570A1 (en) | Controller and program | |
CN105512215B (en) | A kind of processing method and audio file processing system of audio file | |
CN109240826B (en) | Method for allocating computing resources when nodes share computing equipment in multi-block chain network | |
CN107092556B (en) | Test method, device and equipment | |
CN109614271A (en) | Control method, device, equipment and the storage medium of multiple company-data consistency | |
CN104184762B (en) | A kind of server failure information feedback method and system | |
CN105516257B (en) | A kind of processing method and video file processing system of video file | |
CN112181378A (en) | Method and device for realizing business process | |
CN110019497B (en) | Data reading method and device | |
CN103294527A (en) | Method, system, and server for processing network task |
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 | ||
CP02 | Change in the address of a patent holder | ||
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. |