CN116962935B - Earphone noise reduction method and system based on data analysis - Google Patents

Earphone noise reduction method and system based on data analysis Download PDF

Info

Publication number
CN116962935B
CN116962935B CN202311213473.5A CN202311213473A CN116962935B CN 116962935 B CN116962935 B CN 116962935B CN 202311213473 A CN202311213473 A CN 202311213473A CN 116962935 B CN116962935 B CN 116962935B
Authority
CN
China
Prior art keywords
noise
data
environmental
earphone
analysis
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
CN202311213473.5A
Other languages
Chinese (zh)
Other versions
CN116962935A (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.)
China Etech Technology Co ltd
Original Assignee
China Etech 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 China Etech Technology Co ltd filed Critical China Etech Technology Co ltd
Priority to CN202311213473.5A priority Critical patent/CN116962935B/en
Publication of CN116962935A publication Critical patent/CN116962935A/en
Application granted granted Critical
Publication of CN116962935B publication Critical patent/CN116962935B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • 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
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/105Manufacture of mono- or stereophonic headphone components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2410/00Microphones
    • H04R2410/01Noise reduction using microphones having different directional characteristics

Abstract

The invention discloses a data analysis-based earphone noise reduction method and a data analysis-based earphone noise reduction system, which are implemented by collecting environmental audio data and position data from current earphone equipment; extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area; integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data; analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device. The invention can carry out sharing analysis on the acquired data of the existing earphone equipment, overcomes the defect of environmental noise analysis of the independent earphone equipment, improves the noise reduction effect of the multi-earphone equipment in a certain area, and further achieves the aim of improving the noise reduction efficiency and the user experience.

Description

