[go: up one dir, main page]

CN110356227B - Automobile alcohol detection control method and system - Google Patents

Automobile alcohol detection control method and system Download PDF

Info

Publication number
CN110356227B
CN110356227B CN201910621824.3A CN201910621824A CN110356227B CN 110356227 B CN110356227 B CN 110356227B CN 201910621824 A CN201910621824 A CN 201910621824A CN 110356227 B CN110356227 B CN 110356227B
Authority
CN
China
Prior art keywords
data
alcohol
code
control device
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910621824.3A
Other languages
Chinese (zh)
Other versions
CN110356227A (en
Inventor
李君城
陈勇
刘宏宇
卢建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Well Electric Co ltd
Original Assignee
Shenzhen Well Electric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Well Electric Co ltd filed Critical Shenzhen Well Electric Co ltd
Priority to CN201910621824.3A priority Critical patent/CN110356227B/en
Publication of CN110356227A publication Critical patent/CN110356227A/en
Application granted granted Critical
Publication of CN110356227B publication Critical patent/CN110356227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K28/00Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions
    • B60K28/02Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the driver
    • B60K28/06Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the driver responsive to incapacity of driver
    • 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
    • G01N33/483Physical analysis of biological material
    • G01N33/497Physical analysis of biological material of gaseous biological material, e.g. breath
    • G01N33/4972Determining alcohol content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Molecular Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Analytical Chemistry (AREA)
  • Multimedia (AREA)
  • Biophysics (AREA)
  • Hematology (AREA)
  • Urology & Nephrology (AREA)
  • Human Computer Interaction (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Theoretical Computer Science (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of alcohol detection, and discloses an automobile alcohol detection control method and an automobile alcohol detection control system, wherein the method comprises the following steps based on an alcohol detection instrument, a control device and an OBD II interface which are sequentially connected: the control device simultaneously acquires alcohol data and image data from the alcohol detection instrument; matching the image data into a feature code according to the comparison image, and sending the feature code and the alcohol data to the control device; the control device compares the alcohol data with the comparison data and matches a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not appear simultaneously; the control device sends the image data, the feature codes and the wine inspection codes to a management background for storage and backup; the control device is connected in series to control an ignition control interface of the automobile engine according to the wine detection code and the feature code in sequence; whether still whole monitoring navigating mate changes when carrying out the alcohol and detecting, prevent navigating mate's cheating and bad action, the reliability of storage backup data increases the record simultaneously.

Description

Automobile alcohol detection control method and system
Technical Field
The invention relates to the technical field of alcohol detection, in particular to an automobile alcohol detection control method and an automobile alcohol detection control system.
Background
Driving safety is always a key issue in the traffic field, drunk driving is always a behavior excluded from the driving field, so that a plurality of vehicle-mounted alcohol detection instruments are generated, and the current vehicle-mounted alcohol detection instruments tend to be mature.
In the prior art, an automobile alcohol detection lock is formed by electrically connecting an alcohol detection instrument with an automobile control interface OBDII through a control device, wherein the OBDII is provided with a plurality of information ports, and the plurality of information ports respectively have the functions of controlling ignition, detecting automobile voltage, reading rotating speed and the like. The control device can read and record data in the OBDII interface.
At present, a control device of an automobile alcohol checking lock judges whether an automobile is started or not by detecting collapse of automobile starting instantaneous voltage, and after the automobile is started, whether starting personnel change or not cannot be verified due to the fact that a face recognition function is not available, so that abnormal conditions of personnel change cannot be detected.
Disclosure of Invention
The invention provides an automobile alcohol detection control method, which has the face recognition function and can find out the abnormal condition of personnel change in time, and aims to solve the technical problem that the existing automobile alcohol detection lock cannot detect the abnormal condition of personnel change. The invention provides an automobile alcohol detection control system, which has the face recognition function and the advantage of being capable of finding out abnormal conditions of personnel changes in time.
In order to achieve the first purpose, the invention provides the following technical scheme:
an automobile alcohol detection control method is based on an alcohol detection instrument, a control device and an ignition control interface of an automobile engine which are sequentially connected through data, wherein a camera is contained in the alcohol detection instrument, and a vehicle-mounted camera which is connected with the alcohol detection instrument through data and used for sending image data to the alcohol detection instrument is arranged in an automobile, and comprises the following steps:
the control device simultaneously acquires alcohol data and image data from the alcohol detection instrument;
matching the image data into a feature code according to the comparison image, and respectively sending the feature code and the alcohol data to a control device;
the control device compares the alcohol data with the comparison data and matches a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not occur simultaneously;
the control device sends the image data, the feature code and the wine inspection code to a management background for storage and backup;
and the control device controls the ignition control interface in series according to the wine inspection code and the characteristic code in sequence.
By the technical scheme, the alcohol test is combined with the image matching, whether a person who is detecting changes is matched while the alcohol detection is carried out, cheating and bad behaviors of drivers are prevented, meanwhile, the image data, the feature codes and the wine detection codes are stored and backed up in the management background, and the reliability of records is improved.
Further, the method also comprises the following steps: after the ignition control interface is controlled to be started by the control device, alcohol data or image data and feature codes are acquired at irregular time;
the control device compares the alcohol data with the comparison data and matches a wine detection abnormal code,
and the control device sends the wine inspection abnormal code or the image data and the feature code to the management background.
Through above-mentioned technical scheme, still carry out wine after the vehicle starts and examine and the comparison of navigating mate, prevent that personnel from ingesting alcohol after driving, also avoid the vehicle in the condition that the personnel normally changed after starting.
Further, a set parking time is given before alcohol data is acquired at irregular time.
Through the technical scheme, the preparation before the liquor inspection is carried out by the driver is carried out by giving the parking time, and the plurality of images which are not close to the driver and are shot by the alcohol detection instrument can be shot by the alcohol detection instrument, so that the phenomenon that distorted images are shot and used when the alcohol detection instrument is close to the driver is avoided.
Furthermore, an OBDII interface containing rotating speed information is arranged in the automobile, and the control device reads rotating speed data contained in the rotating speed information in the OBDII interface;
if the control device reads that the rotating speed data is larger than 0, a wine detection code containing a coincidence code does not appear in the control device, and the control device sends a starting abnormal code to the management background.
Through the technical scheme, the starting of the automobile is judged by reading the rotating speed data, the error defect of the traditional automobile starting detection method is overcome, the traditional automobile starting detection method judges whether the automobile is started by using the collapse of instantaneous voltage, when the storage battery is damaged or lack of power, and a high-power switch is turned on, the instantaneous collapse of the voltage can be generated, at the moment, misjudgment can be generated, the misjudgment of illegal ignition is avoided, and the reliability of recording is improved.
Further, the method also comprises the following steps:
the control device acquires the image data, encodes the image data and then embeds the image data into the starting abnormal code;
dividing the starting abnormal code into a plurality of data packets;
circularly sending a plurality of data packets of the starting abnormal code according to the position sequence in sequence until all the data packets are received;
and the management background sequentially displays the received data packets.
According to the technical scheme, the data packets are transmitted at intervals and are sequentially displayed, the rough image can be rapidly displayed by the management background, the character face image has dispersed characteristics, the image data also has dispersed characteristics, the rough image can still record the characteristics of the images, the personnel in the management background can automatically complement the character face image, the data packets at intervals are transmitted to form the image data at intervals, the management personnel in the management background can rapidly match whether the character in the current image data is a right object or not, the judgment speed is increased, the complete image data is gradually displayed finally, and the image data can be used as a correction basis of the judgment result, so that the correctness of the judgment result is improved.
In order to achieve the second purpose, the invention provides the following technical scheme:
the utility model provides an automobile alcohol detection control system, is based on the ignition control interface of data connection's alcohol detecting instrument, controlling means and automobile engine in proper order, alcohol detecting instrument contains camera, wine and examines module and calculation chip, set up in the car with alcohol detecting instrument data connection is used for to the on-vehicle camera of alcohol detecting instrument sending image data, include in the calculation chip:
the calling unit is in data connection with the plurality of cameras, is used for calling the cameras and reading image data in the cameras, and is also connected with the wine inspection module to read alcohol data;
the comparison unit is in data connection with the calling unit, stores a comparison image inside, and matches the image data into a feature code according to the comparison image;
the sending unit is in data connection with the calling unit and the comparison unit and is used for calling the image data, the feature codes and the alcohol data and sending the image data, the feature codes and the alcohol data to the control device;
the control device comprises:
the acquisition unit is in data connection with the alcohol detection instrument and is used for acquiring alcohol data, image data and feature codes from the alcohol detection instrument at the same time;
the matching unit is in data connection with the acquisition unit, is internally provided with comparison data and is used for comparing the alcohol data with the comparison data and matching a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not appear at the same time;
the backup unit is connected with the matching unit, the acquisition unit and the management background data and is used for sending the image data, the feature codes and the wine inspection codes to the management background storage backup;
and the control unit is in data connection with the acquisition unit and the matching unit and is used for controlling an ignition control interface in series according to the wine inspection code and the feature code in sequence.
By the technical scheme, the alcohol test is combined with the image matching, whether a person who is detecting changes is matched while the alcohol detection is carried out, cheating and bad behaviors of drivers are prevented, meanwhile, the image data, the feature codes and the wine detection codes are stored and backed up in the management background, and the reliability of records is improved.
Further, the control device further includes:
the non-timing detection unit is in data connection with the acquisition unit and the control unit and is used for obtaining alcohol data or image data and feature codes in non-timing mode after the ignition control interface is controlled to be started;
the abnormality matching unit is used for comparing the alcohol data with the comparison data and matching an alcohol detection abnormality code;
and the abnormity management unit is in data connection with the abnormity matching unit and is used for sending the wine inspection abnormity codes or the image data and the feature codes to the management background.
Through above-mentioned technical scheme, still carry out wine after the vehicle starts and examine and the comparison of navigating mate, prevent that personnel from ingesting alcohol after driving, also avoid the vehicle in the condition that the navigating mate normally changed after starting.
Further, the non-timing detection unit includes:
and the delay subunit is used for giving set parking time before acquiring the alcohol data at irregular time.
Through the technical scheme, the preparation before the liquor inspection is carried out by the driver is carried out by giving the parking time, and the plurality of images which are not close to the driver and are shot by the alcohol detection instrument can be shot by the alcohol detection instrument, so that the phenomenon that distorted images are shot and used when the alcohol detection instrument is close to the driver is avoided.
Further, the control device further includes:
the automobile speed reading device comprises a speed reading unit, a speed reading unit and a control unit, wherein an OBDII interface containing speed information is arranged in an automobile, is in data connection with the OBDII interface and is used for reading speed data contained in the speed information in the OBDII interface;
and the judging unit is in data connection with the rotating speed reading unit and the management background and is used for judging that a wine detection code containing an coincident code does not appear in the control device if the rotating speed data read by the control device is greater than 0, and sending a starting abnormal code to the management background.
Through the technical scheme, the starting of the automobile is judged by reading the rotating speed data, the error defect of the traditional automobile starting detection method is overcome, the traditional automobile starting detection method judges whether the automobile is started by using the collapse of instantaneous voltage, when the storage battery is damaged or lack of power, and a high-power switch is turned on, the instantaneous collapse of the voltage can be generated, at the moment, misjudgment can be generated, the misjudgment of illegal ignition is avoided, and the reliability of recording is improved.
Further, the control device further includes:
the coding unit is in data connection with the acquisition unit and is used for acquiring the image data, and embedding the image data into the starting abnormal code after the image data is coded;
the sub-packaging unit is in data connection with the encoding unit and is used for dividing the starting abnormal code into a plurality of data packets;
the dispatching unit is connected with the sub-packaging unit and the management background data and is used for circularly sending a plurality of data packets of the starting abnormal code according to the position sequence in sequence until all the data packets are received;
the management background comprises the following steps:
and the display unit is in data connection with the dispatching unit and is used for sequentially displaying the received data packets.
According to the technical scheme, the data packets are transmitted at intervals and are sequentially displayed, the rough image can be rapidly displayed by the management background, the character face image has dispersed characteristics, the image data also has dispersed characteristics, the rough image can still record the characteristics of the images, the personnel in the management background can automatically complement the character face image, the data packets at intervals are transmitted to form the image data at intervals, the management personnel in the management background can rapidly match whether the character in the current image data is a right object or not, the judgment speed is increased, the complete image data is gradually displayed finally, and the image data can be used as a correction basis of the judgment result, so that the correctness of the judgment result is improved.
Compared with the prior art, the invention has the beneficial effects that: the alcohol test is combined with the image matching, so that whether a person who is detecting changes or not is matched while the alcohol detection is carried out, and cheating and misbehavior of drivers are prevented. The wine inspection is still performed after the vehicle is started, so that the condition that the vehicle is abnormally replaced by a person after the vehicle is started is avoided, and meanwhile, the image data, the feature codes and the wine inspection codes are stored and backed up in a management background, and the reliability of the record is improved. The starting of the automobile is judged by reading the rotating speed data, and the error defect of the traditional automobile starting detection method is overcome.
Drawings
FIG. 1 is a flowchart of a method according to a first embodiment of the present invention;
fig. 2 is a block diagram of a first embodiment of the present invention.
Reference numerals: 1. an alcohol detection instrument; 2. a control device; 3. an OBD II interface; 4. a first wireless module; 5. and a second wireless module.
Detailed Description
The invention is described in detail below with reference to the figures and examples.
Example one
An automobile alcohol detection control method is based on an alcohol detection instrument 1, a control device 2 and an ignition control interface of an automobile engine which are connected in sequence through data as shown in figure 2. The OBD II interface 3 of part of the automobile comprises an open ignition control interface, the automobile can be controlled to start and stop by sending an electric signal according with the protocol of the OBD II interface 3, and the OBD II interface 3 also comprises rotating speed information. The alcohol detection instrument 1 contains a camera. Alcohol detecting instrument 1 adopts the alcohol detector that chinese patent publication is CN 201220458190.8's patent publication, set up in the car and be used for sending image data's on-vehicle camera to alcohol detecting instrument 1 with 1 data connection of alcohol detecting instrument, on-vehicle camera adopts the wifi camera that current market can purchase, alcohol detecting instrument 1 in-connection has the wifi module to through wifi module and wifi camera data connection, alcohol detecting instrument 1 is unanimous with built-in camera's operation to the operation of wifi on-vehicle camera. The alcohol detection device 1 generates alcohol data and image data. The control device 2 can adopt a calculation component which can run programs or logic calculation, such as a single chip microcomputer, a PLC or a microcomputer, wherein when the calculation component uses the single chip microcomputer, an ideological semiconductor STM32F3 or STM32F4 series single chip microcomputer or a Feichal K60 series single chip microcomputer can be adopted. The singlechip has communication buses such as IIC, SPI, USART, CAN, USB to through one of them communication bus and alcohol detecting instrument 1 data connection, in order to read or acquire the data in the alcohol detecting instrument 1.
As shown in fig. 1, the method comprises the steps of:
the control device 2 simultaneously acquires alcohol data and image data from the alcohol detection device 1. The alcohol detection instrument 1 collects the alcohol content in the gas exhaled by the tested person to generate alcohol data, and a camera on the alcohol detection instrument 1 shoots a face image which is just opposite to the alcohol detection instrument 1 to serve as image data. The control device 2 reads the alcohol data and the image data. The control device 2 is connected with a first wireless module 4 through a communication bus, the alcohol detection instrument 1 is connected with a second wireless module 5, the first wireless module 4 is matched with the second wireless module 5, the first wireless module 4 and the second wireless module 5 can adopt a serial port Bluetooth module, and a WIFI connection module or an NRF24L01 short-distance 2.4GHz wireless communication module can be adopted to realize wireless connection.
The image data is matched with the feature code according to the comparison image, and the feature code and the alcohol data are respectively sent to the control device 2. An android system runs in the alcohol detection instrument 1, and can use a face recognition technology in the field of image recognition to match image data with a comparison image stored in the alcohol detection instrument 1 in advance to obtain a feature code, and generally, the larger the feature code is, the more similar the image data is to the comparison data. The comparison image may be a photograph of the driver taken in advance.
The control device 2 compares the alcohol data with the comparison data and matches a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not appear simultaneously. The control device 2 is internally stored with comparison data in advance, the comparison data is a standard numerical value for judging drunk driving, the alcohol content in gas is higher, the wine detection code is larger, after the wine detection code is larger than the comparison data, drunk driving is judged, and normal driving is judged if the alcohol content is smaller than or equal to the comparison data. Similarly, if the feature code is smaller than a preset value, the person is judged to be changed, and if the feature code is larger than or equal to the preset value, the person is judged not to be changed.
The control device 2 sends the image data, the feature codes and the wine inspection codes to a management background for storage and backup. The control device 2 is connected with a communication module, for example, 4G, and sends the image data, the feature code and the wine inspection code to a management background through the communication module, wherein the management background can be a cloud platform, a cloud server or a network server such as a network disk. The control device 2 accesses the management background through the communication module, transmits data to the management background, and the management background stores and backs up the received data.
The control device 2 controls the ignition control interface in the ignition control interface or the OBD II interface 3 in series according to the wine detection code and the characteristic code in sequence. The definition of the series control is that if the wine inspection code and the feature code are both coincident codes in sequence, the control device 2 controls the ignition control interface in the ignition control interface or the OBD II interface 3 to start the automobile. The control device 2 is internally and electrically connected with a relay, the relay is electrically connected with an ignition control interface in the ignition control interface or the OBD II interface 3, and the control device 2 controls the ignition control interface in the ignition control interface or the OBD II interface 3 through the relay.
The control device 2 controls the ignition control interface to be started or acquires alcohol data or image data and feature codes at random after the ignition control interface in the OBD II interface 3 is started; a set parking time is given before the alcohol data is acquired occasionally. The control device 2 contains a timing module, and the timing module uses a built-in random function program to give out an indefinite time length or uses a built-in indefinite time length in advance.
The control device 2 compares the alcohol data with the comparison data and matches the alcohol detection abnormal code, and the control device 2 sends the alcohol detection abnormal code or the image data and the feature code to the management background. The alcohol detection abnormal code is the condition that the alcohol data is larger than the comparison data and is judged to be drunk driving.
The control device 2 reads the rotating speed data contained in the rotating speed information in the OBD II interface 3, if the control device 2 reads that the rotating speed data is larger than 0, a wine detection code containing an coincident code does not appear in the control device 2, and the control device 2 sends a starting abnormal code to the management background. The starting abnormal code is the condition that someone illegally starts the automobile without wine inspection.
In the process that the control device 2 transmits data by using the communication module, the control device 2 acquires image data, encodes the image data and embeds the start abnormal code. The start exception code is divided into a plurality of data packets. For example, the start-up exception code is divided into N parts, the image data is encoded and divided into N parts, and one part of the start-up exception code is packed corresponding to one part of the image data. The coding adopts compression coding. And circularly sending a plurality of data packets of the starting abnormal codes according to the position sequence in turn until all the data packets are received, and sequentially displaying the received data packets by the management background. Therefore, the management background can distinguish the image data into the packaged image according to the starting abnormal code, splicing can be performed when the image data is displayed, and meanwhile, the management background and a person in the image can be identified in advance.
Example two
The utility model provides an automobile alcohol detection control system, the difference with embodiment one lies in, based on alcohol detecting instrument 1, controlling means 2 and the ignition control interface of automobile engine of data connection in proper order, alcohol detecting instrument 1 contains camera, wine and examines module and calculation chip, sets up in the car and is used for sending the on-vehicle camera of image data to alcohol detecting instrument 1 with alcohol detecting instrument 1 data connection, and the calculation chip includes:
the calling unit is in data connection with the cameras, is used for calling the cameras and reading image data in the cameras, and is simultaneously connected with the wine inspection module to read alcohol data;
the comparison unit is in data connection with the calling unit, stores a comparison image inside, and matches the image data into a feature code according to the comparison image;
the sending unit is in data connection with the calling unit and the comparison unit and is used for calling the image data, the feature codes and the alcohol data and sending the image data, the feature codes and the alcohol data to the control device 2;
the control device 2 includes:
the acquisition unit is in data connection with the alcohol detection instrument 1 and is used for acquiring alcohol data, image data and feature codes from the alcohol detection instrument 1 at the same time;
the matching unit is in data connection with the acquisition unit, is internally provided with comparison data and is used for comparing the alcohol data with the comparison data and matching the wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not appear simultaneously;
the backup unit is connected with the matching unit, the acquisition unit and the management background data and is used for sending the image data, the feature codes and the wine inspection codes to the management background storage backup;
and the control unit is used for being in data connection with the acquisition unit and the matching unit and sequentially controlling the ignition control interface in series according to the wine inspection code and the feature code.
The control device 2 further includes:
the non-timing detection unit is in data connection with the acquisition unit and the control unit and is used for obtaining alcohol data or image data and the feature code in non-timing mode after the ignition control interface is controlled to be started; the non-timing detection unit includes:
and the delay subunit is used for giving set parking time before acquiring the alcohol data at irregular time.
The abnormality matching unit is used for comparing the alcohol data with the comparison data and matching the alcohol detection abnormal code;
and the abnormity management unit is in data connection with the abnormity matching unit and is used for sending the wine inspection abnormity codes or the image data and the characteristic codes to the management background.
The control device 2 further includes:
the automobile speed reading device comprises a speed reading unit, an OBDII interface 3 and an OBDII interface 3, wherein the OBDII interface 3 contains speed information, is in data connection with the OBDII interface 3 and is used for reading speed data contained in the speed information in the OBDII interface 3;
and the judging unit is connected with the rotating speed reading unit and the management background data and is used for judging that the wine detection code containing the coincidence code does not appear in the control device 2 if the control device 2 reads that the rotating speed data is greater than 0 and sending the starting abnormity code to the management background.
The control device 2 further includes:
the encoding unit is in data connection with the acquisition unit and is used for acquiring image data, encoding the image data and then embedding the start abnormal code;
the sub-packaging unit is in data connection with the encoding unit and is used for dividing the starting abnormal code into a plurality of data packets;
the dispatching unit is connected with the sub-packaging unit and the management background data and is used for circularly sending a plurality of data packets of the starting abnormal codes according to the position sequence in sequence until all the data packets are received;
the management background comprises the following steps:
and the display unit is in data connection with the dispatching unit and is used for sequentially displaying the received data packets.
The units can be firmware programs which are burnt or internally solidified to realize corresponding functions, each unit can be a microcontroller which internally runs the corresponding firmware program and can run off line, and the microcontrollers can be in data connection through an addressing bus or a parallel bus.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (6)

1. An automobile alcohol detection control method is based on an alcohol detection instrument (1), a control device (2) and an ignition control interface of an automobile engine which are sequentially connected in a data mode, a camera is contained in the alcohol detection instrument (1), and a vehicle-mounted camera which is connected with the alcohol detection instrument (1) in a data mode and used for sending image data to the alcohol detection instrument (1) is arranged in a vehicle, and is characterized by comprising the following steps:
the control device (2) simultaneously acquires alcohol data and image data from the alcohol detection instrument (1);
matching the image data into a feature code according to the comparison image, and respectively sending the feature code and the alcohol data to a control device (2);
the control device (2) compares the alcohol data with the comparison data and matches a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not occur simultaneously;
the control device (2) sends the image data, the feature codes and the wine inspection codes to a management background storage backup;
the control device (2) controls an ignition control interface in series according to the wine detection code and the feature code in sequence;
after the ignition control interface is controlled to be started by the control device (2), alcohol data or image data and feature codes are acquired at irregular time;
the control device (2) compares the alcohol data with the comparison data and matches a liquor detection abnormal code,
the control device (2) sends the wine inspection abnormal code or the image data and the feature code to the management background;
a set parking time is given before the alcohol data is acquired occasionally.
2. Method according to claim 1, characterized in that the vehicle has an obdii interface (3) containing rotational speed information, and that the control device (2) reads rotational speed data contained in the rotational speed information in the obdii interface (3);
if the control device (2) reads that the rotating speed data is larger than 0, a wine detection code containing a coincidence code does not appear in the control device (2), and the control device (2) sends a starting abnormal code to the management background.
3. The method of claim 2, further comprising:
the control device (2) acquires the image data, encodes the image data and then embeds the image data into the starting abnormal code;
dividing the starting abnormal code into a plurality of data packets;
circularly sending a plurality of data packets of the starting abnormal code according to the position sequence in sequence until all the data packets are received;
and the management background sequentially displays the received data packets.
4. The utility model provides an automobile alcohol detection control system, is based on the ignition control interface of alcohol detecting instrument (1), controlling means (2) and the automobile engine of data connection in proper order, alcohol detecting instrument (1) includes camera, wine and examines module and calculation chip, set up in the car with alcohol detecting instrument (1) data connection is used for to the on-vehicle camera of alcohol detecting instrument (1) sending image data, its characterized in that, include in the calculation chip:
the calling unit is in data connection with the plurality of cameras, is used for calling the cameras and reading image data in the cameras, and is also connected with the wine inspection module to read alcohol data;
the comparison unit is in data connection with the calling unit, stores a comparison image inside, and matches the image data into a feature code according to the comparison image;
the sending unit is in data connection with the calling unit and the comparison unit and is used for calling the image data, the feature codes and the alcohol data and sending the image data, the feature codes and the alcohol data to the control device (2);
the control device (2) comprises:
the acquisition unit is in data connection with the alcohol detection instrument (1) and is used for acquiring alcohol data, image data and feature codes from the alcohol detection instrument (1) at the same time;
the matching unit is in data connection with the acquisition unit, is internally provided with comparison data and is used for comparing the alcohol data with the comparison data and matching a wine detection code, and the wine detection code and the feature code both comprise a coincidence code and a non-coincidence code which do not appear at the same time;
the backup unit is connected with the matching unit, the acquisition unit and the management background data and is used for sending the image data, the feature codes and the wine inspection codes to the management background storage backup;
the control unit is used for being in data connection with the acquisition unit and the matching unit and sequentially controlling an ignition control interface in series according to the wine inspection code and the feature code;
the control device (2) further comprises:
the non-timing detection unit is in data connection with the acquisition unit and the control unit and is used for obtaining alcohol data or image data and feature codes in non-timing mode after the ignition control interface is controlled to be started;
the abnormality matching unit is used for comparing the alcohol data with the comparison data and matching an alcohol detection abnormality code;
the abnormity management unit is in data connection with the abnormity matching unit and is used for sending the wine inspection abnormity codes or the image data and the feature codes to the management background;
the said unit of the said untimed detection includes:
and the delay subunit is used for giving set parking time before acquiring the alcohol data at irregular time.
5. The system according to claim 4, characterized in that said control device (2) further comprises:
the automobile speed reading device comprises a speed reading unit, an OBD II interface (3) containing speed information is arranged in an automobile, is in data connection with the OBD II interface (3), and is used for reading speed data contained in the speed information in the OBD II interface (3);
and the judging unit is connected with the rotating speed reading unit and the management background data and is used for judging that a wine inspection code containing a coincidence code does not appear in the control device (2) if the rotating speed data read by the control device (2) is greater than 0, and sending a starting abnormal code to the management background.
6. The system according to claim 5, characterized in that said control device (2) further comprises:
the coding unit is in data connection with the acquisition unit and is used for acquiring the image data, and embedding the image data into the starting abnormal code after the image data is coded;
the sub-packaging unit is in data connection with the encoding unit and is used for dividing the starting abnormal code into a plurality of data packets;
the dispatching unit is connected with the sub-packaging unit and the management background data and is used for circularly sending a plurality of data packets of the starting abnormal code according to the position sequence in sequence until all the data packets are received;
the management background comprises the following steps:
and the display unit is in data connection with the dispatching unit and is used for sequentially displaying the received data packets.
CN201910621824.3A 2019-07-10 2019-07-10 Automobile alcohol detection control method and system Active CN110356227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910621824.3A CN110356227B (en) 2019-07-10 2019-07-10 Automobile alcohol detection control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910621824.3A CN110356227B (en) 2019-07-10 2019-07-10 Automobile alcohol detection control method and system

Publications (2)

Publication Number Publication Date
CN110356227A CN110356227A (en) 2019-10-22
CN110356227B true CN110356227B (en) 2020-10-23

Family

ID=68218468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910621824.3A Active CN110356227B (en) 2019-07-10 2019-07-10 Automobile alcohol detection control method and system

Country Status (1)

Country Link
CN (1) CN110356227B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112895895A (en) * 2021-02-07 2021-06-04 上汽大众汽车有限公司 Drunk driving prevention device and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201659954U (en) * 2010-01-14 2010-12-01 吴文燕 Dual-purpose automobile lock for alcohol detection and thievery prevention
CN102745080B (en) * 2012-03-16 2015-04-08 浙江吉利汽车研究院有限公司 Drunk driving control system and drunk driving control method
US9387774B2 (en) * 2012-08-14 2016-07-12 Mitsubishi Electric Corporation Train-information management device and device control method
EP2711703A1 (en) * 2012-09-19 2014-03-26 VAN DE SANDE, Dirk Autonomous apparatus and access control barrier for testing alcohol or drugs use for drivers
CN103692912A (en) * 2013-12-13 2014-04-02 黄育斌 Active drunk driving prevention device and detecting method
CN205202744U (en) * 2015-11-23 2016-05-04 洛阳惠尔特节能环保科技有限公司 Prevent on -vehicle system that drives when intoxicated
CN105501181A (en) * 2015-12-11 2016-04-20 李云祥 Vehicle-mounted alcohol detection control system and method
CN108257400A (en) * 2017-12-18 2018-07-06 昆明理工大学 The intelligent management system and its management method of a kind of vehicle drive

Also Published As

Publication number Publication date
CN110356227A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
AU2022201977B2 (en) Wireless communication devices
TWI448111B (en) Automobile detection and control integration device and method thereof
US9886800B2 (en) Engine state detection device
CN101624015B (en) Drunk-driving-resistant vehicle system capable of recognizing drunken driver
US20140309905A1 (en) System and method for sending and receiving messages between an electronic control unit of a vehicle and an external device
CN110356227B (en) Automobile alcohol detection control method and system
CN104122100A (en) Intelligent driving diagnosis system
CN109632335B (en) Vehicle-mounted terminal for intelligent automobile road test and information transmission method thereof
CN111597507B (en) Event data recording method, device, equipment and storage medium
CN110515371A (en) Detection method for ECU data tampering, first controller and ECU
CN104908588A (en) Method and system for preventing drunk driving
CN109927551A (en) A kind of shared new-energy automobile anti-drunk driving vehicle-mounted system and detection method
CN101231764A (en) Automobile image video recording system
CN201457078U (en) A vehicle-mounted system for preventing drunk driving that can identify drivers
JP2000185606A (en) On-vehicle electronic controlling unit and exchange method therefor
CN114132175A (en) Emergency processing system and method for automobile virtual instrument
JP7666574B2 (en) Driving condition monitoring device, driving condition monitoring system, and driving condition monitoring method
CN111199196A (en) Driver monitoring and verifying system and method
CN113297284A (en) Equipment and method for recognizing virtual electricity state of power battery of electric vehicle
CN109978729B (en) Vehicle-mounted examination evaluation terminal, examination evaluation system and examinee identity authentication method
CN117873046A (en) Diagnostic method and device in vehicle collision scene, electronic equipment and storage medium
KR20110128630A (en) Vehicle CO2 Monitoring System Reflecting Driver's Driving Pattern
KR101071153B1 (en) Vehicle operation information verification method and recording medium having recorded program for carrying out verification method
EP3492290A1 (en) System for acquisition and analysis of data transmitted by on-board sensors in vehicles, associated method, portable control apparatus and controller
CN114153650A (en) A safety verification method and system for intelligent cockpit display function

Legal Events

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