CN117395568B - Noise reduction method, device and equipment for audio playing equipment and storage medium - Google Patents

Noise reduction method, device and equipment for audio playing equipment and storage medium Download PDF

Info

Publication number
CN117395568B
CN117395568B CN202311701441.XA CN202311701441A CN117395568B CN 117395568 B CN117395568 B CN 117395568B CN 202311701441 A CN202311701441 A CN 202311701441A CN 117395568 B CN117395568 B CN 117395568B
Authority
CN
China
Prior art keywords
noise reduction
play
source
playing
audio information
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
CN202311701441.XA
Other languages
Chinese (zh)
Other versions
CN117395568A (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.)
Shenzhen E Ran Technology Co ltd
Original Assignee
Shenzhen E Ran Technology 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 Shenzhen E Ran Technology Co ltd filed Critical Shenzhen E Ran Technology Co ltd
Priority to CN202311701441.XA priority Critical patent/CN117395568B/en
Publication of CN117395568A publication Critical patent/CN117395568A/en
Application granted granted Critical
Publication of CN117395568B publication Critical patent/CN117395568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2410/00Microphones
    • H04R2410/05Noise reduction with a separate noise microphone

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The invention relates to the technical field of audio processing, and provides a noise reduction method, device and equipment of audio playing equipment and a storage medium, wherein the noise reduction method comprises the following steps: in the debugging stage of the audio playing device, collecting preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same; generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source; synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal; analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment. According to the invention, the adjustment of the noise reduction algorithm according to different play sources is avoided by adopting a unified noise reduction mode aiming at different play sources.

Description

