CN111688711A - Alcohol detection management system and method based on cloud computing - Google Patents

Alcohol detection management system and method based on cloud computing Download PDF

Info

Publication number
CN111688711A
CN111688711A CN202010552809.0A CN202010552809A CN111688711A CN 111688711 A CN111688711 A CN 111688711A CN 202010552809 A CN202010552809 A CN 202010552809A CN 111688711 A CN111688711 A CN 111688711A
Authority
CN
China
Prior art keywords
alcohol
module
video
detection
data
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.)
Pending
Application number
CN202010552809.0A
Other languages
Chinese (zh)
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.)
Nanjing Forest Police College
Original Assignee
Nanjing Forest Police College
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 Nanjing Forest Police College filed Critical Nanjing Forest Police College
Priority to CN202010552809.0A priority Critical patent/CN111688711A/en
Publication of CN111688711A publication Critical patent/CN111688711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/48Biological material, e.g. blood, urine; Haemocytometers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • B60W2040/0818Inactivity or incapacity of driver
    • B60W2040/0836Inactivity or incapacity of driver due to alcohol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Abstract

The invention belongs to the technical field of alcohol detection management, and discloses a cloud computing-based alcohol detection management system and method, which comprises the steps of inputting relevant information of collected personnel and drivers; carrying out real-time positioning on the current position; collecting an alcohol detection process video; detecting breath alcohol concentration data of a driver; correcting and counting the collected related alcohol concentration data; enhancing the collected alcohol detection video; recording the alcohol detection time; processing alcohol detection data by utilizing a large number of server computing resources in a cloud computing program set; and displaying the collected alcohol detection video, the alcohol concentration and the driver information by using the display. The alcohol detection system can detect alcohol, record relevant image and shadow image information data of a driver, an acquirer and an acquisition site, and comprehensively control alcohol detection in real time; meanwhile, the invention can correct the alcohol detection result, thereby improving the detection accuracy.

Description