Earphone noise reduction method and system based on data analysis
Technical Field
The invention relates to the field of data analysis, in particular to a headset noise reduction method and system based on data analysis.
Background
With the development of technology, people's lives are also increasingly dependent on various electronic devices, such as mobile phones, computers, music players, etc. For enjoyment of music, people depend on earphone devices with various functions, but are influenced by various noisy environments, so that the use experience of the earphone devices is greatly reduced, and earphone noise reduction technologies are also generated.
However, the current earphone noise reduction technology is difficult to adapt to noise reduction requirements under multiple scenes and complex noise environments, generally has only a noise reduction function under a single scene, and often has no data sharing analysis among all earphone devices within a certain range, so that an information island is formed, and further the current earphone noise reduction analysis mode is single.
Disclosure of Invention
The invention overcomes the defects of the prior art and provides a method and a system for noise reduction of an earphone based on data analysis.
The first aspect of the invention provides a method for noise reduction of an earphone based on data analysis, which comprises the following steps:
randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device.
In this scheme, in the preset region, randomly select an earphone device as current earphone device, gather environmental noise information from current earphone device and obtain the position information of current earphone device, obtain environmental audio data and position data, specifically be:
constructing an environment map model according to the size of a preset area;
collecting first ambient noise data based on the earphone device;
performing data redundancy removal, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
and acquiring relative position information of the earphone equipment and the connecting terminal equipment, and sending the relative position information to the environment map model to generate map model-based position data.
In this scheme, based on the characteristic extraction is carried out to environment audio data, obtains environment audio feature, based on environment audio feature analysis place environment noise influence scope, obtains noise influence area, specifically does:
extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
acquiring low-noise contrast audio features, and performing feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
and analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
In this scheme, carry out the feature extraction based on environmental audio data, obtain environmental audio feature, based on environmental noise influence scope that environmental audio feature analysis is located, obtain noise influence area, still include:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
In this scheme, the earphone analysis data of all earphone devices in the preset area is analyzed, all the earphone analysis data is sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device is obtained, specifically:
analyzing the environmental audio data and the position data of all the earphone devices in the preset area, and obtaining earphone analysis data of all the earphone devices;
the position data and the noise influence area in all the earphone analysis data are imported into an environment map model for visual display;
and importing the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device into an environmental noise model to perform environmental area audio analysis, so as to obtain the environmental noise reduction correction information corresponding to each earphone device.
In this scheme, the earphone analysis data of all earphone devices in the preset area is analyzed, all the earphone analysis data is sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device is obtained, specifically:
based on the first noise category information and the environmental audio characteristics, noise reduction analysis based on an inversion technology is carried out on the environmental audio data to obtain noise reduction audio initial data;
correcting the noise reduction audio initial data according to the environment noise reduction correction information to obtain noise reduction audio data;
and transmitting the noise reduction audio data to the corresponding earphone device.
The second aspect of the present invention also provides a headset noise reduction system based on data analysis, the system comprising: the device comprises a memory and a processor, wherein the memory comprises a headset noise reduction program based on data analysis, and the headset noise reduction program based on the data analysis realizes the following steps when being executed by the processor:
randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device.
In this scheme, in the preset region, randomly select an earphone device as current earphone device, gather environmental noise information from current earphone device and obtain the position information of current earphone device, obtain environmental audio data and position data, specifically be:
constructing an environment map model according to the size of a preset area;
collecting first ambient noise data based on the earphone device;
performing data redundancy removal, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
and acquiring relative position information of the earphone equipment and the connecting terminal equipment, and sending the relative position information to the environment map model to generate map model-based position data.
In this scheme, based on the characteristic extraction is carried out to environment audio data, obtains environment audio feature, based on environment audio feature analysis place environment noise influence scope, obtains noise influence area, specifically does:
extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
acquiring low-noise contrast audio features, and performing feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
and analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
In this scheme, carry out the feature extraction based on environmental audio data, obtain environmental audio feature, based on environmental noise influence scope that environmental audio feature analysis is located, obtain noise influence area, still include:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
The invention discloses a data analysis-based earphone noise reduction method and a data analysis-based earphone noise reduction system, which are implemented by collecting environmental audio data and position data from current earphone equipment; extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area; integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data; analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device. The invention can carry out sharing analysis on the acquired data of the existing earphone equipment, overcomes the defect of environmental noise analysis of the independent earphone equipment, improves the noise reduction effect of the multi-earphone equipment in a certain area, and further achieves the aim of improving the noise reduction efficiency and the user experience.
Drawings
FIG. 1 shows a flow chart of a method of earphone noise reduction based on data analysis of the present invention;
FIG. 2 illustrates a flow chart of the present invention for acquiring location data;
FIG. 3 illustrates a flow chart for acquiring noise impact regions in accordance with the present invention;
fig. 4 shows a block diagram of a data analysis based earphone noise reduction system of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a method for noise reduction of headphones based on data analysis according to the present invention.
As shown in fig. 1, a first aspect of the present invention provides a method for noise reduction of headphones based on data analysis, including:
s102, randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
s104, extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
s106, integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
s108, analyzing earphone analysis data of all earphone devices in the preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device.
It should be noted that the environmental noise model is specifically a CNN (convolutional neural network) model based on deep learning, and features extraction, analysis and recognition can be performed on audio data through the environmental noise model.
Fig. 2 shows a flow chart of the present invention for acquiring position data.
According to the embodiment of the invention, in the preset area, one earphone device is randomly selected as the current earphone device, environmental noise information is acquired from the current earphone device, and position information of the current earphone device is acquired, so that environmental audio data and position data are obtained, specifically:
s202, constructing an environment map model according to the size of a preset area;
s204, acquiring first environmental noise data based on the earphone device;
s206, performing data redundancy elimination, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
and S208, acquiring relative position information of the earphone device and the connecting terminal device, and sending the relative position information to the environment map model to generate map model-based position data.
It should be noted that, the earphone device includes a microphone device and an earpiece device, one earphone device includes a plurality of microphone devices, and data sharing between earphone devices based on wireless bluetooth or based on a local area network can be realized. The environment map model is specifically a visualized map model, and information such as earphone equipment connected in a current preset area, a noise influence area obtained through subsequent analysis and the like can be checked through the map model, so that the condition of the earphone equipment and the characteristics of environmental noise in a preset range can be mastered more intuitively. The connection terminal equipment comprises mobile terminal equipment and computer terminal equipment.
Fig. 3 shows a flow chart of the invention for acquiring noise affected areas.
According to the embodiment of the invention, the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on the environmental noise influence range where the environmental audio feature analysis is located, specifically:
s302, extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
s304, obtaining low-noise contrast audio features, and carrying out feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
s306, analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
It should be noted that, the noise influence area is an area where the current earphone device is located and is affected by environmental noise, the area is generally a circular area, the size of the circular area is obtained by analyzing the environmental audio features of the current earphone device, in one noise influence area, the received noise audio features have similar characteristics, and the corresponding noise reduction audio data can be consistent. The low-noise contrast audio features are specifically contrast data acquired and noise-reduced in advance from a preset area and are used for detecting the environmental audio features, wherein the higher the feature identification degree of the audio features is, the more effective features are represented in the environmental audio features, the more obvious the data features are, and the greater the distinction degree between the data features and the low-noise contrast audio features is.
According to an embodiment of the present invention, the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on an environmental noise influence range where the environmental audio feature analysis is located, and the method further includes:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
The noise characteristic database is used for storing historical noise characteristic data, wherein the historical noise characteristic data comprises characteristic data of various types of noise, such as characteristic data of environmental noise in public transportation occasions, offices, city streets, family rooms, park rooms and the like. Each earphone device corresponds to independent first noise class information.
According to the embodiment of the invention, the earphone analysis data of all earphone devices in the preset area are analyzed, all the earphone analysis data are sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device are obtained, specifically:
analyzing the environmental audio data and the position data of all the earphone devices in the preset area, and obtaining earphone analysis data of all the earphone devices;
the position data and the noise influence area in all the earphone analysis data are imported into an environment map model for visual display;
and importing the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device into an environmental noise model to perform environmental area audio analysis, so as to obtain the environmental noise reduction correction information corresponding to each earphone device.
It should be noted that, the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device are led into an environmental noise model to perform environmental area audio analysis, the environmental noise model performs data analysis on each earphone device, uses the current earphone device as an example to analyze other noise influence areas near the current earphone device, and analyzes the noise influence on the current earphone device based on the other noise influence areas and the corresponding other environmental audio data, thereby generating noise reduction correction information.
According to the embodiment of the invention, the earphone analysis data of all earphone devices in the preset area are analyzed, all the earphone analysis data are sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device are obtained, specifically:
based on the first noise category information and the environmental audio characteristics, noise reduction analysis based on an inversion technology is carried out on the environmental audio data to obtain noise reduction audio initial data;
correcting the noise reduction audio initial data according to the environment noise reduction correction information to obtain noise reduction audio data;
and transmitting the noise reduction audio data to the corresponding earphone device.
It should be noted that, the noise reduction correction information is obtained by performing regional environmental noise analysis based on that all earphone devices in a preset region share earphone analysis data, so that the defect that an independent earphone device performs environmental noise analysis can be overcome, and the noise reduction effect of multiple earphone devices in a certain region is improved.
According to an embodiment of the present invention, further comprising:
leading the noise influence areas of all earphone devices in a preset area into an environment map model, and marking a non-noise influence area as an area to be analyzed;
dividing the area to be analyzed into N blank areas based on the area size of the area to be analyzed;
selecting a blank area as a current blank area;
extracting adjacent noise influence areas in the current blank area based on the environment map model, and marking the adjacent noise influence areas as adjacent noise influence areas;
acquiring environmental audio data and first noise class information corresponding to an adjacent noise influence area;
the environmental audio data and the first noise category information are imported into an environmental noise model to carry out audio simulation analysis based on frequency and amplitude, and the simulation audio data of the current blank area are obtained;
noise reduction analysis based on the inversion technology is carried out according to the analog audio data, so that the analog noise reduction audio data are obtained;
and carrying out noise reduction analysis on all the blank areas to obtain corresponding analog noise reduction audio data.
The size of N is determined by the area of the analysis region, and the larger the area of the region to be analyzed is, the larger the size of N is. The adjacent noise influence area may be plural. A noise-affected zone corresponds to a headphone device and ambient audio data. Because the number of the earphone devices contained in the preset area is limited, and the corresponding noise influence area coverage area is limited, and therefore, a blank area exists, the noise reduction audio data of the blank area is further simulated based on the noise influence area and the environmental audio data by carrying out sharing analysis on the acquired data of the existing earphone devices, so that when the earphone devices of users enter the blank area, the simulated noise reduction audio data can be obtained in advance to realize earphone noise reduction, and the noise reduction efficiency and the user experience are further improved.
According to an embodiment of the present invention, further comprising:
acquiring position data of the current earphone equipment in a motion period;
obtaining the movement route information and movement speed information of the current earphone equipment based on the position data;
the movement route information and the movement speed information are imported into an environment map model, and the movement trend range of the current earphone equipment in the next movement period is calculated;
judging whether a coverage area exists between the motion trend range and the blank area, and if so, marking the corresponding blank area as a first blank area;
the analog noise reduction audio data in the first blank area is imported into the current earphone equipment to perform preloading operation;
and judging whether the earphone equipment enters a first blank area or not in real time based on the position data, and if so, performing earphone noise reduction operation based on the preloaded analog noise reduction audio data.
It should be noted that, by analyzing the position information of the earphone device in real time, when entering the blank area, the invention can acquire the corresponding noise reduction data in real time, thereby effectively improving the noise reduction effect of the earphone device under the motion condition of the user.
Fig. 4 shows a block diagram of a data analysis based earphone noise reduction system of the present invention.
The second aspect of the present invention also provides a headset noise reduction system 4 based on data analysis, the system comprising: a memory 41, a processor 42, wherein the memory includes a data analysis-based earphone noise reduction program, and the data analysis-based earphone noise reduction program realizes the following steps when executed by the processor:
randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device.
According to the embodiment of the invention, in the preset area, one earphone device is randomly selected as the current earphone device, environmental noise information is acquired from the current earphone device, and position information of the current earphone device is acquired, so that environmental audio data and position data are obtained, specifically:
constructing an environment map model according to the size of a preset area;
collecting first ambient noise data based on the earphone device;
performing data redundancy removal, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
and acquiring relative position information of the earphone equipment and the connecting terminal equipment, and sending the relative position information to the environment map model to generate map model-based position data.
It should be noted that, the earphone device includes a microphone device and an earpiece device, one earphone device includes a plurality of microphone devices, and data sharing between earphone devices based on wireless bluetooth or based on a local area network can be realized. The environment map model is specifically a visualized map model, and information such as earphone equipment connected in a current preset area, a noise influence area obtained through subsequent analysis and the like can be checked through the map model, so that the condition of the earphone equipment and the characteristics of environmental noise in a preset range can be mastered more intuitively. The connection terminal equipment comprises mobile terminal equipment and computer terminal equipment.
According to the embodiment of the invention, the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on the environmental noise influence range where the environmental audio feature analysis is located, specifically:
extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
acquiring low-noise contrast audio features, and performing feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
and analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
It should be noted that, the noise influence area is an area where the current earphone device is located and is affected by environmental noise, the area is generally a circular area, the size of the circular area is obtained by analyzing the environmental audio features of the current earphone device, in one noise influence area, the received noise audio features have similar characteristics, and the corresponding noise reduction audio data can be consistent. The low-noise contrast audio features are specifically contrast data acquired and noise-reduced in advance from a preset area and are used for detecting the environmental audio features, wherein the higher the feature identification degree of the audio features is, the more effective features are represented in the environmental audio features, the more obvious the data features are, and the greater the distinction degree between the data features and the low-noise contrast audio features is.
According to an embodiment of the present invention, the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on an environmental noise influence range where the environmental audio feature analysis is located, and the method further includes:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
The noise characteristic database is used for storing historical noise characteristic data, wherein the historical noise characteristic data comprises characteristic data of various types of noise, such as characteristic data of environmental noise in public transportation occasions, offices, city streets, family rooms, park rooms and the like. Each earphone device corresponds to independent first noise class information.
According to the embodiment of the invention, the earphone analysis data of all earphone devices in the preset area are analyzed, all the earphone analysis data are sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device are obtained, specifically:
analyzing the environmental audio data and the position data of all the earphone devices in the preset area, and obtaining earphone analysis data of all the earphone devices;
the position data and the noise influence area in all the earphone analysis data are imported into an environment map model for visual display;
and importing the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device into an environmental noise model to perform environmental area audio analysis, so as to obtain the environmental noise reduction correction information corresponding to each earphone device.
It should be noted that, the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device are led into an environmental noise model to perform environmental area audio analysis, the environmental noise model performs data analysis on each earphone device, uses the current earphone device as an example to analyze other noise influence areas near the current earphone device, and analyzes the noise influence on the current earphone device based on the other noise influence areas and the corresponding other environmental audio data, thereby generating noise reduction correction information.
According to the embodiment of the invention, the earphone analysis data of all earphone devices in the preset area are analyzed, all the earphone analysis data are sent to the environmental noise model for area noise analysis, and noise reduction audio data of each earphone device are obtained, specifically:
based on the first noise category information and the environmental audio characteristics, noise reduction analysis based on an inversion technology is carried out on the environmental audio data to obtain noise reduction audio initial data;
correcting the noise reduction audio initial data according to the environment noise reduction correction information to obtain noise reduction audio data;
and transmitting the noise reduction audio data to the corresponding earphone device.
It should be noted that, the noise reduction correction information is obtained by performing regional environmental noise analysis based on that all earphone devices in a preset region share earphone analysis data, so that the defect that an independent earphone device performs environmental noise analysis can be overcome, and the noise reduction effect of multiple earphone devices in a certain region is improved.
According to an embodiment of the present invention, further comprising:
leading the noise influence areas of all earphone devices in a preset area into an environment map model, and marking a non-noise influence area as an area to be analyzed;
dividing the area to be analyzed into N blank areas based on the area size of the area to be analyzed;
selecting a blank area as a current blank area;
extracting adjacent noise influence areas in the current blank area based on the environment map model, and marking the adjacent noise influence areas as adjacent noise influence areas;
acquiring environmental audio data and first noise class information corresponding to an adjacent noise influence area;
the environmental audio data and the first noise category information are imported into an environmental noise model to carry out audio simulation analysis based on frequency and amplitude, and the simulation audio data of the current blank area are obtained;
noise reduction analysis based on the inversion technology is carried out according to the analog audio data, so that the analog noise reduction audio data are obtained;
and carrying out noise reduction analysis on all the blank areas to obtain corresponding analog noise reduction audio data.
The size of N is determined by the area of the analysis region, and the larger the area of the region to be analyzed is, the larger the size of N is. The adjacent noise influence area may be plural. A noise-affected zone corresponds to a headphone device and ambient audio data. Because the number of the earphone devices contained in the preset area is limited, and the corresponding noise influence area coverage area is limited, and therefore, a blank area exists, the noise reduction audio data of the blank area is further simulated based on the noise influence area and the environmental audio data by carrying out sharing analysis on the acquired data of the existing earphone devices, so that when the earphone devices of users enter the blank area, the simulated noise reduction audio data can be obtained in advance to realize earphone noise reduction, and the noise reduction efficiency and the user experience are further improved.
According to an embodiment of the present invention, further comprising:
acquiring position data of the current earphone equipment in a motion period;
obtaining the movement route information and movement speed information of the current earphone equipment based on the position data;
the movement route information and the movement speed information are imported into an environment map model, and the movement trend range of the current earphone equipment in the next movement period is calculated;
judging whether a coverage area exists between the motion trend range and the blank area, and if so, marking the corresponding blank area as a first blank area;
the analog noise reduction audio data in the first blank area is imported into the current earphone equipment to perform preloading operation;
and judging whether the earphone equipment enters a first blank area or not in real time based on the position data, and if so, performing earphone noise reduction operation based on the preloaded analog noise reduction audio data.
It should be noted that, by analyzing the position information of the earphone device in real time, when entering the blank area, the invention can acquire the corresponding noise reduction data in real time, thereby effectively improving the noise reduction effect of the earphone device under the motion condition of the user.
The invention discloses a data analysis-based earphone noise reduction method and a data analysis-based earphone noise reduction system, which are implemented by collecting environmental audio data and position data from current earphone equipment; extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area; integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data; analyzing earphone analysis data of all earphone devices in a preset area, sending all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device. The invention can carry out sharing analysis on the acquired data of the existing earphone equipment, overcomes the defect of environmental noise analysis of the independent earphone equipment, improves the noise reduction effect of the multi-earphone equipment in a certain area, and further achieves the aim of improving the noise reduction efficiency and the user experience.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A method for noise reduction in headphones based on data analysis, comprising:
randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
analyzing earphone analysis data of all earphone devices in a preset area, transmitting all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device;
wherein, in the preset area, randomly selecting one earphone device as the current earphone device, collecting environmental noise information from the current earphone device and obtaining the position information of the current earphone device to obtain environmental audio data and position data, specifically:
constructing an environment map model according to the size of a preset area;
collecting first ambient noise data based on the earphone device;
performing data redundancy removal, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
acquiring relative position information of the earphone equipment and the connecting terminal equipment, and transmitting the relative position information to an environment map model to generate map model-based position data;
the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on the environmental noise influence range where the environmental audio feature analysis is located, specifically:
extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
acquiring low-noise contrast audio features, and performing feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
and analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
2. The method for noise reduction of headphones based on data analysis according to claim 1, wherein the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on an environmental noise influence range in which the environmental audio feature analysis is performed, further comprising:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
3. The method for noise reduction of headphones based on data analysis according to claim 2, wherein the analyzing the headphones analysis data of all the headphones devices in the preset area sends all the headphones analysis data to the environmental noise model to perform area noise analysis, and obtains noise reduction audio data of each of the headphones devices, specifically comprises:
analyzing the environmental audio data and the position data of all the earphone devices in the preset area, and obtaining earphone analysis data of all the earphone devices;
the position data and the noise influence area in all the earphone analysis data are imported into an environment map model for visual display;
and importing the first noise category information, the environmental audio data, the position data and the noise influence area corresponding to each earphone device into an environmental noise model to perform environmental area audio analysis, so as to obtain the environmental noise reduction correction information corresponding to each earphone device.
4. The method for noise reduction of headphones based on data analysis according to claim 3, wherein the analyzing the headphones analysis data of all the headphones devices in the preset area sends all the headphones analysis data to the environmental noise model to perform area noise analysis, and obtains noise reduction audio data of each of the headphones devices, specifically comprises:
based on the first noise category information and the environmental audio characteristics, noise reduction analysis based on an inversion technology is carried out on the environmental audio data to obtain noise reduction audio initial data;
correcting the noise reduction audio initial data according to the environment noise reduction correction information to obtain noise reduction audio data;
and transmitting the noise reduction audio data to the corresponding earphone device.
5. A data analysis-based earphone noise reduction system, the system comprising: the device comprises a memory and a processor, wherein the memory comprises a headset noise reduction program based on data analysis, and the headset noise reduction program based on the data analysis realizes the following steps when being executed by the processor:
randomly selecting one earphone device as a current earphone device in a preset area, acquiring environmental noise information from the current earphone device and acquiring position information of the current earphone device to obtain environmental audio data and position data;
extracting features based on the environmental audio data to obtain environmental audio features, and analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area;
integrating the environmental audio data with the position data and the noise influence area to obtain earphone analysis data;
analyzing earphone analysis data of all earphone devices in a preset area, transmitting all earphone analysis data to an environmental noise model for area noise analysis, and obtaining noise reduction audio data of each earphone device;
wherein, in the preset area, randomly selecting one earphone device as the current earphone device, collecting environmental noise information from the current earphone device and obtaining the position information of the current earphone device to obtain environmental audio data and position data, specifically:
constructing an environment map model according to the size of a preset area;
collecting first ambient noise data based on the earphone device;
performing data redundancy removal, audio segmentation and data standardization preprocessing on the first environmental noise data to obtain environmental audio data;
acquiring relative position information of the earphone equipment and the connecting terminal equipment, and transmitting the relative position information to an environment map model to generate map model-based position data;
the feature extraction is performed based on the environmental audio data to obtain environmental audio features, and the noise influence area is obtained based on the environmental noise influence range where the environmental audio feature analysis is located, specifically:
extracting characteristics based on frequency, amplitude and audio waveform according to the environmental audio data to obtain environmental audio characteristics;
acquiring low-noise contrast audio features, and performing feature contrast and recognition degree calculation on the environmental audio features and the low-noise contrast audio features to obtain audio feature recognition degree;
and analyzing the influence range of the environmental noise according to the identification degree of the audio features and the amplitude and frequency information of the environmental audio data, and obtaining a noise influence area based on the environmental map model.
6. The system of claim 5, wherein the extracting features based on the environmental audio data to obtain environmental audio features, and the analyzing the environmental noise influence range based on the environmental audio features to obtain a noise influence area, further comprises:
acquiring a plurality of noise categories and corresponding environmental noise characteristics from a noise characteristic database;
comparing and analyzing the environmental audio characteristics with environmental noise characteristics of different categories, and obtaining the characteristic similarity corresponding to the noise category;
recording noise categories with feature similarity larger than preset similarity to obtain first noise category information.
CN202311213473.5A 2023-09-20 2023-09-20 Earphone noise reduction method and system based on data analysis Active CN116962935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311213473.5A CN116962935B (en) 2023-09-20 2023-09-20 Earphone noise reduction method and system based on data analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311213473.5A CN116962935B (en) 2023-09-20 2023-09-20 Earphone noise reduction method and system based on data analysis

