Electronic device for multimedia signal recognition and operation method thereof

By segmenting audio signals into frames and blocks and generating hash characters based on time and frequency characteristics, the problem of fingerprint distortion caused by noise is solved and the accuracy of multimedia file retrieval is improved.

CN112084368BActive Publication Date: 2024-10-01NAVER CORP
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202010440444.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-13
Filing Date
2020-05-22
Publication Date
2024-10-01
Estimated Expiration
2040-05-22

AI Technical Summary

Technical Problem

In the existing technology, the noise frequency component causes fingerprint distortion during audio signal retrieval, which reduces the retrieval accuracy.

Method used

By dividing the detected signal into frames and dividing it into blocks, hash characters are generated based on the time characteristics and frequency characteristics of the blocks, and fingerprints are generated using both frequency characteristics and time characteristics, thereby reducing the distortion of the fingerprint.

Benefits of technology

It improves the accuracy of multimedia file retrieval. Even if there is noise in the signal, it can effectively reduce the distortion of fingerprints and improve the retrieval accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112084368B_ABST
    Figure CN112084368B_ABST
Patent Text Reader

Abstract

According to the electronic device for multimedia signal recognition and the operating method thereof of multiple embodiments, the detected signal can be divided into multiple frames, and each frame can be divided into multiple blocks, and each block can be represented as a hash character based on the time characteristics and frequency characteristics of each block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Multiple embodiments relate to an electronic apparatus for recognizing multimedia signals and an operating method thereof. Background Art

[0002] In recent years, a QbH (query by humming) service has been provided in a communication environment. In order to provide such a service, a server stores a large amount of information related to audio files. The client transmits an audio signal having a melody to be retrieved to the server, and the server feeds back information about the audio file that is most similar to the audio signal to the client. To this end, the server needs to compare the audio signal with a large number of audio files respectively. Usually, the server generates an audio fingerprint based on the characteristics of the audio signal in order to compare it with the audio file. At this time, the server generates a fingerprint in the audio signal only based on the energy distribution in the frequency direction. Therefore, the fingerprint may be distorted due to the frequency component of the noise in the audio signal. As a result, there is a problem of decreased accuracy when the server uses the fingerprint to retrieve the audio file. Summary of the invention

[0003] Various embodiments provide an electronic device and an operating method thereof, which can minimize distortion of a fingerprint generated from a multimedia signal.

[0004] Various embodiments provide an electronic device and an operating method thereof, which can improve accuracy when retrieving multimedia files using fingerprints.

[0005] According to multiple embodiments, the operating method of the electronic device may include the operation of dividing the detected signal into multiple frames, the operation of dividing the above-mentioned frames into multiple blocks, and the operation of representing the above-mentioned blocks as hash characters based on the time characteristics and frequency characteristics of the above-mentioned blocks.

[0006] According to various embodiments, an electronic device may include an input module and a processor configured to generate a fingerprint of a signal detected by the input module.

[0007] According to multiple embodiments, the processor may be configured to segment the detected signal into multiple frames, segment each of the frames into multiple blocks, and represent each of the blocks as a hash character based on time characteristics and frequency characteristics of each of the blocks.

[0008] According to multiple embodiments, a non-transitory computer-readable storage medium can store one or more programs for executing operations of segmenting a detected signal into multiple frames, segmenting each of the frames into multiple blocks, and representing each of the blocks as hash characters based on time characteristics and frequency characteristics of each of the blocks.

[0009] According to a plurality of embodiments, the electronic device represents the hash character not only based on the frequency characteristics of the detected signal, but also based on the time characteristics, so that the fingerprint of the signal can be generated. Thus, the electronic device can minimize the distortion of the fingerprint. That is, even if an error occurs when detecting one of the frequency characteristics or the time characteristics from the signal, the distortion of the fingerprint can be invalidated based on the other of the frequency characteristics or the time characteristics. Thus, the electronic device can improve the accuracy when generating the fingerprint. Further, the electronic device can improve the accuracy when using the fingerprint to retrieve multimedia files. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 is a diagram showing an electronic device according to various embodiments.

[0011] Figure 2 is a diagram illustrating an operating method of an electronic device according to various embodiments.

[0012] Figure 3 Yes means Figure 2 Graph of the fingerprint generation operation.

