A method and system for identifying and safely interlocking an anti-skid stopper for oil tanker operation

Through the multi-model recognition technology of the tank truck wheel picture training model and the edge computing box, the positional relationship between the tank truck wheels and the anti-skid arrester is automatically identified, which solves the problem of insecure placement of the anti-skid arrester when the tank truck is operating in the oil depot. solve the problem, realize the safety interlocking of oil tanker operations, and improve the safety of oil depot loading.

CN118552883BActive Publication Date: 2024-09-27SHENZHEN WEIFEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411020673.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-09-27
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

When a tanker truck enters the oil depot for operation, it is difficult to automatically identify whether an anti-skid vehicle arrester has been placed with existing technology, resulting in the safety interlocking of the refueling operation being dependent on human operation, and there is a risk of vehicle slippage accidents.

Method used

Through the tank truck wheel picture training model, an anti-skid brake recognition model is established, and multi-model scheduling and edge computing boxes are used to identify the positional relationship between the wheels and the anti-skid brake, to achieve automatic identification and safety interlocking, and to ensure the placement of the anti-skid brake. Only start the oiling device after passing the test.

Benefits of technology

It improves the safety of oil depot loading, avoids rolling accidents, realizes automatic identification and safety interlocking, and reduces unsafe factors in manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552883B
    Figure CN118552883B
Patent Text Reader

Abstract

The present invention provides a method and system for identifying and safely interlocking an anti-skid stopper for tanker operation, and belongs to the technical field of oil depot management. The identification and safety interlocking system for anti-skid stoppers for tanker operation of the present invention is used to implement the identification and safety interlocking method for anti-skid stoppers for tanker operation of the present invention, and the system includes a camera, a batch controller, an oil delivery management system, and an edge computing box, wherein the camera is used to collect wheel image information of the tanker before refueling, and the anti-skid stopper recognition model is deployed in the edge computing box to realize automatic identification of the anti-skid stopper, and the identification result is safely interlocked with the oil delivery device. If the anti-skid stopper is placed with an unqualified result, the operator is reminded to re-place the anti-skid stopper, and if the anti-skid stopper is placed with a qualified result, the oil delivery device is started to deliver oil. The present invention realizes the safety interlocking of the placement of the anti-skid stopper and the batch controller's oil delivery operation, thereby improving the safety of loading at the oil depot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil depot management, and in particular to an identification and safety interlocking method and system for an anti-skid stopper for an oil tanker operation. Background Art

[0002] As a key explosion-proof safety site, the oil depot must place a pair of anti-skid car blockers in front and behind the wheels when the tanker truck enters the depot to prevent the car from slipping during the refueling operation. During the driver safety training, the oil depot will also require the driver to be familiar with various safety requirements and measures. Before refueling, the driver places a pair of anti-skid car blockers in front and behind the wheels to prevent the tanker truck from slipping during operation. Since the tanker is mobile, it is difficult to use effective automated sensing technology to identify whether the anti-skid car blocker is placed. The result of placing the anti-skid car blocker cannot be safely interlocked with the oil delivery device. This operation requirement is completely dependent on the sense of responsibility of the driver or staff. Therefore, it is necessary to develop a safe and effective interlocking method to reduce the unsafe factors of people during the refueling operation. Summary of the invention

[0003] In order to solve the problems in the prior art, the present invention provides a method and system for identifying and safely interlocking an anti-skid stopper for an oil tanker operation.

[0004] The method for identifying and safely interlocking an anti-skid stopper for a tanker truck according to the present invention comprises the following steps:

[0005] S1: obtaining an anti-skid blocker recognition model by training a model with images of tanker wheels, wherein the anti-skid blocker recognition model includes a wheel recognition sub-model, a first anti-skid blocker recognition sub-model, a second anti-skid blocker recognition sub-model, and an associated sub-model;

[0006] S2: The tanker truck starts loading, and the original image including the wheels of the tanker truck is obtained;

[0007] S3: Decode and preprocess the original image to obtain a model image;

[0008] S4: uploading the preprocessed model image to the anti-skid vehicle arrester recognition model;

[0009] S5: adopting a multi-model scheduling method, respectively obtaining the recognition results of the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model, and judging whether the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model recognize the corresponding target, if yes, executing the next step, if no, outputting the anti-skid blocker placement unqualified result, and then executing step S7;

