Noise exposure index statistical method, device, equipment and storage medium

文档序号:1919450 发布日期:2021-12-03 浏览:24次 中文

阅读说明:本技术 噪声暴露指数统计方法、装置、设备及存储介质 (Noise exposure index statistical method, device, equipment and storage medium ) 是由 陈飞 迟欣 姜德军 曹磊 黄育雄 何桂晓 郭世文 吴海全 于 2021-08-31 设计创作,主要内容包括:本发明公开了一种噪声暴露指数统计方法、装置、设备及存储介质,噪声暴露指数统计方法,包括:获取在线设备的设备数量;获取不同所述在线设备的麦克风采集的噪声信号,并获取所述噪声信号的暴露时长;将所述噪声信号和所述暴露时长进行数据处理,得到所述在线设备对应噪声暴露值;将所述噪声暴露值以所述设备数量进行平均处理,输出所述噪声暴露指数。本发明通过噪声暴露指数将噪声暴露情况具体化,用户只需要携带配置麦克风的设备即可知晓当前环境的噪声暴露情况,则可以根据噪声暴露指数做出对应的防护措施,以提高用户体验感。(The invention discloses a statistical method, a device, equipment and a storage medium of noise exposure indexes, wherein the statistical method of the noise exposure indexes comprises the following steps: acquiring the number of online devices; acquiring noise signals acquired by microphones of different online devices, and acquiring exposure duration of the noise signals; performing data processing on the noise signal and the exposure duration to obtain a noise exposure value corresponding to the online equipment; and averaging the noise exposure value by the number of the devices, and outputting the noise exposure index. According to the invention, the noise exposure condition is embodied through the noise exposure index, and a user can know the noise exposure condition of the current environment only by carrying equipment provided with a microphone, so that corresponding protective measures can be made according to the noise exposure index to improve the user experience.)

1. A method for statistical noise exposure index, comprising:

acquiring the number of online devices;

acquiring noise signals acquired by microphones of different online devices, and acquiring exposure duration of the noise signals;

performing data processing on the noise signal and the exposure duration to obtain a noise exposure value corresponding to the online equipment;

and averaging the noise exposure value by the number of the devices, and outputting the noise exposure index.

2. The noise exposure index statistical method according to claim 1, further comprising:

acquiring initial time information and standard time information of the online equipment which is connected for the first time;

carrying out synchronous processing on the initial time information according to the standard time information to obtain synchronous time information;

and sending the synchronous time information to the online equipment connected for the first time.

3. The noise exposure index statistical method according to claim 1, further comprising:

and acquiring the noise signal and the exposure duration acquired by a microphone of the online equipment according to a preset first time interval period.

4. The statistical method of noise exposure index according to any one of claims 1 to 3, wherein the step of performing data processing on the noise signal and the exposure duration to obtain the noise exposure value corresponding to the online device comprises:

carrying out Fourier transform processing on the noise signal to obtain a noise transform signal;

performing compensation processing on the noise conversion signal to obtain a compensation signal;

and averaging the compensation signal and the exposure duration to obtain the noise exposure value.

5. The statistical method of noise exposure index according to claim 4, wherein the averaging the compensation signal and the exposure duration to obtain the noise exposure value comprises:

and averaging the compensation signal and the exposure duration according to a preset calculation formula to obtain the noise exposure value.

6. The noise exposure index statistical method according to claim 3, further comprising:

acquiring the number of the online devices according to a preset second time interval period, wherein the second time interval is the same as the first time interval;

updating the noise exposure index according to the second time interval period.

7. The noise exposure index statistical method according to claim 6, further comprising:

and sending the noise exposure index to an address link corresponding to preset address information.

8. A noise exposure index statistics apparatus, comprising:

the first acquisition module is used for acquiring the equipment number of the online equipment;

the second acquisition module is used for acquiring noise signals acquired by microphones of different online devices and acquiring the exposure duration of the noise signals;

the data processing module is used for carrying out data processing on the noise signal and the exposure duration and outputting a noise exposure value corresponding to the online equipment;

and the mean value processing module is used for carrying out average processing on the noise exposure value according to the number of the devices to obtain the noise exposure index.

9. An electronic device, comprising:

at least one processor, and,

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the noise exposure index statistical method of any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the noise exposure index statistical method of any one of claims 1 to 7.

Technical Field