Publications (2)

Publication Number Publication Date
CN116962935A CN116962935A (en) 2023-10-27
CN116962935B true CN116962935B (en) 2024-01-30

Family

ID=88453302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311213473.5A Active CN116962935B (en) 2023-09-20 2023-09-20 Earphone noise reduction method and system based on data analysis

Country Status (1)

Country Link
CN (1) CN116962935B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10734965B1 (en) * 2019-08-12 2020-08-04 Sonos, Inc. Audio calibration of a portable playback device
CN111724760A (en) * 2019-03-21 2020-09-29 德尔格安全股份两合公司 Apparatus, system and method for audio signal processing
CN114697812A (en) * 2020-12-29 2022-07-01 华为技术有限公司 Sound collection method, electronic equipment and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8265928B2 (en) * 2010-04-14 2012-09-11 Google Inc. Geotagged environmental audio for enhanced speech recognition accuracy
EP3580937A1 (en) * 2017-02-10 2019-12-18 Honeywell International Inc. Distributed network of communicatively coupled noise monitoring and mapping devices
US11956619B2 (en) * 2022-02-18 2024-04-09 Arm Limited Apparatus and method to generate audio data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111724760A (en) * 2019-03-21 2020-09-29 德尔格安全股份两合公司 Apparatus, system and method for audio signal processing
US10734965B1 (en) * 2019-08-12 2020-08-04 Sonos, Inc. Audio calibration of a portable playback device
CN114697812A (en) * 2020-12-29 2022-07-01 华为技术有限公司 Sound collection method, electronic equipment and system
WO2022143119A1 (en) * 2020-12-29 2022-07-07 华为技术有限公司 Sound collection method, electronic device, and system