[0010] S6: calling the recognition results of each sub-model, and then outputting them to the associated sub-model to determine whether the positional relationship between the wheel, the first anti-skid blocker and the second anti-skid blocker meets the requirements. If not, outputting the anti-skid blocker placement unqualified result, and then executing step S7. If the requirements are met, outputting the anti-skid blocker placement qualified result, and then executing step S7.

[0011] S7: Obtain the recognition result of the anti-skid stopper recognition model, and perform safety interlocking with the oil delivery device. If the anti-skid stopper placement result is unqualified, remind the operator to re-place the anti-skid stopper, and then return to execute step S2. If the anti-skid stopper placement result is qualified, start the oil delivery device to deliver oil.

[0012] Furthermore, before outputting the test results in step S5 and step S6, the test results are post-processed as follows:

[0013] The detected targets are filtered according to the confidence threshold set by the user, and then the algorithm is used to remove redundant prediction boxes to screen out high-quality detection results.

[0014] Furthermore, when the detection result is output, the acquired original image is also output, and the original image corresponds to the detection result one by one.

[0015] Furthermore, in step S5, the processing method of the anti-skid arrester identification model is:

[0016] S501: Process the original image according to the configuration, obtain the region of interest ROI of each sub-model, and then send the corresponding region of interest ROI to the corresponding sub-model respectively;

[0017] S502: performing reasoning analysis on each sub-model on its own region of interest ROI to obtain its own target location area, target confidence and detection category confidence;

[0018] S503: According to the target confidence and the detection category confidence, and the preset target confidence threshold and the detection category confidence threshold, a judgment is made to obtain the detection results of each sub-model.

[0019] Further, in step S6, the associated sub-model obtains the respective target position areas of the wheel identification sub-model, the first anti-skid bumper identification sub-model, and the second anti-skid bumper identification sub-model, and determines whether the positional relationship between the wheel, the first anti-skid bumper, and the second anti-skid bumper meets the requirements based on their respective position coordinates.

[0020] A system for identifying and safety interlocking anti-skid blockers for tanker truck operations, used to implement the method for identifying and safety interlocking anti-skid blockers for tanker truck operations, the system for identifying and safety interlocking anti-skid blockers for tanker truck operations includes a camera, a batch controller, an oil delivery management system, and an edge computing box, wherein the camera is used to collect original pictures including wheels of the tanker truck, the input end of the camera is connected to the output end of the edge computing box, the anti-skid blocker identification model is arranged in the edge computing box, and is used to identify the anti-skid blocker, the output end of the edge computing box is connected to the input end of the oil delivery management system, and is used to output the identification result to the oil delivery management system, the output end of the oil delivery management system is connected to the input end of the batch controller, and the identification result is sent to the batch controller, and the output end of the batch controller is connected to the oil delivery device, and is used to control the oil delivery device to deliver oil.

[0021] Furthermore, the number of the cameras and batch controllers is more than one, and the cameras and batch controllers are arranged in a one-to-one correspondence.

[0022] Furthermore, the number of the edge computing boxes is more than one, and each edge computing box is connected to more than one camera. The identification and safety interlocking method of the anti-skid arrester of the tanker operation also includes an intelligent edge platform, and the input end of the intelligent edge platform is connected to the output ends of multiple edge computing boxes.

[0023] Furthermore, the edge computing box is provided with a first command proxy service, the camera is provided with a second command proxy service, and the edge computing box and the camera communicate through a command channel constructed by the first command proxy service and the second command proxy service.

[0024] Furthermore, it also includes a communication converter, which is arranged between the loading management system and the batch controller.

[0025] Compared with the prior art, the beneficial effects of the present invention are: by establishing an anti-skid car stopper identification model and automatically identifying through the identification model, the safety interlocking of the placement of the anti-skid car stopper and the oil delivery operation of the batch controller is achieved without increasing the difficulty of the work; if the anti-skid car stopper is not placed, the loading operation cannot be started, thereby greatly improving the safety of loading at the oil depot and effectively avoiding slipping accidents during tanker operations.