Noise reduction method, device and equipment for audio playing equipment and storage medium
Technical Field
The present invention relates to the field of audio processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for noise reduction of an audio playing device.
Background
In audio playback devices, noise interference exists in the audio signal due to various reasons (such as interference in the transmission process, noise of the device itself, etc.), thereby affecting the playback quality of the audio. Noise reduction techniques are often employed in the prior art to reduce noise interference in order to provide a better audio experience.
Current common noise reduction techniques include active noise reduction and passive noise reduction. Active noise reduction techniques actively emit a signal opposite to noise by using noise reduction devices or algorithms to achieve cancellation of the noise. The passive noise reduction technology is to add a noise reduction module in the audio playing equipment, and to realize noise suppression according to a preset noise reduction signal.
However, the existing noise reduction technology has the following problems in practical application:
noise reduction effects in order to meet the requirements of different play sources and audio information, accurate processing is required for specific noise. The design and optimization of the noise reduction algorithm or module are required to be respectively adjusted according to different playing sources, so that different noise reduction modes are required to be adopted when the audio of each different playing source is received, the data processing amount is large, the algorithm is redundant, and the cost is increased.
Disclosure of Invention
The invention mainly aims to provide a noise reduction method, device and equipment of audio playing equipment and a storage medium, aiming at avoiding the adjustment of noise reduction algorithms according to different playing sources.
To achieve the above object, the present invention provides a noise reduction method for an audio playing device, which is applied to the audio playing device, the method comprising the steps of:
in the debugging stage of the audio playing device, collecting preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same;
generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
Further, the step of collecting preset audio information played by each playing source includes:
the rotating device is controlled to drive the audio playing equipment to rotate and sequentially face each playing source; wherein each play source encloses a circle, and the rotating device and the audio play equipment are positioned in the center;
When the audio playing device is detected to face one of the playing sources, the corresponding playing source is controlled to play preset audio information;
after the corresponding playing source finishes playing the preset audio information, the rotating device is controlled to drive the audio playing equipment to rotate and face the next playing source.
Further, the step of generating a corresponding inverse noise reduction signal for the collected preset audio information of each play source includes:
extracting noise signals carried in the collected preset audio information of each play source;
and generating a signal which is completely opposite to the waveform of the noise signal as a corresponding inverse noise reduction signal.
Further, the synthesized inverse noise reduction signal is analyzed to obtain a signal generation mode corresponding to the synthesized inverse noise reduction signal; based on the signal generation mode, generating a corresponding noise reduction mode as the noise reduction mode of the audio playing device, which comprises the following steps:
extracting the frequency spectrum characteristics of the synthesized reverse noise reduction signal and analyzing the variation trend of the frequency spectrum characteristics;
detecting the type of noise and the position of a noise frequency band existing in the synthesized inverse noise reduction signal based on the variation trend of the frequency spectrum characteristics;
Determining a basic principle and an algorithm of noise reduction signal generation according to the noise type and the position of the noise frequency band; wherein the algorithm comprises frequency control and phase control;
based on the basic principle and algorithm of the noise reduction signal generation, matching in a database to obtain a corresponding noise reduction mode which is used as the noise reduction mode of the audio playing equipment.
Further, the step of generating a corresponding noise reduction mode based on the signal generation mode, as the noise reduction mode of the audio playing device, includes:
in the using stage, controlling each play source to play audio information simultaneously;
the audio playing device collects audio information played by each playing source and combines the audio information into combined audio information; carrying out noise reduction treatment on the combined audio information by adopting the noise reduction mode to obtain noise-reduced target audio information;
and encrypting and storing the target audio information to a management end.
Further, the step of encrypting and storing the target audio information to a management end includes:
when the debugging stage is acquired, each play source plays a play sequence of preset audio information; each play source sequentially plays preset audio information, and the play sequence comprises names of the play sources which are sequentially arranged;
Acquiring a preset play source square matrix; the playing source square matrix comprises four rows and four columns, each position is provided with a playing source name, and each playing source name in the playing source square matrix is provided with a corresponding square matrix serial number; the serial number is composed of a row number and a column number;
selecting the names of the appointed three play sources in the play sequence, and determining the arrangement sequence numbers of the names of the appointed three play sources in the play sequence;
determining matrix serial numbers corresponding to names of the designated three play sources in the play source matrixes;
substituting the arrangement serial numbers of the names of the specified three play sources in the play ordering and the square matrix serial numbers corresponding to the names of the specified three play sources into a preset formula for calculation to obtain a corresponding calculation result; coding the calculation result to obtain a corresponding coding value as an encryption password;
encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
Further, the step of encrypting and storing the target audio information to a management end includes:
when the debugging stage is acquired, each play source plays a play sequence of preset audio information; each play source sequentially plays preset audio information, and the play sequence comprises names of the play sources which are sequentially arranged;
Acquiring a preset play source square matrix; the playing source square matrix comprises four rows and four columns, each position is provided with a playing source name, and each playing source name in the playing source square matrix is provided with a corresponding square matrix serial number; the serial number is composed of a row number and a column number;
selecting the names of the playing sources arranged in the first three bits in the playing sequence as the names of the first target playing sources;
removing names of all play sources except the name of the first target play source from the play source square matrix to serve as names of a second target play source; sequencing in a preset play source square matrix according to the name of the second target play source;
sequentially adding the names of the first target playing sources to a first row in a preset playing source matrix; inserting the names of the second target playing sources into a preset playing source square matrix according to the original sequence of the names in the preset playing source square matrix to obtain a changed playing source square matrix;
determining matrix serial numbers corresponding to the names of the designated four play sources in the changed play source matrix;
sequentially multiplying the square matrix serial numbers corresponding to the names of the appointed four play sources to obtain corresponding calculation results; coding the calculation result to obtain a corresponding coding value as an encryption password;
Encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
The invention also provides a noise reduction device of the audio playing equipment, which is applied to the audio playing equipment and comprises the following components:
the acquisition unit is used for acquiring preset audio information played by each play source in the debugging stage of the audio playing device; wherein, each play source is different, and the audio information played by each play source is the same;
the generating unit is used for generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
the synthesis unit is used for synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
the analysis unit is used for analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
The invention also provides a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of any of the methods described above when the computer program is executed.
The invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the preceding claims.
The invention provides a noise reduction method, a device, equipment and a storage medium of audio playing equipment, which comprise the following steps: in the debugging stage of the audio playing device, collecting preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same; generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source; synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal; analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment. According to the invention, the adjustment of the noise reduction algorithm according to different play sources is avoided by adopting a unified noise reduction mode aiming at different play sources.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a noise reduction method of an audio playback apparatus according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a noise reducer of an audio playback apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, in one embodiment of the present invention, there is provided a noise reduction method for an audio playing device, which is applied to the audio playing device, the method including the steps of:
step S1, in the debugging stage of the audio playing device, acquiring preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same;
step S2, generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
step S3, synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
S4, analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
In this embodiment, as described in step S1, during the debugging stage of the audio playing device, each playing source needs to be collected to obtain the preset audio information played by each playing source. The play source may be a different audio device or a different audio input channel. The audio information requirements are identical between the various sources, i.e. they are to play the same audio content. But the individual sources are different audio devices or different audio input channels. By collecting the preset audio information of the playing sources, preparation is made for subsequent reverse noise reduction signal generation.
After the preset audio information of each play source is collected, the corresponding inverse noise reduction signal is generated according to the audio information as described in the above step S2. The inverse noise reduction signal is a signal opposite to the preset audio information, and is intended to counter or cancel noise present in the play source. The principle of inverse noise reduction is to realize noise elimination or reduction by synthesizing a signal opposite to noise and mixing it with the audio signal of the playing source. The method for generating the inverse noise reduction signal can select a proper noise reduction algorithm or model according to actual situations, such as frequency domain filtering, adaptive filtering and the like. The resulting inverse noise reduction signal will be used for synthesis and analysis in subsequent steps.
As described in step S3, the inverse noise reduction signals of the respective playback sources are generated, and then these inverse noise reduction signals are synthesized. The synthesis of the inverse noise reduction signal is to integrate the inverse noise reduction effect of each play source, and is applied to the noise reduction process in the play equipment. The synthesis method can adopt the modes of weighted average, superposition and the like to superpose all the reverse noise reduction signals together to form a synthesized reverse noise reduction signal. The synthesized reverse noise reduction signal contains the noise reduction effect of the combined action of the reverse noise reduction signals of all the playing sources.
As described in step S4 above, analysis is required after the synthetic inverse noise reduction signal is obtained. The purpose of the analysis is to determine the generation mode of the synthesized inverse noise reduction signal, that is, by analyzing the characteristics, frequency spectrum, time domain and other information of the synthesized inverse noise reduction signal, it is deduced how it is synthesized by each inverse noise reduction signal. After the signal generation method is obtained, a corresponding noise reduction method can be generated according to the method. The noise reduction mode is a processing method or algorithm for specific synthesized inverse noise reduction signals, and is used for reducing or eliminating noise. The generated noise reduction mode is used as the noise reduction mode of the audio playing equipment and is used for suppressing noise when the audio is played in real time. The corresponding noise reduction mode is generated according to the generation mode of the synthesized reverse noise reduction signal, so that the method can better adapt to the audio playing requirements under different noise conditions and provide better noise reduction effect.
In this embodiment, reverse noise reduction signals are generated according to preset audio information of different playing sources, and a noise reduction method of a corresponding signal generation mode is obtained by analyzing and synthesizing the reverse noise reduction signals, so as to meet noise reduction requirements of audio playing equipment under different noise conditions, and improve audio quality.
In an embodiment, the step of collecting preset audio information played by each play source includes:
the rotating device is controlled to drive the audio playing equipment to rotate and sequentially face each playing source; wherein each play source encloses a circle, and the rotating device and the audio play equipment are positioned in the center;
when the audio playing device is detected to face one of the playing sources, the corresponding playing source is controlled to play preset audio information;
after the corresponding playing source finishes playing the preset audio information, the rotating device is controlled to drive the audio playing equipment to rotate and face the next playing source.
In this embodiment, the rotating device is controlled to drive the audio playing device to rotate, and sequentially face each playing source: the audio playing device rotates through a rotating device, and the rotating device is positioned at the center of a circle surrounded by the playing source. By controlling the rotation means, the audio playback apparatus can be directed sequentially towards different playback sources.
When the audio playing device faces to a specific playing source, the corresponding playing source is controlled to play preset audio information. The playing process can be controlled by triggering a playing button of the playing source, starting a corresponding command of the playing device, and the like.
When the specific playing source plays the preset audio information, the rotating device is controlled to enable the audio playing device to continue rotating and face the next playing source. This step is performed by cycling until the audio playback device has completed the collection of all playback sources.
Through the technical scheme, the preset audio information of each play source can be acquired. The control of the rotating device enables the audio playing equipment to conveniently adjust the orientation, so that the audio information of different playing sources is collected. Meanwhile, by gradually rotating and playing the audio, the preset audio information of each playing source can be accurately and completely acquired. The obtained preset audio information is used for the subsequent steps of reverse noise reduction signal generation, noise reduction mode generation and the like.
In an embodiment, the step of generating the corresponding inverse noise reduction signal for the collected preset audio information of each play source includes:
Extracting noise signals carried in the collected preset audio information of each play source;
and generating a signal which is completely opposite to the waveform of the noise signal as a corresponding inverse noise reduction signal.
In this embodiment, first, a noise signal carried by the audio signal is extracted from the collected preset audio information of each play source. This can be achieved by analyzing and filtering the acquired audio signal. The noise signal is an interference signal mixed in a preset audio signal of a play source, which is a target to be removed.
Further, by analyzing the extracted noise signal, the waveform characteristics of the noise signal can be obtained. Then, a signal exactly opposite to the noise signal waveform is generated as a corresponding inverse noise reduction signal according to the extracted noise signal waveform characteristics. Which may be implemented by some signal processing algorithm such as waveform inversion, etc. The inverse noise reduction signal is generated to cancel the noise signal, thereby reducing or eliminating the noise.
Through the technical scheme, the carried noise signals can be extracted according to the collected preset audio information of each play source, and the corresponding reverse noise reduction signals are generated. The obtained reverse noise reduction signal has waveform characteristics completely opposite to noise, and can be used for subsequent steps of synthesizing the reverse noise reduction signal, generating a noise reduction mode and the like, so that the noise in the audio is suppressed and eliminated.
In an embodiment, the analyzing the synthesized inverse noise reduction signal obtains a signal generating mode corresponding to the synthesized inverse noise reduction signal; based on the signal generation mode, generating a corresponding noise reduction mode as the noise reduction mode of the audio playing device, which comprises the following steps:
extracting the frequency spectrum characteristics of the synthesized reverse noise reduction signal and analyzing the variation trend of the frequency spectrum characteristics;
detecting the type of noise and the position of a noise frequency band existing in the synthesized inverse noise reduction signal based on the variation trend of the frequency spectrum characteristics;
determining a basic principle and an algorithm of noise reduction signal generation according to the noise type and the position of the noise frequency band; wherein the algorithm comprises frequency control and phase control;
based on the basic principle and algorithm of the noise reduction signal generation, matching in a database to obtain a corresponding noise reduction mode which is used as the noise reduction mode of the audio playing equipment.
In the present embodiment, first, spectral features such as energy distribution, frequency band distribution, phase information, and the like are extracted from the synthesized inverse noise reduction signal. These spectral features are then analyzed to explore their trend of change. The purpose of the above procedure is to learn the relationship of the spectral characteristics of the synthesized inverse noise reduction signal to the noise signal to determine how it reduces the noise.
Then, the noise type and the position of the noise band are detected based on the trend of the change in the spectral characteristics. Spectral characteristics refer to the representation of an audio signal in the frequency domain, which can be represented by fourier transforming the audio signal. Noise has specific characteristics in the frequency domain, for example, high frequency noise can produce large energy in the high frequency band. The noise type and the position of the noise frequency band can be judged by analyzing the variation trend of the frequency spectrum characteristics of the synthesized inverse noise reduction signal.
Further, the basic principle and algorithm of noise reduction signal generation are determined according to the obtained noise type and the position of the noise band. The basic principle of noise reduction signal generation is to utilize a synthetic inverse noise reduction technology to generate a signal with the same spectral characteristics as noise by analyzing the characteristics of the noise signal so as to cancel noise components in the original signal. Specific algorithms include frequency control and phase control. The frequency control mainly adjusts the spectrum distribution of the noise reduction signal to be opposite to the noise signal, and the phase control adjusts the phase of the noise reduction signal according to the phase information of the noise signal so as to make the noise reduction signal destructively interfere with the original signal.
And finally, matching in a database to obtain a corresponding noise reduction mode. The basic principles and algorithms of various noise reduction modes are stored in the database. According to the basic principle and algorithm of noise reduction signal generation, the most similar noise reduction mode can be obtained through calculation and matching and can be used as the noise reduction mode of the audio playing equipment.
In summary, according to the above technical solution, the noise type and the position of the noise frequency band are detected by analyzing the variation trend of the spectral features, then the basic principle and algorithm of noise reduction signal generation are determined according to the noise type and the position of the noise frequency band, and finally the corresponding noise reduction mode is obtained by matching with the database, so that the noise reduction effect for different noise types and frequency bands can be achieved, and the noise reduction performance and the commonality of the audio playing device are improved.
In an embodiment, after the step of generating the corresponding noise reduction mode based on the signal generation mode as the noise reduction mode of the audio playing device, the method includes:
in the using stage, controlling each play source to play audio information simultaneously;
the audio playing device collects audio information played by each playing source and combines the audio information into combined audio information; carrying out noise reduction treatment on the combined audio information by adopting the noise reduction mode to obtain noise-reduced target audio information;
And encrypting and storing the target audio information to a management end.
In this embodiment, in the use stage, the audio playing device may be connected to a plurality of playing sources, such as a television, a radio, a mobile phone, etc., at the same time according to the requirement. The individual sources are controlled to output audio information simultaneously to ensure that the audio signals of all sources can be acquired.
The audio playing device collects audio information played by each playing source and combines the audio information into combined audio information: the audio playing device collects audio signals output by each playing source. This may be achieved by an interface connecting the playback source with the audio playback device, for example by an audio interface such as microphone, HDMI, optical fiber, etc. The audio playback device combines the audio signals collected from the various playback sources together to form combined audio information.
And applying the noise reduction mode to the combined audio information according to the noise reduction mode obtained by the previous matching. The noise reduction may be implemented according to the basic principles and algorithms of the synthetic inverse noise reduction technique. And processing the combined audio information according to an algorithm of a noise reduction mode, and removing noise components to obtain target audio information after noise reduction.
In order to ensure the safety of the audio information, the target audio information is encrypted after noise reduction. Encryption may be implemented using various encryption algorithms, such as AES, RSA, etc. The encrypted target audio information can be stored in a storage medium in the audio playing device, such as a hard disk, a flash memory, etc., or transmitted to a management end for storage.
The purpose of the above steps is to perform noise reduction processing on the audio information output by the audio playing device in the using stage, and store the target audio information after noise reduction to the management end. Thus, clearer and purer audio experience can be provided, and the safety of audio information is ensured.
In an embodiment, the step of storing the target audio information in an encrypted manner to a management end includes:
when the debugging stage is acquired, each play source plays a play sequence of preset audio information; each play source sequentially plays preset audio information, and the play sequence comprises names of the play sources which are sequentially arranged;
acquiring a preset play source square matrix; the playing source square matrix comprises four rows and four columns, each position is provided with a playing source name, and each playing source name in the playing source square matrix is provided with a corresponding square matrix serial number; the serial number is composed of a row number and a column number;
selecting the names of the appointed three play sources in the play sequence, and determining the arrangement sequence numbers of the names of the appointed three play sources in the play sequence;
determining matrix serial numbers corresponding to names of the designated three play sources in the play source matrixes;
Substituting the arrangement serial numbers of the names of the specified three play sources in the play ordering and the square matrix serial numbers corresponding to the names of the specified three play sources into a preset formula for calculation to obtain a corresponding calculation result; coding the calculation result to obtain a corresponding coding value as an encryption password;
encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
In this embodiment, in the debugging stage, a playing sequence of playing preset audio information by each playing source needs to be acquired. The play sequence refers to the sequence in which each play source plays the preset audio information in turn. For example, assuming that three play sources A, B, C are provided, the play order may be A-B-C or C-B-A, etc. The play order can be set in the debugging stage by setting parameters of the play source or programming script.
The play source matrix is a matrix of four rows and four columns, and each position is provided with a name of a play source. The purpose of the play source matrix is to provide convenient management and control of play sources. The rows and columns of the square matrix represent the positions in the play source square matrix respectively, and the name of each play source in the play source square matrix is provided with a corresponding square matrix serial number.
The name of the play source will be used to calculate the encryption password. First, the arrangement sequence numbers of the names of the three specified play sources in the play order are determined in the play order. For example, if the play order is a-B-C, it is necessary to determine A, B, C that the arrangement number in the ranking is 1, 2, 3. And then, determining the matrix serial numbers corresponding to the three play source names in the play source matrixes. The matrix number is based on the row number and the column number, e.g., a may be (2, 1), B may be (3, 2), and C may be (2, 3). The subsequent encryption passwords required by the users can be further calculated by acquiring the arrangement sequence number and the square matrix sequence number.
Then substituting the arrangement serial numbers of the names of the specified three play sources in the play ordering and the square matrix serial numbers corresponding to the names of the specified three play sources into a preset formula for calculation to obtain a corresponding calculation result; for example, the matrix numbers of the three play source names may be combined into numbers, multiplied by the corresponding arrangement numbers, and added. Or respectively combining the square matrix serial numbers of the three play source names into numbers, respectively multiplying the numbers, and sequentially multiplying the multiplied results with the corresponding arrangement serial numbers.
Finally, coding the calculation result to obtain a corresponding coding value as an encryption password; the coding table adopted by the coding can be a standard coding table or can be obtained by transformation based on the standard coding table; the transformation process comprises the following steps: the standard coding table comprises a plurality of coding sequence numbers and coding characters mapped one by each sequence number; acquiring target coding sequence numbers corresponding to the arrangement sequence numbers of the names of the specified three play sources in a standard coding table, acquiring target coding characters corresponding to the target coding sequence numbers, extracting the target coding characters to specified coding character positions, sequentially translating other coding characters to enable all the coding character positions to have corresponding coding characters, and thus obtaining a transformed coding table; the transformed encoding table can be used for encoding the calculation result, so that the method has strong safety and uniqueness.
And finally, encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
In an embodiment, the step of storing the target audio information in an encrypted manner to a management end includes:
when the debugging stage is acquired, each play source plays a play sequence of preset audio information; each play source sequentially plays preset audio information, and the play sequence comprises names of the play sources which are sequentially arranged;
Acquiring a preset play source square matrix; the playing source square matrix comprises four rows and four columns, each position is provided with a playing source name, and each playing source name in the playing source square matrix is provided with a corresponding square matrix serial number; the serial number is composed of a row number and a column number;
selecting the names of the playing sources arranged in the first three bits in the playing sequence as the names of the first target playing sources;
removing names of all play sources except the name of the first target play source from the play source square matrix to serve as names of a second target play source; sequencing in a preset play source square matrix according to the name of the second target play source;
sequentially adding the names of the first target playing sources to a first row in a preset playing source matrix; inserting the names of the second target playing sources into a preset playing source square matrix according to the original sequence of the names in the preset playing source square matrix to obtain a changed playing source square matrix;
determining matrix serial numbers corresponding to the names of the designated four play sources in the changed play source matrix;
sequentially multiplying the square matrix serial numbers corresponding to the names of the appointed four play sources to obtain corresponding calculation results; coding the calculation result to obtain a corresponding coding value as an encryption password;
Encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
In this embodiment, in the debugging stage, it is necessary to determine the playing order of the preset audio information played by each playing source. This means that the position of each play source in the play order is determined. The playing sources sequentially play according to the preset sequence of the audio information, and the playing sequence consists of sequentially arranged playing source names.
Acquiring a play source square matrix: the play source matrix is a 4x4 matrix with a name of the play source at each location. The name of each play source in the play source square matrix has a corresponding square matrix serial number. The matrix number is composed of a row number and a column number, for example, (1, 1) indicates the play source of the first column of the first row.
Determining a target playing source: first, the name of the playing source arranged in the first three bits is selected from the playing sequence and used as the name of the first target playing source. And then, eliminating names of all play sources except the first target play source from the play source square matrix to serve as a second target play source. The names of the second target playing sources are selected according to the ordering sequence of the second target playing sources in a preset playing source square matrix. And finally, sequentially adding the names of the first target playing sources to the first row of the playing source square matrix in the preset playing source square matrix, and inserting the names of the second target playing sources into the changed playing source square matrix according to the original sequence of the names in the preset playing source square matrix to obtain a new playing source square matrix, namely the changed playing source square matrix.
Determining a matrix serial number corresponding to the names of the designated four play sources in the changed play source matrix: and determining the square matrix serial numbers corresponding to the names of the four designated play sources according to the changed play source square matrix. These square matrix numbers will be used in the next step to calculate the encryption password.
Sequentially multiplying the square matrix serial numbers corresponding to the names of the designated four play sources to obtain corresponding calculation results: and sequentially multiplying the determined square matrix serial numbers of the four playing sources, and generating an encryption password by a calculation result.
And encoding the calculation result in the last step, and converting the calculation result into a corresponding encoding value to be used as an encryption password. Encoding is the process of converting raw data into a new form or format to protect the security of the data.
And finally, encrypting the target audio information by using the generated encryption password. Encryption is the conversion of raw data by a specific algorithm to make it difficult for unauthorized persons or systems to understand or interpret. The encrypted audio information is stored in the management end to ensure the security and confidentiality.
Through the steps, the safety and confidentiality of the target audio information in the storage and transmission processes are ensured. Generating and using an encryption password, and converting the target audio information into an encrypted form by applying an encryption algorithm so that only authorized users having the correct password can decrypt and access the target audio information; meanwhile, in the generation process of the encryption password, the playing sequence and the playing source square matrix are required to be combined for square matrix transformation to obtain a changed playing source square matrix, and finally, the encryption password is calculated based on the changed playing source square matrix; furthermore, the conversion of the calculation result is needed in a coding mode, so that the process has strong uniqueness and safety, and the safety of the follow-up target audio information is improved.
The coding table adopted by the coding can be a standard coding table or can be obtained by transformation based on the standard coding table; the transformation process comprises the following steps: the standard coding table comprises a plurality of coding sequence numbers and coding characters mapped one by each sequence number; acquiring target coding sequence numbers corresponding to the arrangement sequence numbers of the names of the four specified playing sources in a standard coding table, acquiring target coding characters corresponding to the target coding sequence numbers, extracting the target coding characters to specified coding character positions, sequentially translating other coding characters to enable all the coding character positions to have corresponding coding characters, and thus obtaining a transformed coding table; the transformed encoding table can be used for encoding the calculation result, so that the method has strong safety and uniqueness.
Referring to fig. 2, in an embodiment of the present invention, there is further provided a noise reduction apparatus for an audio playing device, which is applied to the audio playing device, including:
the acquisition unit is used for acquiring preset audio information played by each play source in the debugging stage of the audio playing device; wherein, each play source is different, and the audio information played by each play source is the same;
The generating unit is used for generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
the synthesis unit is used for synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
the analysis unit is used for analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
In this embodiment, for specific implementation of each unit in the above embodiment of the apparatus, please refer to the description in the above embodiment of the method, and no further description is given here.
Referring to fig. 3, in an embodiment of the present invention, there is further provided a computer device, which may be a server, and an internal structure thereof may be as shown in fig. 3. The computer device includes a processor, a memory, a display screen, an input device, a network interface, and a database connected by a system bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used for communicating with an external terminal through a network connection. Which computer program, when being executed by a processor, carries out the above-mentioned method.
It will be appreciated by those skilled in the art that the architecture shown in fig. 3 is merely a block diagram of a portion of the architecture in connection with the present inventive arrangements and is not intended to limit the computer devices to which the present inventive arrangements are applicable.
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above method. It is understood that the computer readable storage medium in this embodiment may be a volatile readable storage medium or a nonvolatile readable storage medium.
In summary, the method, apparatus, device and storage medium for noise reduction of audio playing device provided in the embodiments of the present invention include: in the debugging stage of the audio playing device, collecting preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same; generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source; synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal; analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment. According to the invention, the adjustment of the noise reduction algorithm according to different play sources is avoided by adopting a unified noise reduction mode aiming at different play sources.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided by the present invention and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM, among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes using the descriptions and drawings of the present invention or direct or indirect application in other related technical fields are included in the scope of the present invention.