[0013] Figure 4a , Figure 4b , Figure 5a , Figure 5b , Figure 6a , Figure 6b , Figure 6c , Figure 6d , Figure 7a , Figure 7b , Figure 7c as well as Figure 7d It is a diagram for explaining the characteristics of multimedia signals.

[0014] Figure 8 is a diagram for explaining the fingerprint of a multimedia signal.

[0015] Figure 9a , Figure 9b , Fig.9c as well as Figure 9d It is a diagram used to illustrate the characteristics found in the fingerprint. DETAILED DESCRIPTION

[0016] Hereinafter, multiple embodiments of the present invention will be described with reference to the accompanying drawings.

[0017] The electronic device according to multiple embodiments can realize the recognition of multimedia signals. For example, the multimedia signal may include at least one of an audio signal or a video signal. According to one embodiment, the electronic device stores multiple multimedia files, and at least one of the multimedia files can be detected based on the multimedia signal. Here, the electronic device can detect the similarity between the characteristics of the multimedia signal and the characteristics of the multimedia file, and detect at least one of the multimedia files based on the similarity. According to multiple embodiments, the electronic device can generate a fingerprint of the multimedia signal based on the characteristics of the multimedia signal.

[0018] Figure 1 is a diagram showing an electronic device 100 according to various embodiments.

[0019] Reference Figure 1 According to various embodiments, the electronic device 100 may include at least one of an input module 110, an output module 120, a memory 130, or a processor 140. In a certain embodiment, at least one of the components of the electronic device 100 may be omitted, or one or more other components may be added to the electronic device 100.

[0020] The input module 110 can input commands or signals used in at least one component of the electronic device 100. The input module 110 may include at least one of an input device for a user to directly input commands or data to the electronic device 100, a sensing device for generating signals by sensing the surrounding environment, or a communication device for receiving commands or data by communicating with an external device (not shown). For example, the input device may include at least one of a microphone, a camera, a mouse, or a keyboard. For example, the communication device includes at least one of a wired communication module or a wireless communication module, and the wireless communication module may communicate with an external device through at least one of a long-distance communication network or a short-distance communication network.

[0021] The output module 120 can provide information to the outside of the electronic device 100. The output module 120 may include at least one of a display device that provides information visually, an audio device that provides information auditorily, or a communication device for sending information. For example, the display device may include at least one of a display, a holographic display device, or a projector. In a certain embodiment, the display device may include a touch circuit configured to sense touch, or at least one of a sensing circuit configured to measure the strength of the force generated by touch. For example, the communication device includes at least one of a wired communication module or a wireless communication module, and the wireless communication module can communicate with an external device through at least one of a long-distance communication network or a short-distance communication network.

[0022] The memory 130 may store a variety of data used by at least one component of the electronic device 100. For example, the memory 130 may include at least one of a volatile memory or a non-volatile memory. The data may include a program or input data or output data related thereto. According to an embodiment, the memory 130 may store at least one of a plurality of multimedia files or meta information of each multimedia file.

[0023] The processor 140 can control at least one component of the electronic device 100 and perform data processing or calculation by running the program of the memory 130. The processor 140 can detect the multimedia signal through the input module 110. At this time, the multimedia signal may include at least one of an audio signal or a video signal. The processor 140 can divide the multimedia signal into a plurality of frames. At this time, the frames can be defined according to the time axis and the frequency axis, and can overlap with each other. Each frame can have its own energy distribution according to time and frequency. The processor 140 can generate a fingerprint of each frame. At this time, the fingerprint can be represented by an arrangement of hash words.

[0024] The processor 140 may divide each frame into a plurality of blocks. Here, the blocks are arranged in the same frame, so that at least one of the time or frequency may be different. The processor 140 may calculate the time characteristics and frequency characteristics of each block. The time characteristics may represent the energy distribution according to time, and the frequency characteristics may represent the energy distribution according to frequency. To this end, the processor 140 may calculate the differential value of the combination (D) of two directions on the time axis and two directions on the frequency axis for each block. The processor 140 may detect the hash character of each block based on the time characteristics and frequency characteristics of each block. At this time, the processor 140 may detect the hash character of each block based on the energy differential value of each block. For example, the processor 140 compares the differential value with a threshold value, so that the hash character corresponding to the differential value may be detected. Here, the threshold value may be determined as the differential value in the previous frame so as to be compared with the differential value in the current frame.

