[go: up one dir, main page]

CN117932107B - Audio file retrieval method and system - Google Patents

Audio file retrieval method and system Download PDF

Info

Publication number
CN117932107B
CN117932107B CN202410099060.7A CN202410099060A CN117932107B CN 117932107 B CN117932107 B CN 117932107B CN 202410099060 A CN202410099060 A CN 202410099060A CN 117932107 B CN117932107 B CN 117932107B
Authority
CN
China
Prior art keywords
file
storage medium
retrieved
directory
audio file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410099060.7A
Other languages
Chinese (zh)
Other versions
CN117932107A (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202410099060.7A priority Critical patent/CN117932107B/en
Publication of CN117932107A publication Critical patent/CN117932107A/en
Application granted granted Critical
Publication of CN117932107B publication Critical patent/CN117932107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/61Indexing; Data structures therefor; Storage structures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种音频文件检索方法及系统,包括:根据待检索存储介质对应的设备节点获得待检索存储介质的设备识别码及文件系统结构,根据所述文件系统结构进行目录复杂度的分析,并根据所述分析生成目录结构的校验值,根据所述设备识别码进行历史设备的识别,并根据所述识别的结果确定音频文件的检索路径,当不是历史设备时,根据所述文件系统结构遍历检索音频文件,当为历史设备时进行校验值的匹配,根据所述匹配结果进行目录修改的检测,并根据检测的结果结合历史音频文件信息确定最终的音频路径,提高音频文件检索的效率及准确度。

The present invention discloses an audio file retrieval method and system, comprising: obtaining a device identification code and a file system structure of a storage medium to be retrieved according to a device node corresponding to the storage medium to be retrieved, analyzing the complexity of a directory according to the file system structure, and generating a check value of the directory structure according to the analysis, identifying a historical device according to the device identification code, and determining a retrieval path for an audio file according to a result of the identification; when the device is not a historical device, traversing and retrieving the audio file according to the file system structure, matching the check value when the device is a historical device, detecting directory modification according to the matching result, and determining a final audio path according to the detection result combined with historical audio file information, thereby improving the efficiency and accuracy of audio file retrieval.

Description

Audio file retrieval method and system
Technical Field
The invention relates to the technical field of information processing, in particular to an audio file retrieval method and system.
Background
In the context of large data, a large amount of data or files may be stored in a database or other mobile storage device, and identifying whether a file is an audio file from among the large amount of files generally involves detection of file type and analysis of content, where file type detection typically involves two methods, one that determines whether the file is an audio type based on a file extension, one that reads a digital signature of the file to determine the type of the file, and content analysis of the file typically involves examining file header information or using an audio feature extraction algorithm.
In the prior art, with the development of technology, audio player apparatuses are applied to more and more fields, and various types of removable storage media are supported, and the capacity of the removable storage media is also increased.
In the prior art, a player device detects the type of each file stored in a mobile storage medium according to an extension, and judges whether the file is of an audio type, but a mode depending on the extension of the file is easily affected by renaming the file or changing the extension, and misjudgment easily occurs in the detection process, so that the accuracy of detecting the file type is low.
When the player device uses the magic signature of the read file to determine the type of the file, each time the storage medium is removed, the player device opens each file to read the magic signature, the header information and the content analysis, thereby determining whether the file is an audio file, which consumes a great deal of time and computation and reduces the efficiency of audio file retrieval.
Disclosure of Invention
In order to solve the technical problems, the invention discloses an audio file retrieval method and system, which improves the efficiency and accuracy of audio file retrieval.
To achieve the above object, in a first aspect, the present invention discloses an audio file retrieval method, including:
constructing a device node corresponding to a storage medium to be searched, and obtaining and storing a device identification code and a file system structure of the storage medium to be searched through the device node, wherein the file system structure comprises a first directory structure, a first file modification time and a first file position;
According to the first directory structure, analyzing directory complexity of the storage medium to be searched through a preset complexity analysis method, and generating a first directory structure check value corresponding to the storage medium to be searched;
inquiring historical equipment identification code information stored in a preset database according to the equipment identification code, and judging whether the storage medium to be searched is historical equipment or not;
when the storage medium to be searched is not history equipment, traversing file information of each file in the storage medium to be searched through the equipment node according to the first file position, screening each first audio file in the storage medium to be searched according to the file information, and recording a first audio file position corresponding to each first audio file;
generating and storing first audio file information corresponding to the storage medium to be searched according to the equipment identification code, the first audio file position, the file system format and the first directory structure check value;
When the storage medium to be searched is a history device, acquiring history audio file information corresponding to the storage medium to be searched from the database according to the device identification code, matching the first directory structure and the first file modification time with a second directory structure and a second file modification time in the history audio file information, and judging whether the storage medium to be searched is subjected to file modification according to a matching result;
When the storage medium to be searched is judged to be subjected to file modification, determining and traversing a second directory subjected to file modification by comparing the first directory structure check value with a second directory structure check value corresponding to the second directory structure, obtaining each second audio file in the second directory, and recording the position of the second audio file corresponding to each second audio file;
and generating second audio file information corresponding to the storage medium to be retrieved according to the second audio file position and combining the historical audio file information.
When the audio file searching method disclosed by the invention is used for searching the audio file of the storage medium to be searched, firstly, the equipment node corresponding to the storage medium to be searched is constructed, so that the storage medium is directly opened by using the equipment node to analyze file data when the file searching is carried out, the technical means that a file system abstract layer is added to read the file data in the prior art is avoided, the file reading speed is improved, after the equipment node is constructed, the equipment identification code and the file system format in the storage medium to be searched are read from the equipment node, meanwhile, the directory structure check value corresponding to the storage medium to be searched is constructed by using the directory structure in the file system format, the modification of the directory of the file is checked according to the directory structure check value, and then when the storage medium to be searched is judged to be a history device, the modified file directory can be directly locked by the check, the audio file is searched by directly traversing the modified directory, the whole storage medium is avoided, the file traversing efficiency is improved, simultaneously, after the directory structure check value is constructed, the equipment identification code and the file is read from the current position by using the directory structure check value, the identification code is combined with the audio file identification code, the audio file is read from the current position of the audio file identification code, the audio file is read, the file identification information is recorded according to the audio file identification code is read from the new file identification position, and the audio file identification information is recorded according to the audio file identification information, and generating and storing the first audio file information corresponding to the storage medium to be searched, so that the audio file can be directly read according to the stored first audio file information when the storage medium is used next time, the repeated reading time is reduced, and the audio file searching efficiency is improved.
As a preferred example, the constructing the device node corresponding to the storage medium to be retrieved, and obtaining and storing, by the device node, the device identifier and the file system structure of the storage medium to be retrieved includes:
Automatically detecting the plug operation of the storage medium to be searched according to a preset operation detection method, and creating a device node corresponding to the storage medium to be searched when the plug operation of the storage medium to be searched is detected;
And acquiring a file system format corresponding to the storage medium to be searched through a preset file system type query instruction, accessing the equipment node according to the file system format, and analyzing to acquire an equipment identification code and a file system structure corresponding to the storage medium to be searched.
The invention constructs the equipment node so that the storage medium can be directly opened for data reading through the equipment node, the frequency of file opening and closing is reduced, the efficiency of file reading is improved, and then the equipment identification code and the file system structure of the storage medium are read by the equipment node, so that the identification of later equipment and the identification of files are facilitated, and the efficiency and the accuracy of file reading are improved.
As a preferred example, the analyzing, according to the first directory structure, the directory complexity of the storage medium to be searched by a preset complexity analysis method, and generating a first directory structure check value corresponding to the storage medium to be searched includes:
Acquiring a plurality of initial directories in the storage medium to be searched according to the first directory structure, and deleting empty directories in the plurality of initial directories to acquire a plurality of directories;
Acquiring a catalog letter corresponding to each catalog in the plurality of catalogs, and sequencing the plurality of catalogs according to the sequence from big to small of the catalog letters;
Dividing the files in the plurality of catalogues according to the first file position and the preset number of files with unit complexity to generate a plurality of file sets, wherein each file set comprises the files with the number of files with unit complexity;
verifying the file path of each file set in the plurality of file sets to generate and record a unique value corresponding to each file set;
And generating a first directory structure check value corresponding to the storage medium to be searched according to the sorting and the unique value corresponding to each file set.
According to the first file position, the file path is checked by the calculated file complexity corresponding to each directory, and the check value corresponding to the complexity is generated by utilizing the complexity and is used for checking whether the file is deleted or added when the storage medium is used for audio file retrieval next time, so that the reading efficiency of the audio file is improved.
As a preferred example, traversing, by the device node, file information of each file in the storage medium to be retrieved according to the first file location, and filtering, according to the file information, each first audio file in the storage medium to be retrieved includes:
According to the first file position, shifting to a file position corresponding to each file in the storage medium to be searched by accessing the equipment node;
And reading the file information of each file according to the file position, and judging whether each file is the first audio file according to the file information, wherein the file information comprises a magic signature, file header information and file content.
According to the invention, whether the current file is an audio file is determined by reading magi c signature, file header information and content analysis of the file, so that the finally screened file is an audio file from multiple aspects, and the accuracy of extracting the audio file is improved.
As a preferred example, the generating, according to the second audio file location, the second audio file information corresponding to the storage medium to be retrieved in combination with the historical audio file information includes:
and generating second audio file information corresponding to the storage medium to be searched by replacing the historical audio file position corresponding to the second directory with the second audio file position.
According to the invention, the complete audio file list can be generated only by identifying the audio files under the modified directory under the condition that the same storage medium is changed, so that the efficiency of reading the audio files is improved.
The invention discloses an audio file retrieval system, which comprises a node construction module, a catalog analysis module, a device identification module, a file retrieval module, an information generation module, a file detection module, a catalog modification module and an information update module;
The node construction module is used for constructing equipment nodes corresponding to the storage media to be searched, and acquiring and storing equipment identification codes and file system structures of the storage media to be searched through the equipment nodes, wherein the file system structures comprise a first directory structure, first file modification time and first file positions;
The catalog analysis module is used for analyzing the catalog complexity of the storage medium to be searched through a preset complexity analysis method according to the first catalog structure and generating a first catalog structure check value corresponding to the storage medium to be searched;
The device identification module is used for inquiring historical device identification code information stored in a preset database according to the device identification code and judging whether the storage medium to be searched is historical device or not;
The file retrieval module is used for traversing the file information of each file in the storage medium to be retrieved through the equipment node according to the first file position when the storage medium to be retrieved is not history equipment, screening each first audio file in the storage medium to be retrieved according to the file information, and recording the first audio file position corresponding to each first audio file;
The information generating module is used for generating and storing first audio file information corresponding to the storage medium to be searched according to the equipment identification code, the first audio file position, the file system format and the first directory structure check value;
The file detection module is used for acquiring historical audio file information corresponding to the storage medium to be searched from the database according to the equipment identification code when the storage medium to be searched is historical equipment, matching the first directory structure and the first file modification time with a second directory structure and the second file modification time in the historical audio file information, and judging whether the storage medium to be searched is subjected to file modification according to the matching result;
the catalog modification module is used for determining and traversing a second catalog of file modification through comparing the first catalog structure check value with a second catalog structure check value corresponding to the second catalog structure when the storage medium to be searched is judged to be subjected to file modification, obtaining each second audio file in the second catalog, and recording a second audio file position corresponding to each second audio file;
the information updating module is used for generating second audio file information corresponding to the storage medium to be searched according to the second audio file position and the historical audio file information.
When the audio file retrieval system disclosed by the invention is used for retrieving an audio file from a storage medium to be retrieved, firstly, a device node corresponding to the storage medium to be retrieved is constructed, so that the storage medium is directly opened by using the device node to analyze file data when the file retrieval is carried out, the technical means that a file system abstract layer is added to read file data is avoided, the file reading speed is improved, after the device node is constructed, a device identification code and a file system format in the storage medium to be retrieved are read from the device node, meanwhile, a directory structure check value corresponding to the storage medium to be retrieved is constructed by using a directory structure in the file system format, so that the modification of the directory of the file is checked according to the directory structure check value, and then when the storage medium to be retrieved is judged to be a history device, the modified file directory can be directly locked by the check, the retrieval of the audio file is carried out by directly traversing the modified directory, the whole storage medium is avoided, the file traversing efficiency is improved, simultaneously, after the directory structure check value is constructed, the device identification code and the file identification code is read from the new storage medium to the current storage medium, the audio file is read from the audio file storage medium according to the audio file identification code, the audio file identification system identification code is read from the new file identification position, and the audio file identification information is recorded when the audio file is read from the audio file identification medium, and generating and storing the first audio file information corresponding to the storage medium to be searched, so that the audio file can be directly read according to the stored first audio file information when the storage medium is used next time, the repeated reading time is reduced, and the audio file searching efficiency is improved.
As a preferable example, the node building module includes a node creation unit and a node access unit;
the node creation unit is used for automatically detecting the plug operation of the storage medium to be searched according to a preset operation detection method, and creating a device node corresponding to the storage medium to be searched when the plug operation of the storage medium to be searched is detected;
The node access unit is used for obtaining a file system format corresponding to the storage medium to be searched through a preset file system type query instruction, accessing the equipment node according to the file system format, and analyzing and obtaining an equipment identification code and a file system structure corresponding to the storage medium to be searched.
The invention constructs the equipment node so that the storage medium can be directly opened for data reading through the equipment node, the frequency of file opening and closing is reduced, the efficiency of file reading is improved, and then the equipment identification code and the file system structure of the storage medium are read by the equipment node, so that the identification of later equipment and the identification of files are facilitated, and the efficiency and the accuracy of file reading are improved.
As a preferable example, the catalog analysis module includes a catalog acquisition unit, a complexity analysis unit, and a check value generation unit;
The catalog acquisition unit is used for acquiring a plurality of initial catalogues in the storage medium to be searched according to the first catalog structure, deleting empty catalogues in the plurality of initial catalogues to acquire a plurality of catalogues;
The complexity analysis unit is used for dividing the files in the plurality of catalogues according to the first file position and the preset number of the files with unit complexity to generate a plurality of file sets, wherein each file set comprises the files with the number of the files with unit complexity;
the verification value generation unit is used for verifying the file path of each file set in the plurality of file sets to generate and record a unique value corresponding to each file set, and generating a first directory structure verification value corresponding to the storage medium to be searched according to the sorting and the unique value corresponding to each file set.
According to the first file position, the calculated file complexity under each directory is used as the complexity check value of the directory, so that whether the file is deleted or added is checked when the storage medium is used for audio file retrieval next time, and the reading efficiency of the audio file is improved.
As a preferable example, the file retrieval module includes a file positioning unit and an information reading unit;
The file positioning unit is used for shifting to the file position corresponding to each file in the storage medium to be searched by accessing the equipment node according to the first file position;
The information reading unit is used for reading the file information of each file according to the file position and judging whether each file is the first audio file according to the file information, wherein the file information comprises a magic signature, file header information and file content.
According to the invention, whether the current file is an audio file is determined by reading the magic signature, the file header information and the content analysis of the file, so that the finally screened file is an audio file from multiple aspects, and the accuracy of extracting the audio file is improved.
In a third aspect, the present invention discloses a computer readable storage medium, in which a computer program is stored, which when being executed by a processor, implements an audio file retrieval method according to the first aspect.
Drawings
FIG. 1 is a flow chart of an audio file retrieval method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an audio file retrieval system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The embodiment discloses an audio file retrieval method, and a specific implementation flow of the retrieval method may refer to fig. 1, and mainly includes steps 101 to 106, where the steps include:
Step 101, constructing a device node corresponding to a storage medium to be searched, and obtaining and storing a device identification code and a file system structure of the storage medium to be searched through the device node, wherein the file system structure comprises a first directory structure, a first file modification time and a first file position.
In the embodiment, the method comprises the steps of automatically detecting the plug operation of the storage medium to be searched according to a preset operation detection method, creating a device node corresponding to the storage medium to be searched when the plug operation of the storage medium to be searched is detected, acquiring a file system format corresponding to the storage medium to be searched through a preset file system type query instruction, accessing the device node according to the file system format, and analyzing and obtaining a device identification code and a file system structure corresponding to the storage medium to be searched.
Specifically, in a certain possible implementation manner provided in this embodiment, when the storage medium to be retrieved is a mobile storage medium, including a mobile hard disk or a USB, and the like, when the mobile storage medium is inserted into an audio playing device or other devices for audio file retrieval, an insertion operation of the mobile storage medium is detected first by a preset operation detection method, then a device node corresponding to the mobile storage medium is created, and no mounting is required, and optionally, when the device node is created, operations such as device registration, device identification or device allocation may also be performed on the mobile storage medium, so that the above optional operations are selected according to a device requirement connected to the mobile storage medium.
Preferably, after the device node is created by referring to the audio playing device and connecting the mobile storage medium, a device unplugging message of the mobile storage medium is uploaded, a file system type query instruction can be used to monitor the message and analyze the unplugging/plugging action and the device node thereof from the message, further, the file system type query instruction can be a netlink instruction, when the netlink instruction is selected for query, a file system format of the mobile storage medium is obtained by using blkid, and the device node is directly opened to read data (as with reading a file), and a device identification code and a file system structure corresponding to the mobile storage medium are analyzed according to a corresponding file system specification, wherein the file system structure comprises a directory structure, a file modification time and a file position.
In this embodiment, the step constructs the device node so that the device node can directly open the storage medium to perform data reading, so as to reduce the frequency of opening and closing the file, improve the efficiency of file reading, and then utilize the device node to read the device identification code and the file system structure of the storage medium to facilitate the identification of later-stage devices and the identification of the file, and improve the efficiency and the accuracy of file reading.
And 102, analyzing the directory complexity of the storage medium to be searched through a preset complexity analysis method according to the first directory structure, and generating a first directory structure check value corresponding to the storage medium to be searched.
In the embodiment, the method mainly comprises the steps of obtaining a plurality of initial directories in a storage medium to be searched according to a first directory structure, deleting empty directories in the plurality of initial directories to obtain a plurality of directories, obtaining directory letters corresponding to each directory in the plurality of directories, sorting the plurality of directories according to the sequence from large to small of the directory letters, dividing files in the plurality of directories according to the first file position and the preset number of files with unit complexity to generate a plurality of file sets, wherein each file set comprises files with the number of files with unit complexity, checking file paths of each file in the plurality of file sets to generate and record unique values corresponding to each file set, and generating a first directory structure check value corresponding to the storage medium to be searched according to the sorting and the unique values corresponding to each file set.
Specifically, in a certain specific implementation manner provided in this embodiment, according to the parsed directory structure, the empty directory of the mobile storage medium is filtered, the file path of each file is temporarily stored according to the file position, the file information is obtained by sorting according to the order of the directory letters from large to small, that is, the position, the size and other information of the files in the storage medium is obtained, according to the temporarily stored file path, 1 complexity above every m files is calculated according to the unit of directory, if the number of files under all the same-level directories does not reach m, 1 complexity is recorded in the file calculation under the previous-level directory, and so on, then the calculated file path under the directory of each 1 complexity is used and checked to calculate a unique value and recorded, and the file is checked whether to delete or add files or not by using the storage medium next time.
When the directory complexity is acquired, generating a check value of a directory structure in a mobile storage medium according to the directory complexity, specifically, after acquiring file paths and sequencing according to the directory, referring 500 files to be 1 complexity, sequentially using and checking the first 500 file paths to calculate the check value, analyzing the directory where 500 files are located and recording, if the directory where 500 files are located at the current complexity has other files, merging all files under the directory into calculation, and if the calculation of the last directory is less than 500 files, calculating according to the 1 complexity.
Optionally, in the generating process of the check value, the analysis of the check value may be performed according to the directory depth, for example, the directory depth is analyzed, if the directory depth is 6 levels, then all files under the 3 rd level directory and all files under the sub-directory thereof are used and checked to calculate the check value, wherein all files under the 2 nd level directory and all files under the sub-directory thereof (only directory path, including no files) are used and checked to calculate the check value, and all files under the 1 st level directory and all files under the sub-directory thereof (only directory path, including no files) are used and checked to calculate the check value.
In this embodiment, according to the first file location, the step performs verification of the file path by using the calculated file complexity corresponding to each directory, and generates a verification value corresponding to the complexity, which is used to verify whether to delete or add a file when the storage medium is used to retrieve an audio file next time, thereby improving the reading efficiency of the audio file.
And step 103, inquiring historical equipment identification code information stored in a preset database according to the equipment identification code, and judging whether the storage medium to be searched is historical equipment or not.
In the embodiment, after the device identification code of the current device to be searched is obtained through analysis, historical device identification code information stored in a preset database is searched according to the device identification code, when the device identification code exists in the historical device identification code information, the device to be searched is judged to be historical device, and when the device identification code does not exist in the historical device identification code information, the device to be searched is judged to be new device.
Specifically, referring to the mobile storage medium inserted into the audio playing device, the device node is utilized to analyze and obtain a unique UU ID of the mobile storage medium, that is, a unique universal identification code, and query a history playing record stored by the audio playing device according to the unique universal identification code, and determine whether the unique universal identification code exists in the history playing record, when the unique universal identification code exists in the history playing record, the mobile storage medium is illustrated as being inserted into the audio playing device before, and if the unique universal identification code does not exist in the history playing record, the mobile storage medium is illustrated as being inserted into the audio playing device for the first time.
Step 104, when the storage medium to be searched is not a history device, traversing file information of each file in the storage medium to be searched through the device node according to the first file position, screening each first audio file in the storage medium to be searched according to the file information, and recording a first audio file position corresponding to each first audio file.
In the embodiment, the method comprises the steps of shifting to a file position corresponding to each file in a storage medium to be retrieved by accessing the equipment node according to the first file position, reading file information of each file according to the file position, and judging whether each file is the first audio file according to the file information, wherein the file information comprises magi c signature, file header information and file content.
Specifically, in a certain implementation manner provided in this embodiment, the file information corresponding to each file is read through shifting to a corresponding file position according to the file position, and whether the file is an audio file is determined according to the file information, and specifically, the file information of each file includes a magi c signature, header information and content of the file, where the "magi c" signature of the file is a specific identifier of the file, usually a byte sequence of the header of the file, and is used for identifying the type of the file. This identification, which is typically composed of a number of fixed byte values or characters, can help the computer system determine the format of the files in order to properly interpret and process them, different types of audio files corresponding to different file offsets and magi c values, wherein the present embodiment provides magi c values for 38 audio formats, see the following table:
After the file is determined to be an audio file according to magi c signature, file header information and content analysis of the file, recording the file position corresponding to the current file, and simultaneously recording the total audio duration corresponding to the current audio file while recording the file position of the audio file.
In this embodiment, the step determines whether the current file is an audio file by reading magi c signature, header information and content analysis of the file, and ensures that the finally screened file is an audio file from multiple aspects, thereby improving the accuracy of extracting the audio file.
Step 105, generating and storing first audio file information corresponding to the storage medium to be searched according to the equipment identification code, the first audio file position, the file system structure and the first directory structure check value.
And 106, when the storage medium to be searched is a historical device, acquiring historical audio file information corresponding to the storage medium to be searched from the database according to the device identification code, matching the first directory structure and the first file modification time with a second directory structure and the second file modification time in the historical audio file information, and judging whether the storage medium to be searched is subjected to file modification according to the matching result.
In this embodiment, the method includes the steps of firstly obtaining a directory structure and a file modification time corresponding to a current device to be retrieved, matching the directory structure and the file modification time with a history directory structure and a history file modification time stored in the identified history play record, and determining that a file in the same storage medium is modified when the directory structure is different or the file modification time is inconsistent.
And 107, when the storage medium to be retrieved is judged to be subjected to file modification, determining and traversing a second directory subjected to file modification by comparing the first directory structure check value with a second directory structure check value corresponding to the second directory structure, obtaining each second audio file in the second directory, and recording the position of the second audio file corresponding to each second audio file.
When the storage medium to be searched is judged to be modified, the same directory complexity analysis method and check value generation method are utilized to generate check values corresponding to directory structures in the current storage medium, then the check values are compared with the check values stored in the historical play records one by one, so that which directory is modified is determined, the files under the directory are re-identified for one time, audio files under the directory are obtained, and the file positions corresponding to each audio file under the directory are recorded.
Preferably, when the storage medium to be searched is not subjected to file modification, a history-stored audio file path is directly extracted from a database, and the storage medium to be searched is subjected to audio file searching according to the audio file path.
And step 108, generating second audio file information corresponding to the storage medium to be retrieved according to the second audio file position and combining the historical audio file information.
In this embodiment, the step is to generate the second audio file information corresponding to the storage medium to be retrieved by replacing the historical audio file location corresponding to the second directory with the second audio file location.
On the other hand, the embodiment also discloses an audio file retrieval system, and the specific structural composition of the system can refer to fig. 2, and the system comprises a node construction module 201, a catalog analysis module 202, a device identification module 203, a file retrieval module 204, an information generation module 205, a file detection module 206, a catalog modification module 207 and an information update module 208.
The node construction module 201 is configured to construct a device node corresponding to a storage medium to be retrieved, and obtain and store, through the device node, a device identification code and a file system structure of the storage medium to be retrieved, where the file system structure includes a first directory structure, a first file modification time, and a first file location.
The directory analysis module 202 is configured to analyze, according to the first directory structure, directory complexity of the storage medium to be searched by using a preset complexity analysis method, and generate a first directory structure check value corresponding to the storage medium to be searched.
The device identification module 203 is configured to query historical device identification code information stored in a preset database according to the device identification code, and determine whether the storage medium to be retrieved is a historical device.
The file retrieval module 204 is configured to traverse file information of each file in the storage medium to be retrieved through the device node according to the first file location when the storage medium to be retrieved is not a history device, screen each first audio file in the storage medium to be retrieved according to the file information, and record a first audio file location corresponding to each first audio file.
The information generating module 205 is configured to generate and store first audio file information corresponding to the storage medium to be retrieved according to the device identification code, the first audio file location, the file system format, and the first directory structure check value.
The file detection module 206 is configured to obtain, when the storage medium to be retrieved is a history device, history audio file information corresponding to the storage medium to be retrieved from the database according to the device identification code, match the first directory structure and the first file modification time with a second directory structure and a second file modification time in the history audio file information, and determine whether file modification occurs to the storage medium to be retrieved according to a result of the matching.
The directory modification module 207 is configured to determine and traverse a second directory in which file modification occurs by comparing the first directory structure check value with a second directory structure check value corresponding to the second directory structure when it is determined that file modification occurs to the storage medium to be retrieved, obtain each second audio file in the second directory, and record a second audio file location corresponding to each second audio file.
The information updating module 208 is configured to generate second audio file information corresponding to the storage medium to be retrieved according to the second audio file position and in combination with the historical audio file information.
In this embodiment, the node building module 201 includes a node creating unit and a node accessing unit.
The node creation unit is used for automatically detecting the plug operation of the storage medium to be searched according to a preset operation detection method, and creating the equipment node corresponding to the storage medium to be searched when the plug operation of the storage medium to be searched is detected.
The node access unit is used for obtaining a file system format corresponding to the storage medium to be searched through a preset file system type query instruction, accessing the equipment node according to the file system format, and analyzing and obtaining an equipment identification code and a file system structure corresponding to the storage medium to be searched.
In this embodiment, the catalog analysis module 202 includes a catalog acquisition unit, a complexity analysis unit, and a check value generation unit.
The catalog acquisition unit is used for acquiring a plurality of initial catalogues in the storage medium to be searched according to the first catalog structure, deleting empty catalogues in the plurality of initial catalogues to acquire a plurality of catalogues, acquiring catalog letters corresponding to each catalog in the plurality of catalogues, and sequencing the plurality of catalogues according to the sequence from big to small of the catalog letters.
The complexity analysis unit is used for dividing the files in the plurality of catalogues according to the first file position and the preset number of the files with unit complexity to generate a plurality of file sets, wherein each file set comprises the files with the number of the files with unit complexity.
The verification value generation unit is used for verifying the file path of each file set in the plurality of file sets to generate and record a unique value corresponding to each file set, and generating a first directory structure verification value corresponding to the storage medium to be searched according to the sorting and the unique value corresponding to each file set.
In this embodiment, the file retrieving module 204 includes a file locating unit and an information reading unit.
The file locating unit is used for shifting to the file position corresponding to each file in the storage medium to be searched by accessing the equipment node according to the first file position.
The information reading unit is used for reading the file information of each file according to the file position and judging whether each file is the first audio file according to the file information, wherein the file information comprises a magic signature, file header information and file content.
In addition to the above method and system, the present embodiment also discloses a computer readable storage medium, in which a computer program is stored, where the computer program when executed by a processor implements an audio file retrieval method described in the present embodiment.
In order to increase the file reading speed, reduce the frequency of opening and closing the file and avoid introducing other abstract layers to reduce the file reading speed, the method, the system and the storage medium disclosed by the embodiment can directly read file data, namely analyze the file system structure from the equipment node, traverse the position of each file to be read, shift to the corresponding position to read the magic signature, the file header information and the content analysis of the file so as to determine whether the file is an audio file, record information if the file is an audio file, and simultaneously, in order to efficiently and accurately complete the operation of identifying the audio file, the storage medium is frequently pulled and plugged when being used on a player device, and the user needs to improve the user experience on the premise of frequently deleting, adding and modifying the file, so that the secondary reading efficiency needs to be improved. If the audio file is changed, checking whether the audio file exists in the directory, if so, skipping the identification of the audio file, and then re-identifying other audio files in the directory. Therefore, a small amount of time can be used for completing the identification operation, if no change occurs, a file list can be immediately generated, and meanwhile, the invention can ensure the accuracy of audio file retrieval from multiple aspects by identifying file signatures, file contents and file header information to retrieve audio files, has wide support and can accurately identify various audio files.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (8)

1.一种音频文件检索方法,其特征在于,包括:1. An audio file retrieval method, characterized in that it comprises: 构建待检索存储介质对应的设备节点,并通过所述设备节点获得并保存所述待检索存储介质的设备识别码及文件系统结构;其中,所述文件系统结构包括第一目录结构、第一文件修改时间及第一文件位置;Constructing a device node corresponding to the storage medium to be retrieved, and obtaining and saving the device identification code and file system structure of the storage medium to be retrieved through the device node; wherein the file system structure includes a first directory structure, a first file modification time and a first file location; 根据所述第一目录结构,通过预设的复杂度分析方法分析所述待检索存储介质的目录复杂度,生成所述待检索存储介质对应的第一目录结构校验值;其中,根据所述第一目录结构获取所述待检索存储介质中的若干个初始目录,并删除所述若干个初始目录中的空目录,获得若干个目录;获取所述若干个目录中每一个目录对应的目录字母,根据所述目录字母由大到小的顺序对所述若干个目录进行排序;根据所述第一文件位置及预设的单位复杂度文件数量,对所述若干个目录中的文件进行划分,生成若干个文件集;其中,每一个文件集包括所述单位复杂度文件数量的文件;对所述若干个文件集中每一个文件集的每一个文件的文件路径进行校验,生成并记录每一个文件集对应的唯一值;根据所述排序及所述每一个文件集对应的唯一值,生成所述待检索存储介质对应的第一目录结构校验值;According to the first directory structure, the directory complexity of the storage medium to be retrieved is analyzed by a preset complexity analysis method, and a first directory structure verification value corresponding to the storage medium to be retrieved is generated; wherein, according to the first directory structure, several initial directories in the storage medium to be retrieved are obtained, and empty directories in the several initial directories are deleted to obtain several directories; the directory letters corresponding to each directory in the several directories are obtained, and the several directories are sorted in descending order according to the directory letters; according to the first file position and the preset number of files per unit complexity, the files in the several directories are divided to generate several file sets; wherein each file set includes the number of files per unit complexity; the file path of each file in each file set in the several file sets is verified, and a unique value corresponding to each file set is generated and recorded; according to the sorting and the unique value corresponding to each file set, a first directory structure verification value corresponding to the storage medium to be retrieved is generated; 根据所述设备识别码查询预设的数据库中保存的历史设备识别码信息,判断所述待检索存储介质是否为历史设备;According to the device identification code, historical device identification code information stored in a preset database is searched to determine whether the storage medium to be retrieved is a historical device; 当所述待检索存储介质不是历史设备时,根据所述第一文件位置,通过所述设备节点遍历所述待检索存储介质中每一个文件的文件信息,根据所述文件信息筛选所述待检索存储介质中的每一个第一音频文件,并记录所述每一个第一音频文件对应的第一音频文件位置;When the storage medium to be searched is not a historical device, according to the first file position, traversing the file information of each file in the storage medium to be searched through the device node, screening each first audio file in the storage medium to be searched according to the file information, and recording the first audio file position corresponding to each first audio file; 根据所述设备识别码,所述第一音频文件位置、所述文件系统结构及所述第一目录结构校验值,生成并保存所述待检索存储介质对应的第一音频文件信息;Generate and save first audio file information corresponding to the storage medium to be retrieved according to the device identification code, the first audio file location, the file system structure and the first directory structure check value; 当所述待检索存储介质是历史设备时,根据所述设备识别码从所述数据库中获取所述待检索存储介质对应的历史音频文件信息,并将所述第一目录结构和所述第一文件修改时间与所述历史音频文件信息中的第二目录结构及第二文件修改时间进行匹配,根据所述匹配的结果判定所述待检索存储介质是否发生文件修改;When the storage medium to be retrieved is a historical device, obtaining historical audio file information corresponding to the storage medium to be retrieved from the database according to the device identification code, and matching the first directory structure and the first file modification time with the second directory structure and the second file modification time in the historical audio file information, and determining whether the storage medium to be retrieved has been modified according to the matching result; 当判定所述待检索存储介质发生文件修改时,通过将所述第一目录结构校验值与所述第二目录结构对应的第二目录结构校验值进行比较,确定并遍历发生文件修改的第二目录,获得所述第二目录中的每一个第二音频文件,并记录所述每一个第二音频文件对应的第二音频文件位置;When it is determined that a file modification occurs in the storage medium to be retrieved, the second directory where the file modification occurs is determined and traversed by comparing the first directory structure check value with a second directory structure check value corresponding to the second directory structure, obtaining each second audio file in the second directory, and recording a second audio file position corresponding to each second audio file; 根据所述第二音频文件位置,结合所述历史音频文件信息,生成所述待检索存储介质对应的第二音频文件信息。The second audio file information corresponding to the storage medium to be retrieved is generated according to the second audio file position and in combination with the historical audio file information. 2.如权利要求1所述的一种音频文件检索方法,其特征在于,所述构建待检索存储介质对应的设备节点,并通过所述设备节点获得并保存所述待检索存储介质的设备识别码及文件系统结构,包括:2. The audio file retrieval method according to claim 1, wherein the step of constructing a device node corresponding to the storage medium to be retrieved, and obtaining and saving the device identification code and file system structure of the storage medium to be retrieved through the device node comprises: 根据预设的操作检测方法自动检测所述待检索存储介质的拔插操作,当检测到所述待检索存储介质的插入操作时,创建所述待检索存储介质对应的设备节点;Automatically detecting the plugging and unplugging operation of the storage medium to be retrieved according to a preset operation detection method, and when the insertion operation of the storage medium to be retrieved is detected, creating a device node corresponding to the storage medium to be retrieved; 通过预设的文件系统类型查询指令获取所述待检索存储介质对应的文件系统格式,并根据所述文件系统格式访问所述设备节点,解析获得所述待检索存储介质对应的设备识别码及文件系统结构。The file system format corresponding to the storage medium to be retrieved is obtained through a preset file system type query instruction, and the device node is accessed according to the file system format to parse and obtain the device identification code and file system structure corresponding to the storage medium to be retrieved. 3.如权利要求1所述的一种音频文件检索方法,其特征在于,所述根据所述第一文件位置,通过所述设备节点遍历所述待检索存储介质中每一个文件的文件信息,根据所述文件信息筛选所述待检索存储介质中的每一个第一音频文件,包括:3. The audio file retrieval method according to claim 1, wherein the step of traversing the file information of each file in the storage medium to be retrieved through the device node according to the first file position and screening each first audio file in the storage medium to be retrieved according to the file information comprises: 根据所述第一文件位置,通过访问所述设备节点偏移到所述待检索存储介质中每一个文件对应的文件位置;According to the first file position, offset to the file position corresponding to each file in the storage medium to be retrieved by accessing the device node; 根据所述文件位置读取所述每一个文件的文件信息,并根据所述文件信息判断所述每一个文件是否为所述第一音频文件;其中,所述文件信息包括magic签名、文件头信息及文件内容。The file information of each file is read according to the file position, and whether each file is the first audio file is determined according to the file information; wherein the file information includes a magic signature, file header information and file content. 4.如权利要求1所述的一种音频文件检索方法,其特征在于,所述根据所述第二音频文件位置,结合所述历史音频文件信息,生成所述待检索存储介质对应的第二音频文件信息,包括:4. The audio file retrieval method according to claim 1, wherein the step of generating the second audio file information corresponding to the storage medium to be retrieved based on the second audio file position and in combination with the historical audio file information comprises: 通过将所述第二目录对应的历史音频文件位置替换为所述第二音频文件位置,生成所述待检索存储介质对应的第二音频文件信息。The second audio file information corresponding to the storage medium to be retrieved is generated by replacing the historical audio file position corresponding to the second directory with the second audio file position. 5.一种音频文件检索系统,其特征在于,所述系统包括节点搭建模块、目录分析模块、设备识别模块、文件检索模块、信息生成模块、文件检测模块、目录修改模块及信息更新模块;5. An audio file retrieval system, characterized in that the system includes a node building module, a directory analysis module, a device identification module, a file retrieval module, an information generation module, a file detection module, a directory modification module and an information update module; 所述节点搭建模块用于构建待检索存储介质对应的设备节点,并通过所述设备节点获得并保存所述待检索存储介质的设备识别码及文件系统结构;其中,所述文件系统结构包括第一目录结构、第一文件修改时间及第一文件位置;The node building module is used to construct a device node corresponding to the storage medium to be retrieved, and obtain and save the device identification code and file system structure of the storage medium to be retrieved through the device node; wherein the file system structure includes a first directory structure, a first file modification time and a first file location; 所述目录分析模块用于根据所述第一目录结构,通过预设的复杂度分析方法分析所述待检索存储介质的目录复杂度,生成所述待检索存储介质对应的第一目录结构校验值;其中,所述目录分析模块包括目录获取单元、复杂度分析单元及校验值生成单元;所述目录获取单元用于根据所述第一目录结构获取所述待检索存储介质中的若干个初始目录,并删除所述若干个初始目录中的空目录,获得若干个目录;获取所述若干个目录中每一个目录对应的目录字母,根据所述目录字母由大到小的顺序对所述若干个目录进行排序;所述复杂度分析单元用于根据所述第一文件位置及预设的单位复杂度文件数量,对所述若干个目录中的文件进行划分,生成若干个文件集;其中,每一个文件集包括所述单位复杂度文件数量的文件;所述校验值生成单元用于对所述若干个文件集中每一个文件集的每一个文件的文件路径进行校验,生成并记录每一个文件集对应的唯一值;根据所述排序及所述每一个文件集对应的唯一值,生成所述待检索存储介质对应的第一目录结构校验值;The directory analysis module is used to analyze the directory complexity of the storage medium to be retrieved according to the first directory structure by a preset complexity analysis method, and generate a first directory structure verification value corresponding to the storage medium to be retrieved; wherein, the directory analysis module includes a directory acquisition unit, a complexity analysis unit and a verification value generation unit; the directory acquisition unit is used to acquire several initial directories in the storage medium to be retrieved according to the first directory structure, and delete empty directories in the several initial directories to obtain several directories; obtain the directory letters corresponding to each directory in the several directories, and sort the several directories in descending order according to the directory letters; the complexity analysis unit is used to divide the files in the several directories according to the first file position and the preset number of unit complexity files, and generate several file sets; wherein each file set includes the number of files of the unit complexity; the verification value generation unit is used to verify the file path of each file in each file set in the several file sets, and generate and record the unique value corresponding to each file set; according to the sorting and the unique value corresponding to each file set, generate the first directory structure verification value corresponding to the storage medium to be retrieved; 所述设备识别模块用于根据所述设备识别码查询预设的数据库中保存的历史设备识别码信息,判断所述待检索存储介质是否为历史设备;The device identification module is used to query the historical device identification code information stored in the preset database according to the device identification code, and determine whether the storage medium to be retrieved is a historical device; 所述文件检索模块用于当所述待检索存储介质不是历史设备时,根据所述第一文件位置,通过所述设备节点遍历所述待检索存储介质中每一个文件的文件信息,根据所述文件信息筛选所述待检索存储介质中的每一个第一音频文件,并记录所述每一个第一音频文件对应的第一音频文件位置;The file retrieval module is used for, when the storage medium to be retrieved is not a historical device, traversing the file information of each file in the storage medium to be retrieved through the device node according to the first file position, screening each first audio file in the storage medium to be retrieved according to the file information, and recording the first audio file position corresponding to each first audio file; 所述信息生成模块用于根据所述设备识别码,所述第一音频文件位置、所述文件系统格式及所述第一目录结构校验值,生成并保存所述待检索存储介质对应的第一音频文件信息;The information generation module is used to generate and save the first audio file information corresponding to the storage medium to be retrieved according to the device identification code, the first audio file location, the file system format and the first directory structure check value; 所述文件检测模块用于当所述待检索存储介质是历史设备时,根据所述设备识别码从所述数据库中获取所述待检索存储介质对应的历史音频文件信息,并将所述第一目录结构和所述第一文件修改时间与所述历史音频文件信息中的第二目录结构及第二文件修改时间进行匹配,根据所述匹配的结果判定所述待检索存储介质是否发生文件修改;The file detection module is used for, when the storage medium to be retrieved is a historical device, obtaining the historical audio file information corresponding to the storage medium to be retrieved from the database according to the device identification code, and matching the first directory structure and the first file modification time with the second directory structure and the second file modification time in the historical audio file information, and determining whether the storage medium to be retrieved has been modified according to the matching result; 所述目录修改模块用于当判定所述待检索存储介质发生文件修改时,通过将所述第一目录结构校验值与所述第二目录结构对应的第二目录结构校验值进行比较,确定并遍历发生文件修改的第二目录,获得所述第二目录中的每一个第二音频文件,并记录所述每一个第二音频文件对应的第二音频文件位置;The directory modification module is used for, when determining that a file modification has occurred in the storage medium to be retrieved, determining and traversing the second directory where the file modification has occurred by comparing the first directory structure check value with the second directory structure check value corresponding to the second directory structure, obtaining each second audio file in the second directory, and recording the second audio file position corresponding to each second audio file; 所述信息更新模块用于根据所述第二音频文件位置,结合所述历史音频文件信息,生成所述待检索存储介质对应的第二音频文件信息。The information updating module is used to generate the second audio file information corresponding to the storage medium to be retrieved according to the second audio file position and in combination with the historical audio file information. 6.如权利要求5所述的一种音频文件检索系统,其特征在于,所述节点搭建模块包括节点创建单元及节点访问单元;6. An audio file retrieval system as claimed in claim 5, characterized in that the node building module includes a node creation unit and a node access unit; 所述节点创建单元用于根据预设的操作检测方法自动检测所述待检索存储介质的拔插操作,当检测到所述待检索存储介质的插入操作时,创建所述待检索存储介质对应的设备节点;The node creation unit is used to automatically detect the plugging and unplugging operation of the storage medium to be retrieved according to a preset operation detection method, and when the insertion operation of the storage medium to be retrieved is detected, create a device node corresponding to the storage medium to be retrieved; 所述节点访问单元用于通过预设的文件系统类型查询指令获取所述待检索存储介质对应的文件系统格式,并根据所述文件系统格式访问所述设备节点,解析获得所述待检索存储介质对应的设备识别码及文件系统结构。The node access unit is used to obtain the file system format corresponding to the storage medium to be retrieved through a preset file system type query instruction, and access the device node according to the file system format to parse and obtain the device identification code and file system structure corresponding to the storage medium to be retrieved. 7.如权利要求5所述的一种音频文件检索系统,其特征在于,所述文件检索模块包括文件定位单元及信息读取单元;7. An audio file retrieval system as claimed in claim 5, characterized in that the file retrieval module includes a file locating unit and an information reading unit; 所述文件定位单元用于根据所述第一文件位置,通过访问所述设备节点偏移到所述待检索存储介质中每一个文件对应的文件位置;The file positioning unit is used to offset to the file position corresponding to each file in the storage medium to be retrieved by accessing the device node according to the first file position; 所述信息读取单元用于根据所述文件位置读取所述每一个文件的文件信息,并根据所述文件信息判断所述每一个文件是否为所述第一音频文件;其中,所述文件信息包括magic签名、文件头信息及文件内容。The information reading unit is used to read the file information of each file according to the file position, and determine whether each file is the first audio file according to the file information; wherein the file information includes a magic signature, file header information and file content. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-4任一所述的一种音频文件检索方法。8. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the audio file retrieval method according to any one of claims 1 to 4 is implemented.
CN202410099060.7A 2024-01-23 2024-01-23 Audio file retrieval method and system Active CN117932107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410099060.7A CN117932107B (en) 2024-01-23 2024-01-23 Audio file retrieval method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410099060.7A CN117932107B (en) 2024-01-23 2024-01-23 Audio file retrieval method and system

Publications (2)

Publication Number Publication Date
CN117932107A CN117932107A (en) 2024-04-26
CN117932107B true CN117932107B (en) 2025-02-11

Family

ID=90757029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410099060.7A Active CN117932107B (en) 2024-01-23 2024-01-23 Audio file retrieval method and system

Country Status (1)

Country Link
CN (1) CN117932107B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013051004A (en) * 2011-08-30 2013-03-14 Alpine Electronics Inc Audio device
CN114913864A (en) * 2022-05-10 2022-08-16 深圳壹账通智能科技有限公司 Audio data processing method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702673B2 (en) * 2004-10-01 2010-04-20 Ricoh Co., Ltd. System and methods for creation and use of a mixed media environment
CN102375834B (en) * 2010-08-17 2016-01-20 腾讯科技(深圳)有限公司 Audio file search method, system and audio file type recognition methods, system
CN113806803B (en) * 2021-09-17 2023-06-02 厦门服云信息科技有限公司 Data storage method, system, terminal equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013051004A (en) * 2011-08-30 2013-03-14 Alpine Electronics Inc Audio device
CN114913864A (en) * 2022-05-10 2022-08-16 深圳壹账通智能科技有限公司 Audio data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN117932107A (en) 2024-04-26

Similar Documents

Publication Publication Date Title
US6185569B1 (en) Linked data structure integrity verification system which verifies actual node information with expected node information stored in a table
US8352259B2 (en) Methods and apparatus for audio recognition
JP2008083914A (en) Electronic apparatus having data reproduction function
US8751494B2 (en) Constructing album data using discrete track data from multiple sources
US20020069195A1 (en) Automatic identification of DVD title using internet technologies and fuzzy matching techniques
CN111125298A (en) Method, equipment and storage medium for reconstructing NTFS file directory tree
US20140244582A1 (en) Apparatus and Methods for Selective Location and Duplication of Relevant Data
CN109344163B (en) Data verification method and device and computer readable medium
CN110297781B (en) Method for recovering deleted data in APFS (advanced File System) based on copy-on-write
CN117932107B (en) Audio file retrieval method and system
CN108021472B (en) Format recovery method of ReFS file system and storage medium
KR101688629B1 (en) Method and apparatus for recovery of file system using metadata and data cluster
CN114968663B (en) A method and system for restoring database content
KR20110023580A (en) Methods and systems for recovering data
WO2014061846A1 (en) Method for generating index for processing mixed query, method for processing mixed query, and recording medium for recording index material structure
US6738771B2 (en) Data processing method, computer readable recording medium, and data processing device
US8156072B2 (en) Method for fast reconstruction of content information
JPH081642B2 (en) Keyword search method
CN111274350A (en) Data processing method, data processing device, computer equipment and storage medium
CN113312007B (en) Method and device for counting directory and file sizes in NTFS (New technology File System)
CN116417012B (en) Audio recognition method, computer device and computer program product
JP4563313B2 (en) Content feature registration method, content search method, apparatus, and program
CN106095909B (en) Label information analytic method, device and the terminal of a kind of audio file
KR100670775B1 (en) How to Implement Playlist for Index / Context on Mobile Devices
JP3454188B2 (en) Command parameter syntax checking device, command parameter syntax checking method, and recording medium storing command parameter syntax analysis program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant