Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The following describes an alarm control method, an alarm control device, and an electronic device of an audible and visual alarm according to embodiments of the present application with reference to the drawings.
Fig. 1 is a schematic flow chart of an alarm control method of an audible and visual alarm provided in an embodiment of the present application.
As shown in fig. 1, the method comprises the steps of:
step 101, a first control signal is obtained.
The execution main body of the embodiment of the application is the alarm control device of the audible and visual alarm, and the alarm control device of the audible and visual alarm can be configured in any electronic equipment, so that the electronic equipment can execute the alarm control function of the audible and visual alarm.
The electronic equipment can be hardware equipment in fully mechanized mining equipment, for example, hardware equipment with a controller arranged in a comprehensive acquisition working face in the field of coal.
In an implementation manner of the embodiment of the application, when an action of a device equipped with an audible and visual alarm is detected, a first control signal is generated, and the first control signal is used for being sent to a plurality of cascaded audible and visual alarms.
In another implementation manner of the embodiment of the application, a first control signal is generated in response to a user operation, and the first control signal is used for being sent to a plurality of cascaded audible and visual alarms.
And 102, controlling a plurality of cascaded audible and visual alarms to perform audible and visual warning according to the first control signal.
The output control signal of the previous acousto-optic alarm in the cascaded acousto-optic alarms is used as the input control signal of the next acousto-optic alarm.
In one implementation manner of this embodiment, as shown in fig. 2, the controller is connected to a plurality of audible and visual alarms, and the audible and visual alarms are cascaded, wherein an output control signal of a previous audible and visual alarm in the cascaded audible and visual alarms is used as an input control signal of a next audible and visual alarm.
For example, as shown in fig. 2, the case where N is 3 is described, in which the audible and visual annunciators are referred to as a first-stage audible and visual annunciator 1, a second-stage audible and visual annunciator 2, and a third-stage audible and visual annunciator 3 in a cascade order. The controller sends the first control signal who acquires to audible-visual annunciator 1 of first order, audible-visual annunciator 1 is after acquireing first control signal, send first control signal to audible-visual annunciator 2 of second order, audible-visual annunciator 2 sends the first control signal who acquires to audible-visual annunciator 3 of third level, thereby realized that the controller sends first control signal to audible-visual annunciator 1 back of first order, the audible-visual annunciator of preceding one-level, send the control signal who acquires to the audible-visual annunciator of back one-level, when having avoided there being a plurality of audible-visual annunciators, the controller need send control information to each audible-visual annunciator, the complexity and the control burden of wiring have been increased.
The cascaded audible and visual alarms in the embodiment can flexibly change the number of the cascaded audible and visual alarms according to scene requirements, are simple and feasible, meet the alarm requirements under different scenes, and improve the alarm effect.
In one implementation manner of the embodiment, as shown in fig. 3, the audible and visual alarm includes: the power supply module DC-DC unit, the processor unit, the communication unit, the storage and encryption unit and the audible and visual alarm unit, wherein the communication module supports cascade connection of N-level audible and visual alarms.
Wherein, audible and visual alarm unit is used for carrying out the acousto-optic warning. Wherein, reputation warning includes: voice warning and/or light warning with different intensity and color.
As one implementation, the audible and visual warning includes: light warnings of different intensities and colors. As shown in fig. 4, the sound and light alarm unit includes an LED driving module, a plurality of LED light emitting devices, and a generating unit module. The LED driving module is used for driving a plurality of LED light-emitting devices connected in series in a multi-path mode, namely A, B, C and … … X in fig. 4 represent LED light-emitting devices with different colors, each color LED lamp is formed by connecting N lamp beads in series, and different LED light-emitting devices can emit light with different colors by controlling the lighting of the lamp beads with different colors so as to warn different working states of equipment provided with the audible and visual alarm, for example, a support in a coal fully mechanized mining working scene.
It should be noted that different audible and visual alarms can display different colors and control the light intensity of the colors to warn different working states or danger degrees, thereby improving the warning effect and flexibility.
As one implementation, the audible and visual warning includes: and voice warning. Wherein, the sound production unit module comprises drive circuit and sound production unit, and wherein drive circuit can drive ordinary bee calling organ or loudspeaker sound production, has improved the variety of sound production.
In this embodiment, the LED driving module can not only drive the LED light emitting device to work, but also obtain the working state of the LED light emitting device in real time, such as working voltage, current, and the like; meanwhile, the driving circuit of the sounding unit can detect the working state of the sounding unit in real time, so that the LED driving circuit of the light-emitting alarm module and the driving circuit of the sounding unit can flexibly configure the output power according to the power supply carrying capacity in an actual application scene, the on-line adjustment of the output power is realized, the requirements of different scenes are met, and the flexibility is increased.
In the alarm control method of the audible and visual alarm of the embodiment, the first control signal is acquired, and the plurality of cascaded audible and visual alarms are controlled to perform audible and visual alarm according to the first control signal, wherein the output control signal of the previous audible and visual alarm in the plurality of cascaded audible and visual alarms is used as the input control signal of the next audible and visual alarm.
Based on the foregoing embodiments, this embodiment provides another possible implementation manner of an alarm control method for an audible and visual alarm, which illustrates how to flexibly control a plurality of cascaded audible and visual alarms to perform alarm indication when the sequencing identifier of each audible and visual alarm is not predetermined, and fig. 5 is a flowchart of another alarm control method for an audible and visual alarm provided in this embodiment.
As shown in fig. 5, the step 102 includes the following steps:
and step 501, controlling the sequencing identifiers in the output control signals of the prior audible and visual alarm to increase progressively according to the first control signal, and using the sequencing identifiers as the input control signals of the latter audible and visual alarm to obtain second control signals of all levels of audible and visual alarms.
Wherein, the first control signal comprises a sequencing identifier. The second control signal comprises an increasing sorting identification. The sequencing identifier may be used to indicate location information for a plurality of audible and visual annunciators or a level of a plurality of audible and visual annunciators.
For convenience of description, in the present embodiment, 3 cascaded audible and visual alarms are described, in which a first audible and visual alarm 1, a second audible and visual alarm 2, and a third audible and visual alarm 3 are provided.
In an example of this embodiment, a sequencing identifier included in a first control signal acquired by a controller is an initial value, for example, 0, the controller sends the first control signal including the sequencing identifier to a first-stage audible and visual alarm 1 of a plurality of cascaded audible and visual alarms, and after receiving the first control signal, the first-stage audible and visual alarm increments the sequencing identifier included in the first control signal, for example, increments the sequencing identifier by 1, and obtains a second control signal including the incremented sequencing identifier output by the first-stage audible and visual alarm. And then, the first-stage audible and visual alarm inputs a second control signal containing the sequencing identifier 1 as an input control signal of the second-stage audible and visual alarm into the second-stage audible and visual alarm, the sequencing identifiers contained in the second control signal are increased in number, namely, the sequencing identifiers are increased in number by 2, and a second control signal containing the sequencing identifiers after increasing in number and output by the second-stage audible and visual alarm is obtained. And then, the second-level audible and visual alarm inputs a second control signal containing the sequencing identifier 1 as an input control signal of the third-level audible and visual alarm into the third-level audible and visual alarm, the sequencing identifiers contained in the second control signal are increased in number, namely, the sequencing identifiers are increased in number by 3, and a second control signal containing the sequencing identifiers after increasing in number and output by the third-level audible and visual alarm is obtained. In the embodiment, the sequencing identification is controlled to be increased progressively in the process of transmitting the control signals in the audible and visual alarms of different levels, so that the audible and visual alarms of different levels are numbered without numbering a plurality of audible and visual alarms in advance, and the flexibility is improved.
In this embodiment, a plurality of cascaded audible and visual alarms are arranged on a support of a large mining height working face in the coal field as an example, as shown in fig. 6, since the mining height of the support is high, a large area is covered, a plurality of audible and visual alarms cascaded through a bus are arranged in different areas on the support, and are identified by B, wherein numbers 1 to 8 are determined sequencing identifications corresponding to first-stage audible and visual alarms to eighth-stage audible and visual alarms.
It should be noted that, in this embodiment, the second control signals corresponding to the different-level audible and visual alarms include different sequencing identifiers, and the second control signals and the first control signals also include different sequencing identifiers.
And 502, controlling the corresponding audible and visual alarms to carry out audible and visual warning according to the increasing sequencing identifications contained in the second control signals of the audible and visual alarms at all levels.
In this embodiment, the first control signal may carry an indication bit for indicating that the sound-light alarm of the corresponding sorting identifier is turned on, for example, the indication bit carried in the first control signal indicates that the sound-light alarm of which the sorting identifier is an even number performs sound-light alarm prompting, and the sound-light alarm of which the sorting identifier is an even number performs sound-light alarm prompting; or the audible and visual alarm of sequencing sign for setting for digit has been instructed to the instruction bit that carries in the first control signal carries and has carried out audible and visual alarm suggestion, wherein, sets for the specific installation region that digit has instructed audible and visual alarm to realized warning the audible and visual alarm of specific regional installation, satisfied different scene demands, improved flexibility and warning effect.
In the alarm control method of the audible and visual alarm of the embodiment, the first control signal is acquired, and the plurality of cascaded audible and visual alarms are controlled to perform audible and visual alarm according to the first control signal, wherein the output control signal of the previous audible and visual alarm in the plurality of cascaded audible and visual alarms is used as the input control signal of the next audible and visual alarm.
Based on the foregoing embodiments, this embodiment provides another possible implementation manner of an alarm control method for audible and visual alarms, which illustrates how to flexibly control a plurality of cascaded audible and visual alarms to perform alarm indication after position information of each audible and visual alarm is predetermined, and as shown in fig. 5, step 102 includes the following steps:
and controlling a target audible and visual alarm matched with the position indication information in the plurality of cascaded audible and visual alarms to perform audible and visual warning according to the position indication information.
The position indication information can be position information, and the position of the audible and visual alarm is determined based on the position information; or sequential identification, namely, the position of the audible and visual alarm is determined according to the sequence of the audible and visual alarm.
In this embodiment, the first control signal includes position indication information of the target audible and visual alarm. Therefore, after the acousto-optic alarms at all levels receive the first control information, the position indication information of the target acousto-optic alarm contained in the first control information is compared with the position indication information stored by the acousto-optic alarms at all levels, if the position indication information stored by the acousto-optic alarms at all levels is matched with the position indication information of the target acousto-optic alarm contained in the first control information, the target acousto-optic alarm with the acousto-optic indication function as required is determined to be the corresponding acousto-optic alarm, and therefore the target acousto-optic alarm carries out acousto-optic warning, the purpose that the acousto-optic alarms installed in specific areas are warned is achieved, different scene requirements are met, and flexibility and warning effect are improved.
In order to implement the above embodiments, the present embodiment provides an alarm control device of an audible and visual alarm.
Fig. 7 is a schematic structural diagram of an alarm control device of an audible and visual alarm provided in an embodiment of the present application, and as shown in fig. 7, the device includes:
the obtaining module 71 is configured to obtain the first control signal.
The control module 72 is configured to control the cascaded audible and visual alarms to perform audible and visual warning according to the first control signal; and the output control signal of the previous acousto-optic alarm in the cascaded acousto-optic alarms is used as the input control signal of the next acousto-optic alarm.
Further, as an implementation manner, the first control signal includes a sorting identifier, and the control module 72 is specifically configured to:
controlling the sequencing identification in the output control signal of the prior audible and visual alarm to increase progressively according to the first control signal, and using the sequencing identification as the input control signal of the later audible and visual alarm to obtain a second control signal of each level of audible and visual alarm; the second control signal comprises an increased sequencing identifier; and controlling the corresponding audible and visual alarms to carry out audible and visual warning according to the sequencing identifications after increasing the number included in the second control signals of the audible and visual alarms at all levels.
As an implementation manner, the first control signal includes position indication information of the target audible and visual alarm, and the control module 72 is specifically configured to:
and controlling a target audible and visual alarm matched with the position indication information in the plurality of cascaded audible and visual alarms to perform audible and visual warning according to the position indication information.
As an implementation manner, the audible and visual alarm includes: voice warning and/or light warning with different intensity and color.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and the principle is the same, and is not repeated here.
In the alarm control device of the audible and visual alarm of this embodiment, acquire first control signal, according to first control signal, control a plurality of cascaded audible and visual alarms and carry out audible and visual warning, wherein, the output control signal of preceding one-level audible and visual alarm among a plurality of cascaded audible and visual alarms is as the input control signal of one-level audible and visual alarm, in this embodiment, through carrying out cascade connection with a plurality of audible and visual alarms, make and send control signal once, a plurality of audible and visual alarms can acquire corresponding control signal, the complexity is reduced, the audible and visual alarm effect has been improved.
In order to implement the above embodiments, the present embodiment provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method as described above.
To implement the above embodiments, the present embodiment provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of the foregoing method embodiments.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.