Claims (9)

1. A noise reduction method for an audio playback apparatus, the method comprising the steps of:
in the debugging stage of the audio playing device, collecting preset audio information played by each playing source; wherein, each play source is different, and the audio information played by each play source is the same;
Generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
2. The method for noise reduction of an audio playback apparatus according to claim 1, wherein the step of collecting preset audio information played by each playback source comprises:
the rotating device is controlled to drive the audio playing equipment to rotate and sequentially face each playing source; wherein each play source encloses a circle, and the rotating device and the audio play equipment are positioned in the center;
when the audio playing device is detected to face one of the playing sources, the corresponding playing source is controlled to play preset audio information;
after the corresponding playing source finishes playing the preset audio information, the rotating device is controlled to drive the audio playing equipment to rotate and face the next playing source.
3. The method for noise reduction of an audio playback device according to claim 1, wherein the step of generating the corresponding inverse noise reduction signal for the collected preset audio information of each playback source includes:
Extracting noise signals carried in the collected preset audio information of each play source;
and generating a signal which is completely opposite to the waveform of the noise signal as a corresponding inverse noise reduction signal.
4. The method for noise reduction of an audio playback apparatus according to claim 1, wherein the analysis is performed on the synthesized inverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized inverse noise reduction signal; based on the signal generation mode, generating a corresponding noise reduction mode as the noise reduction mode of the audio playing device, which comprises the following steps:
extracting the frequency spectrum characteristics of the synthesized reverse noise reduction signal and analyzing the variation trend of the frequency spectrum characteristics;
detecting the type of noise and the position of a noise frequency band existing in the synthesized inverse noise reduction signal based on the variation trend of the frequency spectrum characteristics;
determining a basic principle and an algorithm of noise reduction signal generation according to the noise type and the position of the noise frequency band; wherein the algorithm comprises frequency control and phase control;
based on the basic principle and algorithm of the noise reduction signal generation, matching in a database to obtain a corresponding noise reduction mode which is used as the noise reduction mode of the audio playing equipment.
5. The method for noise reduction of an audio playback apparatus according to claim 1, wherein the step of generating a corresponding noise reduction pattern based on the signal generation pattern as the noise reduction pattern of the audio playback apparatus comprises, after:
in the using stage, controlling each play source to play audio information simultaneously;
the audio playing device collects audio information played by each playing source and combines the audio information into combined audio information; carrying out noise reduction treatment on the combined audio information by adopting the noise reduction mode to obtain noise-reduced target audio information;
and encrypting and storing the target audio information to a management end.
6. The method for noise reduction of an audio playback apparatus according to claim 5, wherein the step of encrypting and storing the target audio information to a management side comprises:
when the debugging stage is acquired, each play source plays a play sequence of preset audio information; each play source sequentially plays preset audio information, and the play sequence comprises names of the play sources which are sequentially arranged;
acquiring a preset play source square matrix; the playing source square matrix comprises four rows and four columns, each position is provided with a playing source name, and each playing source name in the playing source square matrix is provided with a corresponding square matrix serial number; the serial number is composed of a row number and a column number;
Selecting the names of the appointed three play sources in the play sequence, and determining the arrangement sequence numbers of the names of the appointed three play sources in the play sequence;
determining matrix serial numbers corresponding to names of the designated three play sources in the play source matrixes;
substituting the arrangement serial numbers of the names of the specified three play sources in the play ordering and the square matrix serial numbers corresponding to the names of the specified three play sources into a preset formula for calculation to obtain a corresponding calculation result; coding the calculation result to obtain a corresponding coding value as an encryption password;
encrypting the target audio information based on the encryption password, and storing the target audio information to a management end.
7. A noise reduction device for an audio playing apparatus, comprising:
the acquisition unit is used for acquiring preset audio information played by each play source in the debugging stage of the audio playing device; wherein, each play source is different, and the audio information played by each play source is the same;
the generating unit is used for generating corresponding reverse noise reduction signals aiming at the collected preset audio information of each play source;
The synthesis unit is used for synthesizing each reverse noise reduction signal to obtain a synthesized reverse noise reduction signal;
the analysis unit is used for analyzing the synthesized reverse noise reduction signal to obtain a signal generation mode corresponding to the synthesized reverse noise reduction signal; and generating a corresponding noise reduction mode based on the signal generation mode, wherein the corresponding noise reduction mode is used as the noise reduction mode of the audio playing equipment.
8. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, carries out the steps of the method according to any one of claims 1 to 6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202311701441.XA 2023-12-12 2023-12-12 Noise reduction method, device and equipment for audio playing equipment and storage medium Active CN117395568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311701441.XA CN117395568B (en) 2023-12-12 2023-12-12 Noise reduction method, device and equipment for audio playing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311701441.XA CN117395568B (en) 2023-12-12 2023-12-12 Noise reduction method, device and equipment for audio playing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117395568A CN117395568A (en) 2024-01-12
CN117395568B true CN117395568B (en) 2024-04-02