[0025] According to multiple embodiments, the electronic device 100 represents the hash character not only based on the frequency characteristics of the detected signal, but also based on the time characteristics, so that the fingerprint of the signal can be generated. Thereby, the electronic device 100 can minimize the distortion of the fingerprint. That is, even if an error occurs when detecting one of the frequency characteristics or the time characteristics from the signal, the distortion of the fingerprint can be invalidated based on the other of the frequency characteristics or the time characteristics. For example, even if the signal contains noise, the distortion of the fingerprint due to the frequency component of the noise can be invalidated. Thereby, the electronic device 100 can improve the accuracy when generating fingerprints. Further, the electronic device 100 can improve the accuracy when using fingerprints to retrieve multimedia files.

[0026] The electronic device 100 according to various embodiments may include an input module 110 , and a processor 140 configured to generate a fingerprint of a signal detected by the input module 110 .

[0027] According to various embodiments, the processor 140 may be configured to segment the detected signal into a plurality of frames, segment each frame into a plurality of blocks, and represent each block as a hash character based on a time characteristic and a frequency characteristic of each block.

[0028] According to various embodiments, the time characteristic may represent energy distribution according to time for each block, and the frequency characteristic may represent energy distribution according to frequency for each block.

[0029] According to various embodiments, blocks may be defined in terms of intersecting time and frequency axes.

[0030] According to various embodiments, the processor 140 may be configured to detect hash characters of each block based on a differential value according to a combination of two directions on a time axis and two directions on a frequency axis, and represent each block as the detected hash character.

[0031] According to multiple embodiments, the processor 140 can be used to calculate a first differential value according to a first time direction of the time axis and a first frequency direction of the frequency axis, and calculate a second differential value according to a second time direction of the time axis and a second frequency direction of the frequency axis, and then add the first differential value and the second differential value to calculate the differential value, and then detect the hash character based on the differential value.

[0032] According to multiple embodiments, the processor 140 can be used to calculate at least one of a third differential value according to a first time direction and a second frequency direction or a fourth differential value according to a second time direction and a first frequency direction, and then add at least one of the third differential value or the fourth differential value to the first differential value and the second differential value to calculate the differential value.

[0033] According to various embodiments, the processor 140 compares the differential value with a threshold value, thereby detecting a hash character corresponding to the differential value.

[0034] According to various embodiments, the threshold value may be determined as a differential value in a previous frame among the frames so as to be compared with the differential value in a current frame among the frames.

[0035] According to various embodiments, in the processor 140 , if the differential value exceeds a threshold, the hash character may be detected as 1, and if the differential value is below the threshold, the hash character may be detected as 0.

[0036] Figure 2 is a diagram illustrating an operating method of the electronic device 100 according to various embodiments. Figure 4a , Figure 4b , Figure 5a , Figure 5b , Figure 6a , Figure 6b , Figure 6c , Figure 6d , Figure 7a , Figure 7b , Figure 7c as well as Figure 7d It is a diagram for explaining the characteristics of multimedia signals. Figure 8 is a diagram for explaining the fingerprint of a multimedia signal. Figure 9a , Figure 9b , Fig.9c as well as Figure 9d It is a diagram for explaining the characteristics found in the fingerprint.

[0037] Reference Figure 2 , the electronic device 100 may detect a multimedia signal in operation 210. The processor 140 may detect the multimedia signal through the input module 110. At this time, the multimedia signal may include at least one of an audio signal or a video signal.

[0038] For example, Figure 4a , Figure 4b , Figure 5a or Figure 5b As shown, the audio signal can be represented by a spectrum representing the energy distribution according to the time domain and the frequency domain. Here, the spectrum of the audio signal can be represented three-dimensionally, such as Figure 4a or Figure 4b It can also be expressed in plane form, as Figure 5a or Figure 5b At this time, if the audio signal does not contain noise, the spectrum of the audio signal can be expressed as follows Figure 4a as well as Figure 5a On the other hand, if the audio signal contains noise, the spectrum of the audio signal can be expressed as Figure 4b as well as Figure 5b shown.

[0039] The electronic device 100 may divide the multimedia signal into a plurality of frames during operation 220. At this time, the frames may be defined according to the time axis and the frequency axis and may overlap each other. Each frame may have its own energy distribution according to time and frequency. According to an embodiment, the processor 140 may include at least one of a framing circuit, a Fourier transform circuit, or an absolute value circuit. The framing circuit may divide the frames. The Fourier transform circuit may detect Fourier coefficients of energy distribution according to time and frequency in each frame. The absolute value circuit may calculate the absolute value of the Fourier coefficients.

