An emergency broadcast control playback method and system based on sound waveforms
By setting up sound collection equipment between the three-way branches, analyzing the sound waveform to determine the whereabouts of the crowd, controlling the broadcasting equipment to send early warnings, the existing problem of inaccurate emergency broadcast control is solved, and flexible early warning effects are achieved, and crowd congestion in scenic spots is avoided.
Patent Information
- Application Number
- CN202510518555.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-04-24
AI Technical Summary
The existing emergency broadcast control methods are not accurate enough when playing, and cannot effectively provide flexible early warnings for crowd traffic, resulting in possible road congestion and stampede incidents.
By setting up sound acquisition equipment between the branches of the three-way road, monitoring sound data and analyzing sound waveforms, judging the whereabouts of the crowd based on sound characteristics, and controlling the broadcasting equipment to send early warning information.
Emergency broadcast control based on sound waveforms is realized, and flexible warnings can be made for crowd traffic accurately to avoid road congestion and stampede incidents caused by tourist groups in scenic spots.
Smart Images

Figure CN120034282B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of broadcast control, and particularly relates to an emergency broadcast control and playback method and system based on sound waveforms. Background Art
[0002] When broadcast devices perform emergency playback, generally, corresponding emergency playback plans are formulated in advance according to conditions such as event types, broadcast times, target areas, etc., and then played in sequence according to the playlist, which is relatively inaccurate; or manual playback is performed based on the information actively monitored by staff, which is relatively cumbersome and inconvenient. It can be seen that the above methods all have drawbacks and cannot accurately control the emergency broadcast for playback, resulting in the inability to obtain clear warning information. Summary of the Invention
[0003] The purpose of the present invention is to provide an emergency broadcast control and playback method and system based on sound waveforms. By analyzing and judging the sound direction through the sound collection devices arranged between the branches of the three-way intersection, the broadcast devices arranged at the centers of other three-way intersections associated therewith are controlled to send warning information according to the analysis and judgment results.
[0004] To solve the above technical problems, the present invention adopts the following solutions:
[0005] An emergency broadcast control and playback method based on sound waveforms, the method comprising the following steps:
[0006] S0. Obtain the branch connection relationship between the three-way intersections according to the map of the target area. Sound collection devices are arranged between the branches of the three-way intersections, and the distances between the sound collection devices and the centers of the three-way intersections are equal;
[0007] S1. Monitor the sound data through the sound collection device. If the sound data detected on the current sound collection device exceeds the threshold, take the current time point as the first time point and go to step S2;
[0008] S2. Continuously monitor the sound data of the current sound collection device from the first time point. When the sound data at a continuous number of time points are all within the daily area, calculate the corresponding period to be determined;
[0009] S3. On the three-way intersection, starting from the current sound collection device, extract the sound data of other sound collection devices during the period to be determined on both sides. Take the other sound collection devices as the devices to be determined according to the sound data of the other sound collection devices during the period to be determined, and then go to step S4;
[0010] S4. Analyze based on the positional relationship between the current sound collection device and the device to be determined, as well as the characteristics of the sound data of the device to be determined during the period to be determined, and obtain the branch corresponding to the sound destination.
[0011] S5. According to the branch connection relationship, find other three-way intersections connected to the branch corresponding to the sound destination, and control the broadcast devices set at the centers of the other three-way intersections to give early warnings.
[0012] Further, in S1, the process of monitoring sound data by the sound collection device is as follows:
[0013] Collect sound from the three-way intersection by the sound collection device, perform audio processing on the collected sound, obtain the amplitude and time point of the sampling point in real time according to the sampling frequency, and draw a sound waveform diagram with the amplitude and time point of the sampling point; then monitor the amplitude of the sampling point on the sound waveform diagram. When it is detected that the amplitude exceeds the threshold, take the corresponding time point as the first time point.
[0014] Further, in S2, the daily area is the lowest amplitude interval preset in advance on the sound waveform diagram. The process of monitoring the sound data of the current sound collection device in real time starting from the first time point is as follows:
[0015] Monitor the amplitude of the sampling point on the sound waveform diagram corresponding to the current sound collection device in real time starting from the first time point. When the amplitudes of several consecutive time points on the sound waveform diagram are all within the lowest amplitude interval, then select any time point in the lowest amplitude interval as the second time point, and use the time period between the first time point and the second time point as the period to be determined.
[0016] Further, the step S3 includes the following steps:
[0017] S30. Starting from the current sound collection device on the three-way intersection, regard the sound collection devices on both sides of it as the current other sound collection devices.
[0018] S31. Extract the amplitude data corresponding to the period to be determined on the sound waveform diagram of the current other sound collection devices.
[0019] S32. Judge whether there is an ascending stage in the amplitude change corresponding to the period to be determined on the sound waveform diagram of the current other sound collection devices. If so, go to step S33.
[0020] S33. Calculate the maximum amplitude difference corresponding to the period to be determined on the sound waveform diagram of the current other sound collection devices respectively, and judge whether the maximum amplitude difference is greater than the lowest preset value. If so, regard the current other sound collection device as the device to be determined, and go to step S4.
[0021] Further, the step S4 includes the following steps:
[0022] S41. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the current sound collection device, and divide the to-be-determined time period into a front time period and a back time period according to this time point;
[0023] S42. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the to-be-determined device, match this time point with the corresponding to-be-determined time period, and obtain the to-be-determined devices whose time points fall on the back time period and the to-be-determined devices whose time points fall on the front time period;
[0024] S43. Determine whether the to-be-determined devices whose time points fall on the front time period meet the determination conditions, and obtain the branch corresponding to the sound destination according to the judgment result and the positional relationship between the current sound collection device and the to-be-determined devices.
[0025] Further, in S43, the process of determining whether the to-be-determined devices whose time points fall on the front time period meet the determination conditions is as follows:
[0026] Determine whether the amplitude change corresponding to the to-be-determined time period on the sound waveform diagram of the to-be-determined devices whose time points fall on the front time period has a descending stage. If so, calculate the absolute value of the slope of its descending stage;
[0027] And, calculate the absolute value of the slope of the back time period, compare the absolute values of the two slopes. When the absolute value of the slope of the descending stage is less than the absolute value of the slope of the back time period, it is determined that the to-be-determined devices whose time points fall on the front time period meet the determination conditions; when the absolute value of the slope of the descending stage is greater than the absolute value of the slope of the back time period, it is determined that the to-be-determined devices whose time points fall on the front time period do not meet the determination conditions.
[0028] Further, the process of obtaining the branch corresponding to the sound destination according to the judgment result and the positional relationship between the current sound collection device and the to-be-determined devices is as follows:
[0029] When the to-be-determined devices whose time points fall on the front time period meet the determination conditions, mark the branch between the current sound collection device and the to-be-determined devices whose time points fall on the back time period as the branch corresponding to the sound destination; when the to-be-determined devices whose time points fall on the front time period do not meet the determination conditions, then mark the branch between the to-be-determined devices whose time points fall on the back time period and the to-be-determined devices whose time points fall on the front time period as the branch corresponding to the sound destination.
[0030] Further, in S42, after obtaining the devices to be determined with time points falling in the latter time period and the devices to be determined with time points falling in the former time period, mark the branch between the current sound collection device and the device to be determined with a time point falling in the former time period as the branch corresponding to the sound source location.
[0031] Further, in S5, control the broadcast devices set at other three-way intersection centers to give an alarm. The alarm means controlling the broadcast devices set at other three-way intersection centers to play alarm information for prompting tourists. The alarm information includes audio information with a large number of people on the branch corresponding to the sound destination.
[0032] An emergency broadcast control and playback system based on sound waveforms, applying the above-mentioned emergency broadcast control and playback method based on sound waveforms, includes:
[0033] Branch connection relationship acquisition module: Obtain the branch connection relationship between three-way intersections according to the map of the target area. Sound collection devices are arranged between the branches of the three-way intersections, and the distances between the sound collection devices and the three-way intersection centers are equal;
[0034] Sound monitoring module: Monitor sound data through the sound collection device. If the sound data detected on the current sound collection device exceeds the threshold, take the current time point as the first time point;
[0035] Pending determination time period acquisition module: Continuously monitor the sound data of the current sound collection device from the first time point. When the sound data at a continuous number of time points is within the daily area, calculate the corresponding pending determination time period;
[0036] Pending determination device acquisition module: Starting from the current sound collection device on the three-way intersection, extract the sound data of other sound collection devices during the pending determination time period to both sides, and use other sound collection devices as the pending determination devices according to the sound data of other sound collection devices during the pending determination time period;
[0037] Sound destination calculation module: Analyze based on the positional relationship between the current sound collection device and the pending determination device and the characteristics of the sound data of the pending determination device during the pending determination time period to obtain the branch corresponding to the sound destination;
[0038] Emergency module: Find other three-way intersections connected to the branch corresponding to the sound destination according to the branch connection relationship, and control the broadcast devices set at the centers of other three-way intersections to give an alarm.
[0039] The beneficial effects of the present invention:
[0040] The present invention provides an emergency broadcast control and playback method and system based on sound waveforms, which changes the fixed playback form of existing emergency broadcasts to selecting broadcast devices based on sound waveforms to send accurate warning messages, enabling flexible warning according to the crowd flow. It is mainly for use in scenic spots, which can avoid stampede incidents caused by crowded roads due to a large number of tour groups during holidays in scenic spots. Specifically, the emergency broadcast control and playback method mainly collects the sounds generated by the crowd on a three-way intersection through sound collection devices set between the branches of the three-way intersection to form sound waveforms, and then analyzes the characteristics of the sound waveforms generated according to different walking directions of the crowd to realize the analysis and judgment of the sound destinations of the three-way intersection. According to the analysis and judgment results, it controls the broadcast devices set at the centers of other associated three-way intersections to send warning messages. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic flow chart of an emergency broadcast control and playback method based on sound waveforms in Embodiment 1 of the present invention;
[0042] Figure 2 It is a schematic structural diagram of the sound collection device set on the three-way intersection in Embodiment 1 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0043] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and in no way constitutes a limitation on the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0044] Unless otherwise specifically stated, the relative arrangements, numerical expressions, and numerical values of the components and steps described in these embodiments do not limit the scope of the present invention.
[0045] At the same time, it should be understood that, for the sake of convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0046] In addition, for the sake of clarity and conciseness, the descriptions of well-known structures, functions, and configurations may be omitted. Those of ordinary skill in the art will recognize that various changes and modifications can be made to the examples described herein without departing from the spirit and scope of the present disclosure.
[0047] The technologies, methods, and devices known to those of ordinary skill in the relevant fields may not be discussed in detail, but where appropriate, the said technologies, methods, and devices should be regarded as part of the authorization specification.
[0048] In all the examples shown and discussed here, any specific value should be construed as merely exemplary and not as a limitation. Thus, other examples of the exemplary embodiments may have different values.
[0049] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments:
[0050] Embodiment 1
[0051] Since there are usually many tour groups in scenic spots during holidays, especially some senior tour groups. Not only are the numbers large, but they usually move together under the leadership of the team leader to avoid accidents. However, when a large number of people move together, it is extremely easy to cause crowd congestion on the roads during peak hours, and crowd congestion is a major cause of stampede incidents. Therefore, it is necessary to avoid this phenomenon as much as possible.
[0052] To solve the above problems, considering the characteristics of a large number of people moving together in a tour group, first, when a large number of people move together in an actual scenario, a relatively large sound will definitely be generated. And in a tour group, the team leader usually uses a loudspeaker to shout at the members of the tour group or introduce the scenic spots to prevent people from getting lost. In this scenario, a relatively large sound will also be generated. Therefore, in this embodiment, an emergency broadcast control and playback method based on sound waveforms is provided, as Figure 1 shown, including the following steps:
[0053] S0. Obtain the branch connection relationship between the three-way intersections according to the map of the target area;
[0054] S1. Monitor the sound data through a sound collection device. If the sound data detected on the current sound collection device exceeds the threshold, take the current time point as the first time point and go to step S2;
[0055] S2. Continuously monitor the sound data of the current sound collection device from the first time point. When the sound data at a continuous number of time points are all within the daily area, calculate the corresponding period to be determined;
[0056] S3. On the three-way road, starting from the current sound collection device, extract the sound data of other sound collection devices during the period to be determined on both sides. Use other sound collection devices as the devices to be determined according to the sound data of other sound collection devices during the period to be determined, and then go to step S4;
[0057] S4. Analyze according to the positional relationship between the current sound collection device and the device to be determined and the characteristics of the sound data of the device to be determined during the period to be determined, and obtain the branch corresponding to the sound destination;
[0058] S5. Find other intersections connected to the branch corresponding to the sound destination according to the branch connection relationship, and control the broadcast device set at the center of the other intersections to give an early warning.
[0059] Specifically, the intersection refers to the junction of three branches. It is rather troublesome to manually analyze the direction of tourists at this junction. However, for a junction with two branches, it is relatively easy to obtain the destination of tourists. Therefore, in this embodiment, the sound collection devices are mainly set for the intersections commonly appearing in the scenic area, so as to collect and analyze the sound, and then control the broadcast device to play targeted according to the result of the sound collection and analysis. Among them, the broadcast device can be set at the center of the intersection. By adjusting the distance between the sound collection device and the broadcast device and the volume of the sound played by the broadcast device, the sound played by the broadcast device will not have a great impact on the sound collection device.
[0060] The sound collection device can be a device such as a radio microphone. Sound collection devices are arranged between the branches of the intersection, that is, three sound collection devices are respectively arranged at the included angles between the branches. The sounds generated at the intersection are collected by the three sound collection devices. Since the sound spreads in all directions, the distance between the position where the sound is generated and the three sound collection devices will also affect the sound waveform collected by the sound collection device. Therefore, in this embodiment, as Figure 2 shown, the distances d between the three sound collection devices and the center of the intersection are equal. Then the sound collection devices are all arranged on an arc with the center of the intersection as the center of the circle. Optimally, the included angles of the three branches are equal and the three sound collection devices are arranged on the angle bisectors of the included angles, so that the distances between the sound collection devices and the branches are also equal, excluding the influence of the distance on the sound volume. By analyzing the sound waveforms collected by the three sound collection devices, the position where the sound is generated can be clearly known.
[0061] In one embodiment, in S1, the process of monitoring the sound data by the sound collection device is as follows:
[0062] The sound collection device collects the sound at the intersection, processes the collected sound into audio, and obtains the amplitude and time point of the sampling point in real time according to the sampling frequency. A sound waveform diagram is drawn with the amplitude and time point of the sampling point; then the amplitude of the sampling point on the sound waveform diagram is monitored. When it is detected that the amplitude exceeds the threshold, the corresponding time point is used as the first time point.
[0063] Specifically, when collecting sounds at a three-way intersection using a sound collection device, the duration information of the audio file and the amplitude information of each sampling point can be obtained through the sampling frequency. The amplitude information of the sampling points is normalized, and the amplitude of each sampling point can be between 0 and 255. The amplitude information of one sampling point is converted into a pixel point on the image. The time point of the sampling point is used as the abscissa information of the image pixel point, and the amplitude information of the sampling point is used as the ordinate information of the image pixel point. The adjacent pixel points plotted on the image are connected by a smooth curve to obtain a sound waveform diagram.
[0064] In one embodiment, in S2, the daily area is a pre-set lowest amplitude interval on the sound waveform diagram. The process of real-time monitoring of the sound data of the current sound collection device starting from the first time point is as follows:
[0065] Starting from the first time point, the amplitude of the sampling points on the sound waveform diagram corresponding to the current sound collection device is monitored in real time. When the amplitudes of a continuous number of time points on the sound waveform diagram are all within the lowest amplitude interval, any time point within the lowest amplitude interval is selected as the second time point, and the time period between the first time point and the second time point is used as the time period to be determined.
[0066] Specifically, when the sound data detected by the sound collection device exceeds the threshold, it can indicate that the sound generated near the current sound collection device is relatively large, and thus the flow of people near the current sound collection device is relatively large. Among them, the threshold can be preset according to the sounds generated during the period when the crowd flow in the scenic area is large, and the threshold is used to trigger the sound collection device to perform removal analysis on the crowd that generates a relatively large sound.
[0067] When the amplitudes of a continuous number of time points on the sound waveform diagram are all within the lowest amplitude interval, it can indicate that no relatively large sound is generated near the current sound collection device, that is, the crowd with a relatively large flow has moved away from near the current sound collection device. The lowest amplitude interval refers to an interval range that includes the preset lowest amplitude. The preset lowest amplitude can be preset according to the sounds generated during the period when the scenic area is closed or the crowd flow is small. Through the lowest amplitude, the time period when the crowd with a relatively large flow passes by the current sound collection device, that is, the time period to be determined, can be obtained.
[0068] In one embodiment, the step S3 includes the following steps:
[0069] S30: Starting from the current sound collection device on the three-way intersection, use the sound collection devices on both sides of it as the current other sound collection devices;
[0070] S31: Extract the amplitude data corresponding to the time period to be determined on the sound waveform diagram of the current other sound collection devices;
[0071] S32. Determine whether the amplitude change corresponding to the period to be determined on the sound waveform diagram of the current other sound collection device has an ascending stage. If so, proceed to step S33;
[0072] S33. Calculate the maximum amplitude difference corresponding to the period to be determined on the sound waveform diagram of the current other sound collection device respectively, and determine whether the maximum amplitude difference is greater than the lowest preset value. If so, regard the current other sound collection device as the device to be determined, and proceed to step S4.
[0073] Specifically, in Figure 2 there are three sound collection devices S1, S2, and S3. If the current sound collection device is S1, then regard the two adjacent sound collection devices S2 and S3 as the current other sound collection devices, extract the amplitude data corresponding to the period to be determined on the sound waveform diagram of both, and determine whether the amplitude change of the amplitude data has an ascending stage respectively. The ascending stage means that the amplitudes at a series of consecutive time points within this period increase successively, indicating that the current other sound collection devices also have a period of increased sound due to the passing of the crowd flow, and then this period can be further analyzed.
[0074] If the current other sound collection devices do not have an ascending stage, it means that the sound generated at the current sound collection device S1 does not affect the adjacent sound collection devices. It may be that the sound does not move, but only increases and then decreases at the current sound collection device S1, or there may be problems with the adjacent sound collection devices and they need to be repaired. At this time, active judgment can be made by the staff.
[0075] Moreover, the lowest preset value can also be preset according to the sounds generated during the period when there is a large crowd flow in the scenic area. When the maximum amplitude difference corresponding to the period to be determined on the sound waveform diagram of the other sound collection device is less than the lowest preset value, it can also indicate that the increase in the sound collected by the other sound collection device is not caused by the passing of a large crowd, but may be the noise at its location.
[0076] In one embodiment, the step S4 includes the following steps:
[0077] S41. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the current sound collection device, and divide the period to be determined into a front period and a back period according to this time point;
[0078] S42. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the device to be determined, match this time point with the corresponding period to be determined, and obtain the devices to be determined whose time points fall in the back period and the devices to be determined whose time points fall in the front period;
[0079] S43. Determine whether the device to be determined at the time point falling within the previous time period meets the determination condition, and obtain the branch corresponding to the sound destination according to the determination result and the positional relationship between the current sound collection device and the device to be determined.
[0080] In one embodiment, in S43, the process of determining whether the device to be determined at the time point falling within the previous time period meets the determination condition is as follows:
[0081] Determine whether the amplitude change corresponding to the time period to be determined on the sound waveform diagram of the device to be determined at the time point falling within the previous time period has a descending stage. If so, calculate the absolute value of the slope of its descending stage;
[0082] Moreover, calculate the absolute value of the slope of the subsequent time period, and compare the absolute values of the two slopes. When the absolute value of the slope of the descending stage is less than the absolute value of the slope of the subsequent time period, it is determined that the device to be determined at the time point falling within the previous time period meets the determination condition; when the absolute value of the slope of the descending stage is greater than the absolute value of the slope of the subsequent time period, it is determined that the device to be determined at the time point falling within the previous time period does not meet the determination condition.
[0083] Specifically, in Figure 2 there are three sound collection devices S1, S2, and S3. If the current sound collection device is S1, then the sound collection devices S2 and S3 on its two sides are used as the current devices to be determined, and branch 1 between the current sound collection device S1 and the current device to be determined S2, branch 2 between the current sound collection device S2 and the current device to be determined S3, and branch 3 between the current sound collection device S3 and the current device to be determined S1 are obtained. If a crowd with a large flow rate walks from branch 1 to branch 2, it can be seen that the current device to be determined S2 is the device to be determined at the time point falling within the previous time period, and the current device to be determined S3 is the device to be determined at the time point falling within the subsequent time period. Then calculate the absolute value of the slope of the descending stage of the current device to be determined S2 and the absolute value of the slope of the subsequent time period of the current sound collection device S1. Since the sound destination is branch 2, and the current device to be determined S2 is close to branch S2, it can be obtained that the rate of the maximum amplitude drop at the current sound collection device S1 is faster than the rate of the maximum amplitude drop at the current device to be determined S2.
[0084] Based on the above principle, by comparing the slope of the amplitude of the descending stage of the device to be determined with the time point falling in the previous time period with the slope of the descending amplitude of the current sound collection device in the subsequent time period, the sound destination of the crowd currently generating a relatively large sound can be analyzed. For example, if the absolute value of the slope of the amplitude of the current sound collection device S1 in the subsequent time period is greater than the absolute value of the slope of the amplitude at the current device to be determined S2, it indicates that the sound destination of the crowd is branch 2; if the absolute value of the slope of the amplitude of the current sound collection device S1 in the subsequent time period is smaller than the absolute value of the slope of the amplitude at the current device to be determined S2, it indicates that the sound destination of the crowd is branch 3.
[0085] In one embodiment, the process of obtaining the branch corresponding to the sound destination according to the judgment result and the positional relationship between the current sound collection device and the device to be determined is as follows:
[0086] When the device to be determined with the time point falling in the previous time period meets the judgment condition, mark the branch between the current sound collection device and the device to be determined with the time point falling in the subsequent time period as the branch corresponding to the sound destination; when the device to be determined with the time point falling in the previous time period does not meet the judgment condition, mark the branch between the device to be determined with the time point falling in the subsequent time period and the device to be determined with the time point falling in the previous time period as the branch corresponding to the sound destination.
[0087] In one embodiment, in S42, after obtaining the device to be determined with the time point falling in the subsequent time period and the device to be determined with the time point falling in the previous time period, mark the branch between the current sound collection device and the device to be determined with the time point falling in the previous time period as the branch corresponding to the sound origin.
[0088] In one embodiment, in S5, control the broadcast devices set at other three-way intersections to give an early warning. The early warning refers to controlling the broadcast devices set at other three-way intersections to play early warning information for prompting tourists. The early warning information includes audio information with a large number of people on the branch corresponding to the sound destination.
[0089] In summary, the present invention provides an emergency broadcast control and playback method and system based on sound waveforms, which changes the fixed playback form of the existing emergency broadcast to selecting a broadcast device based on the sound waveform to send accurate early warning information, and can give a flexible early warning according to the crowd flow. It is mainly used for scenic spots and can avoid stampede incidents caused by crowded roads due to a large number of tour groups during holidays in scenic spots.
[0090] Embodiment 2
[0091] An emergency broadcast control and playback system based on sound waveforms, applying the above-mentioned emergency broadcast control and playback method based on sound waveforms, includes:
[0092] Branch connection relationship acquisition module: Obtain the branch connection relationship between three-way intersections according to the map of the target area. Sound collection devices are arranged between the branches of each three-way intersection, and the distances between the sound collection devices and the centers of the three-way intersections are equal;
[0093] Sound monitoring module: Monitor the sound data through the sound collection device. If the sound data detected on the current sound collection device exceeds the threshold, the current time point is taken as the first time point;
[0094] Pending determination time period acquisition module: Continuously monitor the sound data of the current sound collection device from the first time point. When the sound data at a continuous number of time points is within the daily area, calculate the corresponding pending determination time period;
[0095] Pending determination device acquisition module: On the three-way intersection, starting from the current sound collection device, extract the sound data of other sound collection devices during the pending determination time period on both sides, and use the other sound collection devices as the pending determination devices according to the sound data of the other sound collection devices during the pending determination time period;
[0096] Sound destination calculation module: Analyze according to the positional relationship between the current sound collection device and the pending determination devices and the characteristics of the sound data of the pending determination devices during the pending determination time period to obtain the branch corresponding to the sound destination;
[0097] Emergency module: According to the branch connection relationship, find other three-way intersections connected to the branch corresponding to the sound destination, and control the broadcast devices arranged at the centers of the other three-way intersections to give early warnings.
[0098] The above is only a preferred embodiment of the present invention, and does not impose any form of limitation on the present invention. Based on the technical essence of the present invention, any simple modifications, equivalent replacements, and improvements made to the above embodiments within the spirit and principles of the present invention still fall within the protection scope of the technical solution of the present invention.
Claims
1. An emergency broadcast control and playback method based on sound waveforms, characterized in that, The emergency broadcast control and playback method includes the following steps: S0. Obtain the branch connection relationship between the three-way intersections according to the map of the target area. Sound collection devices are arranged between the branches of each three-way intersection, and the distances between the sound collection devices and the centers of the three-way intersections are equal; S1. Monitor the sound data through the sound collection device. If the sound data detected on the current sound collection device exceeds the threshold, take the current time point as the first time point and go to step S2; S2. Continuously monitor the sound data of the current sound collection device from the first time point. When the sound data at a continuous number of time points is within the daily area, calculate the corresponding period to be determined. The daily area is the lowest amplitude interval preset on the sound waveform diagram; S3. Starting from the current sound collection device on the three-way intersection, extract the sound data of other sound collection devices during the period to be determined on both sides. Use other sound collection devices as the devices to be determined according to the sound data of other sound collection devices during the period to be determined, and then go to step S4; S4. Analyze according to the positional relationship between the current sound collection device and the device to be determined and the characteristics of the sound data of the device to be determined during the period to be determined, and obtain the branch corresponding to the sound destination; S5. According to the branch connection relationship, find other three-way intersections connected by the branch corresponding to the sound destination, and control the broadcast devices set at the centers of other three-way intersections to give early warnings.
2. The emergency broadcast control playback method based on a sound waveform according to claim 1, wherein, In S1, the process of monitoring the sound data through the sound collection device is as follows: Collect sound from the three-way intersection through the sound collection device, perform audio processing on the collected sound, obtain the amplitude and time point of the sampling point in real time according to the sampling frequency, and draw a sound waveform diagram with the amplitude and time point of the sampling point; then monitor the amplitude of the sampling point on the sound waveform diagram. When it is detected that the amplitude exceeds the threshold, take the corresponding time point as the first time point.
3. The emergency broadcast control and playback method based on sound waveforms according to claim 2, characterized in that, In S2, the process of continuously monitoring the sound data of the current sound collection device from the first time point is as follows: Continuously monitor the amplitude of the sampling point on the sound waveform diagram corresponding to the current sound collection device from the first time point. When the amplitudes at a continuous number of time points on the sound waveform diagram are all within the lowest amplitude interval, select any time point in the lowest amplitude interval as the second time point, and use the time period between the first time point and the second time point as the period to be determined.
4. The emergency broadcast control playback method based on a sound waveform according to claim 2, wherein The step S3 includes the following steps: S30. Starting from the current sound collection device on the three-way intersection, regard the sound collection devices on both sides of it as the current other sound collection devices; S31. Extract the amplitude data corresponding to the period to be determined on the sound waveform diagram of the current other sound collection devices; S32. Judge whether there is an ascending stage in the amplitude change of the current other sound collection devices corresponding to the period to be determined on the sound waveform diagram. If so, go to step S33; S33. Calculate the maximum amplitude difference corresponding to the period to be determined on the sound waveform diagram of the current other sound collection devices respectively, and judge whether the maximum amplitude difference is greater than the lowest preset value. If so, regard the current other sound collection devices as the devices to be determined and go to step S4.
5. The emergency broadcast control and playback method based on sound waveforms according to claim 2, wherein, The step S4 includes the following steps: S41. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the current sound collection device, and divide the to-be-determined time period into a front time period and a back time period according to this time point; S42. Find the time point corresponding to the maximum amplitude on the sound waveform diagram of the to-be-determined device, match this time point with the corresponding to-be-determined time period, and obtain the to-be-determined devices with time points falling on the back time period and the to-be-determined devices with time points falling on the front time period; S43. Determine whether the to-be-determined devices with time points falling on the front time period meet the determination conditions, and obtain the branch corresponding to the sound destination according to the determination result and the positional relationship between the current sound collection device and the to-be-determined devices.
6. The emergency broadcast control playback method based on a sound waveform according to claim 5, characterized in that In S43, the process of determining whether the to-be-determined devices with time points falling on the front time period meet the determination conditions is as follows: Determine whether the amplitude change corresponding to the to-be-determined time period on the sound waveform diagram of the to-be-determined devices with time points falling on the front time period has a descending stage. If so, calculate the absolute value of the slope of its descending stage; Moreover, calculate the absolute value of the slope of the back time period of the sound waveform diagram of the current sound collection device, and compare the absolute values of the two slopes. When the absolute value of the slope of the descending stage is less than the absolute value of the slope of the back time period, it is determined that the to-be-determined devices with time points falling on the front time period meet the determination conditions; When the absolute value of the slope of the descending stage is greater than the absolute value of the slope of the back time period, it is determined that the to-be-determined devices with time points falling on the front time period do not meet the determination conditions.
7. A method for controlling and playing an emergency broadcast based on a sound waveform according to claim 5, characterized in that, The process of obtaining the branch corresponding to the sound destination according to the determination result and the positional relationship between the current sound collection device and the to-be-determined devices is as follows: When the to-be-determined devices with time points falling on the front time period meet the determination conditions, mark the branch between the current sound collection device and the to-be-determined devices with time points falling on the back time period as the branch corresponding to the sound destination; When the to-be-determined devices with time points falling on the front time period do not meet the determination conditions, mark the branch between the to-be-determined devices with time points falling on the back time period and the to-be-determined devices with time points falling on the front time period as the branch corresponding to the sound destination.
8. A method for controlling and playing an emergency broadcast based on a sound waveform according to claim 5, characterized in that, In S42, after obtaining the to-be-determined devices with time points falling on the back time period and the to-be-determined devices with time points falling on the front time period, mark the branch between the current sound collection device and the to-be-determined devices with time points falling on the front time period as the branch corresponding to the sound source location.
9. The emergency broadcast control playback method based on a sound waveform according to claim 1, characterized in that, In S5, control the broadcast devices set at other three-way intersection centers to give early warnings. The early warning refers to controlling the broadcast devices set at other three-way intersection centers to play early warning information for prompting tourists. The early warning information includes audio information with a large number of people on the branch corresponding to the sound destination.
10. An emergency broadcast control playback system based on sound waveforms, characterized in that, Applying a method for controlling and playing emergency broadcasts based on sound waveforms as described in any one of claims 1-9, includes: Branch connection relationship obtaining module: Obtain the branch connection relationship between three-way intersections according to the map of the target area. Sound collection devices are arranged between the branches of the three-way intersections, and the distances between the sound collection devices and the three-way intersection centers are equal; Sound monitoring module: Monitor sound data through a sound acquisition device. If the sound data detected on the current sound acquisition device exceeds the threshold, the current time point is taken as the first time point; Pending determination time period acquisition module: Continuously monitor the sound data of the current sound acquisition device in real time starting from the first time point. When the sound data at a number of consecutive time points are all within the daily range, calculate the corresponding pending determination time period; Pending determination device acquisition module: Starting from the current sound acquisition device at a three-way intersection, extract the sound data of other sound acquisition devices during the pending determination time period on both sides, and use the other sound acquisition devices as the pending determination devices according to the sound data of the other sound acquisition devices during the pending determination time period; Sound destination calculation module: Analyze based on the positional relationship between the current sound acquisition device and the pending determination devices and the characteristics of the sound data of the pending determination devices during the pending determination time period to obtain the branch corresponding to the sound destination; Emergency module: Find other three-way intersections connected to the branch corresponding to the sound destination according to the branch connection relationship, and control the broadcast devices set at the centers of the other three-way intersections to give early warnings.
Citation Information
Patent Citations
Scenic spot emergency broadcast playing method and device for passenger flow management, and medium
CN119316080A
Device and method for determining a sound source direction
US20190082257A1