Family

ID=89465271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311701441.XA Active CN117395568B (en) 2023-12-12 2023-12-12 Noise reduction method, device and equipment for audio playing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117395568B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107240404A (en) * 2017-06-08 2017-10-10 福建省电力勘测设计院 Noise-reduction method for prefabricated cabin formula transformer station
CN109738052A (en) * 2018-09-27 2019-05-10 比亚迪股份有限公司 Environment noise test methods, devices and systems for rail traffic
CN112185335A (en) * 2020-09-27 2021-01-05 上海电气集团股份有限公司 Noise reduction method and device, electronic equipment and storage medium
CN112489615A (en) * 2020-10-29 2021-03-12 宁波方太厨具有限公司 Noise reduction method, noise reduction system, noise reduction device and range hood
CN112954547A (en) * 2021-02-02 2021-06-11 艾普科模具材料(上海)有限公司 Active noise reduction method, system and storage medium thereof
CN115083440A (en) * 2022-06-15 2022-09-20 阿里巴巴(中国)有限公司 Audio signal noise reduction method, electronic device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107240404A (en) * 2017-06-08 2017-10-10 福建省电力勘测设计院 Noise-reduction method for prefabricated cabin formula transformer station
CN109738052A (en) * 2018-09-27 2019-05-10 比亚迪股份有限公司 Environment noise test methods, devices and systems for rail traffic
CN112185335A (en) * 2020-09-27 2021-01-05 上海电气集团股份有限公司 Noise reduction method and device, electronic equipment and storage medium
CN112489615A (en) * 2020-10-29 2021-03-12 宁波方太厨具有限公司 Noise reduction method, noise reduction system, noise reduction device and range hood
CN112954547A (en) * 2021-02-02 2021-06-11 艾普科模具材料(上海)有限公司 Active noise reduction method, system and storage medium thereof
CN115083440A (en) * 2022-06-15 2022-09-20 阿里巴巴(中国)有限公司 Audio signal noise reduction method, electronic device, and storage medium

