Noise detection method and device and electronic equipment
By detecting the noise deviation of electronic equipment and generating trigger instructions, the generative adversarial network is used to improve the accuracy of noise detection, solve the problem of difficulty in detecting and processing noise in electronic equipment in a timely manner, and improve user experience and processing efficiency.
Patent Information
- Application Number
- CN202410870541.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-30
- Publication Date
- 2024-10-29
AI Technical Summary
Noise generated during the operation of electronic equipment is difficult to detect and deal with in a timely manner, leading to an increase in user complaints and reducing problem handling efficiency and user experience.
By obtaining the operating parameters of the target component of the electronic device, the current reference noise and actual noise are determined, the noise deviation is calculated, and if the deviation is greater than the threshold, it is determined to be a noise anomaly, a trigger instruction is generated for processing, and a generative adversarial network is used to generate and discriminate reference noise to improve detection. accuracy.
It achieves real-time and accurate detection and processing of electronic equipment noise, reduces user complaints and processing cycles, and improves user experience and problem handling efficiency.
Smart Images

Figure CN118857451A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and more specifically to a noise detection method, device and electronic equipment. Background Art
[0002] Electronic devices generate noise during operation. When the noise is loud, it will affect the user's experience, which will cause users to complain about the quality of electronic equipment products. That is, R&D engineers can only obtain noise quality problems of electronic equipment after users complain, and cannot deal with noise problems in time, which reduces the efficiency of problem handling and user experience. Summary of the invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A noise detection method, comprising:
[0005] Obtaining operating parameters of a target component of the electronic device to be detected;
[0006] determining a current reference noise of the electronic device based on an operating parameter of the target component;
[0007] obtaining actual noise of the electronic device;
[0008] A noise detection result is determined based on the reference noise and the actual noise.
[0009] Optionally, obtaining the operating parameters of the target component of the electronic device to be detected includes:
[0010] Determining a target component of the electronic device to be detected based on a current operating state of the electronic device to be detected;
[0011] The operating parameters of the target component are obtained.
[0012] Optionally, determining the current reference noise of the electronic device based on the operating parameters of the target component includes:
[0013] determining a reference sub-noise of each target component based on an operating state and an operating parameter corresponding to each target component;
[0014] Based on the reference sub-noise of each target component, a current reference noise of the electronic device is determined.
[0015] Optionally, the determining a noise detection result based on the reference noise and the actual noise includes:
[0016] Obtaining a noise deviation between the reference noise and the actual noise;
[0017] If the noise deviation is greater than the target deviation threshold, the noise detection result is determined to be a noise anomaly detection result.
[0018] Optionally, it also includes:
[0019] Based on the noise abnormality detection result, a target trigger instruction is generated so that a noise event corresponding to the noise abnormality detection result is processed based on the target trigger instruction.
[0020] Optionally, determining the current reference noise of the electronic device based on the operating parameters of the target component includes:
[0021] Determining, by a generator in a target generative adversarial network, a current reference noise of the electronic device according to an operating parameter of the target component;
[0022] The step of determining a noise detection result based on the reference noise and the actual noise includes:
[0023] Determining, by a discriminator in the target generative adversarial network, whether the reference noise and the actual noise are the same, so as to determine a noise detection result;
[0024] The target generative adversarial network includes the generator and the discriminator, and the target generative adversarial network is a network obtained by learning the real operation data of the target component of the electronic device.
[0025] Optionally, the creation process of the target generative adversarial network includes:
[0026] Obtaining a target data set, wherein the target data set includes real operation data and real noise data of a target component of an electronic device;
[0027] Processing the real operation data of the target component by using a generator to generate reference noise data;
[0028] Discriminate the reference noise data and the real noise data based on the discriminator to obtain a discrimination result;
[0029] The parameter information of the generator is adjusted based on the discrimination result until the discrimination result obtained by the discriminator meets the target condition, thereby obtaining the target generative adversarial network.
[0030] Optionally, the target component includes a fan component, and the real operation data of the target component includes rotation speed information, a time domain audio signal, and frequency domain image information of the fan component, and the using a generator to process the real operation data of the target component to generate reference noise data includes:
[0031] generating a noise sound pressure level based on the rotation speed information of the fan assembly;
[0032] Determining a noise frequency based on the rotation speed information of the fan assembly;
[0033] Determine the noise sound pressure level and the noise frequency as constraints of the generator;
[0034] The generator is used to process the time domain audio signal and the frequency domain image information, and when the processing result satisfies the constraint condition, reference noise data is obtained.
[0035] A noise detection device, comprising:
[0036] A first acquisition unit, used to obtain operating parameters of a target component of the electronic device to be detected;
[0037] A first determining unit, configured to determine a current reference noise of the electronic device based on an operating parameter of the target component;
[0038] A second acquisition unit, configured to obtain actual noise of the electronic device;
[0039] The second determining unit is configured to determine a noise detection result based on the reference noise and the actual noise.
[0040] An electronic device, comprising:
[0041] A memory, used to store applications and data generated by the operation of the applications;
[0042] The processor is used to execute the application program to implement the noise detection method as described in any one of the above. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0044] Figure 1 A flowchart of a noise detection method provided in an embodiment of the present application;
[0045] Figure 2 A flowchart of a noise event processing method provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of an extracted portion of a basic database provided in an embodiment of the present application;
[0047] Figure 4A schematic diagram of a regression curve of sound pressure level and fan speed provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a target adversarial network processing flow provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of a noise detection process provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] The terms "first" and "second" and the like in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but includes steps or units that are not listed.
[0052] A noise detection method provided in an embodiment of the present application can be applied to detect the noise generated during the operation of an electronic device. The electronic device in the present application can be an industrial electronic device or a user terminal. When the electronic device is a user terminal, it can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, a handheld computer, a mobile Internet device (MID), a device with professional functions (such as an e-book, a learning machine, a game console, etc.), a wearable device (such as a smart watch, a smart bracelet), a smart computer, a smart car terminal, etc.
[0053] See also Figure 1 , is a flow chart of a noise detection method provided in an embodiment of the present application, the method may include steps S101 to S104:
[0054] S101: Obtain operating parameters of a target component of an electronic device to be detected.
[0055] S102: Determine a current reference noise of the electronic device based on an operating parameter of the target component.
[0056] S103: Obtain actual noise of the electronic device.
[0057] S104: Determine a noise detection result based on the reference noise and the actual noise.
[0058] The electronic device to be detected can be any device that may generate noise during the operation of the electronic device, or it can be an electronic device determined based on a noise detection instruction. For example, when the user generates a noise detection instruction for the currently running electronic device during the operation of the electronic device, the noise detection method of the present application is executed based on the noise detection instruction. Correspondingly, after monitoring that the electronic device enters the corresponding target working state, the electronic device in the target working state is used as the electronic device that needs to be noise detected.
[0059] Then, the operating parameters of the target component of the electronic device to be detected can be obtained, wherein the target component can be all components in the electronic device, or it can be the first component that can directly generate noise during the operation of the electronic device. The target component can also include a first component and a second component, and the second component refers to a component that can affect the working state of the first component. For example, when the electronic device is a laptop computer, the target component may include a cooling fan and a processor of the laptop computer, because if the processor is in a high-load operating state, it will also affect the speed of the cooling fan. The operating parameters of the target component may include the operating frequency, operating parameters, and working time of the target component. For example, when the target component is a fan, the operating parameters of the fan may include the speed of the fan, the structural parameters of the fan, etc. Further, the time domain audio signal and spectrum image information corresponding to the speed can be obtained according to the speed parameter of the target component, and then the reference noise can be determined based on this information.
[0060] In the embodiment of the present application, the reference noise can be the noise of the electronic device in a normal state, that is, the reference noise is the noise in a normal operating state, and is the noise that the user of the electronic device can accept under the current operating environment of the electronic device. The current reference noise of the electronic device can be determined according to the current operating parameters of the target component, so that the reference noise is more consistent with the current operating state of the electronic device, avoiding the problem of inaccurate noise detection results due to setting a fixed reference noise. For example, if the fixed value of the reference noise is set to a small value, when the electronic device is in an operating environment with a high load, the operating frequency of its fan and other components is also high. If the noise generated is greater than the fixed value, an abnormal record will be generated, which is not conducive to the normal operation of the electronic device. Therefore, in the embodiment of the present application, the current reference noise of the electronic device can be determined based on the operating parameters of the target component, and the reference noise matches the operating state of the target component, which is more suitable for the current application scenario of the electronic device. It should be noted that when determining the current reference noise of the electronic device, the current reference noise is determined based on the operating state parameter information of the target electronic device under normal conditions combined with the operating parameters of the current target component. Because the current electronic device may have some abnormal states, based on its operating information under normal conditions combined with the operating parameters of the current target component, it can also detect whether the electronic device is in an abnormal state, and further detect abnormal noise events.
[0061] The actual noise of the electronic device can be collected by the sound pickup module in the electronic device, and then the reference noise is compared with the actual noise to obtain the noise detection result. Furthermore, in order to accurately obtain the actual noise of the electronic device, the application scenario of the electronic device can be combined, that is, the sound data collected by the sound pickup module is excluded from the environmental noise to obtain the actual noise. It is also possible to combine the collected sound with the packaging structure according to the packaging structure of the electronic device to determine the sound that the user can actually receive as the actual noise. Then the reference noise is compared with the actual noise to obtain the noise detection result.
[0062] In one implementation of the embodiment of the present application, based on the reference noise and the actual noise, the processing process of determining the noise detection result includes: obtaining the noise deviation between the reference noise and the actual noise; if the noise deviation is greater than the target deviation threshold, determining the noise detection result as a noise anomaly detection result. Among them, the target deviation threshold can be determined according to the properties of the electronic device, or the current operating environment of the electronic device. For example, when the electronic device is in a high-temperature operating environment, the operating frequency of the target components that generate noise, such as fans, will be higher, and the set target deviation threshold will be a relatively large value, which can better match the current application scenario and meet the needs of noise detection. Because the reference noise is the noise of the electronic device operating under normal conditions, if the actual noise collected is much greater than the reference noise, that is, the noise deviation of the two is greater than the target deviation threshold, the current noise will be considered abnormal, and a noise anomaly detection result will be obtained. On the contrary, if the reference noise is the same as the actual noise, or the deviation between the two is small, a normal noise detection result is obtained.
[0063] In an embodiment of the present application, it is possible to estimate and generate reference noise in real time based on the operating parameters of the target components of the electronic device, and then compare the actual noise collected with the reference noise to obtain a noise detection result, which can match the application scenario of the electronic device in real time and improve the accuracy of noise detection.
[0064] In the embodiment of the present application, a noise event processing method is also provided. Figure 2 , the method may include the following steps:
[0065] S201: Obtain operating parameters of a target component of an electronic device to be detected.
[0066] S202: Determine a current reference noise of the electronic device based on an operating parameter of the target component.
[0067] S203: Obtain actual noise of the electronic device.
[0068] S204: Determine a noise detection result based on the reference noise and the actual noise.
[0069] S205, determining whether the noise detection result is a noise abnormality detection result, if yes, executing step S206, if no, continuing to monitor the electronic device, that is, executing step S201;
[0070] S206 . Generate a target trigger instruction based on the noise anomaly detection result, so that a noise event corresponding to the noise anomaly detection result is processed based on the target trigger instruction.
[0071] For example, the target trigger instruction may include an event sending instruction, such as sending the result of detecting an abnormal noise of an electronic device to a designated server. After receiving the sending information, the server will provide noise elimination services or electronic device optimization services to the electronic device with the noise event. This allows the server to obtain the noise event of the electronic device in a timely manner, eliminate noise failures for users, and avoid user complaints about noise problems. It can also avoid the problem of long processing cycles and low processing efficiency for repeatedly confirming noise problems.
[0072] The target trigger instruction can also be an event recording instruction. When the noise event is detected in the electronic device, the noise event is recorded, and the cause of the noise event can be further analyzed to generate a record log to facilitate the call of the server, etc. The target trigger instruction can also be an information prompt instruction. For example, after detecting the current noise event of the electronic device, the operating state of the electronic device is further detected. If the electronic device is in a high power consumption state, corresponding prompt information can be generated, such as prompting the user whether to perform load balancing processing when the current load of the electronic device is high, or generating prompt information for switching the power consumption of the electronic device, and displaying the prompt information generated based on the information prompt instruction in the display area of the electronic device so that the user of the electronic device is informed.
[0073] In one implementation of the embodiment of the present application, obtaining the operating parameters of the target component of the electronic device to be detected includes: determining the target component of the electronic device to be detected based on the current operating state of the electronic device to be detected; and obtaining the operating parameters of the target component.
[0074] In order to perform noise assessment more accurately, the target components that can generate noise can be determined in combination with the current operating state of the electronic device. For example, when the electronic device is in working state, the target components may include the power fan, system fan, CPU (central processing unit) fan, and graphics card fan, etc. If the electronic device is in sleep or low power state, or the electronic device is in a scenario where audio is played after the screen is locked, the target components may include the power fan, system fan, CPU fan but not the graphics card fan. This can not only reduce the occupation of monitoring resources, but also make the determined reference noise more compatible with the actual application scenario.
[0075] In one implementation of the embodiment of the present application, determining the current reference noise of the electronic device based on the operating parameters of the target component includes:
[0076] Based on the operating state and operating parameters of each target component, a reference sub-noise of each target component is determined.
[0077] Based on the reference sub-noise of each target component, a current reference noise of the electronic device is determined.
[0078] The running state of the target component can be determined based on whether the target component is running continuously or in a stage-jumping operation. The corresponding running parameters of the target component are different under different running states. Or after the current running parameters of the target component are collected, the running parameters are corrected according to the running state of the target component. For example, if the fan is running continuously, its power is relatively stable, and if the fan is suddenly started, the current speed is not necessarily its actual speed. After the fan runs smoothly, the speed of the fan is collected again, and more accurate noise data can be obtained. For example, the noise of the target component will be relatively gentle when it is running continuously, and its sound will suddenly increase when it is suddenly started. If its running state is not considered, unnecessary noise warnings may be generated. Based on the reference sub-noise of each target component, when determining the current reference noise of the electronic device, the weight parameters of the noise impact can be determined based on the properties of each component, and then the weight corresponding to each reference sub-noise is calculated and the results are summed to obtain the current reference noise. It can also be considered that the packaging structure of the electronic device, the application scenario of the electronic device, the use environment of the electronic device, etc., determine the current reference noise of the electronic device, so that the obtained reference noise is more accurate.
[0079] In order to accurately obtain the noise detection results, the relevant data can be processed based on the generative adversarial network in the embodiment of the present application. Generative adversarial network (GAN) is a deep learning model. The model produces a fairly good output through the mutual game learning of at least two modules in the framework: the generator and the discriminator. Among them, the generator and the discriminator can be both neural networks or not. They only need to fit the corresponding generation and discrimination functions.
[0080] Specifically, based on the operating parameters of the target component, the current reference noise of the electronic device is determined, including: determining the current reference noise of the electronic device according to the operating parameters of the target component through a generator of a target generative adversarial network.
[0081] Correspondingly, based on the reference noise and the actual noise, determining the noise detection result includes: determining whether the reference noise and the actual noise are the same through a discriminator in a target generative adversarial network to determine the noise detection result.
[0082] The target generative adversarial network is a deep learning model created for the noise detection scenario of the electronic device in the embodiment of the present application. The target generative adversarial network includes a generator and a discriminator, and the target generative adversarial network is a network obtained by learning the real operating data of the target component of the electronic device.
[0083] The creation process of the target generative adversarial network in the embodiment of the present application includes:
[0084] A target data set is obtained, wherein the target data set includes real operation data and real noise data of a target component of the electronic device.
[0085] The generator is used to process the real operating data of the target component to generate reference noise data.
[0086] The reference noise data and the real noise data are discriminated based on the discriminator to obtain a discrimination result.
[0087] Based on the discrimination result, the parameter information of the generator is adjusted until the discrimination result obtained by the discriminator meets the target condition, thereby obtaining a target generative adversarial network. Among them, the target condition represents that the difference between the reference noise data and the real noise data in the discrimination result is small.
[0088] Furthermore, if the target component includes a fan component, the real operation data of the target component includes the rotation speed information, the time domain audio signal and the spectrum image information of the fan component. The real operation data of the target component is processed by the generator to generate reference noise data, including:
[0089] Generate a noise sound pressure level based on the speed information of the fan assembly;
[0090] Determine the noise frequency based on the speed information of the fan assembly;
[0091] Determine the noise sound pressure level and noise frequency as constraints of the generator;
[0092] The generator is used to process the time-domain audio signal and the frequency-domain image information, and when the processing result meets the constraint conditions, the reference noise data is obtained.
[0093] Specifically, taking the target components as fans of an electronic device system as an example, the time domain audio signals and spectrum image information obtained from the actual measurement of the key speed points of each fan in the system are used as the basic database, that is, as the real operating data of the target components in the target data set in the training process of the generative adversarial network. Figure 3 , is a schematic diagram of a cutout portion of a basic database provided in an embodiment of the present application. Figure 3 In this paper, the measured time domain audio signals and spectrum image information of each fan at the key speed point are used as the information in the basic database. Figure 3 The black five-pointed star represents the specific data. Figure 3 It is hidden with a black five-pointed star, and specific data can be added according to the actual application scenario.
[0094] In order to accurately obtain the sound characteristics of each fan during operation, the corresponding time domain audio signal and spectrum image information can be collected in real time. The expression of the sound signal in the time domain is the change of the sound amplitude over time, that is, the sound characteristics are obtained from the time dimension. The horizontal axis of the spectrum image is the frequency, and the vertical axis is the energy of the current frequency. Therefore, the spectrum image measures the sound from the frequency distribution dimension. The conversion of the time domain and frequency domain of the sound can be processed by the discrete Fourier transform algorithm. By extracting sound features from different dimensions, the fan operation status and the noise data generated can be more accurately obtained.
[0095] Then based on Figure 3 The basic database shown is used to predict the reference noise data of each fan at the actual operating speed. The specific processing process includes determining the constraints of the generator and the process of the generator processing the data.
[0096] The regression model can be used to predict the sound pressure level of the fan under actual operation based on the speed information of the fan assembly. The sound pressure level can represent the size of the noise. The square of the sound pressure is proportional to the sound intensity, and the sound intensity level can be converted into the sound pressure level. Figure 4 , is a schematic diagram of a regression curve of sound pressure level and fan speed provided in an embodiment of the present application. Figure 4 The horizontal axis x represents the fan speed, and the vertical axis y represents the sound pressure level. The index value R of the regression model 2 =0.9888, the corresponding index value can also be mean square error, mean absolute error. It can also be determined according to the actual application scenario.
[0097] Using the actual fan speed and number of fan blades as input features of the deep learning model, the reference frequency information generated by the fan noise can be obtained:
[0098] For example, noise frequency = rotation speed * number of fan blades / 60.
[0099] Furthermore, the two audio signals closest to the actual operating speed of each fan, as well as the predicted sound pressure level, noise frequency, and speed information can be used as constraints for the GAN network generator to generate the noise audio signal of the actual operating speed of each fan and obtain a noise reference signal. By adding constraints, the output of the generator can better meet the actual application scenarios and expected requirements.
[0100] See also Figure 5 ,exist Figure 5In the GAN, the target generation adversarial network of the embodiment of the present application is represented, and the time domain audio signal and spectrum image information representing the target component operation data are input into the generator of the GAN network, and the determined constraint conditions are also input into the generator, so that the generator generates a noise reference signal. The actual noise of the electronic device is collected by the sound acquisition module, and the features corresponding to the actual noise signal are input into the GAN discriminator through feature extraction, and the features corresponding to the noise reference signal are also input into the discriminator, so that the discriminator can discriminate the similarity between the two and output the noise detection result, such as the noise fault result. Further, the predicted noise reference signal is synthesized and time-frequency spectrum analysis is performed. Then the spectrum graph synthesized by the synthesized noise reference signal is given to the discriminator of the generation discriminant network, and the actual collected real noise signal and the noise reference signal are subjected to feature analysis and feature extraction. For example, the information such as the ratio of different sounds, sharpness, loudness ratio, and time-frequency spectrum graph can be extracted and given to the discriminator at the same time. The discriminator of the generation adversarial network performs noise fault detection according to the input information, and can output the fault record to the server at the same time. The accuracy and timeliness of noise detection are improved, and the efficiency of noise event processing is improved.
[0101] In another embodiment of the present application, a noise detection device is also provided. Figure 6 , the device comprises:
[0102] A first acquisition unit 601 is used to obtain operating parameters of a target component of the electronic device to be detected;
[0103] A first determining unit 602 is configured to determine a current reference noise of the electronic device based on an operating parameter of the target component;
[0104] A second acquisition unit 603 is used to obtain actual noise of the electronic device;
[0105] The second determining unit 604 is configured to determine a noise detection result based on the reference noise and the actual noise.
[0106] Optionally, the first acquiring unit includes:
[0107] A first determining subunit, configured to determine a target component of the electronic device to be detected based on a current operating state of the electronic device to be detected;
[0108] The first acquisition subunit is used to obtain the operating parameters of the target component.
[0109] Optionally, the first determining unit includes:
[0110] a second determination subunit, configured to determine a reference sub-noise of each target component based on an operation state and an operation parameter corresponding to each target component;
[0111] The third determining subunit is used to determine the current reference noise of the electronic device based on the reference sub-noise of each target component.
[0112] Optionally, the second determining unit includes:
[0113] A second acquisition subunit, configured to obtain a noise deviation between the reference noise and the actual noise;
[0114] The fourth determining subunit is configured to determine that the noise detection result is a noise anomaly detection result if the noise deviation is greater than a target deviation threshold.
[0115] Optionally, it also includes:
[0116] A generating unit is used to generate a target trigger instruction based on the noise anomaly detection result, so that a noise event corresponding to the noise anomaly detection result is processed based on the target trigger instruction.
[0117] Optionally, the first determining unit is configured to:
[0118] Determining, by a generator in a target generative adversarial network, a current reference noise of the electronic device according to an operating parameter of the target component;
[0119] The second determining unit is configured to:
[0120] Determining, by a discriminator in the target generative adversarial network, whether the reference noise and the actual noise are the same, so as to determine a noise detection result;
[0121] The target generative adversarial network includes the generator and the discriminator, and the target generative adversarial network is a network obtained by learning the real operation data of the target component of the electronic device.
[0122] Optionally, the creation process of the target generative adversarial network includes:
[0123] Obtaining a target data set, wherein the target data set includes real operation data and real noise data of a target component of an electronic device;
[0124] Processing the real operation data of the target component by using a generator to generate reference noise data;
[0125] Discriminate the reference noise data and the real noise data based on the discriminator to obtain a discrimination result;
[0126] The parameter information of the generator is adjusted based on the discrimination result until the discrimination result obtained by the discriminator meets the target condition, thereby obtaining the target generative adversarial network.
[0127] Further, the target component includes a fan component, and the real operation data of the target component includes speed information, a time domain audio signal, and a frequency domain image information of the fan component. The generator is used to process the real operation data of the target component to generate reference noise data, including:
[0128] generating a noise sound pressure level based on the rotation speed information of the fan assembly;
[0129] Determining a noise frequency based on the rotation speed information of the fan assembly;
[0130] Determine the noise sound pressure level and the noise frequency as constraints of the generator;
[0131] The generator is used to process the time domain audio signal and the frequency domain image information, and when the processing result satisfies the constraint condition, reference noise data is obtained.
[0132] It should be noted that the specific implementation of each unit and sub-unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0133] In another embodiment of the present application, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the noise detection method as described in any one of the above items is implemented.
[0134] In another embodiment of the present application, an electronic device is further provided, and the electronic device may include:
[0135] A memory, used to store applications and data generated by the operation of the applications;
[0136] A processor is used to execute the application program to implement any of the noise detection methods described above.
[0137] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0138] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0139] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0140] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0141] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A noise detection method, comprising: Obtaining operating parameters of a target component of the electronic device to be detected; determining a current reference noise of the electronic device based on an operating parameter of the target component; obtaining actual noise of the electronic device; A noise detection result is determined based on the reference noise and the actual noise.
2. The method according to claim 1, wherein obtaining the operating parameters of the target component of the electronic device to be detected comprises: Determining a target component of the electronic device to be detected based on a current operating state of the electronic device to be detected; The operating parameters of the target component are obtained.
3. The method according to claim 1, wherein determining the current reference noise of the electronic device based on the operating parameters of the target component comprises: determining a reference sub-noise of each target component based on an operating state and an operating parameter corresponding to each target component; Based on the reference sub-noise of each target component, a current reference noise of the electronic device is determined.
4. The method according to claim 1, wherein determining the noise detection result based on the reference noise and the actual noise comprises: Obtaining a noise deviation between the reference noise and the actual noise; If the noise deviation is greater than the target deviation threshold, the noise detection result is determined to be a noise anomaly detection result.
5. The method according to claim 4, further comprising: Based on the noise abnormality detection result, a target trigger instruction is generated so that a noise event corresponding to the noise abnormality detection result is processed based on the target trigger instruction.
6. The method according to claim 1, wherein determining the current reference noise of the electronic device based on the operating parameters of the target component comprises: Determining, by a generator in a target generative adversarial network, a current reference noise of the electronic device according to an operating parameter of the target component; The step of determining a noise detection result based on the reference noise and the actual noise includes: Determining, by a discriminator in the target generative adversarial network, whether the reference noise and the actual noise are the same, so as to determine a noise detection result; The target generative adversarial network includes the generator and the discriminator, and the target generative adversarial network is a network obtained by learning the real operation data of the target component of the electronic device.
7. According to the method of claim 6, the process of creating the target generative adversarial network comprises: Obtaining a target data set, wherein the target data set includes real operation data and real noise data of a target component of an electronic device; Processing the real operation data of the target component by using a generator to generate reference noise data; Discriminate the reference noise data and the real noise data based on the discriminator to obtain a discrimination result; The parameter information of the generator is adjusted based on the discrimination result until the discrimination result obtained by the discriminator meets the target condition, thereby obtaining the target generative adversarial network.
8. The method according to claim 7, wherein the target component comprises a fan component, and the real operation data of the target component comprises rotation speed information, a time domain audio signal, and a frequency domain image information of the fan component, and the using a generator to process the real operation data of the target component to generate reference noise data comprises: generating a noise sound pressure level based on the rotation speed information of the fan assembly; Determining a noise frequency based on the rotation speed information of the fan assembly; Determine the noise sound pressure level and the noise frequency as constraints of the generator; The generator is used to process the time domain audio signal and the frequency domain image information, and when the processing result satisfies the constraint condition, reference noise data is obtained.
9. A noise detection device, comprising: A first acquisition unit, used to obtain operating parameters of a target component of the electronic device to be detected; A first determining unit, configured to determine a current reference noise of the electronic device based on an operating parameter of the target component; A second acquisition unit, configured to obtain actual noise of the electronic device; The second determining unit is configured to determine a noise detection result based on the reference noise and the actual noise.
10. An electronic device, comprising: A memory, used to store applications and data generated by the operation of the applications; A processor, configured to execute the application program to implement the noise detection method according to any one of claims 1 to 8.
