Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2022-05-17
BIGO TECH PTE LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a hash code generation and matching method, device, electronic equipment, and storage medium to solve the problem of complex operation by extracting audio features to generate hash codes and sliding window comparisons during comparison

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hash code generation and matching method, device, electronic device and storage medium
  • Hash code generation and matching method, device, electronic device and storage medium
  • Hash code generation and matching method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a hash code generation and matching method, device, electronic equipment, and storage medium. The hash code generation method includes: receiving a target audio signal; collecting a sample audio signal from the target audio signal ; converting the sample audio signal into a spectral signal, wherein the spectral signal has an amplitude; generating a hash code identifying the entirety of the target audio signal according to the difference between the amplitudes. Since the hash code can identify the target audio signal as a whole, the distance comparison hash code can be directly used later to avoid the sliding window overhead caused by extracting features to generate the hash code. The operation is simple and fast, and the hash code is compared on a large scale , the performance of the operation is guaranteed.

Description

technical field [0001] Embodiments of the present invention relate to audio processing technologies, and in particular to a hash code generation and matching method, device, electronic device and storage medium. Background technique [0002] Popular multimedia files such as short videos are uploaded in large quantities and spread rapidly. Some popular audio files will be used or imitated by a large number of users, resulting in a large number of repetitions in the multimedia files uploaded by users. [0003] At present, for different business requirements, especially large-scale multimedia files, the hash (hash) algorithm is usually used for audio comparison and clustering of multimedia files. The hash algorithm can map audio to a binary hash code. The comparison of Greek codes is used to determine the similarity of two audios, and the operation speed is faster. [0004] However, the hash algorithm, such as the perceptual hash algorithm (phash), needs to find out the featur...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G10L25/51G10L25/18
CPCG10L25/51G10L25/18
Inventor 刘运叶子卿
Owner BIGO TECH PTE LTD