Alcohol detection management system and method based on cloud computing
Technical Field
The invention belongs to the technical field of alcohol detection management, and particularly relates to a cloud computing-based alcohol detection management system and method.
Background
When alcohol reaches a certain concentration in human blood, the response ability and control ability of the human body to the outside world are reduced, and the ability of handling emergency situations is also reduced. For drunk drivers, the higher the alcohol content in their blood, the greater the chance of a crash. When the alcohol content in the blood of the driver reaches 80mg/100mL, the probability of traffic accidents is 2.5 times that of the traffic accidents when the alcohol content in the blood does not contain alcohol; when the concentration of the alcohol reaches 100mg/100mL, the probability of traffic accidents is 4.7 times that of the case that the alcohol is not contained in the blood. Even in a state of drinking a little amount of alcohol, the risk of traffic accidents can reach about 2 times of that of the state of non-drinking.
The existing alcohol detector is mainly based on an alcohol gas sensor to detect the alcohol concentration, and is additionally provided with a fixed-value resistor and a voltmeter or ammeter; the alcohol concentration detection device does not collect and process other data which can affect the detection result, so that the alcohol data collected by the existing alcohol detector is very inaccurate, and meanwhile, the alcohol concentration detection is carried out only on the basis of the alcohol gas sensor, so that a problem can be caused, the alcohol can be detected within a certain time after drinking, but the detection cannot be carried out after 10 hours, but the human body still contains alcohol actually; namely, the detection timeliness is short.
In summary, the problems of the prior art are as follows: the existing alcohol detector has single function, can only detect alcohol data generally, and cannot record the specific conditions of a test site; the existing alcohol detection management system has inaccurate alcohol concentration detection; the detection timeliness is short; carrying out alcohol detection video management on the acquired video unclear images; meanwhile, the existing alcohol detector needs to be corrected by a product service provider, and the correction cost is high and inconvenient.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a cloud computing-based alcohol detection management system and method.
The invention is realized in such a way that a cloud computing-based alcohol detection management system comprises:
the acquisition personnel identity input module is connected with the central control module and is used for identifying and inputting the identity information of the acquisition personnel through fingerprint identification, face identification, IC card identification or other identification technologies;
the positioning module is connected with the central control module and is used for positioning the current position in real time by utilizing a GPS;
the video recording module is connected with the central control module and is used for collecting the alcohol detection process video through the camera equipment;
the alcohol concentration acquisition module is connected with the central control module and used for detecting breath alcohol concentration data of the driver through the alcohol detector;
the driver information acquisition module is connected with the central control module and is used for acquiring license plate numbers, driver license numbers, record numbers, alcohol value ranges, test time and other related information of drivers;
the central control module is connected with the acquisition personnel identity input module, the positioning module, the video recording module, the alcohol concentration acquisition module, the driver information acquisition module, the data correction module, the video enhancement module, the data statistics module, the data query module, the editing module, the log module, the cloud processing module and the display module and is used for controlling each module to normally work through the host;
the data correction module is connected with the central control module and is used for correcting the collected related alcohol concentration data;
the video enhancement module is connected with the central control module and is used for enhancing the collected alcohol detection video through a video enhancement algorithm;
the data statistics module is connected with the central control module and used for carrying out statistics on the collected alcohol data through a statistics program;
the data query module is connected with the central control module and used for querying the alcohol detection result through a query program;
the editing module is connected with the central control module and used for editing the alcohol detection data through an editing program;
the log module is connected with the central control module and used for recording the alcohol detection time through a log program;
the cloud processing module is connected with the central control module and used for processing the alcohol detection data through a large number of server computing resources concentrated by a cloud computing program;
and the display module is connected with the central control module and used for displaying the acquired identity information of the acquired acquisition personnel, the positioning information, the alcohol detection video, the original alcohol concentration, the corrected alcohol concentration and the driver information through the display.
Another object of the present invention is to provide a cloud-based alcohol detection management method applied to the cloud-based alcohol detection management system, the cloud-based alcohol detection management method including the following steps:
step one, identifying and inputting the identity information of a collected person through fingerprint identification, face identification, IC card identification or other identification technologies; carrying out real-time positioning on the current position by utilizing a GPS; collecting an alcohol detection process video by using camera equipment; detecting breath alcohol concentration data of a driver by using an alcohol detector; collecting license plate number, driver license number, record number, alcohol value range, test time and other related information of a driver;
correcting the collected related alcohol concentration data; enhancing the collected alcohol detection video by using a video enhancement algorithm; counting the collected alcohol data by using a counting program; inquiring the alcohol detection result by using an inquiry program;
step three, editing the alcohol detection data by using an editing program; recording the alcohol detection time by using a log program;
processing the alcohol detection data by utilizing a large number of server computing resources concentrated by a cloud computing program;
and fifthly, displaying the collected alcohol detection video, the alcohol concentration and the driver information by using a display.
Further, in the step one, the detecting the breath alcohol concentration data of the driver by using the alcohol detector includes:
(1) opening a human body exhaled gas collection channel through an alcohol detector;
(2) detecting index values of the exhaled gas of the human body, including but not limited to an exhalation flow value, a single exhalation duration, a real-time air pressure value, an air pressure change rate of the gas, a gas temperature change rate, a real-time temperature value and a real-time output value of an alcohol sensor;
(3) judging whether the expiratory flow value and the single expiratory duration value both reach preset values, if so, executing the step (4); if not, stopping gas collection, and after a time t, executing the step (1);
(4) judging whether the real-time gas pressure value of the gas reaches a preset value, if so, executing the step (5), and if not, executing the step (2);
(5) calculating an alcohol concentration value of the exhaled gas according to the real-time air pressure value, the real-time temperature value and the real-time output value of the alcohol sensor;
(6) and calculating the alcohol concentration value in the human blood according to the alcohol concentration value of the exhaled air.
Further, in step (5), the solution formula of the alcohol concentration value of the exhaled air is as follows:
Figure 100002_1
wherein, ChAlcohol concentration in exhaled air, OsIs the real-time output value, k, of the alcohol sensor1Is a coefficient, P is the real-time pressure value of the exhaled air, PmaxIs an alcohol sensorMaximum pressure value of normal operation, PminIs the minimum air pressure value of normal operation of the alcohol sensor, T is the real-time temperature value of the exhaled air, TmaxIs the maximum temperature value, T, at which the alcohol sensor normally worksminThe temperature is the minimum temperature value for normal work of the alcohol sensor, and R is a universal gas constant.
Further, in step two, the correcting the collected relevant alcohol concentration data includes:
firstly, a corresponding signal-concentration value curve of an input signal of an alcohol detection instrument and an alcohol concentration detection result, and a plurality of mapping relation tables of a first time period, a specific amount, a specific concentration and a second time period and a plurality of specific standard alcohol concentration values are established in advance;
secondly, detecting the alcohol concentration by introducing the alcoholic beverage with fixed concentration in fixed time and carrying out detection on the alcohol concentration after a period of time to obtain a plurality of groups of detection data;
thirdly, correcting a signal-concentration value curve based on the obtained multiple groups of detection data and the difference value of the standard concentration;
finally, the collected data is corrected by using the signal-concentration value curve.
Further, in the second step, the counting the collected alcohol data by using the statistical program includes:
the data statistics can be classified and counted according to detection personnel, drivers and detection positions, and corresponding classified and counted reports are output.
Further, the step of detecting the alcohol concentration by using the alcoholic beverage with the fixed concentration in the fixed time and after a period of time, wherein the step of obtaining a plurality of groups of detection data comprises: the method comprises the steps of obtaining a first time period t1, a specific amount v, a specific concentration p, a second time period t2 and a standard alcohol concentration value c0, waiting after drinking the alcohol beverage with the specific amount v and the specific concentration p in the first time period t1, starting timing at the same time, and blowing air to an alcohol detection instrument when the second time period t2 is elapsed to obtain detection data.
Further, in the second step, the enhancement processing of the collected alcohol detection video by using the video enhancement algorithm is as follows:
1) identifying key frames in the target video, taking a video clip between two adjacent key frames as a scene clip, and determining a candidate loss type of the scene clip;
2) selecting a loss estimation model matched with the candidate loss type aiming at any candidate loss type, and predicting actual loss parameters of the scene segment aiming at the candidate loss type by using the loss estimation model;
3) selecting image quality enhancement models matched with the candidate loss types respectively, and utilizing the image quality enhancement models to sequentially enhance the image quality of the video frames in the scene clips; the enhancement parameters used by the image quality enhancement model are determined by actual loss parameters corresponding to the matched candidate loss types.
Further, in step 1), the identifying key frames in the target video includes:
determining a reference frame in the target video, and sequentially calculating the similarity between a video frame after the reference frame and the reference frame;
if the similarity between the current video frame and the reference frame is smaller than or equal to a specified threshold value, determining the current video frame as a key frame;
and taking the current video frame as a new reference frame, sequentially calculating the similarity between the video frame after the new reference frame and the new reference frame, and determining the next key frame according to the calculated similarity.
Further, in step 1), the determining the candidate loss type of the scene segment includes:
1.1) selecting one or more video frames in the scene segment, and extracting a region image from the video frames;
1.2) predicting a loss type sequence of each region image, and determining the loss type sequence of the video frame according to the loss type sequence of each region image;
1.3) determining a loss type sequence of the scene segment based on the loss type sequence of each video frame in the scene segment, and sequencing probability values in the loss type sequence of the scene segment to determine candidate loss types of the scene segment according to a sequencing result.
Another object of the present invention is to provide a program storage medium for receiving a user input, the stored computer program causing an electronic device to execute the cloud computing-based alcohol detection management method.
It is another object of the present invention to provide a computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface to implement the cloud computing based alcohol detection management method when executed on an electronic device.
The invention has the advantages and positive effects that: the alcohol detection system can be used for detecting alcohol, recording relevant images and image information data of a driver, a collector and a collected site, collecting concentration data of the alcohol, collecting other parameters which can affect the alcohol, comprehensively controlling the alcohol detection in real time, improving the detection timeliness, correcting an alcohol detection result and improving the detection accuracy.
According to the method, double preprocessing and judgment on the detected gas are added before the alcohol analysis algorithm is executed through the alcohol concentration acquisition module, firstly, the expiratory flow value and the duration of single expiration are judged, and expiration which does not meet the standard is subjected to pause processing, so that the operation that a detected person attempts to evade punishment through shallow expiration is effectively avoided; further monitoring the real-time air pressure value of the gas meeting the expiration standard; after the gas quantity reaches a preset standard, entering an alcohol concentration testing link, and when the gas alcohol concentration is solved, considering that different alcohol sensors are influenced by the environment and a human body to cause drift, the gas pressure and the temperature of the gas are added to be used as compensation of a detection result, so that the interference is effectively reduced; the accuracy of alcohol detection is increased; meanwhile, when the image quality is enhanced through the video enhancement module, the target video can be divided into a plurality of scene segments, and the image quality enhancement processing is sequentially performed on each scene segment; when the image quality of the scene segment is enhanced, different image quality enhancement models can be selected according to different candidate loss types, so that the image quality of the candidate loss types can be accurately enhanced.
Drawings
Fig. 1 is a block diagram of a cloud computing-based alcohol detection management system according to an embodiment of the present invention.
In fig. 1: 1. collecting personnel identity input module; 2. a positioning module; 3. a video recording module; 4. an alcohol concentration acquisition module; 5. a driver information acquisition module; 6. a central control module; 7. a data correction module; 8. a video enhancement module; 9. a data statistics module; 10. a data query module; 11. an editing module; 12. a log module; 13. a cloud processing module; 14. the display module is connected.
Fig. 2 is a flowchart of a cloud computing-based alcohol detection management method according to an embodiment of the present invention.
Fig. 3 is a flowchart of an alcohol concentration acquisition module according to an embodiment of the present invention.
Fig. 4 is a flowchart of a video enhancement module enhancement method according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method for determining candidate loss types of the scene segments according to the embodiment of the present invention.
Detailed Description
In order to further understand the contents, features and effects of the present invention, the following embodiments are illustrated and described in detail with reference to the accompanying drawings.
The structure of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a cloud computing-based alcohol detection management system provided in an embodiment of the present invention includes:
the acquisition personnel identity input module 1 is connected with the central control module 6 and used for inputting the identification information of the acquisition personnel through fingerprint identification, face identification, IC card identification or other identification technologies.
And the positioning module 2 is connected with the central control module 6 and is used for carrying out real-time positioning on the current position by utilizing a GPS.
And the video recording module 3 is connected with the central control module 6 and is used for acquiring the alcohol detection process video through the camera equipment.
And the alcohol concentration acquisition module 4 is connected with the central control module 6 and is used for detecting breath alcohol concentration data of the driver through the alcohol detector.
And the driver information acquisition module 5 is connected with the central control module 6 and is used for acquiring license plate numbers, driving license numbers, record numbers, alcohol value ranges, test time and other related information of drivers.
The central control module 6 is connected with the acquisition personnel identity input module 1, the positioning module 2, the video recording module 3, the alcohol concentration acquisition module 4, the driver information acquisition module 5, the data correction module 7, the video enhancement module 8, the data statistics module 9, the data query module 10, the editing module 11, the log module 12, the cloud processing module 13 and the display module 14, and is used for controlling the normal work of each module through a host.
And the data correction module 7 is connected with the central control module 6 and is used for correcting the collected related alcohol concentration data.
And the video enhancement module 8 is connected with the central control module 6 and is used for enhancing the collected alcohol detection video through a video enhancement algorithm.
And the data statistics module 9 is connected with the central control module 6 and is used for carrying out statistics on the collected alcohol data through a statistics program.
And the data query module 10 is connected with the central control module 6 and is used for querying the alcohol detection result through a query program.
And the editing module 11 is connected with the central control module 6 and is used for editing the alcohol detection data through an editing program.
And the log module 12 is connected with the central control module 6 and is used for recording the alcohol detection time through a log program.
And the cloud processing module 13 is connected with the central control module 6 and is used for processing the alcohol detection data through a large number of server computing resources concentrated by a cloud computing program.
And the display module 14 is connected with the central control module 6 and is used for displaying the acquired identity information of the acquired personnel, the positioning information, the alcohol detection video, the original alcohol concentration, the corrected alcohol concentration and the driver information through a display.
As shown in fig. 2, the cloud computing-based alcohol detection management method provided by the embodiment of the present invention includes the following steps:
s101, identifying and inputting the identity information of the collected personnel through fingerprint identification, face identification, IC card identification or other identification technologies; carrying out real-time positioning on the current position by utilizing a GPS; collecting an alcohol detection process video by using camera equipment; detecting breath alcohol concentration data of a driver by using an alcohol detector; the driver license plate number, the driver license number, the record number, the alcohol value range, the test time and other relevant information are collected.
S102, correcting the collected related alcohol concentration data; enhancing the collected alcohol detection video by using a video enhancement algorithm; counting the collected alcohol data by using a counting program; and querying the alcohol detection result by utilizing a query program.
S103, editing the alcohol detection data by using an editing program; the alcohol detection time is recorded by a log program.
And S104, processing the alcohol detection data by utilizing a large number of server computing resources in a cloud computing program set.
And S105, displaying the collected alcohol detection video, the alcohol concentration and the driver information by using the display.
The technical solution of the present invention is further illustrated by the following specific examples.
Example 1:
as shown in fig. 3, a cloud computing-based alcohol detection management method provided by an embodiment of the present invention is shown in fig. 2, and as a preferred embodiment, the method for detecting breath alcohol concentration data of a driver provided by the embodiment of the present invention includes:
s201, opening a collection channel of the expired air of the human body through an alcohol detector.
S202, detecting index values of the exhaled gas of the human body, wherein the index values include but are not limited to an exhalation flow value, a single exhalation duration, a real-time air pressure value, an air pressure change rate of the gas, a gas temperature change rate, a real-time temperature value and a real-time output value of an alcohol sensor.
S203, judging whether the expiratory flow value and the single expiratory duration value both reach preset values, if so, executing the step S204; otherwise, the gas collection is stopped, and after the interval time t, the step S201 is executed again.
And S204, judging whether the real-time gas pressure value of the gas reaches a preset value, if so, executing the step S205, and if not, executing the step S202.
S205, calculating the alcohol concentration value of the exhaled gas according to the real-time air pressure value, the real-time temperature value and the real-time output value of the alcohol sensor.
S206, calculating the alcohol concentration value in the human blood according to the alcohol concentration value of the exhaled air.
In step (5), the solution formula of the alcohol concentration value of the exhaled gas provided by the embodiment of the present invention is as follows:
Figure 2
ch is the alcohol concentration in the exhaled air, Os is the real-time output value of the alcohol sensor, k1 is a coefficient, P is the real-time air pressure value of the exhaled air, Pmax is the maximum air pressure value of the normal work of the alcohol sensor, Pmin is the minimum air pressure value of the normal work of the alcohol sensor, T is the real-time temperature value of the exhaled air, Tmax is the maximum temperature value of the normal work of the alcohol sensor, Tmin is the minimum temperature value of the normal work of the alcohol sensor, and R is a general gas constant.
Example 2:
as shown in fig. 2, the cloud computing-based alcohol detection management method according to the embodiment of the present invention includes, as a preferred embodiment:
firstly, a corresponding signal-concentration value curve of an input signal of an alcohol detection instrument and an alcohol concentration detection result, and a plurality of mapping relation tables of a first time period, a specific amount, a specific concentration and a second time period and a plurality of specific standard alcohol concentration values are established in advance.
Secondly, a plurality of groups of detection data are obtained by introducing alcoholic beverages with fixed concentration in fixed time and detecting the concentration of alcohol after a period of time.
And correcting the signal-concentration value curve based on the obtained multiple groups of detection data and the difference value of the standard concentration.
Finally, the collected data is corrected by using the signal-concentration value curve.
The embodiment of the invention provides a method for detecting alcohol concentration by introducing alcoholic beverages with fixed concentration in fixed time and carrying out detection at intervals, and the method for acquiring multiple groups of detection data comprises the following steps: the method comprises the steps of obtaining a first time period t1, a specific amount v, a specific concentration p, a second time period t2 and a standard alcohol concentration value c0, waiting after drinking the alcoholic beverage with the specific amount v and the specific concentration p in the first time period t1, starting timing at the same time, and blowing air to an alcohol detection instrument when the second time period t2 is elapsed to obtain detection data.
Example 3:
as shown in fig. 4, the cloud computing-based alcohol detection management method provided by the embodiment of the present invention is shown in fig. 2, and as a preferred embodiment, the enhancement processing of the acquired alcohol detection video by using the video enhancement algorithm provided by the embodiment of the present invention is as follows:
s301, identifying key frames in the target video, taking a video clip between two adjacent key frames as a scene clip, and determining a candidate loss type of the scene clip.
S302, aiming at any candidate loss type, selecting a loss estimation model matched with the candidate loss type, and predicting the actual loss parameter of the scene segment aiming at the candidate loss type by using the loss estimation model.
S303, respectively selecting image quality enhancement models matched with the candidate loss types, and sequentially enhancing the image quality of the video frames in the scene segments by using the image quality enhancement models; the enhancement parameters used by the image quality enhancement model are determined by actual loss parameters corresponding to the matched candidate loss types.
In step 1), the identifying a key frame in the target video provided by the embodiment of the present invention includes:
determining a reference frame in the target video, and sequentially calculating the similarity between a video frame after the reference frame and the reference frame;
if the similarity between the current video frame and the reference frame is smaller than or equal to a specified threshold value, determining the current video frame as a key frame;
and taking the current video frame as a new reference frame, sequentially calculating the similarity between the video frame after the new reference frame and the new reference frame, and determining the next key frame according to the calculated similarity.
As shown in fig. 5, in step 1), determining the candidate loss type of the scene segment according to the embodiment of the present invention includes:
s401, selecting one or more video frames in the scene segment, and extracting a region image from the video frames;
s402, predicting the loss type sequence of each region image, and determining the loss type sequence of the video frame according to the loss type sequence of each region image;
s403, determining a loss type sequence of the scene segment based on the loss type sequence of each video frame in the scene segment, and sequencing probability values in the loss type sequence of the scene segment to determine candidate loss types of the scene segment according to a sequencing result.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and all simple modifications, equivalent changes and modifications made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.

