Hash code generation and matching method, device, electronic device and storage medium
A technology of audio signal and signal difference, applied in speech analysis, instruments, etc., can solve problems such as complex operation, achieve the effect of fast operation speed, ensure performance, and avoid sliding window overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a flow chart of a method for generating a hash code provided by Embodiment 1 of the present invention. This embodiment is applicable to the case where the target audio signal is converted into a hash code as a whole. This method can be implemented by a hash code generation device Execute, the device for generating the hash code can be implemented by software and / or hardware, and can be configured in electronic equipment, such as servers, workstations, etc., the method specifically includes the following steps:
[0045] S101. Receive a target audio signal.
[0046] In a specific implementation, the target audio signal may be an independent audio signal input by the user, or an audio signal in a certain multimedia file (such as a short video), which is not limited in this embodiment.
[0047] For different application scenarios, such as short videos, live broadcasts, TV dramas, etc., the target audio signal may contain human voice signals, silent signals, ...
Embodiment 2
[0073] figure 2 It is a flow chart of a method for generating a hash code provided by Embodiment 2 of the present invention. This embodiment is based on the foregoing embodiments, and further adds one-time hash code generation, hash code validity judgment, and secondary hash code generation. Code processing operations. The method specifically includes the following steps:
[0074] S201. Receive a target audio signal.
[0075] S202. Collect a sample audio signal from the target audio signal.
[0076] S203. Convert the sample audio signal into a spectrum signal.
[0077] Wherein, the frequency spectrum signal has an amplitude.
[0078] S204. Perform differential processing on the amplitude to obtain a first signal difference value.
[0079] In this embodiment, difference processing may refer to first-order difference, that is, calculating a difference between two adjacent frequency points, and may specifically include forward difference, backward difference, intermediate d...
Embodiment 3
[0120] image 3 It is a flow chart of a multimedia file matching method provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where a multimedia file is matched based on a hash code that identifies the entirety of an audio signal. device, the hash code generation device can be implemented by software and / or hardware, and can be configured in electronic equipment, such as servers, workstations, etc., the method specifically includes the following steps:
[0121] S301. Determine a target multimedia file.
[0122] In practical applications, users upload multimedia files to the service platform, such as short videos, live videos, presentations (PPT), etc., with the intention of storing multimedia files on the service platform, or publishing the multimedia files for public circulation and browsing.
[0123] In the business platform, multimedia files can be clustered by comparing audio signals in multimedia files to meet different busines...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