[0026] Through parallel scheduling and mixed scheduling of multiple sub-models, if any one of them fails to recognize the target, the subsequent recognition calculation will not be started, thus effectively improving the recognition efficiency; through joint recognition of multiple sub-models, the recognition accuracy is improved;

[0027] The present invention collects video through a camera and detects whether anti-skid arresters are placed in front and behind the wheels through an edge computing box. Since the camera collects video in a wide range, it effectively makes up for the deficiency that traditional automated sensing technology cannot identify whether anti-skid arresters are placed on vehicles with unfixed positions. It proposes a safe and effective interlocking method to solve the requirement of placing anti-skid arresters during oil depot operations.

[0028] When the edge computing box reports the information on the placement of the anti-skid car blocker, it is accompanied by a video photo of the scene. When the oil delivery management system obtains information through the interface, it can store the picture in the database to facilitate event tracing. When the on-site staff cannot start the batch controller loading operation, they can use the information displayed on the display screen of the batch controller transferred by the edge computing box to remind the driver to correctly place the anti-skid car blocker, so that the detection of the present invention is more convenient and the operation is more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the present invention or the solutions in the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] Figure 1 is a flow chart of the method of the present invention;

[0031] Figure 2 It is a flow chart of the anti-skid arrester identification model processing;

[0032] Figure 3 This is a schematic diagram of the structure of an embodiment of the system of the present invention;

[0033] Figure 4 It is a schematic diagram of the structure of another embodiment of the system of the present invention;

[0034] Figure 5 This is a structural diagram of the batch controller's downstream oil delivery control module;

[0035] Figure 6 This is a schematic diagram of the command channel;

[0036] Figure 7 Schematic diagram of the batch controller workflow of the present invention. DETAILED DESCRIPTION

[0037] Unless otherwise defined, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs; the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0038] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive, independent, or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in the present invention may be combined with other embodiments.

[0039] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] like Figure 1 As shown, the identification and safety interlocking method of the anti-skid stopper for tanker operation of the present invention comprises the following steps:

[0041] S1: obtaining an anti-skid blocker recognition model by training a model with images of tanker wheels, wherein the anti-skid blocker recognition model includes a wheel recognition sub-model, a first anti-skid blocker recognition sub-model, a second anti-skid blocker recognition sub-model, and an associated sub-model;

[0042] S2: The tanker truck starts loading, and the original image including the wheels of the tanker truck is obtained;

[0043] S3: Decode and preprocess the original image to obtain a model image;

[0044] S4: uploading the preprocessed model image to the anti-skid vehicle arrester recognition model;

[0045] S5: adopting a multi-model scheduling method, respectively obtaining the recognition results of the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model, and judging whether the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model recognize the corresponding target, if yes, executing the next step, if no, outputting the anti-skid blocker placement unqualified result, and then executing step S7;

[0046] S6: calling the recognition results of each sub-model, and then outputting them to the associated sub-model to determine whether the positional relationship between the wheel, the first anti-skid blocker and the second anti-skid blocker meets the requirements. If not, outputting the anti-skid blocker placement unqualified result, and then executing step S7. If the requirements are met, outputting the anti-skid blocker placement qualified result, and then executing step S7.

[0047] S7: Obtain the recognition result of the anti-skid stopper recognition model, and perform safety interlocking with the oil delivery device. If the anti-skid stopper placement result is unqualified, remind the operator to re-place the anti-skid stopper, and then return to execute step S2. If the anti-skid stopper placement result is qualified, start the oil delivery device to deliver oil.

[0048] There are many public platforms for skill training of the anti-skid arrester recognition model in this example. For example, you can use yolov5 for training, collect tens of thousands of pictures containing various training targets, and then use neural networks to train the shape and placement of tires and triangular wood. The machine continuously and automatically learns and corrects, and when a certain confidence level is met, it is put into use as a qualified model.

[0049] like Figure 2 As shown, the training and recognition processing of the anti-skid arrester recognition model in this example include decoding, loading original images, pre-processing, reasoning (recognition), post-processing and result output processes. In addition, when multiple client images are involved, this example also includes a parsing step.

[0050] (1) Decoding