Also Published As

Publication number Publication date
CN116962935A (en) 2023-10-27

Similar Documents

Publication Publication Date Title
US10453443B2 (en) Providing an indication of the suitability of speech recognition
CN109145204B (en) Portrait label generation and use method and system
CN1848106B (en) Method and device for providing information
CN105744292A (en) Video data processing method and device
CN110995933A (en) Volume adjusting method and device of mobile terminal, mobile terminal and storage medium
CN111754982A (en) Noise elimination method and device for voice call, electronic equipment and storage medium
CN111128212A (en) Mixed voice separation method and device
CN111885414A (en) Data processing method, device and equipment and readable storage medium
CN104575509A (en) Voice enhancement processing method and device
CN114783061B (en) Smoking behavior detection method, device, equipment and medium
CN111144344B (en) Method, device, equipment and storage medium for determining person age
CN114333881B (en) Audio transmission noise reduction method, device and medium based on environment self-adaptation
CN113658586B (en) Training method of voice recognition model, voice interaction method and device
CN111768759A (en) Method and apparatus for generating information
CN111312286A (en) Age identification method, age identification device, age identification equipment and computer readable storage medium
CN113518075B (en) Phishing warning method, device, electronic equipment and storage medium
CN116962935B (en) Earphone noise reduction method and system based on data analysis
CN110992983B (en) Method, device, terminal and storage medium for identifying audio fingerprint
CN111610851B (en) Interaction method and device and user terminal for realizing interaction method
CN105895092B (en) Method and device for processing environmental sound
CN116127366B (en) Emotion recognition method, system and medium based on TWS earphone
CN113345440A (en) Signal processing method, device and equipment and Augmented Reality (AR) system
CN112509597A (en) Recording data identification method and device and recording equipment
CN113326829B (en) Method and device for recognizing gesture in video, readable storage medium and electronic equipment
US20240104956A1 (en) Image accumulation apparatus, method, and non-transitory computer-readable medium

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