Claims (10)

1. The alcohol detection management method based on cloud computing is characterized by comprising the following steps:
step one, identifying and inputting the identity information of a collected person through fingerprint identification, face identification, IC card identification or other identification technologies; carrying out real-time positioning on the current position by utilizing a GPS; collecting an alcohol detection process video by using camera equipment; detecting breath alcohol concentration data of a driver by using an alcohol detector; collecting license plate number, driver license number, record number, alcohol value range, test time and other related information of a driver;
the detecting the driver breath alcohol concentration data using the alcohol detector includes:
(1) opening a human body exhaled gas collection channel through an alcohol detector;
(2) detecting index values of the exhaled gas of the human body, including but not limited to an exhalation flow value, a single exhalation duration, a real-time air pressure value, an air pressure change rate of the gas, a gas temperature change rate, a real-time temperature value and a real-time output value of an alcohol sensor;
(3) judging whether the expiratory flow value and the single expiratory duration value both reach preset values, if so, executing the step (4); if not, stopping gas collection, and after a time t, executing the step (1);
(4) judging whether the real-time gas pressure value of the gas reaches a preset value, if so, executing the step (5), and if not, executing the step (2);
(5) calculating an alcohol concentration value of the exhaled gas according to the real-time air pressure value, the real-time temperature value and the real-time output value of the alcohol sensor;
(6) calculating the alcohol concentration value in the human blood according to the alcohol concentration value of the exhaled air;
correcting the collected related alcohol concentration data; enhancing the collected alcohol detection video by using a video enhancement algorithm; counting the collected alcohol data by using a counting program; inquiring the alcohol detection result by using an inquiry program;
the correcting the collected relevant alcohol concentration data comprises:
firstly, a corresponding signal-concentration value curve of an input signal of an alcohol detection instrument and an alcohol concentration detection result, and a plurality of mapping relation tables of a first time period, a specific amount, a specific concentration and a second time period and a plurality of specific standard alcohol concentration values are established in advance;
secondly, detecting the alcohol concentration by introducing the alcoholic beverage with fixed concentration in fixed time and carrying out detection on the alcohol concentration after a period of time to obtain a plurality of groups of detection data;
thirdly, correcting a signal-concentration value curve based on the obtained multiple groups of detection data and the difference value of the standard concentration;
finally, correcting the acquired data by using a signal-concentration value curve;
the counting the collected alcohol data by using the counting program comprises the following steps:
the data statistics can be classified and counted according to detection personnel, drivers and detection positions, and corresponding classified statistical reports are output;
the enhancement processing of the acquired alcohol detection video by using the video enhancement algorithm is as follows:
1) identifying key frames in the target video, taking a video clip between two adjacent key frames as a scene clip, and determining a candidate loss type of the scene clip;
2) selecting a loss estimation model matched with the candidate loss type aiming at any candidate loss type, and predicting actual loss parameters of the scene segment aiming at the candidate loss type by using the loss estimation model;
3) selecting image quality enhancement models matched with the candidate loss types respectively, and utilizing the image quality enhancement models to sequentially enhance the image quality of the video frames in the scene clips; the image quality enhancement model comprises an image quality enhancement model and a candidate loss type, wherein the enhancement parameters used by the image quality enhancement model are determined by actual loss parameters corresponding to the matched candidate loss types;
step three, editing the alcohol detection data by using an editing program; recording the alcohol detection time by using a log program;
processing alcohol detection data by utilizing a large number of server computing resources in a cloud computing program set;
and displaying the collected alcohol detection video, the alcohol concentration and the driver information by using the display.
2. The cloud-based alcohol detection management method according to claim 1, wherein in the step (5), the solution formula of the alcohol concentration value of the exhaled air is as follows:
Figure 1
ch is the alcohol concentration in the exhaled air, Os is the real-time output value of the alcohol sensor, k1 is a coefficient, P is the real-time air pressure value of the exhaled air, Pmax is the maximum air pressure value of the normal work of the alcohol sensor, Pmin is the minimum air pressure value of the normal work of the alcohol sensor, T is the real-time temperature value of the exhaled air, Tmax is the maximum temperature value of the normal work of the alcohol sensor, Tmin is the minimum temperature value of the normal work of the alcohol sensor, and R is a general gas constant.
3. The cloud-based alcohol detection management method according to claim 1, wherein the acquiring of the plurality of sets of detection data by referring to the alcohol beverage of a fixed concentration for a fixed time and performing the detection of the alcohol concentration at intervals comprises: the method comprises the steps of obtaining a first time period t1, a specific amount v, a specific concentration p, a second time period t2 and a standard alcohol concentration value c0, waiting after drinking the alcohol beverage with the specific amount v and the specific concentration p in the first time period t1, starting timing at the same time, and blowing air to an alcohol detection instrument when the second time period t2 is elapsed to obtain detection data.
4. The cloud-computing-based alcohol detection management method according to claim 1, wherein in step 1), the identifying key frames in the target video includes:
determining a reference frame in the target video, and sequentially calculating the similarity between a video frame after the reference frame and the reference frame;
if the similarity between the current video frame and the reference frame is smaller than or equal to a specified threshold value, determining the current video frame as a key frame;
and taking the current video frame as a new reference frame, sequentially calculating the similarity between the video frame after the new reference frame and the new reference frame, and determining the next key frame according to the calculated similarity.
5. The cloud-computing-based alcohol detection management method according to claim 1, wherein in step 1), the determining the candidate loss type of the scene segment includes:
1.1) selecting one or more video frames in the scene segment, and extracting a region image from the video frames;
1.2) predicting a loss type sequence of each region image, and determining the loss type sequence of the video frame according to the loss type sequence of each region image;
1.3) determining a loss type sequence of the scene segment based on the loss type sequence of each video frame in the scene segment, and sequencing probability values in the loss type sequence of the scene segment to determine candidate loss types of the scene segment according to a sequencing result.
6. A cloud-computing-based alcohol detection management system, comprising:
the acquisition personnel identity input module is connected with the central control module and is used for identifying and inputting the identity information of the acquisition personnel through fingerprint identification, face identification, IC card identification or other identification technologies;
the positioning module is connected with the central control module and is used for positioning the current position in real time by utilizing a GPS;
the video recording module is connected with the central control module and is used for collecting the alcohol detection process video through the camera equipment;
the alcohol concentration acquisition module is connected with the central control module and used for detecting breath alcohol concentration data of the driver through the alcohol detector;
the driver information acquisition module is connected with the central control module and is used for acquiring license plate numbers, driver license numbers, record numbers, alcohol value ranges, test time and other related information of drivers;
the central control module is connected with the acquisition personnel identity input module, the positioning module, the video recording module, the alcohol concentration acquisition module, the driver information acquisition module, the data correction module, the video enhancement module, the data statistics module, the data query module, the editing module, the log module, the cloud processing module and the display module and is used for controlling each module to normally work through the host;
the data correction module is connected with the central control module and is used for correcting the collected related alcohol concentration data;
the video enhancement module is connected with the central control module and is used for enhancing the collected alcohol detection video through a video enhancement algorithm;
the data statistics module is connected with the central control module and used for carrying out statistics on the collected alcohol data through a statistics program;
and the data query module is connected with the central control module and used for querying the alcohol detection result through a query program.
7. The cloud-based computing alcohol detection management system of claim 6, wherein the cloud-based computing alcohol detection management system comprises:
the editing module is connected with the central control module and used for editing the alcohol detection data through an editing program;
and the log module is connected with the central control module and is used for recording the alcohol detection time through a log program.
8. The cloud-based alcohol detection management system according to claim 6, wherein the cloud processing module is connected to the central control module and configured to process alcohol detection data through a cloud computing program centralized by a plurality of server computing resources;
and the display module is connected with the central control module and used for displaying the acquired identity information of the acquired acquisition personnel, the positioning information, the alcohol detection video, the original alcohol concentration, the corrected alcohol concentration and the driver information through the display.
9. A program storage medium for receiving user input, the stored computer program causing an electronic device to execute the cloud computing-based alcohol detection management method according to any one of claims 1 to 5.
10. A computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface to implement the cloud computing based alcohol detection management method of any one of claims 1 to 5 when executed on an electronic device.
CN202010552809.0A 2020-06-12 2020-06-12 Alcohol detection management system and method based on cloud computing Pending CN111688711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010552809.0A CN111688711A (en) 2020-06-12 2020-06-12 Alcohol detection management system and method based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010552809.0A CN111688711A (en) 2020-06-12 2020-06-12 Alcohol detection management system and method based on cloud computing