The present invention relates to the field of electrical communication technologies, and in particular, to a noise exposure index statistical method, apparatus, device, and storage medium.

Background

Noise is sound which people inevitably contact in daily life, and the excessive exposure to noise environment can damage personal hearing, and especially for sites such as construction sites, large-scale factories, military exercise bases and the like, the influence of noise is particularly great. Therefore, the detection noise index can make people know the specific noise value of the current place, so that corresponding protective measures can be made according to the noise value, the hearing of people is protected, and the irreversible hearing damage in the later period is avoided.

In the related art, a professional noise detector is required for noise calculation, so that people who want to know the noise situation of the current site need to purchase the professional noise detector, so that the cost for knowing the noise situation is increased.

Disclosure of Invention

The present invention is directed to solving at least one of the problems of the prior art. Therefore, the noise exposure index statistical method provided by the invention can know the noise exposure index only by equipment carrying a microphone, so that the noise detection cost is saved, and a user can conveniently and accurately master the noise exposure condition of the user so as to perform protection in a more effective and reasonable manner.

The invention also provides a noise exposure index statistical device.

The invention further provides the electronic equipment.

The invention also provides a computer readable storage medium.

In a first aspect, an embodiment of the present invention provides a statistical method for noise exposure index, including:

acquiring the number of online devices;

acquiring noise signals acquired by microphones of different online devices, and acquiring exposure duration of the noise signals;

performing data processing on the noise signal and the exposure duration to obtain a noise exposure value corresponding to the online equipment;

and averaging the noise exposure value by the number of the devices, and outputting the noise exposure index.

The noise exposure index statistical method provided by the embodiment of the invention at least has the following beneficial effects: the noise exposure value of the online equipment is obtained by acquiring noise signals and exposure time collected by microphones of different online equipment, the noise exposure index is obtained by calculating the noise exposure value and the equipment number, the noise exposure condition is specified through the noise exposure index, a user can know the noise exposure condition of the current environment only by carrying equipment provided with the microphones, and corresponding protective measures can be made according to the noise exposure index to improve the user experience.

According to other embodiments of the invention, the noise exposure index statistical method further comprises:

acquiring initial time information and standard time information of the online equipment which is connected for the first time;

carrying out synchronous processing on the initial time information according to the standard time information to obtain synchronous time information;

and sending the synchronous time information to the online equipment connected for the first time.

According to other embodiments of the invention, the noise exposure index statistical method further comprises:

and acquiring the noise signal and the exposure duration acquired by a microphone of the online equipment according to a preset first time interval period.

According to another embodiment of the present invention, the statistical method for noise exposure index, where the noise signal and the exposure duration are subjected to data processing to obtain a noise exposure value corresponding to the online device, includes:

carrying out Fourier transform processing on the noise signal to obtain a noise transform signal;

performing compensation processing on the noise conversion signal to obtain a compensation signal;

and averaging the compensation signal and the exposure duration to obtain the noise exposure value.

According to another embodiment of the statistical method of noise exposure index, averaging the compensation signal and the exposure duration to obtain the noise exposure value includes:

and averaging the compensation signal and the exposure duration according to a preset calculation formula to obtain the noise exposure value.

According to other embodiments of the invention, the noise exposure index statistical method further comprises:

acquiring the number of the online devices according to a preset second time interval period, wherein the second time interval is the same as the first time interval;

updating the noise exposure index according to the second time interval period.

According to other embodiments of the invention, the noise exposure index statistical method further comprises:

and sending the noise exposure index to an address link corresponding to preset address information.

In a second aspect, an embodiment of the present invention provides a noise exposure index statistical apparatus, including:

the first acquisition module is used for acquiring the equipment number of the online equipment;

the second acquisition module is used for acquiring noise signals acquired by microphones of different online devices and acquiring the exposure duration of the noise signals;

the data processing module is used for carrying out data processing on the noise signal and the exposure duration and outputting a noise exposure value corresponding to the online equipment;

and the mean value processing module is used for carrying out average processing on the noise exposure value according to the number of the devices to obtain the noise exposure index.

The noise exposure index statistical device provided by the embodiment of the invention at least has the following beneficial effects: the noise exposure value of the online equipment is obtained by acquiring noise signals and exposure time collected by microphones of different online equipment, the noise exposure index is obtained by calculating the noise exposure value and the equipment number, the noise exposure condition is specified through the noise exposure index, a user can know the noise exposure condition of the current environment only by carrying equipment provided with the microphones, and corresponding protective measures can be made according to the noise exposure index to improve the user experience.