[0051] In this example, the stream is pulled before decoding. Currently, it mainly supports the RTSP streaming protocol and is compatible with mainstream cameras in the market. RTSP (Real Time Streaming Protocol) is a network application protocol. Data is transmitted to the installation device of the anti-skid vehicle blocker recognition model in a continuous stream. The installation device parses the stream into frame images. The data is encoded during the transmission process. The mainstream encoding methods in the industry are h.264 and h.265. The edge computing box supports parsing these two types of encoded streaming data. The decoding method mainly adopts hard decoding (i.e. hardware decoding). This method uses the computing power of the underlying chip to greatly improve the decoding speed, which is more efficient than soft decoding (i.e. software decoding, usually using CPU calculation).

[0052] In this example, you can also get the image through the application. Specifically, you can communicate with the device side of the application, send an HTTP request, and get the image through the API (application programming interface).

[0053] (2) Pre-treatment

[0054] The images obtained after decoding are often not directly used for reasoning. The images need to be pre-processed to adapt to different model requirements. However, due to different data sources, in most cases, the image sizes of the data sets are not uniform. Data pre-processing is a pre-processing operation performed before reasoning and detection of the image to make it meet the input requirements of the actual reasoning model. Common operations include normalizing the image, subtracting the mean, swapping channels, scaling, and edge filling. The edge computing box has two relatively standard and common scaling pre-processing methods built in. The following two processing methods can be used in this example:

[0055] Method 1: resize, that is, scaling the width and height of the image in different proportions to adapt to the network input size requirements.

[0056] Method 2: letterbox, that is, first scale the width and height of the image in equal proportion until its long side meets the network input, and then fill it symmetrically along the short side until the short side also meets the network input.

[0057] (3) Identification Reasoning

[0058] Identification is the core of the present invention, and identification reasoning is performed by running the anti-skid vehicle arrester identification model of the present invention.

[0059] (4) Post-processing

[0060] The post-processing methods of different model frameworks are usually different. This project is currently adapted to the yolo series. The core content of the model inference results includes the target location area (the location coordinates of the target in the image), the target confidence (how likely the target is an object to be detected), and the detection category confidence (how likely the target is a certain type of detection object). The post-processing process is to first filter the detected targets according to the confidence threshold configuration set by the user, and then use non-max suppression (NMS) to remove redundant prediction boxes and filter out high-quality detection results.

[0061] (5) Output

[0062] The output part is mainly used to define the output method. Currently, three sink methods are provided to meet the development and test requirements for obtaining inference result data at different stages of project development. The detailed configuration items are described as follows:

[0063] model Output Remark Debug Mode cmd_sink The detection results are output to the terminal Demo Mode video_sink Detection results converted to RTMP stream playback Production Mode mqtt_sink Test results sent to MQTT intermediate service

[0064] Among them, the full name of RTMP in English is Real Time Messaging Protocol, which means real-time message transmission protocol in Chinese. The full name of MQTT in English is Message Queuing Telemetry Transport, which means message queue telemetry transmission in Chinese.

[0065] In order to improve the accuracy of recognition, this example also includes the image processing process before recognition. According to business needs, only some areas of the camera are of interest, and other areas are not concerned. It is required to set the areas of interest in the specific scene, and only the set areas are inferred during reasoning. Specifically, the recognition processing method of this example is:

[0066] S501: Process the original image according to the configuration, obtain the region of interest ROI of each sub-model, and then send the corresponding region of interest ROI to the corresponding sub-model respectively;

[0067] S502: performing reasoning analysis on each sub-model on its own region of interest ROI to obtain its own target location area, target confidence and detection category confidence;

[0068] S503: According to the target confidence and the detection category confidence, and the preset target confidence threshold and the detection category confidence threshold, a judgment is made to obtain the detection results of each sub-model.

[0069] By setting the ROI area, there are the following advantages:

[0070] 1. Avoid interference from inference results in other areas that are not of concern, and no longer require businesses to re-filter results in other areas, thus better meeting business needs.

[0071] 2. Improve the reasoning accuracy. Since reasoning is only performed on the set area, the reasoning accuracy is higher than that of the entire image, and the result is more accurate.

[0072] In this example, by identifying and classifying the image, it is very convenient to output the recognition results and location information. There are many models that can be implemented at present. This example uses the convolutional neural network (CNN) model. The image can also be classified and recognized through the support vector machine SVM model, random forest model, etc. Finally, the recognition result is output. If the three classification sub-models of the image can detect the target, then the detection results of the three sub-models are output to the associated sub-model for the next step of object relationship recognition analysis. If one of them cannot analyze the target, the reasoning is terminated, and the result of unqualified placement of the anti-skid car blocker is output to the control end, thereby effectively reducing the pressure of the algorithm.

