Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the embodiments of the present disclosure and not all embodiments of the present disclosure, with the understanding that the present disclosure is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one element from another, and are not intended to imply any particular technical meaning, nor is the necessary logical order between them.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Summary of the application
As a common planning facility in modern towns, gas stations and gas stations provide convenient conditions for travel, life and the like of residents; wherein, the filling station generally is provided with structures such as tanker aircraft, underground oil pipe, breather pipe, draining port, and the explosion-proof area belongs to within three meters near these structures.
In the process of implementing the present disclosure, the inventor finds that in the prior art, places such as gas stations and gas filling stations have very large potential safety hazards.
Specifically, during the process of refueling (e.g. gasoline refueling) at a gas station, oil gas diffuses and volatilizes outwards, so that the density of gasoline around a nozzle of a refueling gun is increased, especially in dry and high-temperature environments such as summer, the density of gasoline around the nozzle is increased rapidly due to high temperature and fast volatilization of gasoline, and once the concentration of gasoline in the air around the nozzle reaches an explosion point (e.g. 1.3% to 6%), any tiny spark or static electricity can cause explosion.
For example, although a gasoline station has a high level of safety protection specification requirement, and a corresponding safety operation requirement is also required for a gasoline station operator, such as a gasoline station explicitly forbids to connect a mobile phone during a refueling process, there may still exist some personnel (for example, social personnel entering the gasoline station) to connect the mobile phone during the vehicle refueling process. Because the mobile phone in the on-off state can transmit and receive signals, the transmission and the reception of the signals can generate electronic friction, the electronic friction can generate electric sparks, and if the concentration of gasoline in the air around the oil gun opening just reaches an explosion point, the electric sparks generated by the electronic friction are likely to cause explosion.
Therefore, how to ensure the safety of the gas station, the gas station and other places is an urgent problem to be solved for the technicians in the field.
Brief description of the drawings
It should be noted that the embodiments of the present disclosure may be used to improve the safety of a gas station as well as the safety of a gas station, and for convenience of understanding, the embodiments of the present disclosure are all described by taking the case of improving the safety of a gas station as an example.
A number of noun terms are referred to hereinafter, and some of the noun terms referred to hereinafter are briefly described herein.
AI: english is called Artificial Intelligence and Chinese is called Artificial Intelligence.
ISP: english is called Image Signal Processing, and Chinese is called Image Signal Processing.
MIPI: english is called Mobile Industry Processor Interface and Chinese is called Mobile Industry Processor Interface.
RAW: originally as raw.
RGB: r represents red, G represents green, and B represents blue.
Gamma: can be translated into gamma.
GPIO: english is called General-purpose input/output, and Chinese is called General input/output.
MOSFET: the Transistor is called Metal-Oxide-Semiconductor Field-Effect Transistor in English and called Metal-Oxide-Semiconductor Field-Effect Transistor in Chinese.
CNN: english is called Convolutional Neural Networks, and Chinese is called Convolutional Neural Networks.
A power amplifier: the English is called Power Amplifier, and the English is abbreviated as PA.
Exemplary device
Fig. 1 is a schematic structural diagram of a safety shield apparatus provided in an exemplary embodiment of the present disclosure. The safety shield apparatus shown in figure 1 may include: a device body 10, a processing module 20 and a switch assembly 30.
The processing module 20 is electrically connected with the switch assembly 30, the switch assembly 30 is installed on the device body 10, and a dangerous medium output port is formed on the device body 10.
Here, the safety protection device may be a fuel nozzle (e.g., a gasoline fuel nozzle), the device body 10 may be a main structure of the fuel nozzle for implementing a fuel filling function, and the hazardous medium outlet provided in the device body 10 may be a fuel nozzle.
Here, the processing module 20 may be mounted to the apparatus body 10 by welding, screwing, clipping, or the like; the switch assembly 30 may also be mounted to the device body 10 by welding, screwing, clipping, etc. Specifically, the processing module 20 may be in the form of an AI chip, and the processing module 20 may include a first GPIO pin, which may be electrically connected with the switch component 30 to achieve electrical connection between the processing module 20 and the switch component 30.
Of course, the processing module 20 may not be mounted on the device body 10, and only the electrical connection between the processing module 20 and the switch assembly 30 needs to be ensured, and the specific mounting position of the processing module 20 is not limited in any way in the embodiment of the present disclosure.
The processing module 20 is configured to control the switch assembly 30 to block the medium output of the hazardous medium output port if it is determined that there is a safety risk based on the image within the preset range of the hazardous medium output port.
As shown in fig. 1, in the embodiment of the present disclosure, an image capturing module 40 independent from the safety protection device may be provided, where the image capturing module 40 is configured to capture an image within a preset range of the output port of the hazardous medium; the image acquisition module 40 may be a camera module, and the preset range of the hazardous medium output port may be an area within a set distance from the hazardous medium output port. Here, the set distance may be two meters, three meters, four meters, etc., which are not listed here.
After capturing images within the preset range of the hazardous medium output port, the image capturing module 40 may send the captured images to the processing module 20, and the processing module 20 may determine whether a safety risk exists based on the received images. Generally speaking, the image within the preset range of the hazardous medium output port can present the behavior of the personnel within the range, and the processing module 20 can judge whether the safety risk exists according to whether the personnel have the improper behavior which is easy to cause the explosion within the range.
If personnel have the improper action that causes the blasting easily in this scope, then can confirm that there is the safety risk, processing module 20 can block the medium output of hazardous medium delivery outlet through the control to switch module 30, and like this, the density of petrol can not continue to increase around the hazardous medium delivery outlet, and the petrol concentration can't reach the explosion point to can reduce the possibility that takes place the blasting.
If personnel do not have the improper action that easily causes the blasting in this scope, then can confirm that there is not the safety risk, processing module 20 can not control switch module 30, and the hazardous medium delivery outlet can normally export petrol, refuels for the vehicle.
In the embodiment of the present disclosure, the processing module 20 may control the switch component 30 to block the medium output of the hazardous medium output port when it is determined that the safety risk exists based on the image within the preset range of the hazardous medium output port. That is, under the condition that there is the safety risk, dangerous media such as oil, natural gas can't outwards export through corresponding delivery outlet, can reduce the possibility that dangerous media such as oil, natural gas cause the blasting like this, consequently, compare with prior art, the security in places such as filling station, gas station can be improved to the embodiment of this disclosure.
It should be noted that, the processing module 20 determines that there are various specific implementation forms of the safety risk based on the image within the preset range of the hazardous medium output port, which is described below by way of example.
In one embodiment, the processing module 20 may determine that a safety risk exists in a case where the human body is identified to be included in the image and the human body has a predetermined dangerous limb movement.
Here, the preset dangerous limb action includes, but is not limited to, an action of connecting and disconnecting a mobile phone, an action of igniting, and the like.
In this embodiment, a living body detection model may be obtained by pre-training using the CNN algorithm, and the living body detection model may be used to identify the human body and the body movements of the human body.
In specific implementation, the image capturing module 40 may capture multiple frames of images continuously, and send all the multiple frames of images to the processing module 20. Next, the processing module 20 may detect whether an image including a human body exists in the multi-frame images by using the living body detection model; if the images containing the human body exist in the multi-frame images, whether the human body has the preset dangerous limb actions or not can be detected by using the living body detection model and the images containing the human body. If the human body has the action of presetting dangerous limbs, then can judge that personnel have the improper action that easily arouses the blasting in the preset scope of hazardous medium delivery outlet, then, can confirm that there is the safety risk.
Therefore, in the embodiment, the situation with safety risk can be identified very conveniently according to the image in the preset range of the dangerous medium output port.
In another embodiment, the processing module 20 is configured to determine that a security risk exists if a predetermined hazardous material is identified as being contained in the image.
Here, the preset dangerous goods include, but are not limited to, a mobile phone, a tablet computer, a lighter, etc.
In this embodiment, a dangerous goods detection model may be obtained by pre-training using the CNN algorithm, and the dangerous goods detection model may be used to identify a preset dangerous goods.
In specific implementation, the image capturing module 40 may capture multiple frames of images continuously, and send all the multiple frames of images to the processing module 20. Next, the processing module 20 may detect whether an image containing a preset dangerous object exists in the multi-frame images by using the dangerous object detection model. If the images containing the preset dangerous goods exist in the multi-frame images, people can be considered to bring the goods which are easy to bring danger into the preset range of the dangerous medium output port, at the moment, the situation that the people have improper behaviors which are easy to cause explosion in the range can be judged, and then the existence of safety risks can be determined.
It can be seen that, in this embodiment, the situation in which a safety risk exists can also be very easily recognized from the image within the preset range of the hazardous-medium outlet.
In other embodiments, in order to identify the situation where there is a safety risk, the above two embodiments may be combined, for example, the processing module 20 may determine that there is a safety risk when it identifies that the image includes a human body, the human body has a preset dangerous limb movement, and the image includes a preset dangerous object, so as to ensure the reliability of the determination result.
In an alternative example, image capture module 40 may be a camera module capable of operating both day and night. Specifically, the image capturing module 40 may adopt a binocular lens module, as shown in fig. 2, the image capturing module 40 may include: a first lens 401 and a second lens 402; the first lens 401 may be used with an image sensor for sensing color (e.g., sensing RGB), and the second lens 402 may be used with an image sensor for sensing black and white.
Therefore, through the use of the binocular lens module, the safety of places such as gas stations and gas stations can be guaranteed no matter in the daytime or at night.
In an alternative example, as shown in fig. 2, an image processing unit 50 may be further provided, the first lens 401 and the second lens 402 in the image capturing module 40 may be electrically connected to the image processing unit 50, respectively, and the image processing unit 50 may be further electrically connected to the processing module 20 in fig. 1.
Specifically, the first lens 401 can be connected to the image processing unit 50 via an MIPI and a corresponding connection cable, the second lens 402 can be connected to the image processing unit 50 via another MIPI and a corresponding connection cable, and the image processing unit 50 can be connected to the processing module 20 via another MIPI and a corresponding connection cable. In addition, the image processing unit 50 may include an ISP chip.
After the image capturing module 40 captures an image within a preset range of the hazardous medium output port, the image capturing module 40 may send the captured image to the image processing unit 50, so that the image processing unit 50 performs image processing on the received image. Here, the image processing includes, but is not limited to, the following processing: dead pixel correction, aperture effect removal, spatial domain denoising, automatic white balance, automatic exposure gain control, automatic focusing, demosaicing (converting RAW into RGB), Gamma correction, saturation chromaticity adjustment, contrast adjustment, image special effect adjustment, image edge sharpening, chromaticity space smoothing and adjustment, image clipping and scaling and wide dynamic range.
Thereafter, the image processing unit 50 may transmit the image-processed image to the processing module 20; the processing module 20 may determine whether there is a security risk based on the image processed image. Since the processing module 20 determines based on the image after image processing, the image after image processing can be regarded as the image after optimization processing, so that the reliability of the determination result can be ensured.
In an alternative example, as shown in fig. 3 and 4, the switch assembly 30 of fig. 1 includes: the switch body 301 and the control circuit 302, the processing module 20 in fig. 1 is electrically connected to the control circuit 302, the switch body 301 has a first working state and a second working state, the switch body 301 allows the medium output of the dangerous medium output port in the first working state, and the switch body 301 blocks the medium output of the dangerous medium output port in the second working state;
the processing module 20 is configured to control the control circuit 302 to be turned on when there is a safety risk, and the control circuit 302 drives the switch body 302 to switch from the first operating state to the second operating state.
Here, the first GPIO pin of the processing module 20 may be electrically connected with the control circuit 302 to achieve electrical connection between the processing module 20 and the control circuit 302.
It should be noted that the switch body 301 may have two operating states, namely a first operating state and a second operating state; the switch body 301 in the first working state allows the medium output from the dangerous medium output port, and at this time, the switch body 301 can be considered to be in an open state, so that the gasoline can be normally output from the dangerous medium output port; when the switch body 301 in the second working state blocks the medium output of the dangerous medium output port, the switch body 301 can be considered to be in the closed state, and the gasoline cannot be output from the dangerous medium output port.
In the embodiment of the present disclosure, under the condition that there is a safety risk, the processing module 20 may control the control circuit 302 to turn on the control circuit 302, the turned-on control circuit 302 may provide a driving force for the switch body 301, and under the action of the driving force, the switch body 301 may be switched from the first operating state to the second operating state, so that the medium output of the hazardous medium output port may be blocked, and thus, the safety may be ensured. It can be seen that, in the embodiment of the present disclosure, the state switching of the switch body 301 can be automatically realized only by turning on the control circuit 302, and therefore, the operation of realizing the state switching of the switch body 301 is very convenient to implement.
In an alternative example, as shown in fig. 3 and 4, the safety shield apparatus further includes: a shield case 60 mounted to the apparatus body 10 in fig. 1, a control circuit 302 provided inside the shield case 60, the control circuit 302 including: a first power supply 3021, a first switching tube 3022 (which may also be denoted by switch S in fig. 3) and a first inductance 3024 having a magnetic core 3023;
a first pole (the pole of the first switch 3022 denoted by 1 in fig. 4) of the first switch 3022 is electrically connected to the processing module 20, a second pole (the pole of the first switch 3022 denoted by 2 in fig. 4) of the first switch 3022 is electrically connected to the first power source 3021, a third pole (the pole of the first switch 3022 denoted by 3 in fig. 4) of the first switch 3022 is grounded through the first inductor 3024, and the switch body 301 has magnetism;
the processing module 20 is configured to control the first switch tube 3022 to be turned on when there is a safety risk, so that the magnetic attraction provided by the first inductor 3024 to the switch body 301 drives the switch body 301 to switch from a position having a preset distance from the shielding cover 60 to a position abutting against the outer wall of the shielding cover 60; at a position having a preset distance from the shielding case 60, the switch body 301 is in a first working state; the switch body 301 is in the second operating state at a position pressed against the outer wall of the shielding case 60.
Here, the shield case 60 may be mounted to the apparatus body 10 by welding, screwing, clipping, or the like; the shielding case 60 may be a rectangular parallelepiped structure provided with a cavity, and of course, the shielding case 60 may also be in other regular or irregular structures; the shielding cover body 60 may be made of an explosion-proof material with a high flame-retardant rating, the shielding cover body 60 may also be referred to as an explosion-proof shielding cover, and the cavity of the shielding cover body 60 may also be referred to as an explosion-proof shielding cavity.
Here, the first power supply 3021 may be a regulated power supply, and for example, the voltage supplied from the first power supply 3021 may be 1.8V, 3V, 5V, or the like.
Here, the first switch 3022 may be a MOSFET, a triode, or other controllable switching device, and for convenience of understanding, in the embodiments of the present disclosure, the case where the first switch 3022 is a MOSFET is exemplified, in which case, the first pole of the first switch 3022 may be a gate, the second pole of the first switch 3022 may be a source, and the third pole of the first switch 3022 may be a drain.
Here, the first inductor 3024 having the magnetic core 3023 may also be referred to as a magnetic core-included inductor.
In order to ensure that the switch body 301 has magnetism, as shown in fig. 3, the switch body 301 may include: the switch 3011 and the magnet 3012, the magnet 3012 may be disposed on the surface of the switch 3011 near the shield cover 60.
Of course, the way of ensuring the switch body 301 to have magnetism is not limited to this, for example, the switch body 301 may only include the switch piece 3011 without the magnet 3012, and the switch piece 3011 itself may be made of magnetic material, which is also feasible. For the sake of easy understanding, the embodiments of the present disclosure will be described by taking the case where the structure of the switch body 301 is shown in fig. 3 as an example.
In this way, under the condition that there is no safety risk, the first switch tube 3022 may be in the cut-off state (corresponding to S in fig. 3 being in the open state), no current passes through the control circuit 302, no magnetic force is generated in the magnetic core 3023, the first inductor 3024 cannot provide magnetic attraction, the switch body 301 is maintained at the position shown in fig. 3, and a preset distance is provided between the switch body 301 and the shielding cover 60, at this time, the switch body 301 may be in the first working state, and the gasoline may be output normally.
Under the condition that there is a safety risk, the processing module 20 may control the first switch tube 3022 to be turned on, because the first switch tube 3022 is switched to be in a turned-on state (which is equivalent to that S in fig. 3 is in a turned-on state), a current passes through the control circuit 302, a magnetic force is generated in the magnetic core 3023, the first inductor 3024 may provide a strong magnetic attraction force to the magnet 3012 in the switch body 301, and under the action of the magnetic attraction force, the switch body 301 may be attracted to a position abutting against the shielding cover 60, at this time, the switch 3011 in the switch body 301 may completely block the hazardous medium output port, that is, the switch body 301 may be in the second working state, and the gasoline cannot be continuously output outwards.
It can be seen that, in the embodiment of the present disclosure, the structure of the control circuit 302 is very simple, and the position switching of the switch body 301 can be very conveniently realized by controlling the on-off state of the first switch tube 3022 in the control circuit 302, so as to realize the state switching of the switch body 301. Since the embodiment of the present disclosure triggers the state switching in a mechanical + magnetic device manner, and the control circuit 302 is disposed in the shielding case 60, the problems of electric spark, short circuit, etc. that may be caused by the circuit can be effectively reduced, thereby reducing the possibility of occurrence of explosion.
In an alternative example, as shown in fig. 4, the switch assembly further includes: a voltage regulating circuit 303, the voltage regulating circuit 303 is disposed in the shielding case 60 shown in fig. 3, the first pole of the first switch tube 3022 is electrically connected with the processing module 20 through the voltage regulating circuit 303, and the voltage regulating circuit 303 is used for regulating the voltage of the first pole of the first switch tube 3022.
Here, the first GPIO pin of the processing module 20 may be electrically connected to the first pole of the first switching tube 3022 through the voltage regulating circuit 303.
In one embodiment, the voltage regulation circuit 303 includes: a first resistor 3031, a second switch tube 3032, a second resistor 3033 and a second power source 3034;
a first pole of the second switch tube 3032 is electrically connected with the processing module 20, a second pole of the second switch tube 3032 is grounded through a first resistor 3031, a third pole of the second switch tube 3032 is electrically connected with a second power source 3034 through a second resistor 3033, and at least one of the first resistor 3031 and the second resistor 3033 has an adjustable resistance value;
the processing module 20 is configured to control an on/off state of the second switch tube 3032 to turn on the first switch tube 3022 when there is a security risk.
Here, at least one of the first and second resistances 3031 and 3033 may be a sliding varistor.
Here, the second power source 3034 may be a regulated power source, and for example, the voltage supplied by the second power source 3034 may be 1.8V, 3V, 5V, or the like.
Here, the second switch 3032 may be a MOSFET, a triode, or other controllable switching device, and for convenience of understanding, in the embodiments of the present disclosure, the case where the second switch 3032 is a MOSFET is exemplified, in which case, the first pole of the second switch 3032 may be a gate, the second pole of the second switch 3032 may be a source, and the third pole of the second switch 3032 may be a drain.
It should be noted that, when the second switch tube 3032 is in the off state, the voltage at the first pole of the first switch tube 3022 is kept to be zero; in the case where the second switch 3032 is in the on state, the voltage at the first pole of the first switch 3022 is greater than zero, and if the resistance value of at least one of the first resistor 3031 and the second resistor 3033 changes, the voltage at the first pole of the first switch 3022 also changes accordingly.
Generally, if the MOSFET is to be turned on, the voltage difference between the gate and the source of the MOSFET needs to be larger than a specific difference, and the specific difference may be 1V, 1.5V, 2V, 3V, and the like, which is not listed here.
Assuming that the voltages supplied by the first power source 3021 and the second power source 3034 are both 5V, and to turn on the first switching tube 3022, the voltage difference between the gate and the source of the first switching tube 3022 needs to reach at least 3V, then, under the condition that there is a safety risk, the second switching tube 3032 may be controlled to be turned off, at this time, the voltage difference between the gate and the source of the first switching tube 3022 is 5V, and the condition that the voltage is greater than 3V is satisfied, and the first switching tube 3022 can be turned on; or, in the case of a safety risk, the second switch tube 3032 may be controlled to be turned on, and the voltage of the gate of the first switch tube 3022 is made to be less than 2V by adjusting the resistance value of at least one of the first resistor 3031 and the second resistor 3033, and at this time, the voltage difference between the gate and the source of the first switch tube 3022 satisfies a condition of being greater than 3V, so that the first switch tube 3022 can also be turned on.
Assuming that the voltages supplied by the first power source 3021 and the second power source 3034 are both 1.8V, and to turn on the first switching tube 3022, the voltage difference between the gate and the source of the first switching tube 3022 needs to reach at least 1V, then, under the condition that there is a safety risk, the second switching tube 3032 may be controlled to be turned off, at this time, the voltage difference between the gate and the source of the first switching tube 3022 is 1.8V, and the condition that the voltage is greater than 1V is satisfied, and the first switching tube 3022 can be turned on; or, in the case of a safety risk, the second switch tube 3032 may be controlled to be turned on, and the voltage of the gate of the first switch tube 3022 is made to be less than 0.8V by adjusting the resistance value of at least one of the first resistor 3031 and the second resistor 3033, and at this time, the voltage difference between the gate and the source of the first switch tube 3022 satisfies a condition of being greater than 1V, so that the first switch tube 3022 can also be turned on.
It can be seen that, in the embodiment of the present disclosure, in the case of a safety risk, by controlling the on/off of the second switch tube 3032 and adjusting the resistance value of at least one of the first resistor 3031 and the second resistor 3033, the voltage difference between the first pole and the second pole of the first switch tube 3022 can meet the requirement, so as to achieve the conduction of the first switch tube 3022. In addition, due to the arrangement of the voltage regulating circuit 303, the conduction of the first switch tube 3022 need not be limited by the voltage provided by the first power source 3021.
It should be noted that the structure of the voltage regulating circuit 303 is not limited to the case shown in fig. 4, and for example, three or more than three sliding varistors may be included in the voltage regulating circuit 303, which is also possible.
In an alternative example, as shown in fig. 3, the switch assembly 30 further includes: the switch body 301 is connected with the body mounting seat 304 through an elastic element 305, and when the switch body 301 is in the second working state, the elastic element 305 has an elastic restoring force for driving the switch body 301 to restore to the first working state.
Here, the body mount 304 may have an L-shaped structure, and the switch body 301 may be rotatably coupled to one side of the body mount 304 by the elastic member 305. In particular, the elastic element 305 may be a spring (e.g., a tension spring), an elastic band, or the like.
In the embodiment of the disclosure, when the control circuit 302 is turned on, the switch body 301 is attracted to the position pressed against the shielding cover 60 due to the magnetic attraction of the first inductor 3024, the elastic element 305 is elastically deformed, and the elastic element 305 can accumulate the elastic restoring force for driving the switch body 301 to return to the first operating state due to the elastic deformation. Thereafter, once the control circuit 302 is turned off, the switch body 301 can be automatically restored to the position shown in fig. 3 by the elastic restoring force accumulated in the elastic element 305 since the first inductor 3024 no longer provides the magnetic attraction force.
As can be seen, in the embodiment of the present disclosure, the elastic element 305 is utilized to conveniently achieve the self-returning of the switch body 301.
In an alternative example, the safety shield apparatus further comprises: a detection module (not shown in the figure) electrically connected to the processing module 20;
the detection module is used for acquiring the electromagnetic wave intensity within a preset range and sending the electromagnetic wave intensity to the processing module 20;
the processing module 20 is configured to control the switch assembly 30 to block the medium output from the hazardous medium output port if it is determined that the safety risk exists based on the image and the intensity of the electromagnetic wave is greater than the preset intensity.
Here, the detection module may be a receiving antenna, a receiver, or other devices capable of collecting the intensity of the electromagnetic wave, and the detection module may be fixedly disposed on the apparatus body 10.
In the embodiment of the disclosure, an image in the preset range of the dangerous medium output port can be acquired, and the electromagnetic wave intensity in the preset range of the dangerous medium output port can be acquired. Then, whether a security risk exists or not can be determined based on the acquired image, and whether the acquired electromagnetic wave intensity is greater than a preset intensity or not can also be judged.
If it is determined that a safety risk exists based on the acquired image and the two conditions that the acquired electromagnetic wave intensity is greater than the preset intensity are both met, it can be considered that an improper behavior which easily causes explosion exists in the preset range of the hazardous medium output port, and a high-strength electromagnetic signal exists around the hazardous medium output port, in this case, the possibility of explosion is very high, and in order to ensure safety, the processing module 20 can control the switch assembly 30 to block the medium output of the hazardous medium output port.
Therefore, the embodiment of the disclosure can judge whether the medium output of the dangerous medium output port needs to be blocked or not by combining the image and the electromagnetic wave intensity, so that the reliability of the judgment result can be ensured.
In an alternative example, as shown in fig. 5, the safety shield apparatus further comprises: an alarm module 70 electrically connected to the processing module 20;
the processing module 20 is also used for controlling the alarm module 70 to output an alarm signal in case of safety risk.
Here, the alarm signal includes, but is not limited to, an audible alarm signal, a light alarm signal, a text alarm signal, etc. In addition, the safety device may include a human-machine interaction module, and the alarm module 70 may belong to the human-machine interaction module.
Specifically, the alarm module 70 may include: a power amplifier 701, a speaker 702, and a third power supply 703. Here, the power amplifier 701 may include: an output interface (i.e., the interface labeled 1 for the power amplifier 701 in fig. 5), a redundant interface (i.e., the interface labeled 2 for the power amplifier 701 in fig. 5), a power supply interface (i.e., the interface labeled 3 for the power amplifier 701 in fig. 5), a control signal interface (i.e., the interface labeled 4 for the power amplifier 701 in fig. 5), an input interface (i.e., the interface labeled 5 for the power amplifier 701 in fig. 5), and a ground interface (i.e., the interface labeled 6 for the power amplifier 701 in fig. 5); the output interface of the power amplifier 701 may be electrically connected to the speaker 702, the power interface of the power amplifier 701 may be electrically connected to the third power source 703, the ground interface of the power amplifier 701 may be grounded, the input interface of the power amplifier 701 may be electrically connected to an audio device 80, and the control signal interface of the power amplifier 701 may be electrically connected to the second GPIO pin of the processing module 20.
In the embodiment of the present disclosure, the audio device 80 may provide a preset alarm audio to the power amplifier 701, and the power amplifier 701 may perform processing such as power amplification on the alarm audio provided by the audio device 80. In the case of a security risk, the processing module 20 may provide an alarm trigger signal to the power amplifier 70, and in response to the alarm trigger signal, the power amplifier 70 may output an alarm audio processed by power amplification or the like to the speaker 702, and the speaker 702 may play the alarm audio.
It can be seen that embodiments of the present disclosure may trigger the alarm module 70 to output an alarm signal to prompt a worker in the case of a safety risk.
In an alternative example, in order to ensure the safety of the gas station, as shown in fig. 6, an image acquisition module 40, an image processing unit 50, a processing module 20, a switch body 301, a control circuit 302 and an alarm module 70 may be provided; the processing module 20 may be electrically connected to the image processing unit 50, the control circuit 302 and the alarm module 70, respectively, and the image processing unit 50 may also be electrically connected to the image capturing module 40.
In specific implementation, the image acquisition module 40 may acquire an image within a preset range of the hazardous medium output port, and send the acquired image to the image processing unit 50; the image processing unit 50 may perform image processing on the received image and transmit the image-processed image to the processing module 20.
Next, the processing module 20 may determine whether there is a security risk based on the image processed image. Under the condition that safety risk exists, the processing module 20 may control the control circuit 302 to be turned on, so that the control circuit 302 drives the switch body 301 to be switched from the first working state to the second working state, thereby blocking the output of gasoline; in addition, the processing module 20 may control the alarm module 70 to output an alarm signal in case of a security risk.
In summary, in the embodiments of the present disclosure, by using the camera vision, the AI technology and the CNN algorithm, it is possible to accurately identify illegal operations such as a call making and receiving action of a person, and turn on the control circuit 302 in time, so as to automatically cut off the oil and gas outlet and block the volatilization of gasoline, and the state control of the switch body 301 adopts a mechanical + magnetic scheme, so that it is possible to avoid placing an electronic circuit near the oil gun port as much as possible, so as to reduce the problems of electric sparks, short circuits and the like possibly caused by the circuit, and thus effectively reduce the possibility of occurrence of an explosion. In addition, in the embodiment of the disclosure, the personnel entering the gas station can normally use the mobile phone, and the personnel cannot be allowed only when the personnel is close to the fuel dispenser and uses the mobile phone, that is, the safety protection device has an intelligent automatic protection function, so that the limitation of manual intervention (for example, manually stopping the action of connecting and connecting the mobile phone) is avoided.
Exemplary method
Fig. 7 is a flowchart illustrating a security protection method according to an exemplary embodiment of the disclosure. The method shown in fig. 7 comprises step 701 and step 702.
And step 701, determining an image in a preset range of a dangerous medium output port.
Here, an image capturing module independent of the safety protection device may be provided, and the image capturing module may be provided corresponding to a dangerous medium output port formed on the device body of the safety protection device, so that the image capturing module can capture an image within a preset range of the dangerous medium output port, and the image captured by the image capturing module may be the image determined in step 701.
And step 702, controlling a switch assembly in the safety protection device to block the medium output of the dangerous medium output port under the condition that the safety risk is determined to exist based on the image.
It should be noted that, the specific structure of the safety protection device may refer to the above description, and is not described herein again.
In the embodiment of the disclosure, the switch component in the safety protection device can be controlled to block the medium output of the dangerous medium output port under the condition that the safety risk is determined to exist based on the image in the preset range of the dangerous medium output port. That is, under the condition that there is the safety risk, dangerous media such as oil, natural gas can't outwards export through corresponding delivery outlet, can reduce the possibility that dangerous media such as oil, natural gas cause the blasting like this, consequently, compare with prior art, the security in places such as filling station, gas station can be improved to the embodiment of this disclosure.
In one optional example, controlling a switch assembly in a safety shield apparatus to block media output from a hazardous media output port comprises:
controlling a control circuit in a switch assembly in the safety protection equipment to be conducted, wherein the control circuit drives a switch body in the switch assembly to be switched from a first working state to a second working state; the medium output of the dangerous medium output port is allowed to the switch body in the first working state, and the medium output of the dangerous medium output port is blocked by the switch body in the second working state.
In one optional example, determining that a security risk exists based on the image includes:
determining that a safety risk exists under the condition that the image is identified to contain a human body and the human body has a preset dangerous limb action;
or,
in the case where it is recognized that a preset dangerous article is included in the image, it is determined that a safety risk exists.
In an optional example, an image acquisition module may be specially provided, and the image acquisition module is used for acquiring images within a preset range of the hazardous medium output port.
As shown in fig. 8, firstly, a person or a vehicle enters the image capturing range of the image capturing module, and then the image capturing module can send the image captured in real time to the processing module in the safety protection device. Next, the processing module may adopt a training model (e.g., the above living body detection model) to determine whether the person has an action of connecting or disconnecting the mobile phone; the processing module may further use an auxiliary model (e.g., the above dangerous goods detection model) to determine whether dangerous goods such as a mobile phone and a tablet computer exist in the image. If the processing module judges that the person has the action of connecting and disconnecting the mobile phone and dangerous articles such as the mobile phone, a tablet personal computer and the like exist in the image, the protection function can be started, for example, a switch assembly of the safety protection equipment can be controlled to cut off oil outlet, and the alarm module can be started.
Exemplary electronic device
Next, an electronic apparatus according to an embodiment of the present disclosure is described with reference to fig. 9. The electronic device may be either or both of the first device and the second device, or a stand-alone device separate from them, which stand-alone device may communicate with the first device and the second device to receive the acquired input signals therefrom.
FIG. 9 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure.
As shown in fig. 9, the electronic device 90 includes one or more processors 91 and memory 92.
The processor 91 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 90 to perform desired functions.
Memory 92 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 91 to implement the security methods of the various embodiments of the present disclosure described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 90 may further include: an input device 93 and an output device 94, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
For example, when the electronic device is a first device or a second device, the input means 93 may be a microphone or a microphone array. When the electronic device is a stand-alone device, the input means 93 may be a communication network connector for receiving the acquired input signals from the first device and the second device.
The input device 93 may also include, for example, a keyboard, a mouse, and the like.
The output device 94 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 94 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device 90 relevant to the present disclosure are shown in fig. 9, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device 90 may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in a method of safeguarding according to various embodiments of the present disclosure described in the "exemplary methods" section of this specification above.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in a method of safeguarding according to various embodiments of the present disclosure described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.