In a third aspect, an embodiment of the present invention provides an electronic device, including:

at least one processor, and,

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the noise exposure index statistics method of the first aspect.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the noise exposure index statistical method according to the first aspect.

Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.

Drawings

FIG. 1 is a flow chart illustrating a method for statistical noise exposure index according to an embodiment of the present invention;

FIG. 2 is a flow chart illustrating a statistical method of noise exposure index according to another embodiment of the present invention;

FIG. 3 is a flow chart illustrating a statistical method of noise exposure index according to another embodiment of the present invention;

FIG. 4 is a flowchart illustrating an embodiment of step S300 of FIG. 1;

FIG. 5 is a waveform diagram illustrating a collected noise signal according to the statistical method of noise exposure index in the embodiment of the present invention;

FIG. 6 is a waveform diagram of a noise signal collected by the statistical method for noise exposure index according to the embodiment of the present invention;

FIG. 7 is a flow chart illustrating a statistical method of noise exposure index according to another embodiment of the present invention;

FIG. 8 is a block diagram of an embodiment of a noise exposure index statistics apparatus according to the present invention;

fig. 9 is a block diagram of an embodiment of an electronic device according to the invention.

Reference numerals: 100. a first acquisition module; 200. a second acquisition module; 300. a data processing module; 400. a mean value processing module; 110. a processor; 120. a memory.

Detailed Description

The concept and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments to fully understand the objects, features and effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.

In the description of the present invention, if an orientation description is referred to, for example, the orientations or positional relationships indicated by "upper", "lower", "front", "rear", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, only for convenience of describing the present invention and simplifying the description, but not for indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" to another feature, it can be directly disposed, secured, or connected to the other feature or indirectly disposed, secured, connected, or mounted to the other feature.

In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first" or "second", this should be understood to distinguish between features and not to indicate or imply relative importance or to implicitly indicate the number of indicated features or to implicitly indicate the precedence of the indicated features.

Noise is sound which people inevitably contact in daily life, and the excessive exposure to noise environment can damage the hearing of people, and especially, the noise has huge influence on occasions such as construction sites, large-scale factories, military exercise bases and the like. People relieve the noise damage to a certain extent by wearing earmuffs, inserting earmuffs and the like, but the inconvenience and the discomfort brought along can reduce the attention degree of the workers to the noise damage, thereby neglecting the protection measures. However, in the field, large-scale factory, military drilling base and other occasions, noise detection equipment is not installed, so people cannot know the current noise value, and cannot make corresponding protection measures according to the noise value, thereby bringing hidden troubles to the health of people.

Based on this, the application discloses a noise exposure index statistical method, which includes acquiring noise signals acquired by microphones of different online devices, calculating the noise exposure index according to the noise signals and noise duration, and performing noise exposure index statistics according to the noise signals acquired by the microphones, so that a user can know the noise condition of the current environment according to the noise exposure index, and can make corresponding protective measures according to the noise exposure index, and hearing of the user is protected more effectively.

In a first aspect, referring to fig. 1, the present application discloses a statistical method for noise exposure index, including:

s100, acquiring the number of online devices;

the online equipment is online equipment in the registered equipment, registration of equipment corresponding to the registration information is completed according to the registration information input by the user, the running state of the registered equipment is acquired after the registration of the equipment is completed, and the registered equipment with the running state being the online state is defined as the online equipment. The registered equipment is the equipment currently carried by the user, the equipment types of the registered equipment are different, and each registered equipment is provided with a microphone so as to collect noise signals of the field environment through the microphone on the online equipment, so that the accuracy of the noise exposure index statistics is improved.

The registered equipment can be a watch, a bracelet, a sports headset, a TWS headset, a mobile phone and the like, so that the registered equipment in an online state is determined to obtain online equipment, then a noise signal is collected according to a microphone on the online equipment, and then a noise exposure index is determined according to the noise signal and exposure duration, so that statistics of the noise exposure index is realized, a user can conveniently know the noise environment of the current environment, and corresponding protective measures are made.

S200, acquiring noise signals acquired by microphones of different online devices, and acquiring exposure duration of the noise signals;