[0073] Before outputting the test results in step S5 and step S6, the following post-processing steps are also included:

[0074] The detected targets are filtered according to the confidence threshold set by the user, and then the algorithm is used to remove redundant prediction boxes to screen out high-quality detection results.

[0075] Preferably, this example outputs the original image obtained while outputting the detection result. The original image corresponds to the detection result one by one, which facilitates event tracing and can be used as material for iteration of the model of the present invention and continuously upgraded and improved.

[0076] When the sub-model is detected successfully, the images that exceed a certain target confidence level (the confidence level is 0-1, and the larger the value, the more reliable the recognition. In this example, 0.9 can be selected, and the images that exceed 0.9 confidence level are collected and placed in the model training library) are uploaded to the corresponding category according to the classification confidence level results, and the target area images are uploaded to the model training library for continuous optimization of the model.

[0077] In step S6, the associated sub-model obtains the respective target position areas of the wheel identification sub-model, the first anti-skid bumper identification sub-model, and the second anti-skid bumper identification sub-model, and determines whether the positional relationship between the wheel, the first anti-skid bumper, and the second anti-skid bumper meets the requirements based on their respective position coordinates.

[0078] This example uses an object relationship recognition algorithm to give a comprehensive confidence level based on the distance, direction and position relationship between the three objects, which is used to determine whether the requirements are met.

[0079] The object relationship recognition algorithm in this example adopts the recognition algorithm in the yolov5 framework. Through the position coordinates of the three targets passed in, the lateral and longitudinal distances and positional relationships between the wheel, the first anti-skid arrester and the second anti-skid arrester are obtained, and finally the recognition results are output.

[0080] This example can also be based on the image to be analyzed containing three targets, using an object relationship recognition model, and analyzing and comparing it with tens of thousands of training images that meet the requirements uploaded in the database, finding the image closest to the image to be analyzed, and then calculating the difference between the two, and then obtaining a comprehensive confidence based on the difference. This example can be implemented using a deep learning model that can perform object relationship recognition tasks, such as a graph convolutional network GCN and a relationship network R-CNN model.

[0081] like Figure 3 and Figure 4As shown, the trained model needs to be deployed on the system equipment to achieve safety interlocking. Therefore, this example also provides an identification and safety interlocking system for anti-skid car blockers for tanker truck operations, which is used to implement the identification and safety interlocking method of anti-skid car blockers for tanker truck operations. The identification and safety interlocking system for anti-skid car blockers for tanker truck operations includes a camera, a batch controller, an oil distribution management system, and an edge computing box, wherein the camera is used to collect original pictures including the wheels of the tanker truck, and the input end of the camera is connected to the output end of the edge computing box. The anti-skid car blocker identification model is arranged in the edge computing box, and a neural network compiler needs to be used to generate machine code that can run on the edge computing box. The edge computing box in this example is used to identify the anti-skid car blocker.

[0082] The explosion-proof camera, edge computing box and edge computing platform in this example are all newly added components for the method of the present invention. In this example, a safety interlock plug-in is arranged on the oil delivery management system and the batch controller to cooperate to implement the safety interlock of the present invention. The output end of the edge computing box in this example is connected to the input end of the oil delivery management system to output the recognition result to the oil delivery management system. The output end of the oil delivery management system is connected to the input end of the batch controller to send the recognition result to the batch controller. The output end of the batch controller is connected to the oil delivery device to control the oil delivery device to deliver oil.

[0083] and Figure 3 As shown, as an embodiment of the present invention, N loading points are set in the oil depot in this example, N is a positive integer, and each loading point is equipped with a camera and a batch controller. The camera in this example is preferably an explosion-proof camera, and the camera in this example is used to collect images of the loading point. The edge computing box in this example is used to transmit the analysis results to the oil delivery management system in real time, and the oil delivery management system stores the results and corresponding images in the oil delivery management system; at the same time, the oil delivery management system communicates with the batch controller in real time via RS485. When the batch controller inquires about the judgment result of the anti-skid vehicle stopper, the oil delivery management system sends the stored results to the batch controller.