Publications (1)

Publication Number Publication Date
CN111688711A true CN111688711A (en) 2020-09-22

Family

ID=72481496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010552809.0A Pending CN111688711A (en) 2020-06-12 2020-06-12 Alcohol detection management system and method based on cloud computing

Country Status (1)

Country Link
CN (1) CN111688711A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112485456A (en) * 2020-11-16 2021-03-12 深圳市因特迈科技有限公司 Correction method for quickly checking alcohol detection result and alcohol detector
CN112782410A (en) * 2020-12-28 2021-05-11 汉威科技集团股份有限公司 Dynamic calibration method and detector for quick-discharging type wine detector
CN113672613A (en) * 2021-06-25 2021-11-19 深圳市威尔电器有限公司 Equipment management method, system, terminal and medium based on 5GDVR integrated system
CN114216941A (en) * 2021-12-13 2022-03-22 合肥艾鑫智能科技有限公司 Drunken driving prevention alarm system based on composite array sensor
CN114814103A (en) * 2022-04-28 2022-07-29 青岛华仁医疗用品有限公司 Off-line exhaled gas nitric oxide detection device
CN113672613B (en) * 2021-06-25 2024-05-07 深圳市威尔电器有限公司 Equipment management method, system, terminal and medium based on 5GDVR integrated system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040236199A1 (en) * 2003-05-19 2004-11-25 Hawthorne Jeffrey Scott Method and apparatus for remote blood alcohol monitoring
CN102985277A (en) * 2010-12-31 2013-03-20 北京星河易达科技有限公司 Intelligent traffic safety system based on comprehensive state detection and decision method thereof
CN103499614A (en) * 2013-10-09 2014-01-08 秦岩 Precision correction method of alcohol detection instrument
CN109061124A (en) * 2018-07-24 2018-12-21 泉州轻工职业学院 A kind of Alcohol mental disorders method
CN110738611A (en) * 2019-09-20 2020-01-31 网宿科技股份有限公司 video image quality enhancement method, system and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040236199A1 (en) * 2003-05-19 2004-11-25 Hawthorne Jeffrey Scott Method and apparatus for remote blood alcohol monitoring
CN102985277A (en) * 2010-12-31 2013-03-20 北京星河易达科技有限公司 Intelligent traffic safety system based on comprehensive state detection and decision method thereof
CN103499614A (en) * 2013-10-09 2014-01-08 秦岩 Precision correction method of alcohol detection instrument
CN109061124A (en) * 2018-07-24 2018-12-21 泉州轻工职业学院 A kind of Alcohol mental disorders method
CN110738611A (en) * 2019-09-20 2020-01-31 网宿科技股份有限公司 video image quality enhancement method, system and equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112485456A (en) * 2020-11-16 2021-03-12 深圳市因特迈科技有限公司 Correction method for quickly checking alcohol detection result and alcohol detector
CN112782410A (en) * 2020-12-28 2021-05-11 汉威科技集团股份有限公司 Dynamic calibration method and detector for quick-discharging type wine detector
CN112782410B (en) * 2020-12-28 2024-01-12 汉威科技集团股份有限公司 Dynamic calibration method of quick-discharge wine detector and detector
CN113672613A (en) * 2021-06-25 2021-11-19 深圳市威尔电器有限公司 Equipment management method, system, terminal and medium based on 5GDVR integrated system
CN113672613B (en) * 2021-06-25 2024-05-07 深圳市威尔电器有限公司 Equipment management method, system, terminal and medium based on 5GDVR integrated system
CN114216941A (en) * 2021-12-13 2022-03-22 合肥艾鑫智能科技有限公司 Drunken driving prevention alarm system based on composite array sensor
CN114216941B (en) * 2021-12-13 2023-12-29 合肥艾鑫智能科技有限公司 Drunk driving prevention alarm system based on composite array sensor
CN114814103A (en) * 2022-04-28 2022-07-29 青岛华仁医疗用品有限公司 Off-line exhaled gas nitric oxide detection device