defining registered equipment in an online state as online equipment, then acquiring noise signals acquired by microphones on different online equipment, and calculating the exposure duration of the noise signals acquired by the microphones, wherein the exposure duration is also the duration of the noise signals. Considering the cruising ability and the use duration of one device, the noise signals of the microphones of different online devices need to be acquired to ensure the stable acquisition of the noise signals if the same device cannot be used all the day.

S300, carrying out data processing on the noise signal and the exposure duration to obtain a noise exposure value corresponding to the online equipment;

after the noise signal and the exposure duration are collected, the noise signal and the exposure duration collected by each online device are subjected to data processing to obtain a noise exposure value, namely the noise exposure value measured by the online device.

S400, averaging the noise exposure values according to the number of the devices, and outputting a noise exposure index.

After the noise exposure value measured by each online device is determined, the device number of the online devices and the noise exposure values measured by all the online devices are averaged to obtain the noise exposure index, so that the obtained noise exposure index is more consistent with the environment where the current user is located, and the accuracy of the noise exposure index is improved.

Referring to fig. 2, in some embodiments, the noise exposure index statistical method further includes:

s500, acquiring initial time information and standard time information of the online equipment connected for the first time;

when the online equipment is connected for the first time, the initial time information of the online equipment connected for the first time is obtained, and standard time information is obtained, wherein the standard time information is from the world standard time sent by the current satellite.

If the online equipment has no initial time information, an RTC chip is configured for the online equipment, so that the initial time of the online equipment is calculated through the RTC chip, the acquisition of the initial time information of the online equipment is realized, and the exposure duration of the noise signal can be clarified.

S600, carrying out synchronous processing on the initial time information according to the standard time information to obtain synchronous time information;

and when the acquired initial time information and the standard time information are not synchronous, carrying out synchronous processing on the initial time information according to the standard time information to obtain synchronous time information so as to realize time synchronization. After the time synchronization is completed, the exposure time fed back by the online equipment is more accurate.

And S700, sending the synchronous time information to the online equipment connected for the first time.

And when the time synchronization is completed, the time synchronization information is obtained and sent to the online equipment which is connected for the first time, the online equipment determines the current time according to the time synchronization information so as to complete the time synchronization operation of the online equipment, and the exposure time fed back by the online equipment is more accurate.

Referring to fig. 3, in some embodiments, a noise exposure index statistical method further includes:

and S800, acquiring a noise signal and exposure duration acquired by a microphone of the online equipment according to a preset first time interval period.

The method comprises the steps of collecting a noise signal and noise duration collected by a microphone of the online equipment according to a preset first time interval period so as to update the noise signal and the exposure duration at regular time according to the environment where a user is located, and then updating a noise exposure index according to the noise signal and the exposure duration collected again according to the preset first time interval so as to update the noise exposure index regularly according to the preset first time interval so as to improve the accuracy of the noise exposure index.

Referring to fig. 4, in some embodiments, step S300 includes, but is not limited to including, steps S310 to S330, and step S300 includes:

s310, carrying out Fourier transform processing on the noise signal to obtain a noise transform signal;

s320, compensating the noise conversion signal to obtain a compensation signal;

s330, averaging the compensation signal and the exposure duration to obtain a noise exposure value.

Since the input noise quotation mark is a speech frame signal, the noise signal needs to be subjected to fourier transform processing to obtain a noise variation signal so as to perform compensation processing. Because the frequency responses of different microphones are different, the frequency responses of the microphones are measured, the missing parts are compensated, the microphones simulate the receiving condition of the human ears on the sound, and therefore the actual noise exposure condition of the human ears is calculated. Therefore, the noise transformation signal is compensated to obtain a compensation signal, an effective compensation signal is obtained through compensation, and then the noise exposure value is obtained through averaging according to the compensation signal and the exposure duration, so that the noise exposure value of each online device is obtained.

Specifically, because the microphones are different, the sensitivities of the frequency points in the recording process are not consistent, and it is expected that a frequency response curve corresponding to the noise signal collected by the microphone is a straight line, but the noise signal collected by the microphone is as shown in fig. 5 and 6, and the noise signal collected by the microphone is actually a curve, so that the noise conversion signal obtained by processing the noise signal needs to be compensated. The compensation processing of the noise conversion signal needs to determine frequency points corresponding to the noise conversion signal, determine a compensation value corresponding to each frequency point, and then construct a compensation value sequence so as to perform compensation processing on the noise conversion signal according to the compensation value sequence. If the compensation value sequence of the noise conversion signal at each frequency point is assumed to be H, the compensation value sequence H can be represented as:

