Intelligent security early warning method and device, and computer storage medium
By introducing the power control module, signal processing module and audio control module in the intelligent security system, the interference problem during automatic and manual audio warning switching is solved, precise switching and stability of audio output is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202411005932.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-07-24
AI Technical Summary
When the existing intelligent security system automatically switches with manual audio warnings, there is interference with the use of audio output, and the response accuracy and sensitivity are not high, resulting in a degradation of user experience.
An intelligent security early warning method is designed to achieve accurate switching between manual and automatic audio early warning through the coordinated work of the power management and control module, signal processing module and audio control module. Specific steps include power-connection detection, control signal processing, target signal processing and early warning processing to ensure the accuracy and stability of audio output.
It improves the output accuracy and stability of different audio output modes, and enhances the user's experience of the early warning function of the intelligent security system.
Smart Images

Figure CN119028107B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security early warning technology, and in particular to an intelligent security early warning method and device, and a computer storage medium. Background Art
[0002] In the existing intelligent security system, there are usually three core basic modules, namely, detection module, data processing module and early warning module. The detection module is used to realize real-time target monitoring and identification within the monitoring range of the intelligent security system, so that the corresponding monitoring and identification data are fed back to the data processing module, and the data processing module is used for in-depth analysis, so that after determining that there is an abnormal identification target, the early warning module is triggered to output the corresponding early warning information. However, the intelligent security system set up on the market still has many usage defects. Among them, in actual application sites, for intelligent security systems, in addition to conventional abnormal target self-detection and identification early warning, it is usually necessary to realize automatic audio early warning and manual audio early warning of abnormal targets. In particular, when it comes to switching between automatic and manual audio early warning, there is interference in the use of audio output, and the response accuracy and sensitivity of the switching are not high, which greatly reduces the user experience of using the early warning function of the intelligent security system. Summary of the invention
[0003] The present invention provides an intelligent security warning method and device, and a computer storage medium, which can realize intelligent, flexible and accurate switching between manual and automatic audio warnings, and improve the output accuracy and stability of different audio output modes.
[0004] In order to solve the above technical problems, the first aspect of the present invention discloses an intelligent security warning method, which is applied to an intelligent security warning device, and the intelligent security warning device includes a power management and control module, a signal processing module, and an audio control module; the method includes:
[0005] After determining that the intelligent security warning device is powered on, the power supply control module performs a preset power connection detection on the intelligent security warning device to obtain a power connection detection result corresponding to the intelligent security warning device;
[0006] After determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the signal processing module detects whether there is a control signal for the intelligent security warning device;
[0007] After detecting the existence of the control signal, the signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal;
[0008] The signal processing module generates a target control parameter in response to the control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module;
[0009] The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameters and the target signal processing result, and obtains a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output.
[0010] As an optional implementation, in the first aspect of the present invention, the control signal includes a first control signal corresponding to the resident type and / or a second control signal corresponding to the non-resident type; the signal priority of the first control signal is lower than the signal priority of the second control signal;
[0011] The first control signal includes a USB signal and / or a built-in audio source signal, and the second control signal is a microphone control signal;
[0012] The signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, specifically comprising:
[0013] Performing signal analysis on the control signal to obtain an analysis signal corresponding to the control signal; and then performing signal type determination on the analysis signal to obtain a target signal type corresponding to the analysis signal;
[0014] Determine whether the target signal type indicates that priority processing needs to be performed, and when it is determined that the target signal type indicates that priority processing needs to be performed, perform state switching on the audio control module to obtain a state switching result corresponding to the audio control module, the state switching result is used to indicate that the audio control module is switched to a target control state, and the audio control module in the target control state is only allowed to output a signal of the non-resident type;
[0015] The parsed signal, the target signal type, and the state switching result are determined as a target signal processing result corresponding to the control signal.
[0016] As an optional implementation manner, in the first aspect of the present invention, the signal processing module performs target signal processing on the control signal, and a method of obtaining a target signal processing result corresponding to the control signal specifically includes:
[0017] When it is determined that the target signal type indicates that the priority processing does not need to be performed, all operating signals of the intelligent security warning device currently in operation and whose signal type is the resident type are determined;
[0018] Determine a homologous output signal matching the control signal from all the operation signals, each of the operation signals has a corresponding control component, and the homologous output signal is a signal in which the control component corresponding to the operation signal among all the operation signals is consistent with the control component corresponding to the control signal;
[0019] Updating the homologous output signal to the control signal to obtain an update result for the homologous output signal;
[0020] The parsed signal, the target signal type, and the update result are determined as a target signal processing result corresponding to the control signal.
[0021] As an optional implementation, in the first aspect of the present invention, the audio control module includes a signal amplification submodule, a signal converter, an anti-shock submodule and a speaker;
[0022] The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and the method of obtaining the target warning processing result corresponding to the intelligent security warning device specifically includes:
[0023] The signal amplifying submodule switches the signal amplifying submodule to a preset first module state according to the acquired target control parameter, wherein the first module state includes a mute state or an audio output state;
[0024] The signal amplification submodule performs a signal mixing operation on the analytical signal to obtain a signal mixing operation result corresponding to the analytical signal, wherein the signal mixing operation at least includes voltage amplitude matching, power amplification processing and mixed signal sampling;
[0025] The signal converter performs signal conversion on the signal mixing operation result according to the first module state to obtain a target conversion signal corresponding to the signal mixing operation result;
[0026] The anti-shock submodule switches the anti-shock submodule to a preset second module state according to the target conversion signal, wherein the second module state includes a working state corresponding to the mute state or a stop working state corresponding to the audio output state;
[0027] The speaker performs warning output processing according to the signal mixing operation result, the first module state and the second module state to obtain a corresponding warning output result;
[0028] The signal mixing operation result, the first module state, the second module state and the warning output result are determined as the target warning processing result corresponding to the intelligent security warning device.
[0029] As an optional implementation, in the first aspect of the present invention, when the first module state is the mute state and the second module state is the working state, the warning output result indicates that the speaker is muted and no audio output is performed;
[0030] When the first module state is the audio output state and the second module state is the stop working state, the warning output result indicates that the speaker outputs an audio signal corresponding to the signal mixing operation result.
[0031] As an optional implementation, in the first aspect of the present invention, the intelligent security warning device further includes a positioning module, wherein:
[0032] The positioning module acquires a positioning mode triggered by an operator for the positioning module, wherein the positioning mode includes a fixed operation mode or a mobile operation mode;
[0033] The positioning module obtains the regional position information corresponding to the operating area where the positioning module is located according to the positioning mode, and transmits the regional position information to the signal processing module;
[0034] After the signal processing module determines that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the method of detecting whether there is a control signal for the intelligent security warning device specifically includes:
[0035] Determine a detection range corresponding to the signal processing module according to the area location information, and perform a detection operation on the detection range to obtain a detection result corresponding to the detection range;
[0036] Determine whether the detection result indicates that a preset identification target exists in the detection range. When it is determined that the detection result indicates that the preset identification target exists in the detection range, generate an identification signal for the preset identification target as a control signal for the security warning.
[0037] As an optional implementation, in the first aspect of the present invention, the power management and control module includes a fault control submodule, an on / off control submodule, a power protection submodule, an anti-spark submodule and a power switch, wherein:
[0038] The fault control submodule detects the module current corresponding to the power management module, and performs a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current;
[0039] The on-off control submodule performs current on-off control according to the input signal input to the power management and control module, and obtains the current on-off control result for the input signal; the current on-off control includes on-control that allows the current of the module to flow or off-control that prohibits the current of the module to flow;
[0040] The power protection submodule detects the connection state of the power switch, wherein the connection state includes a normal state or an abnormal state indicating that the connection of the power switch is normal;
[0041] The power protection submodule performs state switching for the power switch according to the wiring state to obtain a state switching result for the power switch; when the wiring state is the abnormal state, the state switching is used to switch the power switch to a power output prohibition state; when the wiring state is the normal state, the state switching is used to switch the power switch to a normal power output state;
[0042] The anti-spark submodule detects the energy output state of the power switch, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch is switched from power-on operation to switch disconnection;
[0043] The anti-spark submodule performs an anti-spark process on the power switch to obtain an anti-spark process result for the power switch. When the power switch is detected to be in the power-off state, the anti-spark submodule is in an anti-spark operation state. When the power switch is detected to be in the non-power-off state, the anti-spark submodule is in a standby state.
[0044] The power switch determines the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
[0045] The second aspect of the present invention discloses an intelligent security warning device, which includes a power supply management and control module, a signal processing module, and an audio control module, wherein:
[0046] The power supply control module is used to perform a preset power connection detection on the intelligent security warning device after determining that the intelligent security warning device is powered on, and obtain a power connection detection result corresponding to the intelligent security warning device;
[0047] The signal processing module is used to detect whether there is a control signal for the intelligent security warning device after determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions;
[0048] The signal processing module is further configured to, after detecting the presence of the control signal, perform target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal;
[0049] The signal processing module is further used to generate a target control parameter in response to the control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module;
[0050] The audio control module is used to perform target warning processing on the intelligent security warning device according to the acquired target control parameters and the target signal processing result, and obtain a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output.
[0051] As an optional implementation, in the second aspect of the present invention, the control signal includes a first control signal corresponding to the resident type and / or a second control signal corresponding to the non-resident type; the signal priority of the first control signal is lower than the signal priority of the second control signal;
[0052] The first control signal includes a USB signal and / or a built-in audio source signal, and the second control signal is a microphone control signal;
[0053] The signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, specifically comprising:
[0054] Performing signal analysis on the control signal to obtain an analysis signal corresponding to the control signal; and then performing signal type determination on the analysis signal to obtain a target signal type corresponding to the analysis signal;
[0055] Determine whether the target signal type indicates that priority processing needs to be performed, and when it is determined that the target signal type indicates that priority processing needs to be performed, perform state switching on the audio control module to obtain a state switching result corresponding to the audio control module, the state switching result is used to indicate that the audio control module is switched to a target control state, and the audio control module in the target control state is only allowed to output a signal of the non-resident type;
[0056] The parsed signal, the target signal type, and the state switching result are determined as a target signal processing result corresponding to the control signal.
[0057] As an optional implementation manner, in the second aspect of the present invention, the signal processing module performs target signal processing on the control signal, and a method of obtaining a target signal processing result corresponding to the control signal specifically includes:
[0058] When it is determined that the target signal type indicates that the priority processing does not need to be performed, all operating signals of the intelligent security warning device currently in operation and whose signal type is the resident type are determined;
[0059] Determine a homologous output signal matching the control signal from all the operation signals, each of the operation signals has a corresponding control component, and the homologous output signal is a signal in which the control component corresponding to the operation signal among all the operation signals is consistent with the control component corresponding to the control signal;
[0060] Updating the homologous output signal to the control signal to obtain an update result for the homologous output signal;
[0061] The parsed signal, the target signal type, and the update result are determined as a target signal processing result corresponding to the control signal.
[0062] As an optional implementation, in the second aspect of the present invention, the audio control module includes a signal amplification submodule, a signal converter, an anti-shock submodule and a speaker;
[0063] The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and the method of obtaining the target warning processing result corresponding to the intelligent security warning device specifically includes:
[0064] The signal amplification submodule is used to switch the signal amplification submodule to a preset first module state according to the acquired target control parameter, wherein the first module state includes a mute state or an audio output state;
[0065] The signal amplification submodule is further used to perform a signal mixing operation on the analytical signal to obtain a signal mixing operation result corresponding to the analytical signal, wherein the signal mixing operation at least includes voltage amplitude matching, power amplification processing and mixed signal sampling;
[0066] The signal converter is used to perform signal conversion on the signal mixing operation result according to the first module state to obtain a target conversion signal corresponding to the signal mixing operation result;
[0067] The anti-shock submodule is used to switch the anti-shock submodule to a preset second module state according to the target conversion signal, wherein the second module state includes a working state corresponding to the mute state or a stop working state corresponding to the audio output state;
[0068] The speaker is used to perform warning output processing according to the signal mixing operation result, the first module state and the second module state to obtain a corresponding warning output result;
[0069] The signal mixing operation result, the first module state, the second module state and the warning output result are determined as the target warning processing result corresponding to the intelligent security warning device.
[0070] As an optional implementation, in the second aspect of the present invention, when the first module state is the mute state and the second module state is the working state, the warning output result indicates that the speaker is muted and no audio output is performed;
[0071] When the first module state is the audio output state and the second module state is the stop working state, the warning output result indicates that the speaker outputs an audio signal corresponding to the signal mixing operation result.
[0072] As an optional implementation, in the second aspect of the present invention, the intelligent security warning device further includes a positioning module, wherein:
[0073] The positioning module is used to obtain a positioning mode triggered by an operator for the positioning module, wherein the positioning mode includes a fixed operation mode or a mobile operation mode;
[0074] The positioning module is further used to obtain the regional position information corresponding to the operating area where the positioning module is located according to the positioning mode, and transmit the regional position information to the signal processing module;
[0075] After the signal processing module determines that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the method of detecting whether there is a control signal for the intelligent security warning device specifically includes:
[0076] Determine a detection range corresponding to the signal processing module according to the area location information, and perform a detection operation on the detection range to obtain a detection result corresponding to the detection range;
[0077] Determine whether the detection result indicates that a preset identification target exists in the detection range. When it is determined that the detection result indicates that the preset identification target exists in the detection range, generate an identification signal for the preset identification target as a control signal for the security warning.
[0078] As an optional implementation, in the second aspect of the present invention, the power management and control module includes a fault control submodule, an on / off control submodule, a power protection submodule, an anti-spark submodule and a power switch, wherein:
[0079] The fault control submodule is used to detect the module current corresponding to the power management and control module, and perform a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management and control module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current;
[0080] The on-off control submodule is used to perform current on-off control according to the input signal input to the power supply control module, and obtain the current on-off control result for the input signal; the current on-off control includes on-control that allows the current of the module to flow or off-control that prohibits the current of the module to flow;
[0081] The power protection submodule is used to detect the wiring state of the power switch, wherein the wiring state includes a normal state or an abnormal state indicating that the wiring of the power switch is normal;
[0082] The power protection submodule is further used to execute state switching for the power switch according to the wiring state to obtain a state switching result for the power switch; when the wiring state is the abnormal state, the state switching is used to switch the power switch to a power output prohibition state; when the wiring state is the normal state, the state switching is used to switch the power switch to a normal power output state;
[0083] The anti-spark submodule is used to detect the energy output state of the power switch, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch is switched from power-on operation to switch disconnection;
[0084] The anti-spark submodule is further used to perform an anti-spark process on the power switch to obtain an anti-spark process result for the power switch. When the power switch is detected to be in the power-off state, the anti-spark submodule is in an anti-spark operation state. When the power switch is detected to be in the non-power-off state, the anti-spark submodule is in a standby state.
[0085] The power switch is used to determine the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
[0086] The third aspect of the present invention discloses another intelligent security warning device, the device comprising:
[0087] A memory storing executable program code;
[0088] a processor coupled to the memory;
[0089] The processor calls the executable program code stored in the memory to execute the intelligent security early warning method disclosed in the first aspect of the present invention.
[0090] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores a computer signal, and when the computer signal is called, it is used to execute the intelligent security warning method disclosed in the first aspect of the present invention.
[0091] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0092] In an embodiment of the present invention, an intelligent security warning method is provided. The method is applied to an intelligent security warning device. The intelligent security warning device includes a power supply control module, a signal processing module, and an audio control module. The method includes: after determining that the intelligent security warning device is powered on, the power supply control module performs a preset power connection detection on the intelligent security warning device to obtain a power connection detection result corresponding to the intelligent security warning device; after determining that the power connection detection result indicates that the intelligent security warning device meets the preset operating conditions, the signal processing module detects whether there is a control signal for the intelligent security warning device; after detecting the existence of the control signal, the signal processing module performs target signal processing on the control signal to obtain a control signal corresponding to the control signal. The target signal processing result corresponding to the target signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal; the signal processing module generates a target control parameter of the response control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module; the audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and obtains a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output. It can be seen that the implementation of the present invention can perform power-on detection after the intelligent security warning device is powered on / connected to power, thereby improving the power-on safety of the intelligent security warning device; then after determining that the preset operating conditions are currently met, target signal processing is performed on the detected control signal, target control parameters are generated, and target warning processing is performed, thereby improving the signal response speed of the intelligent security warning device after detecting the control signal; wherein, the target signal processing performed after the control signal is detected, the signal type determination and priority processing set by the target signal processing can accurately identify the type of control signal and / or perform priority adjustment, so that the control signal can be accurately responded to according to the identified signal type and / or the adjusted priority, thereby improving the accuracy and reliability of the response to the control signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0094] Figure 1 It is a flow chart of an intelligent security early warning method disclosed in an embodiment of the present invention;
[0095] Figure 2It is a flow chart of another intelligent security early warning method disclosed in an embodiment of the present invention;
[0096] Figure 3 It is a structural schematic diagram of an intelligent security early warning device disclosed in an embodiment of the present invention;
[0097] Figure 4 It is a structural schematic diagram of another intelligent security warning device disclosed in an embodiment of the present invention;
[0098] Figure 5 It is a structural schematic diagram of another intelligent security warning device disclosed in an embodiment of the present invention;
[0099] Figure 6 It is a structural schematic diagram of a power supply control module disclosed in an embodiment of the present invention;
[0100] Figure 7 It is a structural schematic diagram of an audio control module disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0101] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0102] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0103] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0104] The present invention discloses an intelligent security warning method and device, and a computer storage medium, which can perform power connection detection after the intelligent security warning device is powered on / connected, thereby improving the power connection safety of the intelligent security warning device; then after determining that the preset operating conditions are currently met, target signal processing is performed on the detected control signal, target control parameters are generated, and target warning processing is performed, thereby improving the signal response speed of the intelligent security warning device after detecting the control signal; wherein, the target signal processing performed after the control signal is detected, the signal type determination and priority processing set by the target signal processing can accurately identify the type of the control signal and / or perform priority adjustment, so that the control signal can be accurately responded to according to the identified signal type and / or the adjusted priority, thereby improving the response accuracy and reliability of the control signal. The following are detailed descriptions.
[0105] Embodiment 1
[0106] See also Figure 1 , Figure 1 : is a flow chart of an intelligent security warning method disclosed in an embodiment of the present invention. Figure 1 The described intelligent security warning method can be applied to an intelligent security warning device. Further, the intelligent security warning device includes a power management module, a signal processing module, and an audio control module, which is not limited in the embodiment of the present invention. Figure 1 As shown, the intelligent security early warning method may include the following operations:
[0107] 101. After determining that the intelligent security warning device is powered on, the power supply control module performs a preset power connection detection on the intelligent security warning device to obtain a power connection detection result corresponding to the intelligent security warning device.
[0108] In the embodiment of the present invention, after the intelligent security warning device is powered on, the power supply control module performs a power-on safety check on the currently connected current through the components arranged inside, thereby obtaining a power-on detection result. That is, in addition to the conventional function of connecting to an external power supply, the power supply control module is also provided with a detection function for the connected power supply voltage and current and a self-test function for the power supply control module, so that the power supply voltage / power supply current input to the intelligent security warning device is compatible with the intelligent security warning device, and at the same time, the module operation status of the power supply control module is verified. After confirming that the input power supply voltage / power supply current is accurate and the power supply control module (with the focus on the fault protection function) is operating correctly, the subsequent functions of the intelligent security warning device are started.
[0109] 102. After determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the signal processing module detects whether there is a control signal for the intelligent security warning device.
[0110] In an embodiment of the present invention, based on the above description, the intelligent security warning device meets the preset operating conditions, specifically including: the voltage output by the power supply control module (the voltage after conversion by the power supply control module) is compatible with the intelligent security warning device, and the power supply control module does not prompt that there is a fault or the power supply control module does not start the fault handling function.
[0111] In the embodiment of the present invention, the control signal for the intelligent security warning device is mainly used to control the audio control module to output different audio signals.
[0112] 103. After detecting the existence of the control signal, the signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal.
[0113] In the embodiment of the present invention, the target signal processing includes at least signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal.
[0114] 104. The signal processing module generates a target control parameter of a response control signal according to the target signal processing result.
[0115] In an embodiment of the present invention, the target control parameters are used to adjust the module output parameters of the audio control module; wherein, by adjusting the module output parameters of the audio control module, the content of the output audio, the volume of the output audio, the continuous playback time of the output audio, etc. of the actual audio control module can be adjusted.
[0116] 105. The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameters and target signal processing results, and obtains a target warning processing result corresponding to the intelligent security warning device.
[0117] In the embodiment of the present invention, the target warning processing at least includes signal mixing operation and audio signal output.
[0118] It can be seen that implementation Figure 1The described intelligent security warning method can perform power-on detection after the intelligent security warning device is powered on / connected to power, thereby improving the power-on safety of the intelligent security warning device; then after determining that the preset operating conditions are currently met, target signal processing is performed on the detected control signal, target control parameters are generated, and target warning processing is performed, thereby improving the signal response speed of the intelligent security warning device after detecting the control signal; wherein, the target signal processing performed after the control signal is detected, the signal type determination and priority processing set by the target signal processing can accurately identify the type of the control signal and / or perform priority adjustment, so that the control signal can be accurately responded to according to the identified signal type and / or the adjusted priority, thereby improving the accuracy and reliability of the response to the control signal.
[0119] In an optional embodiment, the control signal includes a first control signal corresponding to the resident type and / or a second control signal corresponding to the non-resident type; the signal priority of the first control signal is lower than the signal priority of the second control signal;
[0120] The first control signal includes a USB signal and / or a built-in audio source signal, and the second control signal is a microphone control signal;
[0121] The signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, specifically including:
[0122] Perform signal analysis on the control signal to obtain an analysis signal corresponding to the control signal; then perform signal type determination on the analysis signal to obtain a target signal type corresponding to the analysis signal;
[0123] Determine whether the target signal type indicates that priority processing needs to be performed. When it is determined that the target signal type indicates that priority processing needs to be performed, perform state switching on the audio control module to obtain a state switching result corresponding to the audio control module. The state switching result is used to indicate that the audio control module is switched to the target control state. The audio control module in the target control state is only allowed to output signals whose signal type is a non-resident type.
[0124] The parsed signal, the target signal type and the state switching result are determined as the target signal processing result corresponding to the control signal.
[0125] In this optional embodiment, for the intelligent security warning device, the control signals that the device can detect may specifically include USB signals interacted via the USB interface, built-in audio source signals corresponding to the built-in audio source of the device, and microphone control signals inputted through an external microphone. Furthermore, different signal execution priorities are set for the three types of signals, and the microphone control signal is initially set to the highest priority, that is, if there is currently an audio that temporarily needs to be played through the microphone, the output of other signals can be directly interrupted, thereby giving priority to the output of the microphone control signal to meet the temporary output requirements of the microphone signal triggered by the user.
[0126] In this optional embodiment, the programs executed by the intelligent security warning device are mainly from the USB flash drive, so that the user can easily change the program source. When executing the automatic standby task normally, if the USB flash drive fails or has poor contact or is accidentally unplugged, the MCU will automatically point the executing program source to the built-in audio source to prevent the system from being muted when the target is detected, ensuring that the operator is effectively warned.
[0127] In this optional embodiment, since different signal types have different corresponding priorities, for control signals with higher priorities, such as microphone control signals, when there are microphone control signals, they are basically signals temporarily triggered by the user, and need to be able to be responded to and played in a timely manner. At the same time, in order to improve the output clarity of the microphone control signal and reduce interference, it can be further set that when there is a microphone control signal that needs to be output, other types of signals are not allowed to be output.
[0128] In this optional embodiment, specifically, the target signal type that needs to perform priority processing is a non-resident type.
[0129] It can be seen that in this optional embodiment, conventional signal analysis is set for the input target signal, and signal type determination is also set, and then priority judgment is performed based on the determined target signal type, thereby improving the accuracy of subsequent output control for different signal types.
[0130] In this optional embodiment, optionally, the signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, which specifically includes:
[0131] When it is determined that the target signal type indicates that priority processing does not need to be performed, all operating signals of the intelligent security warning device that are currently in operation and whose signal type is a resident type are determined;
[0132] Determine a homologous output signal matching the control signal from all the operation signals, each operation signal has a corresponding control component, and the homologous output signal is a signal in which the control component corresponding to the operation signal among all the operation signals is consistent with the control component corresponding to the control signal;
[0133] Updating the homologous output signal into a control signal to obtain an update result for the homologous output signal;
[0134] The parsed signal, the target signal type, and the updated result are determined as the target signal processing result corresponding to the control signal.
[0135] It can be seen that in this optional embodiment, a corresponding signal update mechanism is set up for the target signal type that does not require priority processing, so that the intelligent early warning device can timely update the current output homologous output signal to a control signal, thereby improving the response mechanism of control signals of different signal types and improving the response accuracy to conventional control signals (non-microphone signals).
[0136] In another optional embodiment, the audio control module includes a signal amplification submodule, a signal converter, an anti-shock submodule and a speaker;
[0137] The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameters and target signal processing results, and the method of obtaining the target warning processing result corresponding to the intelligent security warning device specifically includes:
[0138] The signal amplifying submodule switches the signal amplifying submodule to a preset first module state according to the acquired target control parameter, where the first module state includes a mute state or an audio output state;
[0139] The signal amplification submodule performs a signal mixing operation on the analytical signal to obtain a signal mixing operation result corresponding to the analytical signal, wherein the signal mixing operation at least includes voltage amplitude matching, power amplification processing, and mixed signal sampling;
[0140] The signal converter performs signal conversion on the signal mixing operation result according to the state of the first module to obtain a target conversion signal corresponding to the signal mixing operation result;
[0141] The anti-shock submodule switches the anti-shock submodule to a preset second module state according to the target conversion signal, wherein the second module state includes a working state corresponding to a mute state or a stop working state corresponding to an audio output state;
[0142] The speaker performs warning output processing according to the signal mixing operation result, the first module state and the second module state to obtain a corresponding warning output result;
[0143] The signal mixing operation result, the first module state, the second module state and the warning output result are determined as the target warning processing result corresponding to the intelligent security warning device.
[0144] In this optional embodiment, when the first module state is a silent state and the second module state is a working state, the warning output result indicates that the speaker is silent and no audio output is performed;
[0145] When the first module is in the audio output state and the second module is in the stop working state, the warning output result indicates that the speaker outputs an audio signal corresponding to the signal mixing operation result.
[0146] In this optional embodiment, the signal voltage amplitude can be automatically matched through the signal amplification submodule. Since the signal amplitudes of different signal source inputs may differ greatly, the signals need to be averaged to a value close to the appropriate power amplifier gain ratio to prevent the sound from being too small or too loud and distorted. At the same time, mixed signal sampling can also be performed. The system has a noise gate device that needs to detect changes in the input of the mixed signal in order to perform noise gate management according to preset values.
[0147] In this optional embodiment, the signal converter is used to convert the amplified sample analog signal (signal mixing operation result) into a DC switching signal.
[0148] In this optional embodiment, when the intelligent security warning device is powered on, the capacitors of various circuits / modules / components are charging, and the signal path of the power module will be actively cut off to prevent the interference signal caused by charging from being output from the speaker after being power-amplified, and then emitting abnormal noise that shocks the human ear; secondly, when a short circuit or other fault occurs in the line connected to the external speaker, internal switching can be quickly generated to protect the power amplifier circuit from being damaged by instantaneous abnormal current shocks. That is, by introducing a conversion delay of just a few seconds, the sudden impact sound output to the speaker can be effectively suppressed, thereby protecting the speaker from damage and increasing the service life of the speaker.
[0149] It can be seen that in this optional embodiment, through the set audio control module, the module state (first module state) of the signal amplification submodule in the audio control module can be accurately switched for different target control parameters to adapt to different output requirements of the analysis signal; at the same time, the signal mixing operation for the analysis signal is realized by the signal amplification submodule, the intelligent conversion of the signal is realized by the signal converter, and the anti-shock function of the sudden current is realized by the anti-shock submodule, thereby further improving the signal output stability, accuracy and safety of the audio control module.
[0150] In another optional embodiment, the intelligent security warning circuit may further include a light output module, the light output module includes at least a first output submodule, the first output submodule is used to perform intelligent output of three-color light; the light output module may also include a first laser output module and a second laser output module; the first laser output module and the second laser output module are both used to perform adjustment output of laser light;
[0151] In this optional embodiment, during the process in which the audio control module performs the target warning process, the method further includes:
[0152] The lighting output module determines a first lighting parameter for the first output submodule according to the target control parameter;
[0153] Optionally, the lighting output module determines a second lighting parameter for the first laser output module and a third lighting parameter for the second laser output module according to the target control parameter;
[0154] The light output module performs adjustment and output display of the light output parameters according to the first light parameter, the second light parameter and the third light parameter;
[0155] The target light parameter includes at least one of light output duration, light output mode, light output color, and light output wavelength; and the light tube output mode includes intermittent output or continuous output.
[0156] It can be seen that in this optional embodiment, the synchronous output of audio and light is achieved, thereby improving the accuracy of the warning output and the intuitive display of the intelligent security warning device.
[0157] In yet another alternative embodiment, see Figure 7 , Figure 7 is a structural diagram of an audio control module disclosed in an embodiment of the present invention, such as Figure 7 As shown, the signal amplification submodule includes an operational amplifier U1A, an impedance matcher R2, a first operational amplifier resistor R3, a second operational amplifier resistor R4 and an operational amplifier capacitor C1;
[0158] The signal converter includes a first conversion resistor R5, a second conversion resistor R6, a third conversion resistor R7, a fourth conversion resistor R8, a first transistor Q1 and a conversion capacitor C2;
[0159] The anti-shock submodule includes an anti-shock capacitor C3, a second transistor Q2, a first current limiting resistor R9, a second current limiting resistor R10, and a third transistor Q3;
[0160] The positive electrode of the operational amplifier U1A is electrically connected to the first end of the impedance matcher R2, and the positive input end of the operational amplifier U1A is used to receive an input signal, and the input signal includes a resolution signal;
[0161] The negative electrode of the operational amplifier U1A is electrically connected to the first end of the first operational amplifier resistor R3, the first end of the second operational amplifier resistor R4, and the first end of the operational amplifier capacitor C1 respectively;
[0162] The output end of the operational amplifier U1A, the second end of the second operational amplifier resistor R4 and the second end of the operational amplifier capacitor C1 are all electrically connected to the first end of the first conversion resistor R5;
[0163] The second end of the impedance matcher R2 and the second end of the first operational amplifier resistor R3 are grounded.
[0164] In this optional embodiment, U1A is an operational amplifier that extracts and amplifies the sample signal from the mixed signal. R2 is an impedance matcher at the input end of the operational amplifier. R3, R4, C1 and the operational amplifier form an amplification circuit. By adjusting the resistance value of R3 or R4, the sensitivity of the noise gate can be adjusted.
[0165] In this optional embodiment, the second end of the first conversion resistor R5 is electrically connected to the first end of the conversion capacitor C2; the second end of the conversion capacitor C2 is electrically connected to the base of the first transistor Q1 and the first end of the third conversion resistor R7 respectively;
[0166] The first end of the second conversion resistor R6 is used to connect to an external power supply; the second end of the second conversion resistor R6 is electrically connected to the collector of the first transistor Q1, the emitter of the second transistor Q2, and the first end of the anti-shock capacitor C3 respectively; the emitter of the first transistor Q1 is electrically connected to the first end of the fourth conversion resistor R8.
[0167] In this optional embodiment, Q1 and R5, R6, R7, R8, and C2 form a signal converter to convert the amplified sample analog signal into a DC switching signal.
[0168] In this optional embodiment, the base of the second triode Q2 is electrically connected to the first end of the first current limiting resistor R9; the collector of the second triode Q2 is electrically connected to the first end of the second current limiting resistor R10; the second end of the second current limiting resistor R10 is electrically connected to the base of the third triode Q3; the collector of the third triode Q3 is used to output the audio signal;
[0169] The second end of the third conversion resistor R7, the second end of the fourth conversion resistor R8, the second end of the anti-shock capacitor C3, the second end of the first current limiting resistor R9 and the emitter of the third transistor Q3 are all grounded.
[0170] In this optional embodiment, R9 and R10 are base current limiting resistors of the switch tubes Q2 and Q3 respectively, which protect the switch tubes from abnormal operation due to transient current or voltage.
[0171] In this optional embodiment, when the intelligent security warning device is in standby mode, U1A has no signal input, Q1 has no level conversion action, Q2 and Q3 are powered on and work, and the "Signal Mixing Operation" output terminal signal "Sing_out" will be muted, and the user will not hear annoying noise in the speaker. When the intelligent security warning device is in working state, U1A samples the signal input, Q2 and Q3 devices stop working, and the speaker has normal sound output. This device can not only improve the signal-to-noise ratio of the system, but also effectively suppress the sudden impact sound output to the speaker due to the introduction of conversion delay of a few seconds, protect the speaker from damage, and at the same time increase the service life of the speaker.
[0172] Embodiment 2
[0173] See also Figure 2 , Figure 2 It is a flow chart of another intelligent security warning method disclosed in an embodiment of the present invention. Figure 2 The described intelligent security warning method can be applied to an intelligent security warning device, and the embodiments of the present invention are not limited thereto.
[0174] like Figure 2 As shown, the intelligent security early warning method may include the following operations:
[0175] 201. After determining that the intelligent security warning device is powered on, the power control module performs a preset power connection test on the intelligent security warning device to obtain a power connection test result corresponding to the intelligent security warning device.
[0176] In an embodiment of the present invention, the intelligent security warning device also includes a positioning module. Specifically, the positioning module can be a radar module, which can detect targets within the working range in real time. Specifically, the radar module can be used to detect whether there is a vehicle passing by within the working range.
[0177] 202. The positioning module obtains a positioning mode triggered by an operator for the positioning module, where the positioning mode includes a fixed operation mode or a mobile operation mode.
[0178] 203. The positioning module obtains the regional position information corresponding to the operating area where the positioning module is located according to the positioning mode, and transmits the regional position information to the signal processing module.
[0179] 204. After determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the signal processing module determines the detection range corresponding to the signal processing module according to the regional location information, and performs a detection operation on the detection range to obtain a detection result corresponding to the detection range.
[0180] 205. The signal processing module determines whether the detection result indicates that a preset identification target exists in the detection range. When it is determined that the detection result indicates that a preset identification target exists in the detection range, an identification signal for the preset identification target is generated as a control signal for the security warning.
[0181] 206. After detecting the existence of the control signal, the signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal.
[0182] 207. The signal processing module generates a target control parameter of a response control signal according to the target signal processing result.
[0183] 208. The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameters and the target signal processing result, and obtains a target warning processing result corresponding to the intelligent security warning device.
[0184] In the embodiment of the present invention, optionally, the positioning module can detect in real time whether there is a vehicle passing within the detection range corresponding to the intelligent security warning device. Once the target is detected, a TTL signal will be immediately fed back to the signal processing module (such as MCU). The signal processing module will perform signal analysis according to the process set in advance by the user, and finally control the audio control module to make a playback response to remind the operating personnel or passing vehicles to pay attention to safety.
[0185] In the embodiment of the present invention, for other descriptions of step 201 and step 206 to step 208, please refer to other specific descriptions of step 101 and step 103 to step 105 in embodiment 1, which will not be repeated in the embodiment of the present invention.
[0186] It can be seen that the implementation Figure 2 The described intelligent security warning method can locate the location of the intelligent security warning device and determine the adapted regional location information according to different positioning modes, thereby accurately determining the detection range and generating an adapted identification signal based on the positioning mode and regional location information, thereby improving the applicability of the intelligent security warning device and the flexibility of responding to different positioning modes; and is also beneficial to improving the accuracy of target detection performed by the signal processing module.
[0187] In an optional embodiment, the power management and control module includes a fault control submodule, an on / off control submodule, a power protection submodule, an anti-spark submodule and a power switch, wherein:
[0188] The fault control submodule detects the module current corresponding to the power management module, and performs a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current;
[0189] The on-off control submodule performs current on-off control according to the input signal of the power supply control module, and obtains the current on-off control result for the input signal; the current on-off control includes on-control that allows the current of the module to flow or off-control that prohibits the current of the module to flow;
[0190] The power protection submodule detects the wiring state of the power switch, where the wiring state includes a normal state or an abnormal state indicating that the wiring of the power switch is normal;
[0191] The power protection submodule performs state switching for the power switch according to the wiring state, and obtains the state switching result for the power switch; when the wiring state is an abnormal state, the state switching is used to switch the power switch to a power output prohibition state; when the wiring state is a normal state, the state switching is used to switch the power switch to a normal power output state;
[0192] The anti-spark submodule detects the energy output state of the power switch, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch is switched from power-on operation to switch disconnection;
[0193] The anti-spark submodule performs anti-spark processing on the power switch to obtain an anti-spark processing result for the power switch. When it is detected that the power switch is in a power-off state, the anti-spark submodule is in an anti-spark running state. When it is detected that the power switch is in a non-power-off state, the anti-spark submodule is in a standby state.
[0194] The power switch determines the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
[0195] In this optional embodiment, after the power is input into the device, it is first processed to prevent reverse connection. It is mainly a protection device for the power supply to the intelligent security warning device. When the polarity of the power supply is wrong due to human factors, the reverse electromotive force cannot be applied to the main circuit of the device, so that sensitive devices are not damaged by reverse current. Only the correct polarity wiring can start the operation.
[0196] It can be seen that in this optional embodiment, multi-level safety control of the input power is achieved through the multiple sub-modules set in the power supply management and control module, including the first-level safety control based on the fault control sub-module after the power is connected (power-off processing for excessive input current), the second-level safety control based on the on-off control sub-module (conventional current flow control), the third-level safety control based on the power protection sub-module (protection control for the power switch), and the fourth-level safety control based on the anti-spark sub-module (anti-spark protection for the power switch), which improves the safety and reliability of the power input intelligent security warning device.
[0197] In another alternative embodiment, see Figure 6 , Figure 6 is a schematic diagram of a power management and control module disclosed in an embodiment of the present invention. Figure 6 As shown, the fault control submodule can be specifically a fuse F1; the on-off control submodule is a high-power relay RE1; the power protection submodule includes a first diode D1, and the anti-spark submodule includes a second diode D2 and an anti-spark resistor R1, wherein;
[0198] The first end of the fuse F1 is used to connect to an external power source; the second end of the fuse F1 is electrically connected to the first end of the high-power relay RE1 and the positive electrode of the first diode D1 respectively; the second end of the high-power relay RE1 is used to connect to an output signal; the third end of the high-power relay RE1 is used to be grounded; the third end of the high-power relay RE1 is electrically connected to the positive electrode of the second diode D2 and the first end of the anti-spark resistor R1 respectively;
[0199] The fourth end of the high-power relay RE1, the cathode of the diode D2, and the second end of the anti-spark resistor R1 are all electrically connected to the first end of the power switch; the second end of the power switch is electrically connected to the cathode of the first diode D1; the third end of the power switch is used to output the power supply voltage.
[0200] In this optional embodiment, F1 is a fuse. When the circuit current increases abnormally and reaches the set value, the fuse burns out to prevent the impact of the fault from expanding. RE1 is a high-power relay, which is responsible for the on-off control of the main power supply current. D1 is a unidirectional conductive semiconductor diode. When the wiring is correct, the power switch works normally after being energized, and the main power supply has output; when the positive and negative poles of the power supply are reversely wired, D1 cuts off the current, the switch cannot work normally, the main power supply has no output, and the subsequent power supply is protected and not damaged. D2 is a freewheeling diode. When the power switch is disconnected, D2 and R1 simultaneously release the energy on the relay working coil in reverse to protect the contacts of the switch device from sparking and increase the service life of the switch device. The RE1 circuit mainly exhibits inductive reactance characteristics when working. Matching the R1 resistor can reduce the energy impact of the inductor on the circuit when the power is turned on and off.
[0201] Embodiment 3
[0202] See also Figure 3 , Figure 3 : is a schematic diagram of the structure of an intelligent security warning device disclosed in an embodiment of the present invention. The intelligent security warning device may be an intelligent security warning terminal, device, system or server. The server may be a local server, a remote server or a cloud server (also known as a cloud server). When the server is a non-cloud server, the non-cloud server can communicate with the cloud server, which is not limited in the embodiment of the present invention. Figure 3 As shown, the intelligent security warning device may include a power management and control module 301, a signal processing module 302 and an audio control module 303, wherein:
[0203] The power supply control module 301 is used to perform a preset power connection detection on the intelligent security warning device after determining that the intelligent security warning device is powered on, and obtain a power connection detection result corresponding to the intelligent security warning device;
[0204] The signal processing module 302 is used to detect whether there is a control signal for the intelligent security warning device after determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions;
[0205] The signal processing module 302 is further configured to perform target signal processing on the control signal after detecting the presence of the control signal, to obtain a target signal processing result corresponding to the control signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal;
[0206] The signal processing module 302 is further used to generate a target control parameter of the response control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module 303;
[0207] The audio control module 303 is used to perform target warning processing on the intelligent security warning device according to the acquired target control parameters and target signal processing results, and obtain a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output.
[0208] It can be seen that implementation Figure 3The described intelligent security warning device can perform power-on detection after the intelligent security warning device is powered on / connected to power, thereby improving the power-on safety of the intelligent security warning device; then after determining that the preset operating conditions are currently met, target signal processing is performed on the detected control signal, target control parameters are generated, and target warning processing is performed, thereby improving the signal response speed of the intelligent security warning device after detecting the control signal; wherein, the target signal processing performed after the control signal is detected, and the signal type determination and priority processing set therein can accurately identify the type of the control signal and / or perform priority adjustment, so that the control signal can be accurately responded to according to the identified signal type and / or the adjusted priority, thereby improving the accuracy and reliability of the response to the control signal.
[0209] In an optional embodiment, the control signal includes a first control signal corresponding to the resident type and / or a second control signal corresponding to the non-resident type; the signal priority of the first control signal is lower than the signal priority of the second control signal;
[0210] The first control signal includes a USB signal and / or a built-in audio source signal, and the second control signal is a microphone control signal;
[0211] The signal processing module 302 performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, specifically including:
[0212] Perform signal analysis on the control signal to obtain an analysis signal corresponding to the control signal; then perform signal type determination on the analysis signal to obtain a target signal type corresponding to the analysis signal;
[0213] Determine whether the target signal type indicates that priority processing needs to be performed. When it is determined that the target signal type indicates that priority processing needs to be performed, perform state switching on the audio control module 303 to obtain a state switching result corresponding to the audio control module 303. The state switching result is used to indicate that the audio control module 303 switches to the target control state. The audio control module 303 in the target control state is only allowed to output signals whose signal type is a non-resident type.
[0214] The parsed signal, the target signal type and the state switching result are determined as the target signal processing result corresponding to the control signal.
[0215] It can be seen that in this optional embodiment, conventional signal analysis is set for the input target signal, and signal type determination is also set, and then priority judgment is performed based on the determined target signal type, thereby improving the accuracy of subsequent output control for different signal types.
[0216] In this optional embodiment, optionally, the signal processing module 302 performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, which specifically includes:
[0217] When it is determined that the target signal type indicates that priority processing does not need to be performed, all operating signals of the intelligent security warning device that are currently in operation and whose signal type is a resident type are determined;
[0218] Determine a homologous output signal matching the control signal from all the operation signals, each operation signal has a corresponding control component, and the homologous output signal is a signal in which the control component corresponding to the operation signal among all the operation signals is consistent with the control component corresponding to the control signal;
[0219] Updating the homologous output signal into a control signal to obtain an update result for the homologous output signal;
[0220] The parsed signal, the target signal type, and the updated result are determined as the target signal processing result corresponding to the control signal.
[0221] It can be seen that in this optional embodiment, a corresponding signal update mechanism is set up for the target signal type that does not require priority processing, so that the intelligent early warning device can timely update the current output homologous output signal to a control signal, thereby improving the response mechanism of control signals of different signal types and improving the response accuracy to conventional control signals (non-microphone signals).
[0222] In another alternative embodiment, see Figure 4 , Figure ,4 is a schematic diagram of the structure of an intelligent security warning device disclosed in an embodiment of the present invention. Figure 4 As shown, the audio control module 303 includes a signal amplification submodule 3031, a signal converter 3032, an anti-shock submodule 3033 and a speaker 3034;
[0223] The audio control module 303 performs target warning processing on the intelligent security warning device according to the acquired target control parameters and target signal processing results, and the method of obtaining the target warning processing result corresponding to the intelligent security warning device specifically includes:
[0224] The signal amplifying submodule 3031 is used to switch the signal amplifying submodule 3031 to a preset first module state according to the acquired target control parameter, where the first module state includes a mute state or an audio output state;
[0225] The signal amplification submodule 3031 is further used to perform a signal mixing operation on the analytical signal to obtain a signal mixing operation result corresponding to the analytical signal, wherein the signal mixing operation at least includes voltage amplitude matching, power amplification processing and mixed signal sampling;
[0226] A signal converter 3032, configured to perform signal conversion on the signal mixing operation result according to the first module state, to obtain a target conversion signal corresponding to the signal mixing operation result;
[0227] The anti-impact submodule 3033 is used to switch the anti-impact submodule 3033 to a preset second module state according to the target conversion signal, and the second module state includes a working state corresponding to a mute state or a stop working state corresponding to an audio output state;
[0228] The speaker 3034 is used to perform warning output processing according to the signal mixing operation result, the first module state and the second module state to obtain a corresponding warning output result;
[0229] The signal mixing operation result, the first module state, the second module state and the warning output result are determined as the target warning processing result corresponding to the intelligent security warning device.
[0230] In this optional embodiment, when the first module state is the silent state and the second module state is the working state, the warning output result indicates that the speaker 3034 is silent and no audio output is performed;
[0231] When the first module state is the audio output state and the second module state is the stop working state, the warning output result indicates that the speaker 3034 outputs an audio signal corresponding to the signal mixing operation result.
[0232] It can be seen that in this optional embodiment, through the set audio control module, the module state (first module state) of the signal amplification submodule in the audio control module can be accurately switched for different target control parameters to adapt to different output requirements of the analysis signal; at the same time, the signal mixing operation for the analysis signal is realized by the signal amplification submodule, the intelligent conversion of the signal is realized by the signal converter, and the anti-shock function of the sudden current is realized by the anti-shock submodule, thereby further improving the signal output stability, accuracy and safety of the audio control module.
[0233] In yet another optional embodiment, Figure 4 As shown, the intelligent security warning device also includes a positioning module 304, wherein:
[0234] A positioning module 304, used to obtain a positioning mode triggered by an operator for the positioning module 304, where the positioning mode includes a fixed operation mode or a mobile operation mode;
[0235] The positioning module 304 is further used to obtain the regional position information corresponding to the operating area where the positioning module 304 is located according to the positioning mode, and transmit the regional position information to the signal processing module 302;
[0236] After the signal processing module 302 determines that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the method of detecting whether there is a control signal for the intelligent security warning device specifically includes:
[0237] Determine the detection range corresponding to the signal processing module according to the regional location information, and perform a detection operation on the detection range to obtain a detection result corresponding to the detection range;
[0238] It is determined whether the detection result indicates that there is a preset identification target in the detection range. When it is determined that the detection result indicates that there is a preset identification target in the detection range, an identification signal for the preset identification target is generated as a control signal for security warning.
[0239] It can be seen that in this optional embodiment, the location of the intelligent security warning device can be positioned, and the adaptive regional location information can be determined according to different positioning modes, so that based on the positioning mode and the regional location information, the detection range can be accurately determined and an adaptive identification signal can be generated, thereby improving the applicability of the intelligent security warning device and the flexibility of responding to different positioning modes; and it is also beneficial to improve the accuracy of the signal processing module in performing target detection.
[0240] In another optional embodiment, Figure 4 As shown, the power management and control module 301 includes a fault control submodule 3011, an on / off control submodule 3012, a power protection submodule 3013, an anti-spark submodule 3014 and a power switch 3015, wherein:
[0241] The fault control submodule 3011 is used to detect the module current corresponding to the power management and control module 301, and perform a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management and control module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current;
[0242] The on-off control submodule 3012 is used to perform current on-off control according to the input signal of the power supply control module 301, and obtain the current on-off control result for the input signal; the current on-off control includes on-control that allows the module current to flow or off-control that prohibits the module current to flow;
[0243] The power protection submodule 3013 is used to detect the connection state of the power switch 3015, where the connection state includes a normal state or an abnormal state indicating that the connection of the power switch 3015 is normal;
[0244] The power protection submodule 3013 is further used to execute state switching for the power switch according to the wiring state, and obtain the state switching result for the power switch 3015; when the wiring state is an abnormal state, the state switching is used to switch the power switch 3015 to a power output prohibition state; when the wiring state is a normal state, the power switch 3015 is switched to a normal power output state;
[0245] The anti-spark submodule 3014 is used to detect the energy output state of the power switch 3015, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch 3015 switches from power-on operation to switch disconnection;
[0246] The anti-spark submodule 3014 is further used to perform an anti-spark process on the power switch 3015 to obtain an anti-spark process result for the power switch 3015. When it is detected that the power switch 3015 is in a power-off state, the anti-spark submodule 3014 is in an anti-spark operation state. When it is detected that the power switch 3015 is in a non-power-off state, the anti-spark submodule 3014 is in a standby state.
[0247] The power switch 3015 determines the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
[0248] It can be seen that in this optional embodiment, multi-level safety control of the input power is achieved through the multiple sub-modules set in the power supply management and control module, including the first-level safety control based on the fault control sub-module after the power is connected (power-off processing for excessive input current), the second-level safety control based on the on-off control sub-module (conventional current flow control), the third-level safety control based on the power protection sub-module (protection control for the power switch), and the fourth-level safety control based on the anti-spark sub-module (anti-spark protection for the power switch), which improves the safety and reliability of the power input intelligent security warning device.
[0249] Embodiment 4
[0250] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another intelligent security warning device disclosed in an embodiment of the present invention. Figure 5 As shown, the intelligent security early warning device may include:
[0251] A memory 401 storing executable program codes;
[0252] a processor 402 coupled to the memory 401;
[0253] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent security warning method described in the first embodiment of the present invention or the second embodiment of the present invention.
[0254] Embodiment 5
[0255] An embodiment of the present invention discloses a computer storage medium, which stores a computer signal. When the computer signal is called, it is used to execute the steps of the intelligent security warning method described in Embodiment 1 or Embodiment 2 of the present invention.
[0256] Embodiment 6
[0257] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the intelligent security warning method described in Embodiment 1 or Embodiment 2.
[0258] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0259] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0260] Finally, it should be noted that the intelligent security warning method and device, and computer storage medium disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. An intelligent security early warning method, characterized in that: The method is applied to an intelligent security warning device, which includes a power supply management and control module, a signal processing module, and an audio control module; the method includes: After determining that the intelligent security warning device is powered on, the power supply control module performs a preset power connection detection on the intelligent security warning device to obtain a power connection detection result corresponding to the intelligent security warning device; After determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the signal processing module detects whether there is a control signal for the intelligent security warning device; After detecting the presence of the control signal, the signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal; The signal processing module generates a target control parameter in response to the control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module; The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and obtains a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output; The power management and control module includes a fault control submodule, an on / off control submodule, a power protection submodule, an anti-spark submodule and a power switch, wherein: The fault control submodule detects the module current corresponding to the power management and control module, and performs a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management and control module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current; The on-off control submodule performs current on-off control according to the input signal input to the power management and control module, and obtains the current on-off control result for the input signal; the current on-off control includes on-control that allows the current of the module to flow or off-control that prohibits the current of the module to flow; The power protection submodule detects the connection state of the power switch, wherein the connection state includes a normal state or an abnormal state indicating that the connection of the power switch is normal; The power protection submodule performs state switching for the power switch according to the wiring state to obtain a state switching result for the power switch; when the wiring state is the abnormal state, the state switching is used to switch the power switch to a power output prohibition state; when the wiring state is the normal state, the state switching is used to switch the power switch to a normal power output state; The anti-spark submodule detects the energy output state of the power switch, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch is switched from power-on operation to switch disconnection; The anti-spark submodule performs an anti-spark process on the power switch to obtain an anti-spark process result for the power switch. When the power switch is detected to be in the power-off state, the anti-spark submodule is in an anti-spark operation state. When the power switch is detected to be in the non-power-off state, the anti-spark submodule is in a standby state. The power switch determines the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
2. The intelligent security early warning method according to claim 1 is characterized in that: The control signal includes a first control signal corresponding to the resident type and / or a second control signal corresponding to the non-resident type; the signal priority of the first control signal is lower than the signal priority of the second control signal; The first control signal includes a USB signal and / or a built-in audio source signal, and the second control signal is a microphone control signal; The signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, which specifically includes: Performing signal analysis on the control signal to obtain an analysis signal corresponding to the control signal; and then performing signal type determination on the analysis signal to obtain a target signal type corresponding to the analysis signal; Determine whether the target signal type indicates that priority processing needs to be performed, and when it is determined that the target signal type indicates that priority processing needs to be performed, perform state switching on the audio control module to obtain a state switching result corresponding to the audio control module, the state switching result is used to indicate that the audio control module is switched to a target control state, and the audio control module in the target control state is only allowed to output a signal of the non-resident type; The parsed signal, the target signal type, and the state switching result are determined as a target signal processing result corresponding to the control signal.
3. The intelligent security early warning method according to claim 2 is characterized in that: The signal processing module performs target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal, which specifically includes: When it is determined that the target signal type indicates that the priority processing does not need to be performed, all operating signals of the intelligent security warning device currently in operation and whose signal type is the resident type are determined; Determine a homologous output signal matching the control signal from all the operation signals, each of the operation signals has a corresponding control component, and the homologous output signal is a signal in which the control component corresponding to the operation signal among all the operation signals is consistent with the control component corresponding to the control signal; Updating the homologous output signal to the control signal to obtain an update result for the homologous output signal; The parsed signal, the target signal type, and the update result are determined as a target signal processing result corresponding to the control signal.
4. The intelligent security early warning method according to claim 2 or 3, characterized in that: The audio control module includes a signal amplification submodule, a signal converter, an anti-shock submodule and a speaker; The audio control module performs target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and the method of obtaining the target warning processing result corresponding to the intelligent security warning device specifically includes: The signal amplifying submodule switches the signal amplifying submodule to a preset first module state according to the acquired target control parameter, wherein the first module state includes a mute state or an audio output state; The signal amplification submodule performs a signal mixing operation on the analytical signal to obtain a signal mixing operation result corresponding to the analytical signal, wherein the signal mixing operation at least includes voltage amplitude matching, power amplification processing and mixed signal sampling; The signal converter performs signal conversion on the signal mixing operation result according to the first module state to obtain a target conversion signal corresponding to the signal mixing operation result; The anti-shock submodule switches the anti-shock submodule to a preset second module state according to the target conversion signal, wherein the second module state includes a working state corresponding to the mute state or a stop working state corresponding to the audio output state; The speaker performs warning output processing according to the signal mixing operation result, the first module state and the second module state to obtain a corresponding warning output result; The signal mixing operation result, the first module state, the second module state and the warning output result are determined as the target warning processing result corresponding to the intelligent security warning device.
5. The intelligent security early warning method according to claim 4 is characterized in that: When the first module state is the mute state and the second module state is the working state, the warning output result indicates that the speaker is muted and no audio output is performed; When the first module state is the audio output state and the second module state is the stop working state, the warning output result indicates that the speaker outputs an audio signal corresponding to the signal mixing operation result.
6. The intelligent security early warning method according to claim 1, 2, 3 or 5, characterized in that: The intelligent security early warning device also includes a positioning module, wherein: The positioning module acquires a positioning mode triggered by an operator for the positioning module, wherein the positioning mode includes a fixed operation mode or a mobile operation mode; The positioning module obtains the regional position information corresponding to the operating area where the positioning module is located according to the positioning mode, and transmits the regional position information to the signal processing module; After the signal processing module determines that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, the method of detecting whether there is a control signal for the intelligent security warning device specifically includes: After determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions, determining the detection range corresponding to the signal processing module according to the regional location information, and performing a detection operation on the detection range to obtain a detection result corresponding to the detection range; Determine whether the detection result indicates that a preset identification target exists in the detection range. When it is determined that the detection result indicates that the preset identification target exists in the detection range, generate an identification signal for the preset identification target as a control signal for the security warning.
7. An intelligent security early warning device, characterized in that: The intelligent security warning device includes a power management and control module, a signal processing module, and an audio control module, wherein: The power supply control module is used to perform a preset power connection detection on the intelligent security warning device after determining that the intelligent security warning device is powered on, and obtain a power connection detection result corresponding to the intelligent security warning device; The signal processing module is used to detect whether there is a control signal for the intelligent security warning device after determining that the power-on detection result indicates that the intelligent security warning device meets the preset operating conditions; The signal processing module is further configured to, after detecting the presence of the control signal, perform target signal processing on the control signal to obtain a target signal processing result corresponding to the control signal; the target signal processing at least includes signal type determination and / or priority processing for the control signal, and the signal type of the control signal includes a resident type and / or a non-resident type indicating that the control signal is a resident control signal; The signal processing module is further used to generate a target control parameter in response to the control signal according to the target signal processing result; the target control parameter is used to adjust the module output parameter of the audio control module; The audio control module is used to perform target warning processing on the intelligent security warning device according to the acquired target control parameter and the target signal processing result, and obtain a target warning processing result corresponding to the intelligent security warning device; the target warning processing at least includes signal mixing operation and audio signal output; The power management and control module includes a fault control submodule, an on / off control submodule, a power protection submodule, an anti-spark submodule and a power switch, wherein: The fault control submodule is used to detect the module current corresponding to the power management and control module, and perform a preset current processing according to the current value corresponding to the module current to obtain a current processing result for the module current, wherein when the current value is greater than the preset current value, the current processing is a target fault processing, and the target fault processing is used to terminate the power input of the power management and control module; when the current value is less than the preset current value, the current processing is to allow the current input of the module current; The on-off control submodule is used to perform current on-off control according to the input signal input to the power supply control module, and obtain the current on-off control result for the input signal; the current on-off control includes on-control that allows the current of the module to flow or off-control that prohibits the current of the module to flow; The power protection submodule is used to detect the wiring state of the power switch, wherein the wiring state includes a normal state or an abnormal state indicating that the wiring of the power switch is normal; The power protection submodule is further used to execute state switching for the power switch according to the wiring state to obtain a state switching result for the power switch; when the wiring state is the abnormal state, the state switching is used to switch the power switch to a power output prohibition state; when the wiring state is the normal state, the state switching is used to switch the power switch to a normal power output state; The anti-spark submodule is used to detect the energy output state of the power switch, and the energy output state includes a power-off state or a non-power-off state indicating that the power switch is switched from power-on operation to switch disconnection; The anti-spark submodule is further used to perform an anti-spark process on the power switch to obtain an anti-spark process result for the power switch. When the power switch is detected to be in the power-off state, the anti-spark submodule is in an anti-spark operation state. When the power switch is detected to be in the non-power-off state, the anti-spark submodule is in a standby state. The power switch is used to determine the current processing result, the on-off control result, the state switching result and the anti-spark processing result as the power-on detection result.
8. An intelligent security early warning device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent security warning method as described in any one of claims 1-6.
9. A computer storage medium, characterized in that: The computer storage medium stores a computer signal, and when the computer signal is called, it is used to execute the intelligent security early warning method as described in any one of claims 1-6.
Citation Information
Patent Citations
Early warning system for preventing power transmission line from external force damage
CN103337118A
Railway area security system based on bus system alarm technology
CN114333203A