[0084] This example works like this:

[0085] The edge computing box pulls the stream from the explosion-proof camera in real time for analysis and judgment. When the tanker arrives at the loading point, the anti-skid blocker recognition model in the edge computing box detects that there is an anti-skid blocker in front and behind one of the wheels of the tanker in the image, and the judgment is qualified. The judgment result is then output to the oil delivery management system. The batch controller queries the result through the interface, and the human-machine display interface displays the result of the anti-skid blocker. When the anti-skid blocker is placed correctly, the staff can start the loading operation process. Otherwise, the batch controller will not be started, and the operator will be reminded to place the anti-skid blocker correctly through the human-machine display interface.

[0086] The interlocking requirements for tanker truck operations in the present invention remain unchanged. Improvements are made based on the original sensor recognition, and a video recognition system is added to achieve a safety interlock between the placement of an anti-skid vehicle stopper and the oil delivery operation of a batch controller. If the anti-skid vehicle stopper is not placed, the loading operation cannot be started, thereby greatly improving the safety of loading at the oil depot and effectively avoiding slipping accidents that occur during tanker truck operations.

[0087] The present invention collects video through a camera and detects whether anti-skid arresters are placed in front and behind the wheels through an edge computing box. Since the camera collects video in a wide range, it effectively makes up for the deficiency that traditional automated sensing technology cannot identify whether anti-skid arresters are placed on vehicles with unfixed positions. It proposes a safe and effective interlocking method to solve the requirement of placing anti-skid arresters during oil depot operations.

[0088] like Figure 4 As shown, as another embodiment of the present invention, when there are relatively many loading points in the oil depot, the transportation capacity of an edge computing box is limited. Therefore, this example sets M edge computing boxes, where M is a positive integer, and connects the image data transmitted by N cameras through a switch, thereby improving processing efficiency. In this example, an intelligent edge platform is added, which is connected to the M edge computing boxes, and the judgment results of the M edge computing boxes are uniformly uploaded to the intelligent edge platform. The intelligent edge platform in this example is mainly used to receive data reported by the edge computing box; and provide an interface for one or more oil distribution management systems to query data. Preferably, the edge computing box and the intelligent edge computing platform are in the same local area network, and the trained skills can be conveniently updated to the edge computing box through the network interface, which is convenient for real-time updating and iteration of skills.

[0089] This example can also be connected to the wide area network to centrally manage multiple oil depots, thereby further reducing hardware costs.

[0090] like Figure 5 As shown, the batch controller in this example is respectively connected to the loading pump, flow meter and valve of the loading vehicle. It controls whether to start the oil delivery by controlling the valve, performs loading by controlling the loading pump, and controls the loading amount by the flow meter.

[0091] like Figure 6 As shown in the figure, the edge computing box of the front end (cloud) in this example is mainly used for drawing the region of interest (ROI), issuing the ROI area, and specific identification and processing of the ROI. Before drawing the ROI area, the edge computing box will first pull a camera snapshot from the camera. Since the front end is connected to the cloud network and the identification command issuance depends on the cloud, and the camera is at the edge, there will be a network outage, and the camera snapshot cannot be obtained directly. The back end needs to respond to forward the request to the edge.

[0092] In order to solve this technical problem, in this example, a first command proxy service is provided on the edge computing box in the cloud, and a second command proxy service is provided on the camera. The edge computing box and the camera communicate through the command channel constructed by the first command proxy service and the second command proxy service, and realize streaming and image processing and recognition.

[0093] When the edge receives the request, it parses the request and finds the corresponding protocol service to process the specific action according to the specific protocol type. For example, to obtain a camera snapshot, the onvif protocol service is called to obtain photo data from the camera.

[0094] Preferably, in this example, the loading signal is started through the human-computer interaction interface of the batch controller. After the edge computing box receives the loading signal, it starts the flow identification calculation. When there is no loading operation, the edge computing box does not need to calculate, thereby greatly reducing the calculation complexity and the amount of calculation of the edge computing box, so that the edge computing box can connect to more cameras.

[0095] Preferably, this example further includes a communication converter, which is arranged between the loading management system and the batch controller. This example communicates via RS485, and the communication converter of the present invention can adapt to batch controllers with more communication protocols.

