Method, apparatus, and computer readable medium for mapping noise
By gridding the detection area and calculating the effective noise value of each cell, a continuous noise map is formed, which solves the problem that noise maps cannot describe the regional distribution and improves visibility.
Patent Information
- Application Number
- CN202111547844.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2041-12-16
Smart Images

Figure CN116266434B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of noise monitoring, and in particular to a method and device for drawing a noise map and a computer readable medium. BACKGROUND
[0002] With the development of modern industry, environmental pollution also occurs, and noise pollution is one of the environmental pollutions, which has become a great harm to human beings. Online noise monitoring devices are often used for environmental and occupational health detection. Through the cooperation of computers and sensor technology, monitoring personnel can timely understand the noise conditions of the measured site.
[0003] In order to more clearly show the noise distribution of the measured site, the noise distribution map can be usually presented by drawing. In the drawing of the noise map, the heat map form is often used, that is, the position with high noise is rendered with warm color, and the position with low noise is rendered with cold color.
[0004] However, in actual inspection, due to the limitation of environment and time, noise detection is usually in the form of point inspection, that is, noise sampling is performed at limited positions in a region. Since the point inspection method cannot obtain noise data of each position in the entire region, the noise map cannot well describe the noise distribution of the entire region, and can only show the noise size of the detection point.
[0005] Therefore, the prior art at least has the following technical problems: the noise map in the prior art cannot well describe the noise distribution of the entire region, and can only show the noise size of the detection point, which has poor visibility. SUMMARY
[0006] The embodiments of the present application provide a method, device and computer readable medium for drawing a noise map, which solve the technical problem that the noise map in the prior art cannot well describe the noise distribution of the entire region, and can only show the noise size of the detection point, which has poor visibility.
[0007] To solve the above problems, in a first aspect, the embodiments of the present application provide a method for drawing a noise map, comprising the following steps:
[0008] obtaining a detection region, and dividing the detection region into a plurality of detection region units;
[0009] obtaining noise samples, and dividing the noise samples into corresponding detection region units according to the positions of the collection devices of the noise samples;
[0010] obtaining effective noise values of each detection region unit based on the noise samples and the positions of the detection region units;
[0011] According to a predetermined rule, a corresponding detection area unit is rendered based on the effective noise value, so as to form a noise map.
[0012] Further, the detection area is obtained, and the detection area is divided into a plurality of detection area units, specifically comprising:
[0013] The detection area is gridded and divided into p x q detection area units, and a side length of the detection area unit is one unit length D b wherein p is the number of rows, q is the number of columns, and p and q are positive integers;
[0014] A coordinate system is established on the detection area, and coordinates of each detection area unit and each collection device are obtained.
[0015] Further, based on the noise sample and the position of the detection area unit, an effective noise value of each detection area unit is obtained, specifically comprising:
[0016] According to the coordinates of the collection device of the noise sample and the coordinates of the detection area unit, it is identified whether the noise sample is drawn into each detection area unit;
[0017] For the detection area unit into which the noise sample is drawn, the effective noise value of the detection area unit is obtained based on the noise sample and the position of the detection area unit, and the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the corresponding relationship between the effective noise value and the coordinates of the detection area unit are stored in a set; for the detection area unit which is not drawn into the noise sample, the effective noise value of the detection area unit is obtained based on the set.
[0018] Further, for the detection area unit into which the noise sample is drawn, the effective noise value of the detection area unit is obtained based on the noise sample and the position of the detection area unit, and the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the corresponding relationship between the effective noise value and the coordinates of the detection area unit are stored in a set; for the detection area unit which is not drawn into the noise sample, the effective noise value of the detection area unit is obtained based on the set, specifically comprising:
[0019] When the number n of the noise sample in the detection area unit is 1, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the noise value of the noise sample;
[0020] When the number n of the noise samples in the detection area unit is greater than or equal to 2, an effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is a weighted average of the noise values of the n noise samples:
[0021]
[0022] wherein A is the effective noise value of the detection area unit, in decibel; n is the number of the noise samples in the detection area unit, and n is a positive integer; a k is the noise value of the kth noise sample in the detection area unit, and k is a positive integer, 1≤k≤n;
[0023] When the number n of the noise samples in the detection area unit is 0, distances D1...D j ...D N between the detection area unit and each detection area unit in a set are obtained, and an effective noise value of the detection area unit is obtained according to the following formula:
[0024]
[0025] wherein D j is the distance between the detection area unit and the jth detection area unit in the set, and j is a positive integer, 1≤j≤N; d j is the effective distance between the detection area unit and the jth detection area unit in the set, and when D j <D b , d j =D b , when D j ≥D b , d j =D j ; D b is a unit length; N is the number of coordinates in the set, and N is a positive integer; b j is the effective noise value of the jth detection area unit in the set.
[0026] Further, the predetermined rule is:
[0027] when A>85dB, a first color is rendered; when A<75dB, a second color is rendered; and when 75dB≤A≤85dB, a third color is rendered.
[0028] In a second aspect, an embodiment of the present application provides a device for drawing a noise map, comprising:
[0029] a first obtaining module, configured to obtain a detection area and divide the detection area into a plurality of detection area units;
[0030] a second obtaining module, configured to obtain noise samples, and divide the noise samples into corresponding detection area units according to positions of collection devices of the noise samples;
[0031] a third obtaining module, configured to obtain an effective noise value of each detection area unit based on the noise samples and the positions of the detection area units;
[0032] a rendering module, configured to render the corresponding detection area units according to a predetermined rule based on the effective noise values, so as to form a noise map.
[0033] Further, the first obtaining module comprises:
[0034] a meshing unit, configured to mesh the detection area and divide the detection area into p×q detection area units, wherein a side length of the detection area units is a unit length D b wherein p is a row number, q is a column number, and p and q are positive integers;
[0035] a first obtaining unit, configured to establish a coordinate system on the detection area, and obtain coordinates of each detection area unit and each collection device.
[0036] Further, the second obtaining module comprises:
[0037] an identifying unit, configured to identify whether the noise samples are divided into each detection area unit according to the coordinates of the collection devices of the noise samples and the coordinates of the detection area units;
[0038] a second obtaining unit, configured to obtain an effective noise value of a detection area unit in which the noise samples are divided, based on the noise samples and the position of the detection area unit, and store the effective noise value, coordinates of the detection area unit corresponding to the effective noise value, and a corresponding relationship between the effective noise value and the coordinates of the detection area unit in a set; and obtain an effective noise value of a detection area unit in which the noise samples are not divided, based on the set.
[0039] Further, the second obtaining unit comprises:
[0040] a first sub-obtaining unit, configured to obtain an effective noise value of the detection area unit when a number n of the noise samples in the detection area unit is 1, and the effective noise value of the detection area unit is a noise value of the noise sample;
[0041] a second sub-acquiring unit, configured to acquire an effective noise value of the detection area unit when the number n of the noise samples in the detection area unit is greater than or equal to 2, and the effective noise value of the detection area unit is a weighted average of the noise values of the n noise samples:
[0042]
[0043] wherein A is the effective noise value of the detection area unit, in decibel; n is the number of the noise samples in the detection area unit, and n is a positive integer; a k is the noise value of the kth noise sample in the detection area unit, and k is a positive integer, 1≤k≤n;
[0044] a third sub-acquiring unit, configured to acquire distances D1...DN between the detection area unit and each detection area unit in a set when the number n of the noise samples in the detection area unit is 0, and acquire an effective noise value of the detection area unit according to the following formula: j ...D N
[0045]
[0046] wherein D j is the distance between the detection area unit and the jth detection area unit in the set, and j is a positive integer, 1≤j≤N; d j is the effective distance between the detection area unit and the jth detection area unit in the set, and when D j <D b , d j =D b , when D j ≥D b , d j =D j ; D b is a unit length; N is the number of coordinates in the set, and N is a positive integer; b j is the effective noise value of the jth detection area unit in the set.
[0047] In a third aspect, an embodiment of the present application further provides a device for drawing a noise map, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and characterized in that the processor implements the following steps when executing the program:
[0048] acquiring a detection area, and dividing the detection area into a plurality of detection area units;
[0049] acquire noise samples, and according to the positions of the noise sample acquisition devices, divide the noise samples into corresponding detection area units;
[0050] acquire effective noise values of each detection area unit based on the noise samples and the positions of the detection area units;
[0051] render the corresponding detection area units according to a predetermined rule based on the effective noise values, thereby forming a noise map.
[0052] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which has a computer program stored thereon, and the program is executed by a processor to implement the following steps:
[0053] acquire detection areas, and divide the detection areas into a plurality of detection area units;
[0054] acquire noise samples, and according to the positions of the noise sample acquisition devices, divide the noise samples into corresponding detection area units;
[0055] acquire effective noise values of each detection area unit based on the noise samples and the positions of the detection area units;
[0056] render the corresponding detection area units according to a predetermined rule based on the effective noise values, thereby forming a noise map.
[0057] The one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0058] In the embodiments of the present application, the detection areas are gridded into a plurality of detection area units, the acquired noise samples are divided into corresponding detection area units according to the positions of the noise sample acquisition devices, and an effective noise value representing the noise condition of the entire detection area unit is generated for each detection area unit based on the noise samples and the positions of the detection area units. The corresponding detection area units are rendered according to a predetermined rule based on the effective noise values, thereby forming a continuous and complete noise map, which can describe the noise distribution of the entire detection area, effectively solves the technical problem that the noise map in the prior art cannot well describe the noise distribution of the entire area and can only show the noise size of the detection point, and has the beneficial effects of good display effect and good visibility. BRIEF DESCRIPTION OF DRAWINGS
[0059] Figure 1 a flowchart of a method for drawing a noise map in the embodiments of the present application;
[0060] Figure 2A structural schematic diagram of a device for drawing a noise map in an embodiment of the present application;
[0061] Figure 3 A structural schematic diagram of a device for drawing a noise map in another embodiment of the present application;
[0062] Figure 4 is a schematic diagram of physical distribution of four observation points;
[0063] Figure 5 is a noise map obtained after rendering in the prior art;
[0064] Figure 6 is a noise map drawn by using the method or device for drawing a noise map described in the present application;
[0065] Figure 7 is Figure 5 and Figure 6 is a corresponding relationship diagram of colors and noise values of the noise map in and.
[0066] Label explanation: first acquisition module 11, second acquisition module 12, third acquisition module 13, rendering module 14, bus 300, receiver 301, processor 302, transmitter 303, memory 304, bus interface 306. DETAILED DESCRIPTION
[0067] The embodiments of the present application provide a method, device and computer readable medium for drawing a noise map, and solve the technical problem that the noise map in the prior art cannot well describe the noise distribution of the whole region, and can only show the noise size of the detection point and has poor visibility.
[0068] The technical solution in the embodiments of the present application is to solve the technical problem of crosstalk, and the general idea is as follows:
[0069] The embodiments of the present application grid the detection region into a plurality of detection region units, divide the obtained noise samples into corresponding detection region units according to the positions of the noise sample collection devices, generate an effective noise value representing the noise condition of the whole detection region unit for each detection region unit based on the noise samples and the positions of the detection region units, render the corresponding detection region unit according to a predetermined rule based on the effective noise value, and thus form a continuous and complete noise map, which can describe the noise distribution of the whole detection region, effectively solve the technical problem that the noise map in the prior art cannot well describe the noise distribution of the whole region, and can only show the noise size of the detection point and has poor visibility, and achieve the beneficial effects of good display effect and good visibility.
[0070] For better understanding of the above technical solutions, the above technical solutions will be described in detail below in combination with the drawings of the specification and specific embodiments.
[0071] Embodiment one
[0072] Figure 1 For a flowchart of a method for drawing a noise map in an embodiment of the present application, as shown in Figure 1 The method comprises the following steps:
[0073] Step 110: Obtain a detection area and divide the detection area into a plurality of detection area units;
[0074] Specifically, in order to facilitate the gridding of the detection area, the detection area is selected to be rectangular, and the detection area is divided into square detection area units of the same size.
[0075] Step 120: Obtain noise samples and, according to the positions of the collection devices of the noise samples, divide the noise samples into corresponding detection area units;
[0076] Specifically, the noise samples are obtained through the collection devices connected to the collection devices. In this embodiment, the collection devices can be sound level meters for detecting noise values. A plurality of sound level meters are arranged in the detection area. If the setting position of the sound level meter falls into a detection area unit, the noise sample collected by the sound level meter is divided into this detection area unit. Some detection area units may have one or more sound level meters, and thus have noise samples, while some detection area units do not have sound level meters, and thus have no noise samples.
[0077] Step 130: Obtain the effective noise value of each detection area unit based on the noise samples and the positions of the detection area units;
[0078] Specifically, in this embodiment, each detection area unit has a unique effective noise value, which represents the noise condition of the entire detection area unit. For the detection area units with noise samples, the effective noise value is obtained according to the noise samples. For the detection area units without noise samples, the effective noise value is obtained according to the noise samples of the detection area units with noise samples, the distance between the detection area units with noise samples, and the effective noise value.
[0079] Step 140: Based on the effective noise value, render the corresponding detection area unit according to a predetermined rule, thereby forming a noise map.
[0080] Specifically, in the present example, each of the detection area units has a unique noise value, and the entire detection area has no data missing, and after rendering, a continuous and complete noise map can be formed.
[0081] The embodiment of the present application grids the detection area into a plurality of detection area units, divides the acquired noise samples into the corresponding detection area units according to the positions of the noise sample acquisition devices, generates an effective noise value representing the noise condition of the entire detection area unit for each of the detection area units based on the noise samples and the positions of the detection area units, and renders the corresponding detection area units according to a predetermined rule based on the effective noise value, thereby forming a continuous and complete noise map that can describe the noise distribution of the entire detection area, effectively solving the technical problem that the noise map in the prior art cannot well describe the noise distribution of the entire area and can only show the noise size of the detection points, and achieving the beneficial effects of good display effect and good visibility.
[0082] Further, the step 110 specifically includes:
[0083] Step 111: grid the detection area into p x q detection area units, the detection area units are squares of the same size, and the side length of each detection area unit is a unit length D b (D b = 1, where p is the number of rows, q is the number of columns, and p and q are both positive integers;
[0084] Step 112: establish a coordinate system on the detection area, and acquire the coordinates of each detection area unit and the coordinates of each acquisition device.
[0085] Specifically, the coordinates of the detection area unit include the coordinates of the four corners.
[0086] Further, the step 130 specifically includes:
[0087] Step 131: according to the coordinates of the acquisition device of the noise sample and the coordinates of the detection area unit, identify whether the noise sample is included in each of the detection area units;
[0088] Specifically, when the coordinates of the acquisition device of the noise sample are located in the region defined by the coordinates of the four corners of the detection area unit, it is determined that the noise sample belongs to the detection area unit.
[0089] Step 132: For the detection area unit into which the noise sample is drawn, an effective noise value of the detection area unit is obtained based on the noise sample and the position of the detection area unit, and the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the correspondence between the effective noise value and the coordinates of the detection area unit are stored in a set; and each detection area unit in the set is arranged in a certain order, and the effective noise value of each detection area unit is arranged in time sequence; for the detection area unit into which the noise sample is not drawn, an effective noise value of the detection area unit is obtained based on the set.
[0090] Further, the step 132 specifically comprises:
[0091] When the number n of the noise samples in the detection area unit is 1, an effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the noise value of the noise sample in the detection area unit;
[0092] When the number n of the noise samples in the detection area unit is 2 or more, an effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the weighted average value of the noise values of the n noise samples in the detection area unit:
[0093]
[0094] Wherein: A is the effective noise value of the detection area unit, and the unit is decibel (dB); n is the number of the noise samples in the detection area unit, and n is a positive integer; ak is the noise value of the kth noise sample in the detection area unit, and k is a positive integer, 1≤k≤n;
[0095] When the number n of the noise samples in the detection area unit is 0 (i.e. the detection area unit into which the noise sample is not drawn), the distance D1...D j ...D N between the detection area unit and each detection area unit in the set is obtained, and the effective noise value of the detection area unit is obtained according to the following formula:
[0096]
[0097] Wherein: D j is the distance between the detection area unit and the jth detection area unit in the set, and j is a positive integer, 1≤j≤N; d j is the effective distance between the detection area unit and the jth detection area unit in the set, and when D j <D b , d j =Db When D j ≥ D b , d j = D j ; D b is a unit length; N is the number of detection area units in the set, and N is a positive integer; b j is the effective noise value of the jth detection area unit in the set.
[0098] Further, the predetermined rule is:
[0099] When A > 85 dB, render the first color; when A < 75 dB, render the second color; when 75 dB≤A≤85 dB, render the third color.
[0100] Specifically, in this embodiment, the first color, the second color, and the third color are different shades of gray.
[0101] In another possible implementation, the first color is red, the second color is green, and the third color is yellow.
[0102] Those skilled in the art can set the specific color number of the first color, the second color, and the third color according to actual working conditions.
[0103] Embodiment Two
[0104] Based on the same inventive concept as the method of drawing a noise map in the foregoing embodiment, the present application also provides a device for drawing a noise map, as shown in Figure 2 The device comprises:
[0105] A first acquisition module 11, which is configured to acquire a detection area and divide the detection area into a plurality of detection area units;
[0106] A second acquisition module 12, which is configured to acquire noise samples and divide the noise samples into corresponding detection area units according to the positions of the noise sample acquisition devices;
[0107] A third acquisition module 13, which is configured to acquire the effective noise value of each detection area unit based on the noise samples and the positions of the detection area units;
[0108] A rendering module 14, which is configured to render the corresponding detection area units according to a predetermined rule based on the effective noise values, thereby forming a noise map.
[0109] Further, the first acquisition module comprises:
[0110] a grid unit, configured to grid the detection area into p x q detection area units, a side length of the detection area unit being a unit length D b wherein p is a row number, q is a column number, and p and q are positive integers;
[0111] a first acquisition unit, configured to establish a coordinate system on the detection area, and acquire a coordinate of each detection area unit and a coordinate of each collection device.
[0112] Further, the second acquisition module comprises:
[0113] an identification unit, configured to identify whether the noise sample is drawn into each detection area unit according to the coordinate of the collection device of the noise sample and the coordinate of the detection area unit;
[0114] a second acquisition unit, configured to, for the detection area unit into which the noise sample is drawn, acquire an effective noise value of the detection area unit based on the position of the noise sample and the detection area unit, and store the effective noise value, the coordinate of the monitoring area unit corresponding to the effective noise value, and the corresponding relationship between the effective noise value and the coordinate of the detection area unit into a set; and for the detection area unit into which the noise sample is not drawn, acquire an effective noise value of the detection area unit based on the set.
[0115] Further, the second acquisition unit comprises:
[0116] a first sub-acquisition unit, configured to, when the number n of the noise samples in the detection area unit is 1, acquire an effective noise value of the detection area unit, and the effective noise value of the detection area unit is a noise value of the noise sample;
[0117] a second sub-acquisition unit, configured to, when the number n of the noise samples in the detection area unit is greater than or equal to 2, acquire an effective noise value of the detection area unit, and the effective noise value of the detection area unit is a weighted average value of the noise values of the n noise samples, i.e., acquired according to formula (1):
[0118]
[0119] wherein: A is the effective noise value of the detection area unit, and the unit is decibel (dB); n is the number of the noise samples in the detection area unit, and n is a positive integer; a k is a noise value of the kth noise sample in the detection area unit, and k is a positive integer, 1≤k≤n;
[0120] a third sub-acquisition unit, configured to acquire distances D1...D between the detection area unit and each detection area unit in the set when the number n of the noise samples in the detection area unit is 0. j ...D N and acquire the effective noise value of the detection area unit according to the following formula:
[0121]
[0122] wherein D j is the distance between the detection area unit and the jth detection area unit in the set, and j is a positive integer, 1≤j≤N; d j is the effective distance between the detection area unit and the jth detection area unit in the set, and when D j <D b , d j =D b , when D j ≥D b , d j =D j ; N is the number of the detection area units in the set, and N is a positive integer; b j is the effective noise value of the jth detection area unit in the set.
[0123] Embodiment Three
[0124] Based on the same inventive concept as the noise map drawing method in the foregoing embodiments, the present application further provides a noise map drawing device having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods of the foregoing remote conference account resource conversion calculation method.
[0125] wherein in Figure 3 , a bus architecture (represented by bus 300) can include any number of interconnecting buses and bridges, the bus 300 links together various circuits such as one or more processors represented by processor 302 and memory represented by memory 304. The bus 300 can also link together various other circuits such as peripheral devices, voltage stabilizers, and power management circuits, which are well known in the art, and thus, are not further described herein. Bus interface 306 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 can be the same element, i.e., a transceiver, which provides a means for communicating with various other apparatuses over a transmission medium.
[0126] The processor 302 is responsible for managing the bus 300 and general processing, while the memory 304 can be used to store data used by the processor 302 in performing operations.
[0127] Embodiment Four
[0128] Based on the same inventive concept as the method of drawing a noise map in the foregoing embodiments, the application also provides a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:
[0129] Obtaining a detection area and dividing the detection area into a plurality of detection area units;
[0130] Obtaining noise samples and, according to the positions of the collection devices of the noise samples, classifying the noise samples into corresponding detection area units;
[0131] Based on the noise samples and the positions of the detection area units, obtaining an effective noise value of each detection area unit;
[0132] Based on the effective noise value, rendering the corresponding detection area unit according to a predetermined rule, thereby forming a noise map.
[0133] In the specific implementation process, the program, when executed by a processor, can also implement any method step in Embodiment One.
[0134] Experimental verification
[0135] To verify the effectiveness of the above method and device, the following experimental verification is made:
[0136] Select four observation points C1, C2, C3 and C4, whose physical distribution is as shown in Figure 4 Figure 4 The numbers in the figure represent the straight-line distance between two points, in meters.
[0137] In a relatively stable sound field, noise value measurements are respectively made at the four observation points, and each point is measured 5 times. The results are shown in Table 1, and the average value (effective noise value) is calculated according to formula (1).
[0138] Table 1 Noise value (noise sample) measurement value
[0139]
[0140]
[0141] According to formula (2), the effective noise value of point C4 is calculated based on the effective noise values of points C1, C2 and C3: the result is 71.047. The relative error between the calculated value and the true value is: The error is small, which proves that the method described in the embodiment is effective.
[0142] Table 2 is the noise sample and its coordinate information, Figure 5 is the noise map obtained after rendering only by the data in Table 2, Figure 6 is the noise map drawn by the method or device for drawing a noise map described in the embodiment, and Figure 1 Compared with Figure 2 It is more rich and has better visibility.
[0143] Table 2 Noise value (noise sample) measurement and its coordinate information
[0144]
[0145]
[0146]
[0147]
[0148]
[0149]
[0150] In addition, in order to better reflect the actual noise distribution in the field, the test points are selected as close to the sound source as possible in the area with high noise in the field.
[0151] The technical solutions in the above embodiment have at least the following technical effects or advantages:
[0152] In the embodiment, the detection area is gridized into a plurality of detection area units, the obtained noise samples are divided into corresponding detection area units according to the positions of the noise sample collection devices, an effective noise value representing the noise condition of the entire detection area unit is generated for each detection area unit based on the noise samples and the positions of the detection area units, and the corresponding detection area units are rendered according to a predetermined rule based on the effective noise value, thereby forming a continuous and complete noise map, which can describe the noise distribution of the entire detection area, effectively solves the technical problem that the noise map in the prior art cannot well describe the noise distribution of the entire area and can only show the noise size of the detection point, and has the beneficial effects of good display effect and good visibility.
[0153] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0154] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0155] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0156] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0157] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for drawing a noise map, characterized in that, The method includes the following steps: Obtain the detection area and divide the detection area into several detection area units; Acquire noise samples and, based on the location of the noise sample acquisition device, classify the noise samples into the corresponding detection area units; Based on the noise sample and the location of the detection area unit, the effective noise value of each detection area unit is obtained; Based on the effective noise value, the corresponding detection area unit is rendered according to a predetermined rule to form a noise map; The step of obtaining the effective noise value of each detection region unit based on the noise sample and the position of the detection region unit specifically includes: Based on the coordinates of the noise sample acquisition device and the coordinates of the detection area unit, identify whether the noise sample is included in each detection area unit; For a detection area unit that includes the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit that does not include the noise sample, the effective noise value of the detection area unit is obtained based on the set. For a detection area unit containing the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit not containing the noise sample, the effective noise value of the detection area unit is obtained based on the set, specifically including: When the number of noise samples in the detection area unit is n=1, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the noise value of the noise sample. When the number of noise samples n ≥ 2 within the detection area unit, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the weighted average of the noise values of the n noise samples: Where: A is the effective noise value of the detection area unit, in dB; n is the number of noise samples within the detection area unit, and n is a positive integer; a k It is the noise value of the k-th noise sample within the detection area unit, where k is a positive integer, 1≤k≤n; When the number of noise samples within the detection region unit is n = 0, the distances D1...D between the detection region unit and each detection region unit in the set are obtained. j ...D N The effective noise value of the detection area unit is obtained according to the following formula: Where: D j Let d be the distance between the detection region unit and the j-th detection region unit in the set, where j is a positive integer, 1≤j≤N; j Let D be the effective distance between the detection region unit and the j-th detection region unit in the set, and when D j <D b At that time, d j =D b When D j ≥D b At that time, d j =D j ;D b It is the unit length; N is the number of coordinates in the set, and N is a positive integer; b j It is the effective noise value of the j-th detection region unit in the set.
2. The method for drawing a noise map as described in claim 1, characterized in that, The acquisition of the detection area and the division of the detection area into several detection area units specifically includes: The detection area is meshed into p×q detection area units, each with a side length of one unit D. b , where p is the number of rows and q is the number of columns, and both p and q are positive integers; A coordinate system is established on the detection area, and the coordinates of each detection area unit and each acquisition device are obtained.
3. The method for drawing a noise map as described in claim 1, characterized in that, The predetermined rule is as follows: When A > 85dB, render the first color; when A < 75dB, render the second color; when 75dB ≤ A ≤ 85dB, render the third color.
4. An apparatus for drawing a noise map, characterized in that, include: The first acquisition module is used to acquire the detection area and divide the detection area into several detection area units; The second acquisition module is used to acquire noise samples and, according to the location of the noise sample acquisition device, classify the noise sample into the corresponding detection area unit. The third acquisition module is used to acquire the effective noise value of each detection region unit based on the noise sample and the position of the detection region unit; The rendering module is used to render the corresponding detection area unit based on the effective noise value according to a predetermined rule, thereby forming a noise map. The second acquisition module includes: The identification unit is used to identify whether the noise sample is included in each of the detection area units based on the coordinates of the noise sample acquisition device and the coordinates of the detection area unit. The second acquisition unit is configured to, for a detection area unit containing the noise sample, acquire the effective noise value of the detection area unit based on the position of the noise sample and the detection area unit, and store the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the correspondence between the effective noise value and the coordinates of the detection area unit into a set; for a detection area unit not containing the noise sample, acquire the effective noise value of the detection area unit based on the set. The second acquisition unit includes: The first sub-acquisition unit is used to acquire the effective noise value of the detection area unit when the number of noise samples in the detection area unit is n=1, and the effective noise value of the detection area unit is the noise value of the noise sample. The second sub-acquisition unit is used to acquire the effective noise value of the detection area unit when the number of noise samples n≥2, and the effective noise value of the detection area unit is the weighted average of the noise values of the n noise samples: Where: A is the effective noise value of the detection area unit, in dB; n is the number of noise samples within the detection area unit, and n is a positive integer; a k It is the noise value of the k-th noise sample within the detection area unit, where k is a positive integer, 1≤k≤n; The third sub-acquisition unit is used to acquire the distances D1...D between the detection region unit and each detection region unit in the set when the number of noise samples n=0 within the detection region unit. j ...D N The effective noise value of the detection area unit is obtained according to the following formula: Where: D j Let d be the distance between the detection region unit and the j-th detection region unit in the set, where j is a positive integer, 1≤j≤N; j Let D be the effective distance between the detection region unit and the j-th detection region unit in the set, and when D j <D b At that time, d j =D b When D j ≥D b At that time, d j =D j ;D b It is the unit length; N is the number of coordinates in the set, and N is a positive integer; b j It is the effective noise value of the j-th detection region unit in the set.
5. The apparatus for drawing a noise map as described in claim 4, characterized in that, The first acquisition module includes: A meshing unit is used to divide the detection area into p×q detection area units, where the side length of each detection area unit is one unit length D. b , where p is the number of rows and q is the number of columns, and both p and q are positive integers; The first acquisition unit is used to establish a coordinate system on the detection area and acquire the coordinates of each detection area unit and each acquisition device.
6. An apparatus for drawing a noise map, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it performs the following steps: Obtain the detection area and divide the detection area into several detection area units; Acquire noise samples and, based on the location of the noise sample acquisition device, classify the noise samples into the corresponding detection area units; Based on the noise sample and the location of the detection area unit, the effective noise value of each detection area unit is obtained; Based on the effective noise value, the corresponding detection area unit is rendered according to a predetermined rule to form a noise map; The step of obtaining the effective noise value of each detection region unit based on the noise sample and the position of the detection region unit specifically includes: Based on the coordinates of the noise sample acquisition device and the coordinates of the detection area unit, identify whether the noise sample is included in each detection area unit; For a detection area unit that includes the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit that does not include the noise sample, the effective noise value of the detection area unit is obtained based on the set. For a detection area unit containing the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit not containing the noise sample, the effective noise value of the detection area unit is obtained based on the set, specifically including: When the number of noise samples in the detection area unit is n=1, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the noise value of the noise sample. When the number of noise samples n ≥ 2 within the detection area unit, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the weighted average of the noise values of the n noise samples: Where: A is the effective noise value of the detection area unit, in dB; n is the number of noise samples in the detection area unit, and n is a positive integer; ak is the noise value of the k-th noise sample in the detection area unit, and k is a positive integer, 1≤k≤n; When the number of noise samples within the detection region unit is n = 0, the distances D1...D between the detection region unit and each detection region unit in the set are obtained. j ...D N The effective noise value of the detection area unit is obtained according to the following formula: Where: D j Let d be the distance between the detection region unit and the j-th detection region unit in the set, where j is a positive integer, 1≤j≤N; j Let D be the effective distance between the detection region unit and the j-th detection region unit in the set, and when D j <D b At that time, d j =D b When D j ≥D b At that time, d j =D j ;D b It is the unit length; N is the number of coordinates in the set, and N is a positive integer; b j It is the effective noise value of the j-th detection region unit in the set.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it performs the following steps: Obtain the detection area and divide the detection area into several detection area units; Acquire noise samples and, based on the location of the noise sample acquisition device, classify the noise samples into the corresponding detection area units; Based on the noise sample and the location of the detection area unit, the effective noise value of each detection area unit is obtained; Based on the effective noise value, the corresponding detection area unit is rendered according to a predetermined rule to form a noise map; The step of obtaining the effective noise value of each detection region unit based on the noise sample and the position of the detection region unit specifically includes: Based on the coordinates of the noise sample acquisition device and the coordinates of the detection area unit, identify whether the noise sample is included in each detection area unit; For a detection area unit that includes the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit that does not include the noise sample, the effective noise value of the detection area unit is obtained based on the set. For a detection area unit containing the noise sample, the effective noise value of the detection area unit is obtained based on the location of the noise sample and the detection area unit, and the correspondence between the effective noise value, the coordinates of the monitoring area unit corresponding to the effective noise value, and the coordinates of the detection area unit is stored in a set; for a detection area unit not containing the noise sample, the effective noise value of the detection area unit is obtained based on the set, specifically including: When the number of noise samples in the detection area unit is n=1, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the noise value of the noise sample. When the number of noise samples n ≥ 2 within the detection area unit, the effective noise value of the detection area unit is obtained, and the effective noise value of the detection area unit is the weighted average of the noise values of the n noise samples: Where: A is the effective noise value of the detection area unit, in dB; n is the number of noise samples within the detection area unit, and n is a positive integer; a k It is the noise value of the k-th noise sample within the detection area unit, where k is a positive integer, 1≤k≤n; When the number of noise samples within the detection region unit is n = 0, the distances D1...D between the detection region unit and each detection region unit in the set are obtained. j ...D N The effective noise value of the detection area unit is obtained according to the following formula: Where: D j Let d be the distance between the detection region unit and the j-th detection region unit in the set, where j is a positive integer, 1≤j≤N; j Let D be the effective distance between the detection region unit and the j-th detection region unit in the set, and when D j <D b At that time, d j =D b When D j ≥D b At that time, d j =D j ;D b It is the unit length; N is the number of coordinates in the set, and N is a positive integer; b j It is the effective noise value of the j-th detection region unit in the set.
Citation Information
Patent Citations
Method for building city noise map
CN105513489A
Fast rendering method for three-dimensional noise map of large-area network
CN107564098A