H1=[x1,x2,x3,…,xN] (1)

wherein, N frequency points are set as F, x sampling ratenCorresponding frequency point is fnThe corresponding relation between the frequency point and the sampling rate is as follows:

if be equipped with protective apparatus on the microphone, wherein, protective apparatus includes: the microphone cover and the microphone plug are used, and the protective equipment has influence on the noise signal collected by the microphone. Therefore, the protective equipment has the capability of blocking the collected noise signals at each frequency point. Assuming that the noise energy corresponding to the noise signal is A, measuring to obtain the energy of each frequency point of the on-band protective equipment as P, defining and defining H2The correction parameters of the protection device when counting noise for the microphone include:

H2=A-P=[y1,y2,y3,…,yN] (3)

therefore, when the microphone carrying the protective equipment is used, the noise transformation signal is modified according to the modification parameters to obtain the modification signal, and the noise exposure index calculated according to the modification signal is more accurate.

Assuming that the noise signal is s, the fourier transform processing on the noise signal mainly includes performing fourier transform processing on the noise signal by using a fourier transform formula, and the fourier transform processing on the noise signal is as follows:

S=FFT(s) (4)

after the noise signal is subjected to Fourier transform processing to obtain a noise transform signal, the noise transform signal is subjected to compensation processing to obtain a compensation signal, and the compensation processing is performed on the noise transform signal as follows:

S=S+H1-H2+A (5)

after the noise conversion signal is obtained, the noise conversion signal is reversely converted to obtain an effective compensation signal as follows:

s=IFFT(S) (6)

therefore, the noise signal is subjected to fourier transform processing and then compensation processing through the formulas (4) to (6), so that a more accurate noise signal is obtained.

In some embodiments, step S330 includes, but is not limited to including, step S331, step S330 including:

and S331, averaging the compensation signal and the exposure duration according to a preset calculation formula to obtain a noise exposure value.

By carrying out average processing on the compensation signal and the exposure time length according to a preset calculation formula, the noise exposure value can be accurately obtained, the average noise amplitude in the whole exposure time length is also known, and the noise influence degree of the environment where the user is located is more accurately displayed.

Specifically, the compensation signal and the exposure duration are averaged according to a preset calculation formula to obtain a noise exposure value, as follows:

in the formula, prefRepresenting a minimum sound pressure amplitude of 20 μ Pa audible to the human ear at 1000 Hz.

Therefore, the compensation signal and the exposure duration are averaged by equations (7) and (8) to obtain the noise exposure value, so as to more accurately represent the noise influence degree of the environment where the user is located.

Referring to fig. 7, in some embodiments, the noise exposure index statistical method further includes:

s900, acquiring the number of the online devices according to a preset second time interval period, wherein the second time interval is the same as the first time interval;

and S1000, updating the noise exposure index according to the second time interval period.

The online equipment is not always online, so the equipment number of the online equipment needs to be acquired according to a preset second time interval period, the running state of the registered equipment is acquired according to the preset second time interval period, the registered equipment with the running state being the online state is acquired, the registered equipment is defined as the online equipment, the equipment number of the online equipment is acquired, namely, a noise exposure value is obtained by calculation according to a noise signal acquired by a microphone of each online equipment, the noise exposure index is updated according to the newly acquired noise exposure value and the online equipment in the second time interval period, so that the noise exposure condition of the position where the user is located is updated in real time, and the user performs protection in a more effective and reasonable mode according to the noise exposure index.

TABLE 1

Time Device 1 Device 2 Device 3 Noise exposure index
t1 c1 c1
t2 c2 c2
t3 c3 c3
t4 c4 c4
t5 c5 c5
t6 a1 c6 (a1+c6)/2
t7 a2 c7 (a2+c7)/2
t8 a3 b1 c8 (a3+b1+c8)/3