[0040] For example, for one of the frames segmented from the audio signal, the energy distribution according to the frequency at each time can be expressed as follows: Figure 6a , Figure 6b , Figure 6c as well as Figure 6d Here, the energy distribution according to the frequency at each time can be expressed differently depending on whether the audio signal contains noise. On the other hand, for one of the frames segmented from the audio signal, the energy distribution according to the time at each frequency can be expressed as follows Figure 7a , Figure 7b , Figure 7c as well as Figure 7d Here, the energy distribution according to time at each frequency can be expressed differently depending on whether the audio signal contains noise. However, the characteristic of the energy distribution according to time at each frequency, that is, the spectral peak, can be maintained regardless of whether the audio signal contains noise.

[0041] The electronic device 100 may generate fingerprints for each frame during operation 230. The processor 140 may represent the energy distribution of each frame according to time and frequency as a fingerprint. At this time, the fingerprint may be represented by an arrangement of hash words. According to one embodiment, the processor 140 may generate fingerprints for each frame by comparing the energy distributions of two adjacent frames in the frame. To this end, the current frame for which a fingerprint needs to be generated and the previous frame adjacent to the current frame may be defined from the frame.

[0042] For example, Figure 8 As shown, the processor 140 may generate a fingerprint. In the fingerprint, a white pixel may represent a hash character with a bit value of 1, and a black pixel may represent a hash character with a bit value of 0. Here, if the audio signal does not contain noise, the fingerprint may be expressed as follows: Figure 8 On the other hand, if the audio signal contains noise, the fingerprint can be expressed as Figure 8 On the other hand, the noise of the audio signal can be expressed as Figure 8 as shown in (c).

[0043] Figure 3 Yes means Figure 2 Graph of the fingerprint generation operation.

[0044] Reference Figure 3 , the electronic device 100 may divide each frame into a plurality of blocks during operation 310. The processor 140 may divide each frame into a plurality of blocks. At this time, the blocks may be defined based on a time axis and a frequency axis. Here, the blocks are arranged in the same frame, so that at least one of the time or frequency may be different. According to one embodiment, the processor 140 includes a frequency band division circuit, and the frequency band circuit may divide each frame into a plurality of blocks based on a predetermined time band and a predetermined frequency band. For example, the frequency band division circuit includes a plurality of switches, and each switch may detect each block.

[0045] The electronic device 100 may detect the time characteristics and frequency characteristics of each block in operation 320. The processor 140 may calculate the time characteristics and frequency characteristics of each block. The time characteristics may represent the energy distribution according to time, and the frequency characteristics may represent the energy distribution according to frequency. To this end, the processor 140 may calculate the energy differential value of each block according to the direction of the energy tilt with respect to the time axis and the frequency axis.

[0046] According to multiple embodiments, the processor 140 may calculate a differential value according to a combination (D) of two directions on the time axis and two directions on the frequency axis for each block. At this time, the processor 140 may calculate the differential value as shown in [Mathematical Formula 1] below. That is, the processor 140 may add at least one differential value according to a combination (D) of at least one of the two directions on the time axis and at least one of the two directions on the frequency axis for each block. Here, the two directions on the time axis may be defined as a first time direction and a second time direction opposite thereto, and the two directions on the frequency axis may be defined as a first frequency direction and a second frequency direction opposite thereto. For example, the first time direction and the second time direction may be expressed as 1 and -1, and the first frequency direction and the second frequency direction may be expressed as 1 and -1. In this case, the combination (D) of the two directions on the time axis and the two directions on the frequency axis may include at least one of (1, 1), (1, -1), (-1, 1) or (-1, -1).

[0047]

Mathematical formula 1

[0048]

[0049] Here, n may represent a time band, m may represent a frequency band, and E may represent a band-summed energy.

[0050] According to an embodiment, the processor 140 may calculate a first differential value according to a first time direction and a first frequency direction, and may calculate a second differential value according to a second time direction and a second frequency direction. Thus, the processor 140 adds the first differential value and the second differential value, thereby calculating the energy differential value of each block. As an example, a combination (D) of two directions on the time axis and two directions on the frequency axis may include (-1, 1) and (-1, -1).