[0096] Preferably, in this example, an alarm device is also provided at the loading management system, the input end of the alarm device is connected to the output end of the loading management system, and when an abnormal result occurs, the alarm device is used to remind the backend management personnel to handle it.

[0097] In this example, an indication module connected to the batch controller can be set on the batch controller, and the current working status of the batch controller can be intuitively judged through the indication module. For example, a two-color indicator light can be set, and the red light indicates that the batch controller prohibits starting the oil delivery device, and the green light allows the oil delivery device to be started to fill the tank truck with oil. A human-computer interaction module is also provided to realize the issuance of commands, the operation of the oil depot, etc.

[0098] When the driver stops to refuel, the edge computing box of the present invention pulls the flow from the explosion-proof camera in real time for calculation and analysis, and calculates the confidence of the vehicle's anti-skid blocker. When analyzing and calculating, the edge computing box adopts the AI ​​multi-model scheduling method to schedule the model organization, intermediate processing between models, and model dependencies. According to the number of algorithms running at the same time and the algorithm dependencies, it can be divided into: multi-model parallel scheduling, multi-model serial scheduling and hybrid scheduling.

[0099] The several sub-models in this example can be processed in parallel, serially or in a mixed scheduling manner, thereby greatly improving the recognition efficiency.

[0100] like Figure 7 As shown, the processing process of the batch controller in this example is:

[0101] At the beginning, the oil delivery operation is ready, and it is determined whether the anti-skid car stopper is placed. If so, the loading operation is allowed. If not, the operator is reminded to place the anti-skid car stopper, and then it is determined again and ended.

[0102] Preferably, after the oil delivery operation is ready, in this example, the oil delivery management system sends an identification instruction to the edge computing box, and the edge computing box automatically implements the pull flow identification and uploads the result to the intelligent edge platform. After the oil delivery management system obtains the result, it transmits it to the batch controller, and the batch controller determines whether to place an anti-skid vehicle stopper based on the result.

[0103] The present invention exchanges data between the edge computing platform and the oil management system through interface software, and the original oil management system only needs to perform simple function addition, thereby rarely affecting the maintenance of the original oil management system.

[0104] The edge computing box pulls the stream from the explosion-proof camera in real time for analysis and identification, and promptly feeds back the identification results to the batch controller through the interface software. If the anti-skid arrester is not placed correctly, the batch controller cannot start the oil delivery operation through interlocking, thus truly realizing the safety interlocking of the anti-skid arrester and the oil delivery system.

[0105] In the AI ​​video recognition mode, the staff of the control center can also judge the situation of the on-site cargo position through the video images, so as to promptly notify the on-site inspection staff when an abnormal situation occurs. When the edge computing box reports the confidence of placing the anti-skid car blocker, it is accompanied by a video photo of the scene. When the interface software obtains information, the picture can be stored in the database for easy event tracing. When the on-site staff cannot start the batch controller loading operation, they can remind the driver to correctly place the anti-skid car blocker based on the information displayed on the batch controller transferred by the edge computing box. According to the above method, the anti-skid car blocker and the batch controller oil delivery operation are safety interlocked. The oil delivery operation specifications are upgraded from voluntary execution to mandatory execution to eliminate human unsafe factors in the oil delivery process.

[0106] The specific implementation modes described above are preferred implementation modes of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the specific implementation modes, and all equivalent changes made according to the present invention are within the protection scope of the present invention.

Claims