Also Published As

Publication number Publication date
CN117395568A (en) 2024-01-12

Similar Documents

Publication Publication Date Title
KR102603797B1 (en) How to verify the execution integrity of an application on a target device
US11704420B2 (en) Terminal device and computer program
CN103906039B (en) A kind of method and apparatus for preventing phone number from revealing
CN108628743A (en) Applied program testing method, device, equipment and storage medium
Elshamy et al. Efficient audio cryptosystem based on chaotic maps and double random phase encoding
US20230335144A1 (en) Multiple scrambled layers for audio watermarking
CN108418834A (en) A kind of internet of things equipment auth method
CN117395568B (en) Noise reduction method, device and equipment for audio playing equipment and storage medium
CN112422269A (en) Combined chaotic pseudo-random number generator and digital image encryption method thereof
CN114390317B (en) Encryption method and system for streaming video
US11956353B2 (en) Machine learning device, machine learning system, and machine learning method
CN113470672A (en) Voice enhancement method, device, equipment and storage medium
CN109218564A (en) Generation method, device, storage medium and the video interferometer of video jamming signal
CN108052828A (en) Generation method, device, terminal and the storage medium of record screen file
EP2363974A1 (en) Variable table masking for cryptographic processes
CN108668133B (en) Video encryption and decryption method and device
EP3885952A1 (en) Learning identification device, learning identification method, and learning identification program
CN108154460B (en) Chaotic image encryption method and device based on local perception thought
CN116150784B (en) Neural network safety protection method, system, accelerator and chip
Shakya et al. Novel secure surgical telepresence using enhanced advanced encryption standard: during, pre and post surgery
US20060123247A1 (en) Storage device
Alhassan et al. Securing audio data using K-shuffle technique
KR102301538B1 (en) Apparaus and method for signal filtering
WO2022038845A1 (en) Encryption method, terminal device, encryption system, and program
CN117749462A (en) Audio encryption method and audio decryption method

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