[0051] According to another embodiment, the processor 140 may calculate a first differential value according to a first time direction and a first frequency direction, and may calculate a second differential value according to a second time direction and a second frequency direction. At the same time, the processor 140 may calculate at least one of a third differential value according to the first time direction and the second frequency direction, or a fourth differential value according to the second time direction and the first frequency direction. Thus, the processor 140 adds at least one of the third differential value or the fourth differential value to the first differential value and the second differential value, so that the energy differential value of each block can be calculated. For example, a combination (D) of two directions on the time axis and two directions on the frequency axis may include (1, 1), (-1, 1) and (-1, -1), or may include (1, -1), (-1, 1) and (-1, -1).

[0052] In the operation 330, the electronic device 100 can detect the hash character of each block based on the time characteristics and frequency characteristics of each block. At this time, the processor 140 can detect the hash character of each block based on the energy differential value of each block. For example, as shown in [Mathematical Formula 2] below, the processor 140 compares the differential value with the threshold value, so that the hash character corresponding to the differential value can be detected. Here, as shown in [Mathematical Formula 2] below, the threshold value can be determined as the differential value in the previous frame so as to be compared with the differential value in the current frame. That is, in the processor 140, if the differential value exceeds the threshold value, the hash character can be detected as 1, and if the differential value is below the threshold value, the hash character can be detected as 0.

[0053]

Mathematical formula 2

[0054]

[0055] In operation 340, the electronic device 100 may represent each block as a hash character. Figure 8 As shown, the processor 140 may represent each block as a hash character. For example, for each block, if the hash character is 1, the processor 140 may represent it as a white pixel, and if the hash character is 0, the processor 140 may represent it as a black pixel.

[0056] Thus, fingerprints of each frame can be generated. Figure 9a , Figure 9b , Fig.9c as well as Figure 9d As shown, the energy distribution according to frequency at each time can be derived from the fingerprint of each frame. Here, the energy distribution according to frequency at each time can be represented differently depending on whether the audio signal contains noise. However, the characteristics of the energy distribution according to time at each frequency, that is, the spectral peak, can be maintained regardless of whether the audio signal contains noise. In other words, even if the audio signal contains noise, the spectral peak can be clearly represented.

[0057] According to multiple embodiments, the electronic device 100 represents the hash character not only based on the frequency characteristics of the detected signal, but also based on the time characteristics of the detected signal, so that the fingerprint of the signal can be generated. Thereby, the electronic device 100 can minimize the distortion of the fingerprint. That is, even if an error occurs when detecting one of the frequency characteristics or the time characteristics from the signal, the distortion of the fingerprint can be invalidated based on the other of the frequency characteristics or the time characteristics. For example, even if the signal contains noise, the distortion of the fingerprint due to the frequency component of the noise can be invalidated. Thereby, the electronic device 100 can improve the accuracy when generating fingerprints. Further, the electronic device 100 can improve the accuracy when using fingerprints to retrieve multimedia files.

[0058] According to multiple embodiments, the operating method of the electronic device 100 may include an operation of dividing a detected signal into multiple frames, an operation of dividing each frame into multiple blocks, and an operation of representing each block as a hash character based on the time characteristics and frequency characteristics of each block.

[0059] According to various embodiments, the time characteristic may represent energy distribution according to time for each block, and the frequency characteristic may represent energy distribution according to frequency for each block.

[0060] According to various embodiments, blocks may be defined in terms of intersecting time and frequency axes.

[0061] According to various embodiments, the operation of expressing the hash character may include an operation of detecting the hash character of each block and an operation of expressing each block as the detected hash character based on a differential value according to a combination of two directions on the time axis and two directions on the frequency axis.

[0062] According to multiple embodiments, the operation of detecting a hash character may include: an operation of calculating a first differential value according to a first time direction of a time axis and a first frequency direction of a frequency axis, an operation of calculating a second differential value according to a second time direction of the time axis and a second frequency direction of the frequency axis, an operation of calculating a differential value by adding the first differential value and the second differential value, and an operation of detecting a hash character based on the differential value.

[0063] According to various embodiments, the operation of detecting a hash character may further include at least one of an operation of calculating a third differential value according to a first time direction and a second frequency direction, or an operation of calculating a fourth differential value according to a second time direction and a first frequency direction.

[0064] According to various embodiments, in the operation of calculating the differential value, the differential value may be calculated by adding at least one of the third differential value or the fourth differential value together with the first differential value and the second differential value.