Table 1 shows the noise exposure index updated according to the preset second time interval period. Referring to table 1, where the preset first time interval and the second time interval are t, the number of devices of the online device is updated at the interval t, and the noise exposure index is updated at regular time. As shown in table 1, if the registered devices include device 1, device 2, and device 3, and it is detected that the online device is only device 3 at time t1, the noise exposure value of device 3 is calculated to be c1, and the noise exposure index is c 1; if at time t6, it is detected that the online device includes device 1 and device 3, and the noise exposure value of device 1 is a1 and the noise exposure value of device 3 is c6, the noise exposure index is (a1+ c 6)/2; if at time t8 the online device includes device 1, device 2, and device 3, and the noise exposure value of device 1 is a3, the noise exposure value of device 2 is b1, and the noise exposure value of device 3 is c8, then the current noise exposure index is (a1+ a2+ a 3)/3. Therefore, the noise exposure index is calculated according to the noise exposure value of the online equipment and the number of the equipment, the obtained noise exposure index is more specific, and a user can more accurately master the noise exposure condition of the user.

In some embodiments, the noise exposure index statistical method further includes, but is not limited to, the following steps:

and sending the noise exposure index to an address link corresponding to preset address information.

And calculating to obtain a noise exposure index according to address information preset by a user, and then sending the noise exposure index to an address link corresponding to the address information in real time. If the address information is a micro signal, the noise exposure index is sent to the micro signal corresponding to the micro signal; and if the address information is the IP address, sending the noise exposure indication to a terminal corresponding to the IP address, so that a user can know the current noise exposure condition, and corresponding protective measures can be taken according to the noise exposure index.

The noise exposure index statistical method according to an embodiment of the present invention is described in detail in a specific embodiment with reference to fig. 1 to 7. It is to be understood that the following description is only exemplary, and not a specific limitation of the invention.

And acquiring the running state of the registered equipment according to a preset second time interval period, defining the registered equipment with the running state as the online equipment, and acquiring the equipment number of the online equipment. The method comprises the steps of firstly carrying out Fourier transform processing on noise signals to obtain noise transform signals, then carrying out compensation processing on the noise transform signals to obtain more accurate compensation signals, carrying out average processing on the compensation signals and the exposure time to obtain noise exposure values, adding the noise exposure values of all online devices, dividing the added noise exposure values by the number of the devices to obtain noise exposure indexes, and sending the noise exposure indexes to address links corresponding to preset address information, so that a user can master the noise exposure condition of the current environment in real time to make corresponding protective measures according to the noise exposure indexes, and experience of the user is improved.

In a second aspect, referring to fig. 8, an embodiment of the present invention further discloses a noise exposure index statistics apparatus, including: a first obtaining module 100, a second obtaining module 200, a data processing module 300 and a mean value processing module 400; the first obtaining module 100 is configured to obtain the number of devices of the online device; the second obtaining module 200 is configured to obtain noise signals collected by microphones of different online devices, and obtain exposure duration of the noise signals; the data processing module 300 is configured to perform data processing on the noise signal and the exposure duration, and output a noise exposure value corresponding to the online device; the averaging module 400 is configured to average the noise exposure values by the number of devices to obtain a noise exposure index.

The number of devices of the online device is acquired through the first acquisition module 100, the second acquisition module 200 acquires noise signals and exposure time of microphones of different online devices, the data processing module 300 performs data processing on the noise signals and the exposure time to obtain a noise exposure value, the mean value processing module 400 performs average processing on the noise exposure value and the number of devices to obtain a noise exposure index, the noise exposure index can be calculated according to the noise signals acquired by the microphones, a user can know the noise signals of the current environment only by carrying the devices provided with the microphones, so that the user can perform protection in a more effective and reasonable manner according to the noise exposure index, and the user experience is improved.

The online equipment can be earphones with a real-time clock, a running bracelet, a mobile phone and the like, and the noise exposure index can be calculated according to the noise signal and the exposure duration acquired by the equipment configuration microphone carried by the user, so that the user experience is improved.

Referring to fig. 9, in a third aspect, an embodiment of the present invention further discloses an electronic device, including:

at least one processor 110, and,

a memory 120 communicatively coupled to the at least one processor 110; wherein the content of the first and second substances,

the memory 120 stores instructions executable by the at least one processor 110 to enable the at least one processor 110 to perform the noise exposure index statistics method according to the first aspect.

In a fourth aspect, an embodiment of the present invention further discloses a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to cause a computer to perform the noise exposure index statistical method according to the first aspect.

The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种脑力劳动工作状态下的声环境质量判定方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!