[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110775930B - Security protection device, method, computer-readable storage medium, and electronic device - Google Patents

Security protection device, method, computer-readable storage medium, and electronic device Download PDF

Info

Publication number
CN110775930B
CN110775930B CN201910992129.8A CN201910992129A CN110775930B CN 110775930 B CN110775930 B CN 110775930B CN 201910992129 A CN201910992129 A CN 201910992129A CN 110775930 B CN110775930 B CN 110775930B
Authority
CN
China
Prior art keywords
switch
medium output
processing module
safety
working state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910992129.8A
Other languages
Chinese (zh)
Other versions
CN110775930A (en
Inventor
宋扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sweet Potato Robot Co.,Ltd.
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910992129.8A priority Critical patent/CN110775930B/en
Publication of CN110775930A publication Critical patent/CN110775930A/en
Application granted granted Critical
Publication of CN110775930B publication Critical patent/CN110775930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B67OPENING, CLOSING OR CLEANING BOTTLES, JARS OR SIMILAR CONTAINERS; LIQUID HANDLING
    • B67DDISPENSING, DELIVERING OR TRANSFERRING LIQUIDS, NOT OTHERWISE PROVIDED FOR
    • B67D7/00Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes
    • B67D7/06Details or accessories
    • B67D7/32Arrangements of safety or warning devices; Means for preventing unauthorised delivery of liquid
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B67OPENING, CLOSING OR CLEANING BOTTLES, JARS OR SIMILAR CONTAINERS; LIQUID HANDLING
    • B67DDISPENSING, DELIVERING OR TRANSFERRING LIQUIDS, NOT OTHERWISE PROVIDED FOR
    • B67D7/00Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes
    • B67D7/06Details or accessories
    • B67D7/32Arrangements of safety or warning devices; Means for preventing unauthorised delivery of liquid
    • B67D7/3218Arrangements of safety or warning devices; Means for preventing unauthorised delivery of liquid relating to emergency shut-off means
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17CVESSELS FOR CONTAINING OR STORING COMPRESSED, LIQUEFIED OR SOLIDIFIED GASES; FIXED-CAPACITY GAS-HOLDERS; FILLING VESSELS WITH, OR DISCHARGING FROM VESSELS, COMPRESSED, LIQUEFIED, OR SOLIDIFIED GASES
    • F17C13/00Details of vessels or of the filling or discharging of vessels
    • F17C13/02Special adaptations of indicating, measuring, or monitoring equipment
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17CVESSELS FOR CONTAINING OR STORING COMPRESSED, LIQUEFIED OR SOLIDIFIED GASES; FIXED-CAPACITY GAS-HOLDERS; FILLING VESSELS WITH, OR DISCHARGING FROM VESSELS, COMPRESSED, LIQUEFIED, OR SOLIDIFIED GASES
    • F17C13/00Details of vessels or of the filling or discharging of vessels
    • F17C13/12Arrangements or mounting of devices for preventing or minimising the effect of explosion ; Other safety measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/40Spoof detection, e.g. liveness detection
    • G06V40/45Detection of the body part being alive
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17CVESSELS FOR CONTAINING OR STORING COMPRESSED, LIQUEFIED OR SOLIDIFIED GASES; FIXED-CAPACITY GAS-HOLDERS; FILLING VESSELS WITH, OR DISCHARGING FROM VESSELS, COMPRESSED, LIQUEFIED, OR SOLIDIFIED GASES
    • F17C2250/00Accessories; Control means; Indicating, measuring or monitoring of parameters
    • F17C2250/03Control means
    • F17C2250/032Control means using computers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17CVESSELS FOR CONTAINING OR STORING COMPRESSED, LIQUEFIED OR SOLIDIFIED GASES; FIXED-CAPACITY GAS-HOLDERS; FILLING VESSELS WITH, OR DISCHARGING FROM VESSELS, COMPRESSED, LIQUEFIED, OR SOLIDIFIED GASES
    • F17C2250/00Accessories; Control means; Indicating, measuring or monitoring of parameters
    • F17C2250/03Control means
    • F17C2250/036Control means using alarms
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17CVESSELS FOR CONTAINING OR STORING COMPRESSED, LIQUEFIED OR SOLIDIFIED GASES; FIXED-CAPACITY GAS-HOLDERS; FILLING VESSELS WITH, OR DISCHARGING FROM VESSELS, COMPRESSED, LIQUEFIED, OR SOLIDIFIED GASES
    • F17C2260/00Purposes of gas storage and gas handling
    • F17C2260/04Reducing risks and environmental impact
    • F17C2260/042Reducing risk of explosion

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the disclosure discloses a safety protection device, a safety protection method, a computer readable storage medium and an electronic device. This safety protection device includes: the device comprises a device body, a processing module and a switch assembly; the processing module is electrically connected with the switch assembly, the switch assembly is installed on the equipment body, and a dangerous medium output port is formed in the equipment body; the processing module is used for controlling the switch assembly to block medium output of the dangerous medium output port under the condition that safety risks are determined to exist based on images in the preset range of the dangerous medium output port. Compared with the prior art, the embodiment of the disclosure can improve the safety of places such as gas stations and gas filling stations.

Description

Security protection device, method, computer-readable storage medium, and electronic device
Technical Field
The present disclosure relates to the field of security protection technologies, and in particular, to a security protection device, a security protection method, a computer-readable storage medium, and an electronic device.
Background
As a common planning facility in modern towns, gas stations and gas stations provide convenient conditions for travel, life and the like of residents. Because petroleum and natural gas are flammable and explosive chemicals, great potential safety hazards exist in places such as gas stations and gas filling stations.
Disclosure of Invention
The present disclosure is proposed to solve the above technical problems. Embodiments of the present disclosure provide a safety protection device, a method, a computer-readable storage medium, and an electronic device.
According to an aspect of an embodiment of the present disclosure, there is provided a safety shield apparatus, including: the device comprises a device body, a processing module and a switch assembly;
the processing module is electrically connected with the switch assembly, the switch assembly is installed on the equipment body, and a dangerous medium output port is formed in the equipment body;
the processing module is used for controlling the switch assembly to block medium output of the dangerous medium output port under the condition that safety risks are determined to exist based on images in a preset range of the dangerous medium output port.
According to another aspect of the embodiments of the present disclosure, there is provided a safety protection method, including:
determining an image within a preset range of a dangerous medium output port;
and 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.
According to still another aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the above-described security protection method.
According to still another aspect of an embodiment of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
and the processor is used for reading the executable instruction from the memory and executing the instruction to realize the safety protection method.
Based on the safety protection device, the safety protection method, the computer readable storage medium and the electronic device provided by the embodiments of the present disclosure, the processing module may control the switch assembly 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.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic structural diagram of a safety shield apparatus provided in an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic diagram of a connection between an image capture module and an image processing unit in an exemplary embodiment of the disclosure.
Fig. 3 is a schematic structural diagram of a switch assembly in a safety shield apparatus according to an exemplary embodiment of the present disclosure.
Fig. 4 is another schematic structural diagram of a switch assembly in a safety shield apparatus according to an exemplary embodiment of the disclosure.
Fig. 5 is a schematic structural diagram of an alarm module in an exemplary embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a safety shield apparatus according to another exemplary embodiment of the present disclosure.
Fig. 7 is a flowchart illustrating a security protection method according to an exemplary embodiment of the disclosure.
Fig. 8 is a flowchart illustrating a security protection method according to another exemplary embodiment of the present disclosure.
Fig. 9 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
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.

Claims (9)

1. A safety shield apparatus, comprising: the device comprises a device body, a processing module and a switch assembly;
the processing module is electrically connected with the switch assembly, the switch assembly is installed on the equipment body, and a dangerous medium output port is formed in the equipment body;
the processing module is used for controlling the switch assembly 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;
the switch assembly includes: the processing module is electrically connected with the control circuit, the switch body has a first working state and a second working state, the switch body allows the medium output of the dangerous medium output port in the first working state, and the switch body blocks the medium output of the dangerous medium output port in the second working state;
the processing module is used for controlling the control circuit to be conducted under the condition that safety risk exists, and the control circuit drives the switch body to be switched from the first working state to the second working state;
the apparatus further comprises: install in the shield cover body of equipment body, control circuit sets up in the shield cover body, control circuit includes: the first inductor is provided with a magnetic core;
a first pole of the first switch tube is electrically connected with the processing module, a second pole of the first switch tube is electrically connected with the first power supply, a third pole of the first switch tube is grounded through the first inductor, and the switch body has magnetism;
the processing module is used for controlling the first switch tube to be conducted under the condition that safety risks exist, so that the magnetic attraction force provided by the first inductor for the switch body drives the switch body to be switched from a position with a preset distance from the shielding cover body to a position abutting against the outer wall of the shielding cover body; the switch body is in the first working state at the position which has a preset distance with the shielding cover body; and the switch body is in the second working state at the position abutting against the outer wall of the shielding cover body.
2. The apparatus of claim 1, wherein the switch assembly further comprises: the voltage regulating circuit is arranged in the shielding case body, the first pole of the first switch tube is electrically connected with the processing module through the voltage regulating circuit, and the voltage regulating circuit is used for regulating the voltage of the first pole of the first switch tube.
3. The apparatus of claim 2, wherein the voltage regulation circuit comprises: the first resistor, the second switch tube, the second resistor and the second power supply;
a first pole of the second switch tube is electrically connected with the processing module, a second pole of the second switch tube is grounded through the first resistor, a third pole of the second switch tube is electrically connected with the second power supply through the second resistor, and at least one of the first resistor and the second resistor has an adjustable resistance value;
the processing module is used for controlling the on-off state of the second switch tube under the condition that safety risks exist, so that the first switch tube is conducted.
4. The apparatus of any of claims 1-3, wherein the switch assembly further comprises: the switch body is connected with the body mounting seat through an elastic element, and under the condition that the switch body is in the second working state, the elastic element has an elastic restoring force for driving the switch body to restore to the first working state.
5. The apparatus of any of claims 1-3, further comprising: the detection module is electrically connected with the processing module;
the detection module is used for collecting the electromagnetic wave intensity in the preset range and sending the electromagnetic wave intensity to the processing module;
the processing module is used for controlling the switch assembly to block medium output of the dangerous medium output port under the condition that the safety risk is determined to exist based on the image and the intensity of the electromagnetic wave is greater than the preset intensity.
6. A method of safety shielding, comprising:
determining an image within a preset range of a dangerous medium output port;
controlling a switch assembly in a safety protection device to block the medium output of the hazardous medium output port in the event that it is determined based on the image that there is a safety risk;
the control safety protection device's switch module blocks the medium output of dangerous medium delivery outlet, includes:
controlling a control circuit in a switch assembly in 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; in the first working state, the switch body allows the medium output of the dangerous medium output port, and in the second working state, the switch body blocks the medium output of the dangerous medium output port;
control circuit among the switch module among the control safety device switches on, control circuit drives switch body among the switch module switches over to the second operating condition by first operating condition, includes:
controlling a first switch tube in the safety protection device to be conducted so that magnetic attraction provided by a first inductor in the safety protection device for the switch body drives the switch body to be switched from a position with a preset distance from a shielding cover body in the safety protection device to a position abutting against the outer wall of the shielding cover body; the switch body is in the first working state at a position with a preset distance from the shielding cover body; and the switch body is in the second working state at the position abutting against the outer wall of the shielding cover body.
7. The method of claim 6, wherein the determining that a security risk exists based on the image comprises:
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,
and determining that the safety risk exists in the case of recognizing that the preset dangerous goods are contained in the image.
8. A computer-readable storage medium, storing a computer program for executing the security method of any of claims 6 to 7.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the security protection method of any one of claims 6 to 7.
CN201910992129.8A 2019-10-18 2019-10-18 Security protection device, method, computer-readable storage medium, and electronic device Active CN110775930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910992129.8A CN110775930B (en) 2019-10-18 2019-10-18 Security protection device, method, computer-readable storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910992129.8A CN110775930B (en) 2019-10-18 2019-10-18 Security protection device, method, computer-readable storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN110775930A CN110775930A (en) 2020-02-11
CN110775930B true CN110775930B (en) 2021-07-06

Family

ID=69385835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910992129.8A Active CN110775930B (en) 2019-10-18 2019-10-18 Security protection device, method, computer-readable storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN110775930B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11810349B2 (en) * 2020-05-28 2023-11-07 Wayne Fueling Systems Llc Ensuring security on the fueling forecourt
CN112446880B (en) * 2021-02-01 2021-04-30 安翰科技(武汉)股份有限公司 Image processing method, electronic device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533551A (en) * 2009-04-03 2009-09-16 中国安全生产科学研究院 Gas station security monitoring pre-warning and emergency management system and method thereof
CN102013009A (en) * 2010-11-15 2011-04-13 无锡中星微电子有限公司 Smoke image recognition method and device
CN102566480A (en) * 2012-01-20 2012-07-11 新疆瀚丰科技有限公司 Gas station automatic safety protection system
CN103094005A (en) * 2011-10-31 2013-05-08 富泰华工业(深圳)有限公司 Relay and method to control relay
CN106530569A (en) * 2016-10-17 2017-03-22 北京小米移动软件有限公司 Method and device for fire monitoring
CN108734125A (en) * 2018-05-21 2018-11-02 杭州杰视科技有限公司 A kind of cigarette smoking recognition methods of open space
CN109071205A (en) * 2016-04-21 2018-12-21 韦恩加油系统有限公司 Intelligent fuel filling machine
CN110299840A (en) * 2019-07-05 2019-10-01 西安易朴通讯技术有限公司 Power circuit
CN110321852A (en) * 2019-07-05 2019-10-11 名创优品(横琴)企业管理有限公司 A kind of type of action recognition methods, device, storage medium and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11377342B2 (en) * 2018-03-23 2022-07-05 Wayne Fueling Systems Llc Fuel dispenser with leak detection

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533551A (en) * 2009-04-03 2009-09-16 中国安全生产科学研究院 Gas station security monitoring pre-warning and emergency management system and method thereof
CN102013009A (en) * 2010-11-15 2011-04-13 无锡中星微电子有限公司 Smoke image recognition method and device
CN103094005A (en) * 2011-10-31 2013-05-08 富泰华工业(深圳)有限公司 Relay and method to control relay
CN102566480A (en) * 2012-01-20 2012-07-11 新疆瀚丰科技有限公司 Gas station automatic safety protection system
CN109071205A (en) * 2016-04-21 2018-12-21 韦恩加油系统有限公司 Intelligent fuel filling machine
CN106530569A (en) * 2016-10-17 2017-03-22 北京小米移动软件有限公司 Method and device for fire monitoring
CN108734125A (en) * 2018-05-21 2018-11-02 杭州杰视科技有限公司 A kind of cigarette smoking recognition methods of open space
CN110299840A (en) * 2019-07-05 2019-10-01 西安易朴通讯技术有限公司 Power circuit
CN110321852A (en) * 2019-07-05 2019-10-11 名创优品(横琴)企业管理有限公司 A kind of type of action recognition methods, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN110775930A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN110775930B (en) Security protection device, method, computer-readable storage medium, and electronic device
CN104123113B (en) The multi-screen display method and device of a kind of mobile terminal and its multisystem
CN107834657B (en) Charging method, terminal equipment and power adapter
CN104377660B (en) A kind of mobile terminal charging temperature guard method and device
CN102820638B (en) Overcurrent protection device and electronic equipment
SG11201901599QA (en) Monitoring device
CN104537289A (en) Method and device for protecting intended target in terminal device
US20130106981A1 (en) Computing device, storage medium, and method for controlling manipulation of the computing device
US20140218828A1 (en) Power protection apparatus and method
CN104834382A (en) Mobile terminal application program response system and method
EP2966745B1 (en) Transient voltage protection for bridge rectifier
CN112469172A (en) Power distribution room lighting system, method, device and storage medium
CN109283850B (en) Household appliance, control method of household appliance and storage medium
WO2018076653A1 (en) Charging method and device, and terminal
CN203872284U (en) Monitoring and power supply system special for prison
WO2023241437A1 (en) Charging circuit, method and apparatus, and electronic device
CN203708097U (en) Novel switch power supply short circuit protection circuit
TWI635689B (en) Charging control system and short-circuit current protecting method thereof
US20160378079A1 (en) Computing device and electrical device controlling method
TWI662759B (en) Circuit for preventing surge and electronic apparatus having the same
US11764569B2 (en) Electrical surge protection circuits
CN105589505B (en) The processing method and processing device of under-voltage protecting circuit, undervoltage protection system
CN204928086U (en) A device and earth -leakage protector for relay
US20120169506A1 (en) Alarm system
US10720293B2 (en) Apparatus and method of preventing malfunction of circuit breaker in metal-clad and metal enclosed switchgear

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240905

Address after: 207S, Building 5, Northwest Shenjiu Science and Technology Entrepreneurship Park, Intersection of Taohua Road and Binglang Road, Fubao Community, Fubao Street, Futian District, Shenzhen City, Guangdong Province 518000

Patentee after: Shenzhen Sweet Potato Robot Co.,Ltd.

Country or region after: China

Address before: 100080 No. 1, No. 3, Zhongguancun Street, Haidian District, Beijing 318

Patentee before: BEIJING HORIZON ROBOTICS TECHNOLOGY RESEARCH AND DEVELOPMENT Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right