[0065] According to various embodiments, in the operation of detecting the hash character, the hash character corresponding to the differential value may be detected by comparing the differential value with a threshold value.

[0066] According to various embodiments, the threshold value may be determined as a differential value in a previous frame among the frames so as to be compared with the differential value in a current frame among the frames.

[0067] According to various embodiments, in the operation of detecting a hash character, if the differential value exceeds a threshold, the hash character may be detected as 1, and if the differential value is below the threshold, the hash character may be detected as 0.

[0068] The various embodiments of the present invention may be implemented as a software that includes one or more command words stored in a storage medium (e.g., memory 219, 239) that can be read by a machine (e.g., electronic device 110, 130). For example, the processor of the machine (e.g., processor 221, 241) calls out at least one command of the one or more command words stored in the storage medium and can execute it. This enables the machine to operate in a manner that performs at least one function according to the at least one command word called out. The one or more command words may include code that can be executed by a code generated by a compiler or an interpreter. The storage medium that can be read by the machine may be provided in the form of a non-transitory storage medium. Here, "non-transitory" only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic wave), and the term does not distinguish between the case where data is semi-permanently stored in the storage medium and the case where data is temporarily stored in the storage medium.

[0069] According to multiple embodiments, a non-transitory computer-readable storage medium can store one or more programs for executing operations of segmenting a detected signal into multiple frames, segmenting each frame into multiple blocks, and representing each block as a hash character based on the time characteristics and frequency characteristics of each block.

[0070] The multiple embodiments of this article and the terms used therein should be understood as not limiting the technology described herein to a specific embodiment, but including various changes, equivalents, and / or substitutes of the embodiment. Regarding the description of the accompanying drawings, similar reference symbols can be used for similar constituent elements. As long as it is not clearly pointed out in a different way in the context, the expression of the singular can include the expression of the plural. In this article, expressions such as "A or B", "at least one of A and / or B", "A, B or C" or "at least one of A, B and / or C" can include all possible combinations of items listed together. Expressions such as "first", "second", "first" or "second" can modify the constituent element regardless of order or importance, and are only used to distinguish one constituent element from another constituent element, and do not limit the constituent element. When mentioning that a certain (for example: the first) constituent element is "(functional or communication) connected" or "contacted" with another (for example: the second) constituent element, the above-mentioned certain constituent element and the above-mentioned other constituent element can be directly connected, or connected through other constituent elements (for example: the third constituent element).

[0071] The term "module" as used herein includes a unit composed of hardware, software or firmware, and can be used interchangeably with terms such as logic, logic block, part or circuit. A module can be a part that is integrally formed, or a minimum unit or a portion thereof that performs one or more functions. For example, a module can be composed of an ASIC (application-specific integrated circuit).

[0072] According to multiple embodiments, each constituent element (e.g., module or program) of the constituent elements may include a single or multiple individuals. According to multiple embodiments, one or more constituent elements or operations of the constituent elements may be omitted, or one or more other constituent elements or operations may be added. Roughly or further, multiple constituent elements (e.g., module or program) may be merged into one constituent element. In this case, the merged constituent element may perform one or more functions of each constituent element in the multiple constituent elements in the same or similar manner as the function performed by the constituent element in the multiple constituent elements before the merger. According to multiple embodiments, modules, programs, or operations performed by other constituent elements may be run sequentially, in parallel, repeatedly, or exploratory, or one or more of the operations may be run in other orders or omitted, or one or more other operations may be added.

Claims

1. A method for operating an electronic device, comprising: An operation of dividing the detected signal into a plurality of frames; An operation of dividing the plurality of frames into a plurality of blocks, respectively, the blocks being defined according to intersecting time and frequency axes; and an operation of representing the plurality of blocks as hash characters based on time characteristics and frequency characteristics of the plurality of blocks, The operation of expressing the plurality of blocks as hash characters includes: detecting the hash characters of the plurality of blocks according to a combination of two directions on the time axis and two directions on the frequency axis.

2. The method for operating an electronic device according to claim 1, wherein: The time characteristic represents a distribution of energy according to time for the plurality of blocks, The frequency characteristics represent energy distribution according to frequency for the plurality of blocks.

3. The method for operating an electronic device according to claim 1, wherein: The operation of representing the plurality of blocks as hash characters further includes: an operation of detecting hash characters of the plurality of blocks based on differential values ​​calculated by the combination; and An operation of expressing each of the plurality of blocks with the detected hash characters.