Similar Documents

Publication Publication Date Title
CN111688711A (en) Alcohol detection management system and method based on cloud computing
US20210389290A1 (en) Intelligent Monitoring and Analysis Method for Air Pollution and Device Thereof
CN110751828B (en) Road congestion measuring method and device, computer equipment and storage medium
CN107204114A (en) A kind of recognition methods of vehicle abnormality behavior and device
CN111681770B (en) Intelligent detection method and device for abnormal target, computer equipment and storage medium
CN110309768B (en) Method and equipment for detecting staff at vehicle inspection station
CN115876258B (en) Livestock and poultry breeding environment abnormity monitoring and alarming system based on multi-source data
CN112216402A (en) Epidemic situation prediction method and device based on artificial intelligence, computer equipment and medium
CN100470578C (en) Science instrument working state monitoring method based on computer vision
CN111863274B (en) Intelligent body temperature real-time monitoring and management system
CN109688384A (en) A kind of teaching in classroom situation monitoring system and method based on image recognition
CN115810178A (en) Crowd abnormal gathering early warning method and device, electronic equipment and medium
CN111242075A (en) Method for recognizing sleeping behavior through police supervision
CN115019294A (en) Pointer instrument reading identification method and system
CN110689447A (en) Real-time detection method for social software user published content based on deep learning
CN116176599A (en) Equipment use permission management system based on alcohol detection
CN116257651A (en) Intelligent monitoring system for abnormal sound of through channel cab apron
CN113295253A (en) Method and system for monitoring weighing data abnormity of non-sensing wagon balance vehicle
CN114999644B (en) Building personnel epidemic situation prevention and control visual management system and management method
CN115904955A (en) Performance index diagnosis method and device, terminal equipment and storage medium
CN115439929A (en) Nasal swab collection action determination method and storage medium in antigen detection process
CN115204678A (en) Tourist evaluation and analysis system based on scenic spot tourism platform
CN115116119A (en) Face recognition system based on digital image processing technology
CN111882135B (en) Internet of things equipment intrusion detection method and related device
CN113327236A (en) Identification method and system of novel coronavirus antibody rapid detection reagent

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922