1. A method for identifying and safely interlocking an anti-skid stopper for a tanker truck, characterized in that: The steps include: S1: obtaining an anti-skid blocker recognition model by training a model with images of tanker wheels, wherein the anti-skid blocker recognition model includes a wheel recognition sub-model, a first anti-skid blocker recognition sub-model, a second anti-skid blocker recognition sub-model, and an associated sub-model; S2: The tanker truck starts loading, and the original image including the wheels of the tanker truck is obtained; S3: Decode and preprocess the original image to obtain a model image; S4: uploading the preprocessed model image to the anti-skid vehicle arrester recognition model; S5: adopting a multi-model scheduling method, respectively obtaining the recognition results of the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model, and judging whether the wheel recognition sub-model, the first anti-skid blocker recognition sub-model, and the second anti-skid blocker recognition sub-model recognize the corresponding target, if yes, executing the next step, if no, outputting the anti-skid blocker placement unqualified result, and then executing step S7; S6: calling the recognition results of each sub-model, and then outputting them to the associated sub-model to determine whether the positional relationship between the wheel, the first anti-skid blocker and the second anti-skid blocker meets the requirements. If not, outputting the anti-skid blocker placement unqualified result, and then executing step S7. If the requirements are met, outputting the anti-skid blocker placement qualified result, and then executing step S7. S7: Obtain the recognition result of the anti-skid car stopper recognition model, and perform safety interlocking with the oil dispensing device. If the anti-skid car stopper placement result is unqualified, the operator is reminded to re-place the anti-skid car stopper, and then return to step S2. If the anti-skid car stopper placement result is qualified, the oil dispensing device is started to dispense oil. In step S5, the processing method of the anti-skid arrester identification model is: S501: Process the original image according to the configuration, obtain the region of interest ROI of each sub-model, and then send the corresponding region of interest ROI to the corresponding sub-model respectively; S502: performing reasoning analysis on each sub-model on its own region of interest ROI to obtain its own target location area, target confidence and detection category confidence; S503: According to the target confidence and the detection category confidence, and the preset target confidence threshold and detection category confidence threshold, the detection results of each sub-model are obtained. In step S6, the associated sub-model obtains the respective target position areas of the wheel identification sub-model, the first anti-skid bumper identification sub-model, and the second anti-skid bumper identification sub-model, and determines whether the positional relationship between the wheel, the first anti-skid bumper, and the second anti-skid bumper meets the requirements based on their respective position coordinates.

2. The identification and safety interlocking method of the anti-skid stopper for tanker operation according to claim 1 is characterized in that: Before outputting the test results in step S5 and step S6, the following post-processing steps are also included: The detected targets are filtered according to the confidence threshold set by the user, and then the algorithm is used to remove redundant prediction boxes to screen out high-quality detection results.

3. The identification and safety interlocking method of the anti-skid stopper for tanker operation according to claim 2 is characterized in that: When the detection result is output, the original image is also output, and the original image corresponds to the detection result one by one.

4. An identification and safety interlocking system for an anti-skid stopper for a tanker truck operation, used to implement the identification and safety interlocking method for an anti-skid stopper for a tanker truck operation according to any one of claims 1 to 3, characterized in that: The identification and safety interlocking system for the anti-skid stopper of the tanker truck operation includes a camera, a batch controller, an oil delivery management system, and an edge computing box, wherein the camera is used to collect original pictures including the wheels of the tanker truck, the input end of the camera is connected to the output end of the edge computing box, the anti-skid stopper identification model is arranged in the edge computing box, and is used to identify the anti-skid stopper, the output end of the edge computing box is connected to the input end of the oil delivery management system, and is used to output the identification result to the oil delivery management system, the output end of the oil delivery management system is connected to the input end of the batch controller, and the identification result is sent to the batch controller, and the output end of the batch controller is connected to the oil delivery device, and is used to control the oil delivery device to deliver oil.

5. The identification and safety interlocking system for anti-skid vehicle stoppers of tanker trucks according to claim 4 is characterized in that: The number of the cameras and batch controllers is more than one, and the cameras and batch controllers are arranged in a one-to-one correspondence.

6. The identification and safety interlocking system for anti-skid vehicle stoppers of tanker trucks according to claim 4 is characterized in that: The number of the edge computing boxes is more than one, and each edge computing box is connected to more than one camera. The identification and safety interlocking system of the anti-skid arrester of the tanker operation also includes an intelligent edge platform, and the input end of the intelligent edge platform is connected to the output ends of multiple edge computing boxes.

7. The identification and safety interlocking system for anti-skid vehicle stoppers of tanker trucks according to claim 6 is characterized in that: The edge computing box is provided with a first command proxy service, the camera is provided with a second command proxy service, and the edge computing box and the camera communicate through a command channel constructed by the first command proxy service and the second command proxy service.

8. The identification and safety interlocking system for anti-skid stoppers of tanker trucks according to claim 4 is characterized in that: It also includes a communication converter, which is arranged between the oil distribution management system and the batch controller.