4. The method for operating an electronic device according to claim 3, wherein: The operations to detect hash characters include: An operation of calculating a first differential value in a first time direction of the time axis and a first frequency direction of the frequency axis; An operation of calculating a second differential value in a second time direction of the time axis and a second frequency direction of the frequency axis; an operation of calculating the differential value by adding the first differential value and the second differential value; and The hash character operation is detected based on the differential value.

5. The method for operating an electronic device according to claim 4, wherein: The operation of detecting hash characters also includes: An operation of calculating a third differential value in the first time direction and the second frequency direction; or At least one of the operations of calculating fourth differential values ​​in the second time direction and the first frequency direction.

6. The method for operating an electronic device according to claim 5, wherein: In the operation of calculating the differential value, the differential value is calculated by adding the first differential value and the second differential value to at least one of the third differential value or the fourth differential value.

7. The method for operating an electronic device according to claim 4, wherein: In the operation of detecting the hash character, the hash character corresponding to the differential value is detected by comparing the differential value with a threshold value.

8. The method for operating an electronic device according to claim 7, wherein: The threshold value is determined as a differential value in a previous frame among the frames so as to be compared with the differential value in a current frame among the frames.

9. The method for operating an electronic device according to claim 7, wherein: In the operation of detecting the hash character, If the differential value exceeds the threshold, the hash character is detected as 1, If the differential value is below the threshold, the hash character is detected as 0.

10. An electronic device comprising: Input module; as well as a processor for generating a fingerprint of a signal detected by said input module, The processor is configured to: The detected signal is divided into multiple frames. The plurality of frames are divided into a plurality of blocks, wherein the blocks are defined according to intersecting time axes and frequency axes, representing the plurality of blocks as hash characters based on time characteristics and frequency characteristics of the plurality of blocks, The expressing the plurality of blocks as hash characters includes: detecting an operation of the hash characters of the plurality of blocks according to a combination of two directions on the time axis and two directions on the frequency axis.

11. The electronic device according to claim 10, wherein: The time characteristic represents a distribution of energy according to time for the plurality of blocks, The frequency characteristics represent energy distribution according to frequency for the plurality of blocks.

12. The electronic device according to claim 10, wherein: The processor is configured to: detecting hash characters of the plurality of blocks based on differential values ​​calculated by the combination, The plurality of blocks are represented as the detected hash characters.

13. The electronic device according to claim 12, wherein: The processor is configured to: calculating a first differential value in a first time direction of the time axis and a first frequency direction of the frequency axis, calculating a second differential value in a second time direction of the time axis and a second frequency direction of the frequency axis, calculating the differential value by adding the first differential value and the second differential value, The hash character is detected based on the differential value.

14. The electronic device according to claim 13, wherein: The processor is configured to: calculating at least one of a third differential value in the first time direction and the second frequency direction or a fourth differential value in the second time direction and the first frequency direction, The first differential value and the second differential value are added to at least one of the third differential value or the fourth differential value to calculate the differential value.

15. The electronic device according to claim 14, wherein: The processor compares the differential value with a threshold value to detect the hash character corresponding to the differential value.

16. The electronic device according to claim 15, wherein: The threshold value is determined as a differential value in a previous frame among the frames so as to be compared with the differential value in a current frame among the frames.

17. The electronic device according to claim 15, wherein: If the differential value exceeds the threshold, the processor detects the hash character as 1, If the differential value is below the threshold, the processor detects the hash character as 0.

18. A non-transitory computer-readable storage medium for storing one or more programs for executing an operation of dividing a detected signal into a plurality of frames, an operation of dividing the plurality of frames into a plurality of blocks defined according to intersecting time axes and frequency axes, and an operation of representing the plurality of blocks as hash characters based on time characteristics and frequency characteristics of the plurality of blocks, in, The operation of expressing the plurality of blocks as hash characters includes an operation of detecting hash characters of the plurality of blocks according to a combination of two directions on a time axis and two directions on a frequency axis.

Citation Information

Patent Citations

  • Audio-frequency fingerprint method of compressed domain based on Zernike moment

    CN101882439A

  • Computer system and audio matching method

    CN104637496A

  • Signal detecting method and device

    CN106782613A

  • Systems and methods for identifying matching content

    CN109643320A

  • Generating and matching hashes of multimedia content

    CN1461565A