Civil air defense digital alarm integrated system and control method
By introducing multi-level scenario modes and instruction priority judgment mechanisms in the civil defense alarm system, the response delay and false triggering problems of traditional systems in emergency situations are solved, and more efficient and accurate alarm response is achieved.
Patent Information
- Application Number
- CN202411542622.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-11
AI Technical Summary
Traditional civil defense alarm systems lack intelligent scenario switching and instruction priority distinction in emergency situations, resulting in delayed response or false triggering.
Design a digital alarm system for civil defense, by defining multiple scenario modes, each scenario mode contains a control parameter group and is executed according to timestamps or trigger conditions. The system obtains switching instructions in real time, judges the command priority, and performs corresponding alarm operations based on the matching environment information and preset interference elements.
It realizes intelligent switching and instruction priority management of the system in different situations, improves the accuracy and timeliness of alarm responses, and avoids response delays or false triggers.
Smart Images

Figure CN119418497A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of control of a civil air defense digital alarm integrated system, and in particular to a civil air defense digital alarm integrated system and a control method. Background Art
[0002] At present, civil air defense alarm systems usually adopt fixed preset modes and lack intelligent scenario switching functions based on real-time environment and multiple command priorities. In emergency situations, the system cannot effectively distinguish the priorities of key input, remote control, alarm triggering and timing commands, resulting in response delays or false triggering when multiple commands are triggered at the same time, and the alarm mode cannot be flexibly adjusted according to on-site needs. For example, in an emergency, if a remote command conflicts with a local manually triggered command, traditional systems often cannot respond reasonably according to the command priority, which will cause confusion in alarm operation or execution delays, thereby affecting the timeliness and effectiveness of the alarm, so there is room for improvement. Summary of the invention
[0003] In order to solve the problem that traditional civil air defense alarm systems lack intelligent scenario switching in emergency situations and cannot effectively distinguish command priorities, resulting in response delays or false triggering, the present application provides an integrated civil air defense digital alarm system and control method.
[0004] A control method for a civil air defense digital alarm integrated system, wherein the civil air defense digital alarm integrated system is connected to corresponding scene equipment, and the control method for a civil air defense digital alarm integrated system comprises: Defining scenario modes, each scenario mode corresponds to one or more control parameter groups, each control parameter group is executed based on a timestamp or a trigger condition, the scenario modes include an initial scenario mode with a definition number of zero, and a current scenario mode with a definition number of at least one; Determining the instruction priority of the switching instruction, wherein the switching instruction includes a key input instruction, a remote control instruction, an alarm triggering instruction, and a timing control instruction; Acquire the switching instructions in real time, determine whether the switching instructions are the same, if they are the same, execute the switching pending operation corresponding to any of the switching instructions, if they are different, determine the target instruction based on the instruction priority, and then execute the switching pending operation corresponding to the target instruction; Determine the preset interference factor of the initial scene mode or the current scene mode, obtain the current environment information in real time based on the sensor element of the scene device, analyze the current environment information and the preset interference factor to determine the corresponding current interference factor; Determine whether the current interference element matches the switching operation successfully. If the match is successful, convert the pending switching operation into a pending operation, execute a corresponding alarm operation based on the initial scenario mode or the current scenario mode, and redefine the scenario mode. If the match fails, convert the pending switching operation into a switching operation, switch the initial scenario mode or the current scenario mode to a post-switching scenario mode through the switching operation, and execute a corresponding alarm operation based on the post-switching scenario mode.
[0005] By adopting the above technical solution, multiple scenario modes can be defined, each scenario mode contains one or more control parameter groups and is executed according to timestamps or trigger conditions, so that the system can flexibly adapt to different scenario requirements. By setting the initial scenario mode and the current scenario mode, the system has the ability to automatically adapt to different scenarios, ensuring that it can quickly switch to the most suitable scenario mode in different situations, thereby improving the accuracy and timeliness of the alarm response.
[0006] Preferably, the step of defining the scenario mode comprises: Acquire mode requirement information, and extract source type field and source parameter field of the mode requirement information, wherein the mode requirement information includes cloud crawling information and user active input information; Determine an audio source, the audio source comprising a local source directly connected to the integrated civil air defense digital alarm system, and a scene source in the scene device; According to the source type field, a corresponding online audio source is screened out from the audio sources; A control parameter group of the online audio source is determined according to the source parameter field.
[0007] By adopting the above technical solution, the source type field and source parameter field can be extracted according to the mode requirement information, and the cloud crawled information and the user's active input information can be distinguished, so as to accurately determine the audio source, including the local source of the civil air defense system and the scene source of the scene device. The online audio source is filtered through the source type field, and its control parameter group is determined through the source parameter field, so as to achieve accurate identification and effective management of the audio source, ensure the adaptability of the system's audio input in different situations, and improve the audio response efficiency and accuracy of the alarm system.
[0008] Preferably, the step of determining the control parameter group of the successfully matched audio source according to the source parameter field includes: Extracting the interval element and / or the timestamp element of the source parameter field; Determining control parameters of the audio source according to the interval elements; Determining whether the timestamp element is extracted, and if not, encapsulating each of the control parameters into a single control parameter group; If so, multiple time points are determined according to the timestamp element, control parameters at the same time point are encapsulated into a control parameter group, and a role identifier of the corresponding control parameter group is generated according to the time point.
[0009] By adopting the above technical solution, the interval element and timestamp element in the source parameter field can be extracted to determine the control parameters of the audio source. If only the interval element is extracted, each control parameter is encapsulated into a single parameter group; if the timestamp element is extracted, multiple control parameter groups are generated based on different time points and assigned independent action identifiers. This method ensures the flexibility and accuracy of audio source control, especially in scenarios with multiple time period requirements, it realizes effective management of audio sources, thereby improving the adaptability of the system in complex audio switching.
[0010] Preferably, before the step of defining the scenario mode, the method further comprises: If it is detected that the civil air defense digital alarm integrated system enters an adaptive state, determining the exclusive modes of the local database and the preset geographical areas corresponding to each of the exclusive modes; Obtain the current geographic coordinates of the civil air defense digital alarm system in real time; Determine whether the current geographic coordinates fall within a preset geographic area, and if so, determine an exclusive parameter group corresponding to an exclusive mode, and perform a corresponding alarm operation based on the exclusive parameter group; If it does not fall into the preset geographical area, it enters the preparation state of defining the scenario mode.
[0011] By adopting the above technical solution, it is possible to identify and load the exclusive mode of the local database after entering the adaptive state, and detect whether the current geographical coordinates fall into the preset geographical area. If it is in a specific area, the exclusive mode and the corresponding parameter group are automatically determined to perform the corresponding alarm operation; if it is not in a specific area, it enters the scenario mode preparation state. This process makes the system adaptable in multiple geographical areas, improves the regional pertinence of the alarm response and the intelligence of the mode switching.
[0012] Preferably, the step of analyzing the current environment information and the preset interference element to determine the corresponding current interference element includes: Determining an environmental threshold interval according to the preset interference factor; Analyze the current environmental information to determine corresponding environmental parameters; Determine whether the environmental parameter falls within the corresponding environmental threshold interval. If it does not fall within the corresponding environmental threshold interval, determine that the preset interference element is the current interference element. If it falls within the corresponding environmental threshold interval, update the preset interference element and determine that the updated preset interference element is the current interference element.
[0013] By adopting the above technical solution, it is possible to establish an environmental threshold interval according to the preset interference factor, obtain environmental parameters by analyzing the current environmental information, determine whether it is within the threshold interval, and then determine the preset interference factor or its updated value as the current interference factor. Through accurate environmental threshold judgment, the system can accurately identify and respond to environmental changes, realize intelligent interference processing of alarm operations, and ensure the timeliness and effectiveness of alarms in dynamic environments.
[0014] Preferably, the step of performing a corresponding alarm operation based on the initial scene mode, the current scene mode or the scene mode after switching includes: Determining a corresponding control parameter group according to the initial scene mode, the current scene mode or the scene mode after switching; Identify the objects of action of the control parameters in the control parameter group, wherein the objects of action include a civil air defense digital alarm integrated system and scene equipment; Determining a control path according to the action object, wherein the control path is determined by the instruction priority; Based on the control path, the action object performs a corresponding alarm operation.
[0015] By adopting the above technical solution, the control parameter group can be determined according to the initial scenario mode, the current scenario mode or the scenario mode after switching, and the object of action can be identified as the civil air defense alarm system or the scenario equipment, and the control path can be determined according to the command priority, so that the object of action can perform the corresponding alarm operation. This method optimizes the action path and priority management of the control parameters, ensures that the alarm commands in different scenarios are executed according to the priority, and improves the rationality and execution efficiency of the system alarm response.
[0016] A civil air defense digital alarm integrated system uses a control method for the civil air defense digital alarm integrated system, the civil air defense digital alarm integrated system includes a control module, a power amplifier module, a scene switching module and an audio module, the audio module includes multiple audio input units, the control module is provided with a total of multiple audio signal communication terminals, which are respectively connected to the serial communication terminals of each of the audio input units, the scene signal output terminal of the scene switching module is connected to the scene signal input terminal of the control module to output the scene signal to the control module, and then the control module switches the corresponding scene mode according to the scene signal, the serial communication terminal of the power amplifier module is connected to the serial communication terminal of the control module, and the signal output terminal of the power amplifier module is used to connect the alarm source of the civil air defense digital alarm integrated system itself, and / or the alarm source of the scene equipment.
[0017] By adopting the above technical solution, through the collaborative design of the control module, power amplifier module, scene switching module and audio module in the integrated civil air defense digital alarm system, the control module can automatically switch to the corresponding scene mode after receiving the scene signal, and transmit the audio signal to the power amplifier module, thereby achieving rapid response and switching of alarm sources and scene devices, and improving the system's multi-scene adaptability and audio output flexibility.
[0018] Preferably, the audio input unit is a microphone input unit, an extended audio receiving unit, a local audio receiving unit or a network input unit. The microphone input unit is used to receive and input real-time voice signals, the extended audio receiving unit is used to receive and input external audio signals of external devices connected to the extended interface, the local audio receiving unit is used to receive and input local audio signals within the civil defense digital alarm integrated system, and the network input unit is used to receive and input audio signals from remote control and cloud network.
[0019] By adopting the above technical solution, the audio input unit can have a variety of audio signal receiving capabilities, including microphone input, local audio, extended audio and network input, etc., thereby supporting the access of different audio sources, ensuring that the system can flexibly select audio sources according to different scenario requirements, and improving the richness and diversity of the system's alarm response.
[0020] Preferably, the control module includes a contact switch element and a variable resistance element, the signal input end of the network input unit is connected to the first conductive contact of the contact switch element, the signal input end of the microphone input unit is connected to the second conductive contact of the contact switch element, the signal input end of the extended audio receiving unit is connected to the third conductive contact of the contact switch element, the signal input end of the local audio receiving unit is connected to the fourth conductive contact of the contact switch element, the common contact of the contact switch element is connected to the first conductive end of the variable resistance element, the second conductive end of the variable resistance element is grounded, and the variable resistance end of the variable resistance element is connected to the signal input end of the power amplifier module.
[0021] By adopting the above technical solution, the control module can be connected to different audio input units through the contact switch element, so as to realize the precise selection and switching of the audio signal, and control the transmission strength and quality of the audio signal through the variable resistance element, so that the signal remains stable before being transmitted to the power amplifier module, thereby effectively improving the transmission quality of the audio signal and the reliability of the power amplifier output.
[0022] Preferably, the integrated civil air defense digital alarm system also includes an LED display module and a switching power supply module, the signal output end of the control module is connected to the signal input end of the LED display module, and the power input end of the control module is connected to the power output end of the switching power supply module.
[0023] By adopting the above technical solution, an LED display module and a switching power supply module can be added to the alarm system, so that the output signal of the control module directly drives the display module to display the status, and the switching power supply module provides power support, thereby ensuring real-time visualization of the system's working status, improving the alarm system's operational convenience and power supply stability, and helping to improve the system's overall reliability and user experience.
[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. By introducing a multi-level scenario mode definition and command priority judgment mechanism, the intelligent switching of the civil air defense digital alarm system in different scenarios can be realized. Specifically, the method first defines multiple scenario modes, each of which contains one or more control parameter groups and can be executed based on timestamps or trigger conditions to ensure that the system can flexibly switch between the initial scenario mode and the current scenario mode. Then, the method obtains switching commands from different sources (including key input, remote control, alarm triggering, and timing control) and determines the priority between the commands, thereby determining the highest priority target command to trigger the corresponding alarm operation, avoiding response delays or false triggers caused by conflicts between multiple commands; 2. By combining the sensors of the scene equipment to obtain environmental information in real time, it is compared with the preset interference elements of the scene mode to determine whether the current environment meets the triggering conditions of the scene mode. If the current environmental conditions successfully match the interference elements of the scene mode, the predetermined alarm operation is executed and the scene mode is redefined; if they do not match, the switching operation is executed to switch the system to a new scene mode and execute the corresponding alarm operation. This technical means realizes the accurate response of the alarm system under multiple instructions and multiple scenes through intelligent scene mode and command priority judgment, effectively improving the real-time performance and execution reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of a control method of a civil air defense digital alarm integrated system in one embodiment of the present application.
[0026] Figure 2 This is a flowchart for implementing step S10 in a control method for a civil air defense digital alarm integrated system in one embodiment of the present application; Figure 3 This is a flowchart for implementing step S104 in a control method for a civil air defense digital alarm integrated system in one embodiment of the present application; Figure 4 This is another implementation flow chart of a control method for a civil air defense digital alarm integrated system in one embodiment of the present application; Figure 5This is a flowchart for implementing step S40 in a control method for a civil air defense digital alarm integrated system in one embodiment of the present application; Figure 6 This is a flowchart for implementing step S50 in a control method for a civil air defense digital alarm integrated system in one embodiment of the present application; Figure 7 It is a specific structural implementation diagram of a civil air defense digital alarm integrated system in one embodiment of the present application.
[0027] Explanation of the accompanying drawings: 1. Control module; 11. Contact switch element; 12. Variable resistance element; 2. Power amplifier module; 3. Scene switching module; 4. Audio module; 41. Microphone input unit; 42. Extended audio receiving unit; 43. Local audio receiving unit; 44. Network input unit; 5. LED display module; 6. Switching power supply module. DETAILED DESCRIPTION
[0028] The present application is further described in detail below in conjunction with the accompanying drawings.
[0029] In one embodiment, if Figure 1 As shown, the present application discloses a control method for a civil air defense digital alarm integrated system, which specifically includes the following steps: S10, defining scenario modes, each scenario mode corresponds to one or more control parameter groups, each control parameter group is executed based on a timestamp or a trigger condition, and the scenario modes include an initial scenario mode defined a number of times of zero, and a current scenario mode defined a number of times of at least one; In this embodiment, the definition of scenario mode is to enable the system to adapt to different application scenarios so as to perform alarm operations according to specific circumstances. The initial scenario mode is defined as a mode with a number of zero, that is, the default state when the system is started, such as the state when the system is in standby mode and other scenario modes are not activated. The current scenario mode is a mode with a definition number of at least one, that is, the scenario mode entered by the system after startup according to specific conditions, such as a specific alarm mode activated in the case of alarm triggering or timing control. The control parameter group set in each scenario mode is a parameter set that responds according to a timestamp or triggering condition, such as a timed alarm triggered at a specific time point, or a field alarm triggered in the case of key input, which ensures that the system performs corresponding control parameter group operations according to different scenario requirements, thereby improving the response efficiency and accuracy of the system.
[0030] S20, determining the instruction priority of the switching instruction, the switching instruction including a key input instruction, a remote control instruction, an alarm triggering instruction and a timing control instruction; In this embodiment, the priority definition of the switching command enables the system to select the most important command to respond when multiple commands appear. Key input commands are usually manually input by local users and are used for priority response in emergency situations; remote control commands come from the remote control center and are used to remotely switch scene modes; alarm trigger commands are automated or sensor-triggered alarms, which usually have a higher priority; timing control commands are commands triggered based on preset time points. Determining the priority of commands can ensure that the system responds to the most urgent needs according to priority when multiple commands appear at the same time. For example, when a remote control command conflicts with a local key input command, the system will give priority to the key input command to ensure on-site safety and response speed.
[0031] S30, obtaining the switching instructions in real time, determining whether the switching instructions are the same, if they are the same, executing the switching pending operation corresponding to any switching instruction, if they are different, determining the target instruction based on the instruction priority, and then executing the switching pending operation corresponding to the target instruction; In this embodiment, the purpose of real-time acquisition of switching instructions is to ensure that the system can respond to current instruction requirements in a timely manner. When the contents of multiple switching instructions are consistent, the system selects any instruction to perform the operation; if the contents of the instructions are inconsistent, the system selects the most important instruction and executes it according to the priority determined in the previous step. For example, when a conflict occurs between a key input instruction and an alarm trigger instruction, if the priority is set to give priority to the alarm trigger instruction, the system will execute the switching operation of the alarm trigger instruction to quickly enter the alarm mode and ensure the timeliness of the system's response at critical moments. This process effectively prevents system delays or misoperations caused by conflicts between multiple instructions, and ensures the accuracy and reliability of system responses.
[0032] S40, determining the preset interference factor of the initial scene mode or the current scene mode, acquiring the current environment information in real time based on the sensor element of the scene device, analyzing the current environment information and the preset interference factor to determine the corresponding current interference factor; In this embodiment, the determination of the preset interference factors is mainly to enable the system to dynamically adjust the scenario mode according to real-time environmental information. The preset interference factors refer to the environmental conditions or sensor triggering standards required for the system to enter a specific scenario mode, such as environmental parameters such as temperature, humidity, and smoke concentration. The sensor element in the scene device can obtain the current environmental information in real time and compare it with the preset interference factors to determine whether the interference factor conditions are met. For example, in the fire scenario mode, the smoke concentration detected by the sensor element reaches the preset standard and an alarm will be triggered. In this way, the system can automatically identify and respond to environmental changes in different scenarios, ensure that the scenario mode is activated or switched in a suitable environment, and improve the flexibility and intelligence level of the system.
[0033] S50. Determine whether the current interference element matches the switching operation successfully. If the match is successful, convert the pending switching operation into a pending operation, execute the corresponding alarm operation based on the initial scenario mode or the current scenario mode, and redefine the scenario mode. If the match fails, convert the pending switching operation into a switching operation, switch the initial scenario mode or the current scenario mode to a post-switching scenario mode through the switching operation, and execute the corresponding alarm operation based on the post-switching scenario mode.
[0034] In this embodiment, the judgment of whether the match is successful or not directly determines the execution mode of the switching operation. If the current interference element meets the preset conditions, the system will convert the switching pending operation into a pending operation, that is, execute the predetermined alarm operation in the current scene mode or the initial scene mode. For example, in a fire scene, when the smoke concentration reaches the alarm threshold, the system triggers the fire alarm and enters the fire scene mode. If the match fails, the switching pending operation is converted into a switching operation, and the initial or current scene mode is switched to a new scene mode. For example, when it is detected that the environment no longer meets the fire scene mode conditions, it switches to the normal scene mode and executes the corresponding operation. Through this dynamic adjustment mechanism, the system can intelligently judge the adaptability of the current scene and ensure the effective triggering and adjustment of the alarm in different scenes.
[0035] In summary, multiple scenario modes can be defined, each scenario mode contains one or more control parameter groups and is executed according to timestamps or trigger conditions, so that the system can flexibly adapt to different scenario requirements. By setting the initial scenario mode and the current scenario mode, the system has the ability to automatically adapt to different scenarios, ensuring that it can quickly switch to the most suitable scenario mode in different situations, thereby improving the accuracy and timeliness of the alarm response.
[0036] In one embodiment, if Figure 2 As shown, in step S10, that is, defining scenario modes, each scenario mode corresponds to one or more control parameter groups, each control parameter group is executed based on a timestamp or a trigger condition, and the scenario mode includes an initial scenario mode with a definition number of zero and a current scenario mode with a definition number of at least one, including: S101, acquiring pattern requirement information, extracting source type fields and source parameter fields of the pattern requirement information, the pattern requirement information including cloud crawling information and user active input information; In this embodiment, the process of obtaining mode requirement information is to determine the specific requirements of the system under different scenario modes, wherein the source type field is used to identify the source type of the mode requirement, such as whether the information is obtained through cloud crawling or a user-entered instruction. The source parameter field contains detailed parameters in the mode requirement information, such as the specified volume, play order, or play duration. By extracting the source type field and the source parameter field, the system can distinguish mode requirement information from different sources, thereby providing a reliable data basis for subsequent steps and ensuring that the definition of the mode meets the actual needs of the user and the system. For example, in a natural disaster alert scenario, the user can actively input the alarm volume requirement, and the cloud will crawl weather or geological information to dynamically adjust the mode parameters, so that the system can adapt to different needs and achieve personalized and dynamic alarm responses.
[0037] S102, determining an audio source, where the audio source includes a local source directly connected to the integrated civil air defense digital alarm system and a scene source in a scene device; In this embodiment, the purpose of determining the audio source is to ensure that the system can obtain audio data from a suitable audio source in different scenario modes. The local source refers to the source of audio data inside the system or directly connected, such as a built-in alarm sound source or a directly connected extended audio device. This type of audio source is usually a preset or fixed audio. The scene source refers to the audio signal obtained by the scene device, such as the audio content transmitted from an environmental sensor or a remote control device. In different scenario modes, the system will select the corresponding audio source according to the needs to play the appropriate alarm sound or prompt sound. For example, in the quiet mode at night, a low-volume prompt sound from the local source is selected, and in the sudden disaster scene, a scene source is selected to issue a stronger alarm prompt, thereby ensuring that the audio output of the system in each scene meets the actual needs.
[0038] S103, filtering out a corresponding online audio source from the audio source according to the source type field; In this embodiment, the purpose of filtering online audio sources according to the source type field is to select the most suitable audio source for output. The source type field is used to identify the properties of the audio source, such as online source or offline source. Online audio sources refer to the sources of audio signals that the system can currently access and obtain, such as remote network audio, real-time broadcast audio, or real-time sensor data, while offline audio sources are stored audio that cannot be obtained in real time. The system filters out online audio sources according to the source type field to ensure real-time audio transmission and output in scenario mode. For example, when an emergency occurs, the system can give priority to real-time alarm audio under remote control to ensure the immediacy and efficiency of the alarm, rather than using delayed offline audio.
[0039] Furthermore, the specific steps for filtering online audio sources based on the source type field are as follows: First, the system determines whether the current audio source has real-time characteristics, that is, whether it can be accessed at any time and provide instant audio signals, by obtaining the source type field in the mode requirement information. In this process, the source type field is used as an identifier to indicate whether the audio source is an online source or an offline source. Online sources include audio signals connected to the network, such as remote network audio obtained through the Internet, real-time broadcast signals pushed through the cloud, or live audio collected from remote sensors; while offline sources are mostly locally stored audio signals, such as regular prompt sounds or preset alarm audio built into the system.
[0040] When the system determines the type of audio source, it first checks its response time through the interface connection. If the audio source can return a response within the set time, it is determined to be an online audio source; conversely, if the audio source needs to be extracted from the storage or cannot be accessed immediately, it is determined to be an offline audio source. Once the online audio source is screened, the system will match it with the control parameters required by the current scenario mode, and give priority to the audio source for output while ensuring that it meets real-time requirements. For example, in a fire alarm scenario, if the system detects a real-time smoke alarm signal from a remote sensor and identifies its source type as an online audio source, the system will give priority to the real-time audio signal as the alarm output to ensure that the fire alarm can be conveyed immediately and avoid the time delay of offline audio affecting the accuracy and effectiveness of the alarm response.
[0041] S104: Determine a control parameter group of the online audio source according to the source parameter field.
[0042] In this embodiment, the purpose of determining the control parameter group according to the source parameter field is to set detailed control information for the online audio source. The source parameter field contains various parameter information for controlling the audio source, such as volume, play time, play interval, etc. These parameters together constitute the control parameter group. The system generates one or more control parameter groups by extracting the source parameter field to meet the playback requirements of different scenario modes. For example, in the test mode, the control parameter group can set a lower volume and a shorter playback interval, while in the actual disaster mode, the control parameter group will set a higher volume and continuous playback to ensure that the alarm effect meets the situational requirements, thereby achieving personalized control and precise management of audio.
[0043] In summary, the source type field and source parameter field can be extracted according to the pattern requirement information, and the cloud crawled information and the user's active input information can be distinguished, so as to accurately determine the audio source, including the local source of the civil air defense system and the scene source of the scene device. The online audio source is filtered through the source type field, and its control parameter group is determined through the source parameter field, so as to achieve accurate identification and effective management of the audio source, ensure the adaptability of the system's audio input in different situations, and improve the audio response efficiency and accuracy of the alarm system.
[0044] In one embodiment, if Figure 3 As shown, in step S104, that is, the step of determining the control parameter group of the online audio source according to the source parameter field, includes: S1041. Extracting interval elements and / or timestamp elements of the source parameter field; In this embodiment, the interval element and timestamp element in the source parameter field are extracted in order to obtain the control basis of the audio source. The interval element refers to the range conditions of audio playback, such as volume range, frequency range, etc., while the timestamp element refers to the specific time point or time interval of audio playback. By extracting these elements, the system can further refine the control conditions of audio playback so that the audio output can adapt to the needs of different scenarios. For example, in daily reminder scenarios, the interval element can specify a volume range to adapt to lower sound environments, while in emergency alarm scenarios, the timestamp element can ensure that the alarm sound is repeated at a specified time point, thereby improving the timeliness and effectiveness of the alarm.
[0045] Preferably, the system extracts interval elements from the source parameter field, and the interval elements may include range settings such as volume, frequency, and playback duration. In this way, the system can perform segmented control on the parameters of the audio output. For example, in a conventional broadcast scenario, the interval elements are set to a smaller volume range and a lower playback frequency to meet the requirements of the environment; the system further detects whether the source parameter field contains a timestamp element, which refers to a specific time point or time interval for audio playback. The system can set the scheduled playback of audio by identifying the timestamp element. For example, a reminder tone can be specified to be played at specific time periods each day, such as 9 a.m. and 2 p.m., or a low-volume alarm tone can be played at a specific time interval from 10 p.m. to 6 a.m. the next day; the system combines the extracted interval elements and timestamp elements into one or more control parameter groups. If the timestamp element does not exist, all interval parameters are encapsulated into a control parameter group; if the timestamp element exists, the system divides multiple control parameter groups according to the time point, and each control parameter group corresponds to a different playback time point or interval; suppose the system needs to output segmented alarms at different time periods every day: Regular reminder: The system plays ordinary reminder sounds at fixed time points such as 9 am, 2 pm, and 8 pm. At this time, the timestamp element will contain the above specific time points, and the playback frequency and volume of each time point are encapsulated into a control parameter group, so that the system can perform audio output at the preset time point. Night alarm mode: In the time interval from 10 pm to 6 am the next day, the system uses low volume and low frequency audio control to reduce the impact on the surrounding environment. The system uses this time interval as a timestamp element, sets a suitable volume and frequency range, and generates a control parameter group for low volume alarms at night. In this way, when the system detects that the current time is within this interval, it will automatically select this control parameter group for low frequency playback. In this way, the system can automatically select the appropriate audio output method according to time and environmental requirements to ensure the rationality and effectiveness of the alarm.
[0046] S1042, determining a control parameter of the audio source according to the interval element; In this embodiment, the control parameters of the audio source are determined according to the interval elements in order to make the playback of the audio source meet the requirements of the system within a specific interval. For example, when the interval elements include a volume range and a frequency range, the system will set the volume and frequency values that meet the interval conditions in the control parameters to meet the sound effect requirements in a specific scenario. This ensures that the audio output meets actual needs in different scenario modes. For example, the volume is low in the drill mode and increases in an emergency. The system sets the control parameters to ensure that the audio output effect is more in line with the actual application needs.
[0047] S1043, determining whether the timestamp element is extracted, and if not, encapsulating each control parameter into a single control parameter group; In this embodiment, the purpose of determining whether to extract the timestamp element is to distinguish different types of control parameter groups. If the timestamp element is not extracted, the system encapsulates all control parameters as a complete set into a single control parameter group, so that the audio source remains consistent in the entire scenario mode. For example, in the scenario mode of conventional environmental monitoring, since no special control at a time point is required, the system directly uses a single control parameter group to achieve continuous and consistent audio output, thereby simplifying the audio management process and ensuring the unity and continuity of audio control.
[0048] S1044: If yes, determine multiple time points according to the timestamp element, encapsulate the control parameters of the same time point into a control parameter group, and generate a role identifier of the corresponding control parameter group according to the time point.
[0049] In this embodiment, multiple time points are determined based on the timestamp element in order to achieve time-sharing control of audio at different time points. The system identifies each time point through the timestamp element, and encapsulates the control parameters of the same time point into an independent control parameter group, and generates a role identifier for the time point so that the system can perform corresponding audio operations in chronological order. For example, in a daily timed reminder scenario, the system can generate different control parameter groups for morning, afternoon and evening, and each control parameter group triggers playback at the corresponding time point. This time-sharing control enables the audio output to be dynamically adjusted according to time changes, thereby achieving more flexible and accurate alarm output.
[0050] In summary, the interval element and timestamp element in the source parameter field can be extracted to determine the control parameters of the audio source. If only the interval element is extracted, each control parameter is encapsulated into a single parameter group; if the timestamp element is extracted, multiple control parameter groups are generated based on different time points and assigned independent action identifiers. This method ensures the flexibility and accuracy of audio source control, especially in scenarios with multiple time period requirements, it realizes effective management of audio sources, thereby improving the adaptability of the system in complex audio switching.
[0051] In one embodiment, if Figure 4 As shown, before step S10, i.e., defining scenario modes, each scenario mode corresponds to one or more control parameter groups, each control parameter group is executed based on a timestamp or a trigger condition, and the scenario modes include an initial scenario mode with a definition count of zero, and a current scenario mode with a definition count of at least one, the steps include: S01. If it is detected that the civil air defense digital alarm integrated system enters an adaptive state, then the exclusive modes of the local database and the preset geographical areas corresponding to each exclusive mode are determined; In this embodiment, when the system enters the adaptive state, the exclusive mode of the local database and the corresponding preset geographical area will be activated so that the system can automatically select the most suitable alarm mode according to the specific geographical location. The exclusive mode refers to the mode that is preferred in a specific scenario. For example, when the system is located in a high-risk area or a special protection area, an alarm mode with a higher alarm level or special audio content needs to be preset. The preset geographical area provides a conditional boundary for the system to select an exclusive mode according to the geographical location, so that the system can quickly determine the applicable exclusive mode when entering the adaptive state, thereby improving the pertinence of the alarm and the flexibility of the response. For example, if an area is an earthquake-prone area, when entering the area, the system will automatically select the earthquake early warning mode to ensure that the alarm response is consistent with the geographical environment.
[0052] Furthermore, in order to meet the definition requirements of the exclusive mode and the preset geographical area, step S01 can be further refined into the following steps: S011: Detect whether the working state of the system meets the conditions for entering the adaptive state, for example, if the scene mode needs to be frequently switched within a specific time period, or if the position change reaches a preset distance threshold, the system will automatically enter the adaptive state.
[0053] S012: Once the adaptive state is entered, the system automatically calls the preset exclusive mode data in the local database. The database contains exclusive mode configurations for different geographical areas, such as the frequency of disasters in each area, population density, equipment usage scenarios, and other information.
[0054] S013: The system obtains preset geographic area data corresponding to the exclusive mode from the database, usually defining a specific area by a geographic coordinate range or a specific area code, such as using a GPS coordinate range to identify an earthquake-prone area, a flood-prone area, or other area that requires specific alarm settings.
[0055] S014: Determine whether the system is located within a preset geographical area based on the current geographical coordinates. If the current coordinates fall within the preset geographical area, the exclusive mode corresponding to the area is matched. At this time, the system adjusts the volume, frequency and other settings of the alarm according to the control parameter group of the mode to adapt to the special needs of the area.
[0056] S015: After the system confirms that the current coordinates are in a specific area, the exclusive mode is set to active and the external environmental parameters are monitored in real time to ensure that the triggering conditions of the exclusive mode remain valid. When the environmental changes no longer meet the conditions or the system leaves the area, the exclusive mode is automatically exited.
[0057] Example: Assume that the civil air defense digital alarm integrated system is installed in a multi-hazard early warning network, in which a certain area A is an earthquake-prone area. Its GPS coordinates are preset in the list of specific areas in the database, and an "earthquake early warning exclusive mode" is set. When the system detects that the displacement exceeds the established threshold or the timing detection enters the adaptive state, it will extract the coordinate range of the earthquake-prone area from the database. When the system determines that the current coordinates are within the area A, the exclusive mode is activated and the earthquake early warning parameter group is started, setting a high-volume, repeated playback alarm mode. When the system leaves area A, or the regional monitoring conditions are no longer met, the system exits the earthquake early warning mode and switches back to the normal scenario mode to save energy and reduce noise interference.
[0058] S02. Obtain the current geographic coordinates of the civil air defense digital alarm system in real time; In this embodiment, the system acquires the current geographic coordinates in real time in order to accurately locate the location of the device, thereby determining whether it is in a specific area to trigger the corresponding exclusive mode. The acquisition of the current geographic coordinates is usually achieved through GPS or other positioning systems, so that the system can dynamically adjust the alarm mode according to the actual location. For example, when the device is in the core area of the city or a specific disaster prevention area, by acquiring the geographic coordinates, the system can promptly identify the current location and provide a positioning basis for the subsequent determination of the exclusive mode, thereby making the alarm response more accurate and faster.
[0059] S03, determining whether the current geographic coordinates fall within a preset geographic area, and if so, determining an exclusive parameter group corresponding to the exclusive mode, and executing a corresponding alarm operation based on the exclusive parameter group; In this embodiment, the determination of whether the current geographic coordinates are located in a preset geographic area is to automatically switch to an exclusive mode when the system enters a specified area, and then perform an alarm operation that meets the regional requirements. If the coordinates are within a specific area, the system will select an exclusive parameter group that matches the exclusive mode of the area to ensure that the alarm content, volume, frequency and other control parameters meet the special requirements of the area. For example, when the device enters a flood-prone area, the system will automatically load the exclusive mode parameter group of the flood control alarm and adjust the volume to a high alarm mode so that people around can clearly receive the alarm content, thereby achieving accurate early warning of high-risk areas.
[0060] S04, if it does not fall into the preset geographical area, entering the preparation state of defining the scenario mode; In this embodiment, when the current geographical coordinates of the system are not in any preset geographical area, the system will enter the preparation state for defining the scenario mode, that is, it will operate in the general mode without switching to the exclusive mode. At this time, the system will wait for further scenario mode definitions to adapt to the next instruction requirements or situation changes. In this case, the system does not automatically match a specific preset area, but can adjust the alarm content according to the subsequent scenario mode definition. For example, when the device is located in a general area and no special instructions are received, the system will enter a standby mode with a low alarm level until a specific scenario requirement is triggered, and then select the appropriate scenario mode to perform subsequent operations.
[0061] In summary, after entering the adaptive state, the system can identify and load the exclusive mode of the local database and detect whether the current geographic coordinates fall into the preset geographic area. If it is in a specific area, the exclusive mode and the corresponding parameter group are automatically determined to perform the corresponding alarm operation; if it is not in a specific area, the system enters the scenario mode preparation state. This process makes the system adaptable in multiple geographic areas, improves the regional pertinence of the alarm response and the intelligence of the mode switching.
[0062] In one embodiment, if Figure 5 As shown, in step S40, that is, the step of analyzing the current environment information and the preset interference elements to determine the corresponding current interference elements, includes: S401, determining an environmental threshold interval according to a preset interference factor; In this embodiment, the purpose of determining the environmental threshold interval based on the preset interference factors is to provide the system with a range of environmental parameters that can be judged, so as to judge whether the current environment meets the standard for triggering an alarm in different scenario modes. The preset interference factors refer to the key environmental factors set before the system is started, such as temperature, humidity, gas concentration, etc. The corresponding threshold intervals are determined based on these factors to provide accurate environmental standards for the scenario mode. For example, in a fire warning scenario, the preset interference factors are smoke concentration and temperature, and their threshold intervals can be set to a certain concentration range and temperature upper limit, respectively. When the system detects that the current environmental parameters exceed these intervals, the system will trigger an alarm, thereby improving the accuracy and timeliness of the alarm response.
[0063] S402, analyzing current environmental information and determining corresponding environmental parameters; In this embodiment, the current environmental information is analyzed and the corresponding environmental parameters are determined so that the system can understand the changes in the environment in real time and compare them with the preset threshold interval. Environmental parameters are environmental data collected in real time by sensors and other equipment during the operation of the system, usually including temperature, humidity, air quality index, smoke concentration, etc. By analyzing these parameters, the system can determine whether the current environmental state is normal. For example, in an earthquake monitoring scenario, the vibration frequency and amplitude, the vibration information detected by the sensor equipment can be quickly fed back to the system, thereby providing a basis for subsequent judgments and ensuring that the system responds accordingly in abnormal environments.
[0064] S403, determine whether the environmental parameter falls within the corresponding environmental threshold interval. If it does not fall within the corresponding environmental threshold interval, determine the preset interference factor as the current interference factor. If it falls within the corresponding environmental threshold interval, update the preset interference factor and determine the updated preset interference factor as the current interference factor.
[0065] In this embodiment, by determining whether the environmental parameters are within the corresponding environmental threshold interval, the system can dynamically determine whether an alarm operation needs to be performed. If the environmental parameters are not within the threshold interval, the system determines the preset interference factor as the current interference factor, that is, it is considered that the current environment has triggered the warning condition, and then executes the alarm or starts the corresponding scenario mode. For example, in the detection scenario of chemical leaks, when the concentration of harmful gases in the environmental parameters exceeds the safety threshold, the system will immediately identify the interference factor as the current interference factor and start the alarm program. If the environmental parameters fall into the threshold interval, the system will update the preset interference factor as a normal environmental state, determine that the environment is stable and no alarm response is required, and such a design effectively guarantees the judgment accuracy and response efficiency of the system.
[0066] Furthermore, in step S403, the system dynamically determines whether an alarm operation needs to be performed by determining whether the environmental parameter is within the environmental threshold interval. The specific execution steps may include the following processes: Setting the type of environmental parameter and the threshold interval: The system first sets the type of environmental parameter, such as temperature, humidity, gas concentration, etc., and sets a safety threshold interval for each environmental parameter. For example, in the detection scenario of chemical leaks, the concentration threshold of harmful gases (such as ammonia or methane) in the air is set to 0-25ppm. Real-time acquisition of current environmental parameters: The system's sensor elements (such as gas sensors, temperature sensors) obtain current environmental information in real time and generate current environmental parameter data. For example, in the chemical leak detection scenario, the gas sensor detects that the methane concentration in the air is 30ppm. Compare the current environmental parameters with the threshold interval: Compare the environmental parameters collected in real time with the set threshold interval. If the current environmental parameter exceeds the threshold interval, the system will regard the abnormal parameter as a preset interference factor and consider the current environment to be in a dangerous state. Confirm and activate the interference factor: If the environmental parameter is not within the threshold interval, the system will determine the preset interference factor as the current interference factor and trigger the alarm operation. For example, if the methane concentration is detected to exceed the safety threshold of 25ppm, the system will regard the gas concentration as the current interference factor and trigger a chemical leak alarm. Update the interference factor status: If the environmental parameters are within the safety threshold range, the system will update them to the normal state, not trigger the alarm operation, and set the preset interference factor status to updated. For example, when the methane concentration returns to the normal level (10ppm), the system confirms that the environment has returned to a safe state and updates the current interference factor to normal; For example, in the protection scenario of a chemical plant, the system sets a threshold range for the concentration of harmful gases (such as ammonia concentration 0-25ppm). During operation, the sensor detects the ammonia concentration in the air in real time. Once the sensor detects that the ammonia concentration exceeds 25ppm (such as 30ppm), the system immediately uses the excessive ammonia concentration as the current interference factor and triggers an alarm to remind personnel to evacuate quickly or take protective measures. Conversely, when the ammonia concentration returns to 20ppm, the system automatically updates the interference factor to a normal state and no longer triggers an alarm. This real-time judgment mechanism ensures that the system responds promptly to environmental changes and improves the effectiveness of protection.
[0067] In summary, it is possible to establish an environmental threshold interval based on the preset interference factor, obtain environmental parameters by analyzing the current environmental information, determine whether it is within the threshold interval, and then determine the preset interference factor or its updated value as the current interference factor. Through precise environmental threshold judgment, the system can accurately identify and respond to environmental changes, realize intelligent interference processing of alarm operations, and ensure the timeliness and effectiveness of alarms in dynamic environments.
[0068] In one embodiment, if Figure 6As shown, in step S50, that is, the step of performing a corresponding alarm operation based on the initial scene mode, the current scene mode or the scene mode after switching, includes: S501, determining a corresponding control parameter group according to an initial scene mode, a current scene mode or a scene mode after switching; In this embodiment, the system selects the corresponding control parameter group according to the current scene mode (initial scene mode, current scene mode or switched scene mode) to match the alarm requirements in this mode. The control parameter group includes specific alarm execution parameters, such as volume, frequency, playback duration, etc., and the configuration of these parameter groups will be different according to different scene modes to adapt to different environments and emergency conditions. For example, in the initial scene mode, the control parameter group only contains low-volume prompt audio; when the current scene mode is switched to the emergency alarm mode, the system will select a high-volume, continuous playback control parameter group to ensure that the alarm can be effectively conveyed in an emergency state.
[0069] S502, identifying the objects of action of the control parameters in the control parameter group, the objects of action including the civil air defense digital alarm integrated system and scene equipment; In this embodiment, the purpose of identifying the action object in the control parameter group is to clarify the execution scope of the control parameters, so as to ensure the accuracy of the alarm operation. The action objects usually include the civil air defense digital alarm integrated system and scene equipment. The former is the various modules inside the system (such as power amplifiers, control units), and the latter is the external equipment connected to the system (such as sensors, extended speakers, etc.). By identifying the action object, the system can apply the control parameters to specific devices in a targeted manner. For example, in the regional sound amplification scenario, the action object of the control parameter group is the extended speaker in the scene device. The system passes the volume and playback time in the parameter group to the extended audio device to ensure that the alarm sound can cover a wider range and improve the alarm effect.
[0070] S503, determining a control path according to the action object, wherein the control path is determined by the instruction priority; In this embodiment, the control path is determined according to the object of action in order to select the optimal control path when multiple instructions coexist, so as to ensure the efficient execution of the alarm operation. The control path refers to the path for the instruction to be transmitted from the control unit to the object of action, which is determined by the priority of the object of action and the priority of the instruction. For example, when both the remote instruction and the local key instruction are directed to the extended speaker, the system will select the control path according to the instruction priority. If the remote instruction takes precedence, the control path will select the remote instruction to be transmitted to the extended speaker to realize the remote alarm broadcast, thereby ensuring the flexibility and efficiency of the system.
[0071] Furthermore, the control module 1 first identifies the action object in the control parameter group to ensure that the control signal is accurately transmitted to the target device. The action object includes the internal module and scene device of the integrated civil air defense digital alarm system. The internal module of the system includes the control module 1 and the power amplifier module 2, and the scene device includes external devices such as the extended audio and environmental sensors. By identifying the action object, the control module 1 can transmit the parameters to the corresponding target device in a targeted manner. For example, when switching to the regional broadcast scene mode, the system identifies that the action object of the control parameter group is the extended audio in the scene device. At this time, the control module 1 will increase the volume parameter and extend the playback time to ensure that the alarm sound covers a wider range. This identification process ensures that the control parameters can be accurately applied to specific devices according to the scene requirements, thereby improving the effectiveness of the alarm operation; determining the control path based on the identified action object is to ensure that when multiple instructions coexist, the optimal instruction path is selected to achieve efficient instruction transmission. The control path refers to the instruction flow from the control module 1 to the action object, which is determined based on the action object and the priority of the instruction. The system presets multiple input types such as key commands, remote control commands, alarm trigger commands, and timing control commands in the command priority, and prioritizes these commands. For example, when the remote control center sends a command to enable the extended speaker, the system determines that the command has a higher priority than the local key input, so it chooses to set the control path as the path from the remote command to the extended speaker. In this case, the remote command is preferentially transmitted to the extended speaker, realizing the function of remote control alarm. This mechanism enables the system to quickly respond to the highest priority command under multiple command conditions, ensuring the timeliness and stability of the alarm at critical moments; For example, suppose the system is in earthquake emergency mode and receives two commands at the same time: one is a normal alarm trigger command input from a local button, and the other is a remote command to immediately enable the extended speaker to play a high-volume alarm. The system first identifies the object of action as the extended speaker through the control parameter group, and determines that the priority of the source of the command is higher than the normal alarm command, so it sets the control path to remote command priority. In this way, the system transmits the high-volume alarm sound to the extended speaker device through this path, ensuring that the coverage of the alarm is maximized in an emergency, thereby effectively alerting the surrounding people. This process not only realizes the accurate transmission of commands, but also ensures the efficient response of the system in the case of multiple commands.
[0072] S504: Based on the control path, the object performs a corresponding alarm operation.
[0073] In this embodiment, the alarm operation is performed based on the control path to ensure that the object can respond to the alarm instruction according to the established path and parameters, so as to achieve the expected function of the system. After determining the control path, the object such as the alarm sound, sensor and other equipment will perform the corresponding alarm operation. For example, in the earthquake early warning scenario mode, the control path is preferentially transmitted to all scene devices through remote commands, and the object performs high-volume alarm and voice prompt operations to ensure that the system issues reminders in time during earthquake early warning so that people can respond as soon as possible.
[0074] In summary, the control parameter group can be determined according to the initial scenario mode, the current scenario mode or the scenario mode after switching, and its action object can be identified as the civil air defense alarm system or scene equipment, and the control path can be determined according to the command priority, so that the action object performs the corresponding alarm operation. This method optimizes the action path and priority management of the control parameters, ensures that the alarm commands in different scenarios are executed according to the priority, and improves the rationality and execution efficiency of the system alarm response.
[0075] like Figure 7 As shown, a civil air defense digital alarm integrated system uses a control method for the civil air defense digital alarm integrated system, the civil air defense digital alarm integrated system includes a control module 1, a power amplifier module 2, a scene switching module 3 and an audio module 4, the audio module 4 includes multiple audio input units, the control module 1 is provided with a total of multiple audio signal communication terminals, which are respectively connected to the serial communication terminals of each audio input unit, the scene signal output terminal of the scene switching module 3 is connected to the scene signal input terminal of the control module 1 to output the scene signal to the control module 1, and then the control module 1 switches the corresponding scene mode according to the scene signal, the serial communication terminal of the power amplifier module 2 is connected to the serial communication terminal of the control module 1, and the signal output terminal of the power amplifier module 2 is used to connect the alarm source of the civil air defense digital alarm integrated system itself, and / or the alarm source of the scene equipment.
[0076] In this embodiment, in the integrated civil air defense digital alarm system, each module is connected through a port to form a logical closed loop to ensure the reliability and consistency of the alarm switching and audio output of the system in different scenarios. The control module 1 is the core, and is connected to each audio input unit in the audio module 4 through multiple audio signal communication terminals to achieve access and management of multi-source audio signals; these audio input units can include microphones, local audio sources, and network audio sources, etc., to provide the system with a rich selection of audio inputs. The control module 1 selects a suitable audio source and switches the signal according to different scene requirements, specifically through the scene signal output terminal of the scene switching module 3 connected to the scene signal input terminal of the control module 1. The scene signal output by the scene switching module 3 can trigger the control module 1 to enter the corresponding scene mode, so that the control module 1 can switch to the corresponding audio source or volume setting in different scenarios to ensure that the system responds to changes in demand. The control module 1 then transmits the audio signal to the serial communication terminal of the power amplifier module 2 through the serial communication terminal. After the signal received by the power amplifier module 2 is amplified, it is output from its signal output terminal to the alarm source of the system or the alarm source of the external scene device to ensure that the alarm sound is clear and accessible in each scene. Through such connection relationships, the interaction of each port enables the control logic to be interconnected during scene signal switching, audio input selection and power amplifier signal output, thereby ensuring efficient and reliable alarm response and audio management of the entire system.
[0077] In summary, through the coordinated design of the control module 1, power amplifier module 2, scene switching module 3 and audio module 4 in the integrated civil air defense digital alarm system, the control module 1 can automatically switch to the corresponding scene mode after receiving the scene signal, and transmit the audio signal to the power amplifier module 2, thereby achieving rapid response and switching of alarm sources and scene devices, and improving the system's multi-scene adaptability and audio output flexibility.
[0078] Further, such as Figure 7 As shown, the audio input unit is a microphone input unit 41, an extended audio receiving unit 42, a local audio receiving unit 43 or a network input unit 44. The microphone input unit 41 is used to receive and input real-time voice signals, the extended audio receiving unit 42 is used to receive and input external audio signals of external devices connected to the extended interface, the local audio receiving unit 43 is used to receive and input local audio signals within the integrated civil air defense digital alarm system, and the network input unit 44 is used to receive and input audio signals from remote control and cloud networks.
[0079] In this embodiment, in the integrated civil air defense digital alarm system, each audio input unit is connected to the communication terminal of the control module 1 through an independent port to achieve real-time management and switching of audio signals from different sources. After the microphone input unit 41 is connected to the communication terminal of the control module 1, the system can receive and transmit real-time voice signals on the scene, which is used for voice broadcasting and emergency command broadcasting in emergency situations. The extended audio receiving unit 42 is connected to the external audio device through the extended interface, and the external audio source signal is input into the system, allowing the system to receive and amplify the audio content from the external device, such as connecting to an extended audio player or broadcasting system. For the audio resources inside the system, the local audio receiving unit 43 is connected to the control module 1 to receive and play the audio signal preset by the system, ensuring that in the absence of external signals or network signals, the locally stored alarm or prompt audio can still be called for broadcasting. The communication terminal of the network input unit 44 is connected to the control module 1, which is used to receive the audio signal of the remote control or cloud server, and realize the real-time transmission of remote control instructions or cloud data, which is particularly suitable for remote alarm and network control scenarios. The control module 1 monitors the ports of each input unit in real time, combines the scenario mode and command priority of the system, dynamically selects the corresponding audio input signal and transmits it to the power amplifier module 2 to meet the audio output requirements in different scenarios, thereby ensuring the efficient response of the system in a variety of environments and control commands.
[0080] In summary, the audio input unit can have a variety of audio signal receiving capabilities, including microphone input, local audio, extended audio and network input, etc., so as to support the access of different audio sources, ensure that the system can flexibly select audio sources according to different scenario requirements, and improve the richness and diversity of the system's alarm response.
[0081] Further, such as Figure 7 As shown, the control module 1 includes a contact switch element 11 and a variable resistance element 12, the signal input end of the network input unit 44 is connected to the first conductive contact of the contact switch element 11, the signal input end of the microphone input unit 41 is connected to the second conductive contact of the contact switch element 11, the signal input end of the extended audio receiving unit 42 is connected to the third conductive contact of the contact switch element 11, the signal input end of the local audio receiving unit 43 is connected to the fourth conductive contact of the contact switch element 11, the common contact of the contact switch element 11 is connected to the first conductive end of the variable resistance element 12, the second conductive end of the variable resistance element 12 is grounded, and the variable resistance end of the variable resistance element 12 is connected to the signal input end of the power amplifier module 2.
[0082] In this embodiment, in the integrated civil air defense digital alarm system, the control module 1 realizes the selection and adjustment of different audio input signals through the contact switch element 11 and the variable resistance element 12. The signal input ends of the network input unit 44, the microphone input unit 41, the extended audio receiving unit 42 and the local audio receiving unit 43 are respectively connected to the first conductive contact, the second conductive contact, the third conductive contact and the fourth conductive contact of the contact switch element 11, so that each audio input unit can enter the signal path through the contact switch element 11. After receiving the instruction of the control module 1, the contact switch element 11 will conduct the corresponding contact and transfer the selected audio signal to the first conductive end of the variable resistance element 12 through the common contact, so that the selected audio signal enters the next step of processing. The second conductive end of the variable resistance element 12 is grounded to form a reference potential in the circuit, and the amplitude or volume of the signal is controlled by adjusting the resistance value of the variable resistance element 12. The variable resistance end of the variable resistance element 12 is connected to the signal input end of the power amplifier module 2 to ensure that the selected and adjusted audio signal can enter the power amplifier module 2 for amplification and final output. Through this connection method, the control module 1 can not only flexibly select the signal of each audio input unit as the output object, but also adjust the signal strength and realize volume control to meet the needs of different scenarios. This structure simplifies the management of multi-source audio, enables the system to efficiently switch between various signals, and output the final audio to the alarm device through the power amplifier module 2, ensuring the clarity and adaptability of the alarm audio.
[0083] In summary, the control module 1 can be connected to different audio input units through the contact switch element 11, thereby realizing accurate selection and switching of audio signals, and controlling the transmission strength and quality of the audio signal through the variable resistance element 12, so that the signal remains stable before being transmitted to the power amplifier module 2, thereby effectively improving the transmission quality of the audio signal and the reliability of the power amplifier output.
[0084] Further, such as Figure 7 As shown, a civil air defense digital alarm integrated system also includes an LED display module 5 and a switching power supply module 6, the signal output end of the control module 1 is connected to the signal input end of the LED display module 5, and the power input end of the control module 1 is connected to the power output end of the switching power supply module 6.
[0085] In this embodiment, in the integrated civil air defense digital alarm system, the introduction of the LED display module 5 and the switch power supply module 6 provides key support for the system's status indication and power supply. The signal output end of the control module 1 is connected to the signal input end of the LED display module 5, so that the control module 1 can control the display content of the LED display module 5 by sending signal instructions, thereby reflecting the current system's working status, alarm information or other necessary operation prompts in real time. After receiving the instructions from the control module 1, the LED display module 5 can present the corresponding information on the display screen to provide intuitive status feedback for users or maintenance personnel. At the same time, the power output end of the switch power supply module 6 is connected to the power input end of the control module 1 to ensure that the control module 1 can obtain a stable power supply in different working modes, especially in an emergency state or continuous operation, the switch power supply module 6 can provide a constant current and voltage, so that the various control operations and data processing processes of the control module 1 remain stable. Through this connection relationship, the system achieves a high degree of coordination in terms of power supply and display, which can not only ensure the continuous and efficient operation of the control module 1, but also make the system status clear at a glance through the LED display module 5, thereby realizing the real-time, reliability and information transparency of the civil air defense alarm system.
[0086] In summary, an LED display module 5 and a switching power supply module 6 can be added to the alarm system, so that the output signal of the control module 1 directly drives the display module to display the status, and the switching power supply module 6 provides power support, thereby ensuring real-time visualization of the system's working status, improving the alarm system's operational convenience and power supply stability, and helping to improve the system's overall reliability and user experience.
[0087] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0088] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A control method for a civil air defense digital alarm integrated system, wherein the civil air defense digital alarm integrated system is connected to corresponding scene equipment, characterized in that: The control method of the integrated civil air defense digital alarm system comprises: Defining scenario modes, each scenario mode corresponds to one or more control parameter groups, each control parameter group is executed based on a timestamp or a trigger condition, and the scenario modes include an initial scenario mode with a definition number of zero and a current scenario mode with a definition number of at least one; Determining the instruction priority of the switching instruction, wherein the switching instruction includes a key input instruction, a remote control instruction, an alarm triggering instruction, and a timing control instruction; Acquire the switching instructions in real time, determine whether the switching instructions are the same, if they are the same, execute the switching pending operation corresponding to any of the switching instructions, if they are different, determine the target instruction based on the instruction priority, and then execute the switching pending operation corresponding to the target instruction; Determine the preset interference factor of the initial scene mode or the current scene mode, obtain the current environment information in real time based on the sensor element of the scene device, analyze the current environment information and the preset interference factor to determine the corresponding current interference factor; Determine whether the current interference element matches the switching operation successfully. If the match is successful, convert the pending switching operation into a pending operation, execute a corresponding alarm operation based on the initial scenario mode or the current scenario mode, and redefine the scenario mode. If the match fails, convert the pending switching operation into a switching operation, switch the initial scenario mode or the current scenario mode to a post-switching scenario mode through the switching operation, and execute a corresponding alarm operation based on the post-switching scenario mode.
2. The control method of a civil air defense digital alarm integrated system according to claim 1, characterized in that: The step of defining the scenario mode comprises: Acquire mode requirement information, and extract source type field and source parameter field of the mode requirement information, wherein the mode requirement information includes cloud crawling information and user active input information; Determine an audio source, the audio source comprising a local source directly connected to the integrated civil air defense digital alarm system, and a scene source in the scene device; According to the source type field, a corresponding online audio source is screened out from the audio sources; A control parameter group of the online audio source is determined according to the source parameter field.
3. The control method of a civil air defense digital alarm integrated system according to claim 2 is characterized in that: The step of determining the control parameter group of the successfully matched audio source according to the source parameter field includes: Extracting the interval element and / or the timestamp element of the source parameter field; Determining control parameters of the audio source according to the interval elements; Determining whether the timestamp element is extracted, and if not, encapsulating each of the control parameters into a single control parameter group; If so, multiple time points are determined according to the timestamp element, control parameters at the same time point are encapsulated into a control parameter group, and a role identifier of the corresponding control parameter group is generated according to the time point.
4. The control method of a civil air defense digital alarm integrated system according to claim 1, characterized in that: Before the step of defining the scenario mode, the method further comprises: If it is detected that the civil air defense digital alarm integrated system enters an adaptive state, determining the exclusive modes of the local database and the preset geographical areas corresponding to each of the exclusive modes; Obtain the current geographic coordinates of the civil air defense digital alarm system in real time; Determine whether the current geographic coordinates fall within a preset geographic area, and if so, determine an exclusive parameter group corresponding to an exclusive mode, and perform a corresponding alarm operation based on the exclusive parameter group; If it does not fall into the preset geographical area, it enters the preparation state of defining the scenario mode.
5. The control method of a civil air defense digital alarm integrated system according to claim 1, characterized in that: The step of analyzing the current environment information and the preset interference element to determine the corresponding current interference element includes: Determining an environmental threshold interval according to the preset interference factor; Analyze the current environmental information to determine corresponding environmental parameters; Determine whether the environmental parameter falls within the corresponding environmental threshold interval. If it does not fall within the corresponding environmental threshold interval, determine that the preset interference element is the current interference element. If it falls within the corresponding environmental threshold interval, update the preset interference element and determine that the updated preset interference element is the current interference element.
6. The control method of a civil air defense digital alarm integrated system according to claim 3 is characterized in that: The step of performing a corresponding alarm operation based on the initial scene mode, the current scene mode or the scene mode after switching includes: Determining a corresponding control parameter group according to the initial scene mode, the current scene mode or the scene mode after switching; Identify the objects of action of the control parameters in the control parameter group, wherein the objects of action include a civil air defense digital alarm integrated system and scene equipment; Determining a control path according to the action object, wherein the control path is determined by the instruction priority; Based on the control path, the action object performs a corresponding alarm operation.
7. A civil air defense digital alarm integrated system, using a control method for a civil air defense digital alarm integrated system as claimed in any one of claims 1 to 6, characterized in that: The integrated civil air defense digital alarm system comprises a control module (1), a power amplifier module (2), a scene switching module (3) and an audio module (4); the audio module (4) comprises a plurality of audio input units; the control module (1) is provided with a plurality of audio signal communication terminals, which are respectively connected to the serial communication terminals of the audio input units; the scene signal output terminal of the scene switching module (3) is connected to the scene signal input terminal of the control module (1) to output a scene signal to the control module (1), thereby enabling the control module (1) to switch to a corresponding scene mode according to the scene signal; the serial communication terminal of the power amplifier module (2) is connected to the serial communication terminal of the control module (1); the signal output terminal of the power amplifier module (2) is used to connect to the alarm source of the integrated civil air defense digital alarm system itself, and / or the alarm source of the scene device.
8. The integrated civil air defense digital alarm system according to claim 7, characterized in that: The audio input unit is a microphone input unit (41), an extended audio receiving unit (42), a local audio receiving unit (43) or a network input unit (44); the microphone input unit (41) is used to receive and input real-time voice signals; the extended audio receiving unit (42) is used to receive and input external audio signals of external devices connected to the extended interface; the local audio receiving unit (43) is used to receive and input local audio signals in the integrated civil air defense digital alarm system; and the network input unit (44) is used to receive and input audio signals from remote control and cloud networks.
9. The integrated civil air defense digital alarm system according to claim 8, characterized in that: The control module (1) comprises a contact switch element (11) and a variable resistance element (12); the signal input end of the network input unit (44) is connected to a first conductive contact of the contact switch element (11); the signal input end of the microphone input unit (41) is connected to a second conductive contact of the contact switch element (11); the signal input end of the extended audio receiving unit (42) is connected to a third conductive contact of the contact switch element (11); the signal input end of the local audio receiving unit (43) is connected to a fourth conductive contact of the contact switch element (11); the common contact of the contact switch element (11) is connected to a first conductive end of the variable resistance element (12); the second conductive end of the variable resistance element (12) is grounded; and the variable resistance end of the variable resistance element (12) is connected to the signal input end of the power amplifier module (2).
10. The integrated civil air defense digital alarm system according to claim 7, characterized in that: The integrated civil air defense digital alarm system further comprises an LED display module (5) and a switch power module (6); the signal output end of the control module (1) is connected to the signal input end of the LED display module (5), and the power input end of the control module (1) is connected to the power output end of the switch power module (6).