CN110136409A - A kind of vehicle collision alarm method, device, mobile unit and storage medium - Google Patents

A kind of vehicle collision alarm method, device, mobile unit and storage medium Download PDF

Info

Publication number
CN110136409A
CN110136409A CN201910260777.4A CN201910260777A CN110136409A CN 110136409 A CN110136409 A CN 110136409A CN 201910260777 A CN201910260777 A CN 201910260777A CN 110136409 A CN110136409 A CN 110136409A
Authority
CN
China
Prior art keywords
vehicle
collision
information
ecu
code
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
CN201910260777.4A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910260777.4A priority Critical patent/CN110136409A/en
Publication of CN110136409A publication Critical patent/CN110136409A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/016Personal emergency signalling and security systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Abstract

This application discloses a kind of vehicle collision alarm methods, comprising: establishes communication connection with ECU;The collision information of vehicle is recorded by ECU;Fault code indications caused by current collide are read in ECU, and position the location information of current vehicle, and the location information, collision information and fault code indications of current vehicle are sent to emergency contact according to the contact details of the emergency contact prestored.Disclosed herein as well is a kind of vehicle collision warning device, mobile unit and storage mediums, the traffic accident information of current vehicle is sent to emergency contact by mobile unit by the application, it obtains the concrete condition of vehicle collision at the first time convenient for emergency contact, accurate reasonable reply timely is carried out to traffic accident.

Description

A kind of vehicle collision alarm method, device, mobile unit and storage medium
Technical field
This application involves automobile monitoring field more particularly to a kind of vehicle collision alarm method, device, mobile unit and deposit Storage media.
Background technique
With the rapid development of economy, living standards of the people greatly improve, vehicle fleet size is also in the gesture being significantly increased.Vehicle Increase and on the one hand bring great convenience to the trip of people, but but also annual traffic accident quantity is in the gesture of growth. Some slight vehicle collisions can also be handled by driver oneself, but if serious traffic accident, driver and passenger have occurred Stupor or other states that cannot be alarmed and save oneself are likely to be in, at this time if they are not succoured in time, having can Serious consequence can occur, such as aggravate the condition of the injury even threat to life safety.However existing vehicle is usually only arranged a key and exhales System is rescued, user can carry out a key calling for help by " SOS " key.This distress system, may be due to car owner when traffic accident occurs In injured situation can not voluntarily key, actually produce little effect.It alarms for this purpose, a vehicle collision is arranged in the auto producer chamber of commerce Device, by sensor detection unit real-time detection Vehicular behavior, the transmission when judgement has a car accident according to detection data Warning message realizes the automatic alarm of traffic accident to emergency contact, so that car owner can be succoured in time.
But existing traffic accident warning device, it is only to notify emergency contact that car owner has a car accident, although vehicle can be enclosed Location information is brought disaster upon, but only informs the generation of emergency contact's traffic accident, is but given to without providing detailed traffic accident detection information Emergency contact.Emergency contact can not recognize the impact severity of traffic accident, just can not know the severity of current traffic accident.By Different coping styles can be used in different degrees of traffic accident, it is different with the processing mode of severe crash for commonly scratching. For emergency contact, relatively accurately understands the collision situation of traffic accident, help that accurate traffic accident is reasonably taken to answer To mode.Based on this, a kind of method that vehicle collides automatic alarm is provided, it can be when vehicle collides to tight Anxious contact person's alarm, and the concrete condition for sending vehicle collision is given to emergency contact, is current vehicle collision detection alarm neck The technical issues of thresholding must probe into.
Summary of the invention
For overcome the deficiencies in the prior art, the first purpose of the application is to provide a kind of vehicle collision alarm method, It can alarm when vehicle collides to emergency contact, and the concrete condition for sending vehicle collision is given to emergency contact People.
The first purpose of the application adopts the following technical scheme that realization:
A kind of vehicle collision alarm method, comprising: establish communication connection with ECU;The collision letter of vehicle is recorded by ECU Breath;Fault code indications caused by current collide are read in ECU, and position the location information of current vehicle, it is tight according to what is prestored The location information, collision information and fault code indications of current vehicle are sent to emergency contact by the contact details of anxious contact person.
Further, in the collision information of the record vehicle, the letter of each crash sensor of ECU is read in real time Number, each collision sensor signal data are parsed, if there are effective collision alarms for judgement, generation is recorded and effectively touches Hit the crash sensor of signal and the time of generation, the collision information as vehicle.
Further, it establishes in communication connection described with ECU, is built by diagnosing protocol information and the air bag ECU in ECU Vertical communication connection.
Further, before described and ECU establishes communication connection, further includes: the VIN code for obtaining current vehicle, according to VIN code judges current vehicle, searches the diagnosing protocol letter of corresponding air bag ECU in diagnosing protocol file further according to current vehicle Breath.
Further, after described and ECU establishes communication connection, further includes: send the order of read failure code to air bag ECU detects the whether faulty code of air bag ECU, if detecting the presence of error code, sends and removes error code order removing failure Code, and the order of read failure code is sent again to air bag ECU after removing, detecting error code whether there is, if there is also events Hinder code, then prompting current air bag ECU, there are failures;If passing through described in execution after fault-free code or completion error code are removed The collision information of ECU record vehicle.
Further, it is read in ECU after currently colliding caused fault code indications, further includes: obtained by error code Vehicle trouble messages are taken, selects corresponding emergency contact to send the location information of current vehicle according to vehicle trouble messages, touch Hit information and fault code indications;The emergency contact that prestores it is artificial several.
Further, the contact details of the emergency contact prestored are cell-phone number and/or communication tool account, mobile unit By connecting with user terminal, the contact details of the emergency contact of the first edit and storage of user terminal are obtained.
Further, the location information, collision information and fault code indications of current vehicle are sent to described urgent It is to prompt car owner's warning message to issue after people, stops vehicle collision detection.
The second purpose of the application is to provide a kind of vehicle collision warning device, can be when vehicle collides It alarms to emergency contact, and sends vehicle concrete condition and be given to emergency contact.
The second purpose of the application adopts the following technical scheme that realization:
A kind of vehicle collision warning device, including communication connection establishes module, collision information obtains module and alarm module; The communication connection establishes module for establishing communication connection with ECU;The collision information obtains module for recording vehicle Collision information;The alarm module positions the position letter of current vehicle for reading fault code indications caused by current collide Breath sends out the location information, collision information and fault code indications of current vehicle according to the contact details of the emergency contact prestored Give emergency contact.
Further, the alarm module is also used to: the signal of each crash sensor of ECU is read in real time, to each Collision sensor signal data are parsed, if judgement there are effective collision alarm, is recorded and generates effective collision signal The time of crash sensor and generation, the collision information as vehicle.
Further, communication connection is established by the air bag ECU in diagnosing protocol information and ECU.
It further, further include diagnosing protocol data obtaining module, the diagnosing protocol data obtaining module is for obtaining The VIN code of current vehicle judges current vehicle according to VIN code, searches in diagnosing protocol file further according to current vehicle corresponding Air bag ECU diagnosing protocol information.
It further, further include error code detection module, the error code detection module is for sending read failure code life It enables to air bag ECU, detects the whether faulty code of air bag ECU, if detecting the presence of error code, it is clear to send removing error code order The order of read failure code is sent again to air bag ECU except error code, and after removing, and detecting error code whether there is, if also There are error code, then prompting current air bag ECU, there are failures;If executing institute after fault-free code or completion error code are removed State the collision information that vehicle is recorded by ECU.
Further, vehicle trouble messages are obtained by error code, is selected according to vehicle trouble messages corresponding urgent It is the location information, collision information and fault code indications that human hair send current vehicle;The emergency contact that prestores it is artificial several.
Further, the contact details of the emergency contact prestored are cell-phone number and/or communication tool account, mobile unit By connecting with user terminal, the contact details of the emergency contact of the first edit and storage of user terminal are obtained.
Further, further include alarm module, be also used to the location information of current vehicle, collision information and event described Barrier code information is sent to after emergency contact, and car owner's warning message is prompted to issue, and stops vehicle collision detection.
The third purpose of the application is to provide a kind of mobile unit, can join when vehicle collides to urgent It is people's alarm, and sends vehicle concrete condition and be given to emergency contact.
The third purpose of the application adopts the following technical scheme that realization:
A kind of mobile unit can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize a kind of vehicle collision alarm as described in the application first purpose when executing described program Method.
The fourth purpose of the application is to provide a kind of storage medium, can join when vehicle collides to urgent It is people's alarm, and sends vehicle concrete condition and be given to emergency contact.
The fourth purpose of the application adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor A kind of vehicle collision alarm method as described in the application first purpose is realized when row.
Compared with prior art, the beneficial effects of the present application are as follows:
A kind of vehicle collision alarm method, device, mobile unit and the storage medium of the application, passes through a mobile unit Communication connection is established with the air bag ECU in ECU, mobile unit circulation obtains vehicle collision information caused by each crash sensor, Fault code indications caused by mobile unit reads current collide in air bag ECU, the emergency contact prestored further according to mobile unit Contact details the location information, collision information and fault code indications of current vehicle are sent to emergency contact, convenient for urgent Contact person obtains the concrete condition of traffic accident collision at the first time, takes rationally accurately traffic accident reply according to the collision situation of vehicle Mode.
Detailed description of the invention
Fig. 1 is a kind of vehicle collision alarm method flow chart of embodiment one;
Fig. 2 is Fig. 1 vehicle collision alarm method specific steps schematic diagram;
Fig. 3 is a kind of vehicle collision warning device schematic diagram of embodiment two.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the application, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
Vehicle collision alarm scheme provided by the present application based on one connect with the automobile OBD bus in ECU vehicle-mounted set Standby to realize, the mobile unit can be OBD device in practical application or other have the car-mounted device of simple data processing, following In embodiment by taking OBD device as an example.By mobile unit come in real time monitor vehicle OBD (On-Board Diagnostics, Onboard diagnostic system) (collision alarm is obtained generally by the data information of air bag ECU for collision sensor signal data in bus It takes, or collision alarm is directly acquired by crash sensor, following embodiments are explained for obtaining in air bag ECU State), car owner can preset the contact method of several emergency contacts in a device, collide if it find that vehicle generates, then device It can be automatically by SMS the internal risks of active (Safety Management System) program or wireless network to several Position emergency contact sends the collision information of vehicle, and location information etc. allows emergency contact to obtain the information of traffic accident at the first time, Timely traffic accident is coped with.
Embodiment one:
Embodiment one discloses a kind of vehicle collision alarm method, as shown in Figure 1, including the following steps:
S1 diagnosing protocol information acquiring step, obtains the VIN code of current vehicle, judges current vehicle, then root according to VIN code The diagnosing protocol information of corresponding air bag ECU is searched in diagnosing protocol file according to current vehicle, diagnosing protocol information is for building The communication connection of vertical OBD device and air bag ECU;
S2 communication connection establishment step establishes communication connection with air bag ECU;
S3 collision information obtaining step reads the signal of each crash sensor of air bag ECU in real time, passes to each collision Sensor signal data are parsed, if the collision biography for generating effective collision signal there are effective collision alarm, is recorded in judgement The time of sensor and generation, the collision information as vehicle;
S4 alarming step, fault code indications caused by reading current collide in air bag ECU, and position the position of current vehicle Information, according to the contact details of the emergency contact prestored by the location information, collision information and fault code indications of current vehicle It is sent to emergency contact.
The vehicle collision alarm method of the application is intended to through OBD (On-Board Diagnostic, onboard diagnostic system) Bus monitoring device monitors the signal of each crash sensor of vehicle in real time, and (signal monitoring of general crash sensor all exists Air bag ECU (Electronic Control Unit, electronic control unit in)), when vehicle collides, device can With automatically by SMS card or wireless network, to preset emergency contact's pushed information, to be reported in time to traffic accident It is alert, seek to rescue.By providing a device (OBD device) based on OBD bus communication, the OBD for monitoring vehicle in real time is total Collision alarm data on line, car owner can preset the contact method of several emergency contacts in a device, if device is found Vehicle generates collision alarm, then device automatically can send vehicle to several emergency contacts by SMS program or wireless network Specific collision situation, location information etc., allow emergency contact to obtain the information of traffic accident at the first time, timely to traffic accident into Row reply.Emergency contact is set as multiple, avoids single emergency contact that from can not making the feelings of reply to traffic accident information in time Condition.Also, OBD device uses simple, it is only necessary to which OBD device is inserted in car OBD interface and presses START key, device by car owner It full automatic can be monitored, and not have to car owner after colliding and go to alarm manually or contact, device can be called automatically SMS messaging in device sends program and internet message push products, sends at the first time to the preset emergency contact of car owner Notice.
The specific steps of the vehicle collision alarm method of OBD device are described in detail below, as shown in Fig. 2, OBD is filled It is embedded with operating system in setting, is Linux or Android system, is built-in with speech chip and horn module mentions for realizing voice Show, by setting SIM card module to support SMS message function and 3G/4G/5G function of surfing the Net, and supports what SMS messaging was sent Program realizes vehicle location by GPS/ Beidou positioning chip.In addition, also setting up network communication software message push products (ratio Such as QQ, wechat network communication software), it is used for emergency contact's PUSH message.It is real-time by this method to collide monitoring program Monitoring car crass signal.
Firstly, it is necessary to pre-set the contact details of emergency contact.It is directly inputted by operating system or the hand of car owner Machine terminal uploads emergency contact information.The mobile phone terminal of car owner establishes connection by bluetooth, WIFI, USB line and OBD device, The contact details of emergency contact can be set by APP.After APP and the successful connection of OBD device, car owner is defeated at the end APP Enter the contact method of several emergency contacts, generally cell-phone number, certainly, it is contemplated that the prevalence of network communication software at present, institute Also to support the communication tool account number of setting emergency contact, such as the network communication tools such as QQ or wechat.It is edited in car owner The emergency contact information that car owner inputs is transferred to OBD device by connection by APP after the completion, and OBD device can receive information simultaneously And it is written in the storage inside of device.
Since OBD system can monitor the operation conditions of vehicle motor and the working condition of exhaust gas aftertreatment system at any time, Once warning can be issued at once it was found that being possible to cause to discharge exceeded situation.When system breaks down, trouble light (MIL) Or check that engine (Check Engine) emergency warning lamp is bright, while fault message can be stored in memory by OBD system, pass through standard Diagnostic instrments and diagnosis interface relevant information can be read in the form of error code.According to the prompt of error code, maintenance personal It can quickly and accurately determine property and the position of failure.OBD device connects OBD device as the communication device with OBD system Onto the OBD interface of automobile, powered by 16 supply pins and 4 lower margins of OBD system to OBD device.OBD device connection with Afterwards, by pressing " START button ", OBD device will start collision monitoring program, start to carry out collision detection.
It collides monitoring program and first sends reading VIN (Vehicle Identification Number, vehicle knowledge to vehicle Other code) code order, VIN code is made of 17 characters, so being commonly called as 17 codes.It contain the manufacturer of vehicle, the age, Vehicle, body model and code, engine code and assembling place etc. information.It is correct to interpret VIN code, we are correctly known Other vehicle, so that it is highly important for correctly being diagnosed and repaired all.It should be noted that OBD device accesses OBD bus When, due to just starting can not to confirm the agreement of vehicle, so the reading VIN code order of each agreement can be sent one in order Time, until automobile returns to VIN code information, common agreement has CAN, KWP, ISO9141, PWM, VPW, the communication ginseng of every kind of agreement Number and order are all different, have write in program of lower computer, such as the communication pin of CAN protocol is 6,14, and baud rate is 500K, the order for reading VIN code is 0x0807df0209020000000000.Automobile is returned to VIN code information by commands in return, Specific vehicle can be parsed from the VIN code of 17 bytes, for example VIN code is WDD2210222a253260, means that this Money vehicle system is benz (BENZ), and vehicle is S350.It then, can be in OBD device according to the specific vehicle parsed Go to search the diagnosing protocol information of the corresponding air bag ECU of this vehicle in diagnosing protocol file.Diagnosing protocol information mainly includes The communication pin of this air bag ECU system, protocol type, communication baud rate, the filtering ID of system, the order of system activation, number According to the order of acquisition, component executes order etc..According to the diagnosing protocol information of air bag ECU, OBD device and air bag are first established The diagnosis communication of ECU connects, for example communications parameter is set as CAN standard agreement, baud rate 500K, and communication pin is 6,14, is System filtering ID is 0xde20 and 0xde40.After communication connection is successfully established, OBD device sends system activation command to air bag ECU, For example 0x1001, air bag ECU can return to 0x5001 expression and activate successfully, so that it may carry out normal diagnosis communication with air bag ECU.
After communication connection is successfully established, needing first to send read failure code order is 0x190208, to read current gas The whether faulty code of capsule, gas-bag system can reply error code data, for example 0x590208 indicates fault-free code, 0x590208900001 means that faulty code 9000, and the state of error code is 01 expression current failure code or historical failure Code.If there is error code, then sends and remove error code order to be purged error code, such as 0x14ffffff, after removing It retransmits Read fault code order and sees that error code whether there is, if there are failures there is also current air bag ECU system is meant that, just Voice prompting car owner first will will just can be carried out collision monitoring after the fault restoration of gas-bag system.
It, can be real by the diagnosing protocol information of inquiry air bag ECU if fault-free code or error code can be removed When record vehicle collision information.Collision information is obtained by the state that OBD device cycles through every collision sensor signal Order to read the signal of each crash sensor of vehicle, for example send 0x22f001 etc., the signal of each crash sensor is read It takes order different, but all to inquire.The data that each collision sensor signal is returned from air bag ECU system It requires to parse, for example sends 0x220401 to read a certain collision sensor signal, air bag ECU can reply sensor signal number According to, such as 0x62040101, wherein 01 may indicate collision alarm generation, 00 indicates that collisionless signal generates, and other values are then It is invalid.The all the sensors signal condition that air bag ECU is returned all is parsed, then according to algorithm to determine whether touching Hit generation.If it is effective for detecting the discovery of sensor analysis judgment to have collision sensor signal, then it represents that vehicle has collision to send out It is raw, the detailed collision information of vehicle will be recorded at this time, for example be the signal which sensor generates, the time etc. of generation. Each crash sensor is distributed in each position of automobile, all parts of corresponding automobile, the signal generated according to sensor Know which specific position of vehicle is collided.And according to generate signal transducer number and collision specific location, It can determine whether the area that collides, and then judge the case where colliding in vehicle.It should be noted that sensor collision alarm according to Corresponding threshold value is set, when the signal message detected reaches given threshold, is determined as collision alarm.
The Read fault code order of air bag ECU, such as 0x190208 are retransmited, later to read the error code letter of current air bag Breath, such as " 9000-A74/6 sensor is breaking over the ground ", and save the information of error code.Fault code indications indicate sensor There is partial fault in damage, vehicle, and a degree of collision, which has occurred, in the specific location of same corresponding vehicle leads to sensor Damage.So according to the damage information of sensor, so that it may which there are biggish collisions for exact understanding vehicle part position Damage situation.Facilitate emergency contact to understand the degree of vehicle collision in this way, facilitates emergency contact to different degrees of traffic accident Carry out corresponding coping style.Emergency contact recognizes that current traffic accident is small-sized scratches or great Cheng by fault code indications Collision, rollover of degree etc. pointedly make countermeasure convenient for definitely understanding accident situation.In addition, it should be noted that this The emergency contact of embodiment includes car owner kith and kin, car owner, 120 first-aid centres, traffic police or even insurance company etc..And And in order to accurately relate to corresponding emergency contact, traffic accident class information of the present embodiment according to fault code indications, selection Corresponding emergency contact sends location information, collision information and the fault code indications of current vehicle.For example, small-sized is touched It hits, scratch, traffic accident grade is low, does not occur the damage of vehicle large area, selects accident treatment personnel (the vehicle setting of vehicle setting Accident treatment personnel can be set as needed by car owner, such as can be set to the professional lawyer of car owner, or be set as vehicle More there are the personnel of experiences of power accidents disposal in master's house in front yard), insurance company.For large area collision, damage, traffic accident grade is high , it can choose connection car owner kith and kin, 120 first-aid centres, traffic police or even insurance company etc..It is different according to traffic accident hierarchical selection Emergency contact, in this way, the personnel of profession can be notified to handle in time when accident occurs for vehicle, with accurate at the first time The generation of ground reply traffic accident.
In addition, OBD device also reads current location coordinate information by GPS or Beidou chip, and save position Set coordinate information.
It completes that traffic accident information is sent to emergency contact after above-mentioned traffic accident information reads and save.OBD device will be tight Anxious contact information is read out from memory block, emergency contact information judgement is then carried out, if emergency contact information is hand Machine number, then OBD device can call SMS messaging to send program, by the location information of current vehicle, collision information, error code letter Breath and vehicle coordinate information generate short message, are then sent to the number of all emergency contacts.If emergency contact Information have the account number of communication software, then OBD device can be by network communication software message push products, by the position of current vehicle Confidence breath, collision information, fault code indications, there are also vehicle coordinate information to generate communication message, then pushes messages to all Emergency contact.
After information is pushed to all emergency contacts, OBD device will specifically be touched by voice informing car owner, vehicle Hit information and all emergency contacts of message informing.After all emergency contacts notify, in OBD device Colliding monitoring program will be out of service, and car owner is needed to go the maintenance for carrying out vehicle that can press again after vehicle maintenance is good START button on lower OBD device starts to monitor again.
A kind of vehicle collision alarm method of the present embodiment establishes communication connection by an OBD device and air bag ECU, OBD device circulation obtains vehicle collision information caused by each crash sensor, and OBD device reads current collision in air bag ECU and draws The fault code indications risen, the contact details of the emergency contact prestored further according to OBD device by the location information of current vehicle, touch It hits information and fault code indications is sent to emergency contact, obtain the specific feelings of traffic accident collision at the first time convenient for emergency contact Condition takes rationally accurately traffic accident coping style according to the collision situation of vehicle.
Embodiment two:
Embodiment two discloses a kind of vehicle collision warning device, as shown in figure 3, including that communication connection is established module, touched Hit data obtaining module and alarm module;Communication connection establishes module for establishing communication connection with OBD system;Collision information obtains Modulus block is used to record the collision information of vehicle;Alarm module is positioned for reading fault code indications caused by current collide The location information of current vehicle believes the location information of current vehicle, collision according to the contact details of the emergency contact prestored Breath and fault code indications are sent to emergency contact.
Specifically, vehicle collision warning device further includes diagnosing protocol data obtaining module, error code detection module, diagnosis Protocol information obtains the VIN code that module is used to obtain current vehicle, current vehicle is judged according to VIN code, further according to current vehicle The diagnosing protocol information of corresponding air bag ECU is searched in diagnosing protocol file.Error code detection module reads event for sending Hinder code order to air bag ECU, detects the whether faulty code of air bag ECU if detecting the presence of error code and send removing error code Error code is removed in order, and sends the order of read failure code again to air bag ECU after removing, and detects whether error code deposits If prompting current air bag ECU, there are failures there is also error code;After if fault-free code or completion error code are removed, Execute the collision information that vehicle is recorded by ECU.
When vehicle collides, vehicle collision warning device can automatically by SMS card or wireless network, To preset emergency contact's pushed information, in time to alarm to traffic accident, seek to rescue.Vehicle is monitored in real time Collision alarm data in OBD bus, car owner can preset the contact method of several emergency contacts in a device, if device It was found that vehicle generates collision alarm, then device can automatically pass through SMS program or wireless network to several emergency contact human hairs Specific collision situation, the location information etc. for sending vehicle allow emergency contact to obtain the information of traffic accident at the first time, timely to vehicle Misfortune is coped with.Emergency contact is set as multiple, and single emergency contact is avoided not make reply to traffic accident information in time The case where.
Vehicle collision warning device is described in detail below, operating system is embedded in vehicle collision warning device, For Linux or Android system, speech chip and horn module are built-in with for realizing voice prompting, by the way that SIM card mould is arranged Block passes through GPS/ Beidou to support SMS message function and 3G/4G/5G function of surfing the Net, and the program for supporting SMS messaging to send Positioning chip realizes vehicle location.In addition, also setting up network communication software message push products, (for example the networks such as QQ, wechat are logical Interrogate software), it is used for emergency contact's PUSH message.Collision monitoring program monitors car crass letter by this method in real time Number.
Firstly, it is necessary to pre-set the contact details of emergency contact.It is directly inputted by operating system or the hand of car owner Machine terminal uploads emergency contact information.The mobile phone terminal of car owner passes through bluetooth, WIFI, USB line and vehicle collision warning device Connection is established, the contact details of emergency contact can be set by APP.It is connected into APP and vehicle collision warning device After function, car owner inputs the contact method of several emergency contacts, generally cell-phone number at the end APP, certainly, it is contemplated that network at present The prevalence of communication software, so also supporting the communication tool account number of setting emergency contact, for example the networks such as QQ or wechat are logical News tool.The emergency contact information that car owner inputs is transferred to vehicle collision report by connection by APP after the completion of car owner edits Alarm device, vehicle collision warning device can receive information and be written in the storage inside of device.
Since OBD system can monitor the operation conditions of vehicle motor and the working condition of exhaust gas aftertreatment system at any time, Once warning can be issued at once it was found that being possible to cause to discharge exceeded situation.When system breaks down, trouble light (MIL) Or check that engine (Check Engine) emergency warning lamp is bright, while fault message can be stored in memory by OBD system, pass through standard Diagnostic instrments and diagnosis interface relevant information can be read in the form of error code.According to the prompt of error code, maintenance personal It can quickly and accurately determine property and the position of failure.
The collision monitoring program of diagnosing protocol data obtaining module, which is first sent to vehicle, reads VIN (Vehicle Identification Number, vehicle identification code) code order, VIN code is made of 17 characters, so being commonly called as 17 codes. It contains the information such as manufacturer, age, vehicle, body model and the code, engine code and assembling place of vehicle.Just VIN code is really interpreted, vehicle is correctly identified for us, so that it is highly important for correctly being diagnosed and repaired all.It needs It should be noted that the agreement due to just starting can not to confirm vehicle, so can be by suitable by the reading VIN code order of each agreement Sequence is sent one time, and until automobile returns to VIN code information, common agreement has CAN, KWP, ISO9141, PWM, VPW, every kind of agreement Communications parameter and order it is all different, write in program of lower computer, for example, CAN protocol communication pin be 6,14, wave Special rate is 500K, and the order for reading VIN code is 0x0807df0209020000000000.Automobile is believed VIN code by commands in return Breath returns, and can parse specific vehicle from the VIN code of 17 bytes, for example VIN code is WDD2210222a253260, Mean that this vehicle system is benz (BENZ), vehicle is S350.It then, can be in device according to the specific vehicle parsed In diagnosing protocol file in go to search the diagnosing protocol information of the corresponding air bag ECU of this vehicle.Diagnosing protocol information is mainly wrapped The communication pin of this air bag ECU system, protocol type, communication baud rate, the filtering ID of system, the life of system activation are included It enables, the order of data acquisition, component executes order etc..Communication connection is established module and is believed according to the diagnosing protocol of air bag ECU Breath, first establishes device and connect with the diagnosis communication of air bag ECU, for example communications parameter is set as CAN standard agreement, baud rate is 500K, communication pin are 6,14, and it is 0xde20 and 0xde40 that system, which filters ID,.After communication connection is successfully established, device is to air bag ECU sends system activation command, for example 0x1001, air bag ECU can return to 0x5001 expression and activate successfully, so that it may with air bag ECU carries out normal diagnosis communication.
After communication connection is successfully established, error code detection module needs first to send read failure code order and is 0x190208, to read the whether faulty code of current air bag, gas-bag system can reply error code data, for example 0x590208 is indicated Fault-free code, 0x590208900001 mean that faulty code 9000, the state of error code be 01 indicate current failure code or Historical failure code.If there is error code, then sends and removes error code order and be purged error code, such as 0x14ffffff, Read fault code order is retransmited after removing and sees that error code whether there is, if there is also mean that current air bag ECU system deposits In failure, collision monitoring first will just can be carried out after the fault restoration of gas-bag system with regard to voice prompting car owner.
If fault-free code or error code can be removed, collision information obtains module can be by inquiring air bag ECU Diagnosing protocol information, record vehicle collision information in real time.Collision information cycles through every crash sensor by device The state of signal obtains order to read signal of each crash sensor of vehicle, such as transmission 0x22f001 etc., each collision The signal-obtaining order of sensor may be different, but all to inquire.Each collision sensor signal is from air bag ECU The data that system returns require to parse, for example send 0x220401 to read a certain collision sensor signal, and air bag ECU can be returned Multiple sensor signal data, such as 0x62040101, wherein 01 may indicate collision alarm generation, 00 indicates collisionless signal It generates, other values are then invalid.The all the sensors signal condition that air bag ECU is returned all is parsed, then according to algorithm To determine whether there is collision.If detecting the discovery of sensor analysis judgment to have collision sensor signal is effective, table Show that vehicle has collision, the detailed collision information of vehicle will be recorded at this time, for example is the signal which sensor generates, The time etc. of generation.Each crash sensor is distributed in each position of automobile, and all parts of corresponding automobile are produced according to sensor Raw signal, you can learn which specific position of vehicle is collided.And it according to the number for generating signal transducer and touches The specific location hit can determine whether the area that collides, and then judge the case where colliding in vehicle.It should be noted that sensor Collision alarm be determined as collision alarm when the signal message detected reaches given threshold according to corresponding threshold value is set.
The Read fault code order of air bag ECU, such as 0x190208 are retransmited after alarm module, to read current air bag Fault code indications, such as " 9000-A74/6 sensor is breaking over the ground ", and save the information of error code.Fault code indications indicate to pass Sensor is damaged, and partial fault occurs in vehicle, and the specific location of same corresponding vehicle has occurred a degree of collision and leads Cause the damage of sensor.So according to the damage information of sensor, so that it may exact understanding vehicle part position exist compared with Situation is damaged in big collision.Facilitate emergency contact to understand the degree of vehicle collision in this way, facilitates emergency contact to different journeys The traffic accident of degree carries out corresponding coping style.Emergency contact recognizes that current traffic accident is small-sized scratches by fault code indications Or collision, the rollover etc. of big degree pointedly make countermeasure convenient for definitely understanding accident situation.In addition, it is necessary to pay attention to , the emergency contact of the present embodiment includes that car owner kith and kin, car owner, 120 first-aid centres, traffic police or even insurance are public Department etc..Also, in order to accurately relate to corresponding emergency contact, the present embodiment is believed according to the traffic accident grade of fault code indications Breath selects corresponding emergency contact to send location information, collision information and the fault code indications of current vehicle.For example, for Small-sized collision scratches, and traffic accident grade is low, does not occur the damage of vehicle large area, selects the accident treatment personnel of vehicle setting (the accident treatment personnel of vehicle setting can be set as needed by car owner, such as can be set to the professional lawyer of car owner, or Be set as in car owner family the personnel for more having experiences of power accidents disposal), insurance company.For large area collision, damage, traffic accident Grade is high, can choose connection car owner kith and kin, 120 first-aid centres, traffic police or even insurance company etc..According to traffic accident hierarchical selection Different emergency contact, in this way, the personnel of profession can be notified to handle in time, when with first when accident occurs for vehicle Between accurately cope with the generation of traffic accident.
In addition, device also reads current location coordinate information by GPS or Beidou chip, and save location is sat Mark information.
It completes after above-mentioned traffic accident information reads and save, traffic accident information is sent to emergency contact by alarm module.Dress It sets and reads out emergency contact information from memory block, then carry out emergency contact information judgement, if emergency contact believes Breath is phone number, then alarm module can call SMS messaging to send program, by the location information of current vehicle, collision information, therefore Hinder code information and vehicle coordinate information generates short message, is then sent to the number of all emergency contacts.If urgent The information of contact person has the account number of communication software, then alarm module can be by network communication software message push products, will be current The location information of vehicle, collision information, fault code indications, there are also vehicle coordinate information to generate communication message, then pushes away message Give all emergency contacts.
After information is pushed to all emergency contacts, alarm module will be by voice informing car owner, and vehicle is specific All emergency contacts of collision information and message informing.After all emergency contacts notify, in device Colliding monitoring program will be out of service, and car owner is needed to go the maintenance for carrying out vehicle that can weigh again after vehicle maintenance is good New monitoring.
The vehicle collision warning device of the present embodiment obtains vehicle collision caused by each crash sensor by circulation and believes Breath, air bag ECU read current fault code indications caused by colliding, will be current further according to the contact details of the emergency contact prestored Location information, collision information and the fault code indications of vehicle are sent to emergency contact, obtain at the first time convenient for emergency contact The concrete condition for obtaining traffic accident collision takes rationally accurately traffic accident coping style according to the collision situation of vehicle.
Embodiment three:
Embodiment three discloses a kind of mobile unit, which includes processor, memory and program, wherein locating One or more can be used in reason device and memory, and program is stored in memory, and is configured to be executed by processor, When processor executes the program, realize that the vehicle collision alarm method of embodiment one, the mobile unit can be one OBD of embodiment Device, as the communication device with OBD bus.The mobile unit of the present embodiment is established by an OBD device and air bag ECU Communication connection, OBD device circulation obtain vehicle collision information caused by each crash sensor, and OBD device is worked as in air bag ECU reading Fault code indications caused by preceding collision, the contact details of the emergency contact prestored further according to OBD device are by the position of current vehicle Confidence breath, collision information and fault code indications are sent to emergency contact, obtain traffic accident at the first time convenient for emergency contact and touch The concrete condition hit takes rationally accurately traffic accident coping style according to the collision situation of vehicle.
Example IV:
Example IV discloses a kind of readable computer storage medium, which is somebody's turn to do for storing program When program is executed by processor, the vehicle collision alarm method of embodiment one is realized.If the present processes are with software function The form of unit is realized and when sold or used as an independent product, can store in the computer storage medium.It is based on Such understanding, the application realize above-described embodiment method in all or part of the process, can also by computer program come Relevant hardware is instructed to complete, the computer program can be stored in a computer storage medium, the computer program When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer Program code, the computer program code can be source code form, object identification code form, executable file or certain centres Form etc..The computer storage medium may include: can carry the computer program code any entity or device, Recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software Distribution medium etc..It should be noted that the content that the computer storage medium includes can be according to making laws in jurisdiction Requirement with patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer Storage medium does not include electric carrier signal and telecommunication signal.
Above embodiment is only the preferred embodiment of the application, and the range of the application protection cannot be limited with this, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the application belong to the application institute Claimed range.

Claims (10)

1. a kind of vehicle collision alarm method, which is characterized in that be applied to mobile unit, comprising:
Communication connection is established with Vehicle Electronic Control Unit ECU;
The collision information of vehicle is recorded by ECU;
Fault code indications caused by current collide are read in ECU, and position the location information of current vehicle, it is tight according to what is prestored The location information, collision information and fault code indications of current vehicle are sent to emergency contact by the contact details of anxious contact person.
2. vehicle collision alarm method as described in claim 1, which is characterized in that the collision for recording vehicle by ECU Information, specifically:
The signal for reading each crash sensor of ECU in real time, parses each collision sensor signal data, if judgement There are effective collision alarms, then the time of the crash sensor and generation that generate effective collision signal are recorded, as vehicle Collision information.
3. vehicle collision alarm method as described in claim 1, which is characterized in that it is described to establish communication connection with ECU, specifically Are as follows: communication connection is established by the air bag ECU in diagnosing protocol information and ECU.
4. vehicle collision alarm method as described in claim 1, which is characterized in that it is described establish with ECU communication connection it Before, further includes:
The VIN code for obtaining current vehicle, judges current vehicle according to VIN code, further according to current vehicle in diagnosing protocol file Search the diagnosing protocol information of corresponding air bag ECU.
5. vehicle collision alarm method as described in claim 1, which is characterized in that it is described establish with ECU communication connection it Afterwards, further includes:
The order of read failure code is sent to air bag ECU, detects the whether faulty code of air bag ECU, if detecting the presence of error code, It sends and removes error code order removing error code, and send the order of read failure code again to air bag ECU, detection after removing Error code whether there is, if prompting current air bag ECU, there are failures there is also error code;If fault-free code completes event After hindering code removing, then the collision information for passing through ECU and recording vehicle is executed.
6. vehicle collision alarm method as described in claim 1, which is characterized in that the current collision of the reading in ECU is drawn After the fault code indications risen, further includes: obtain vehicle trouble messages by error code, select to correspond to according to vehicle trouble messages Emergency contact send current vehicle location information, collision information and fault code indications;If the emergency contact prestored is artificial Dry.
7. vehicle collision alarm method as described in claim 1, it is characterised in that: believe in the position by current vehicle Breath, collision information and fault code indications are sent to after emergency contact, and car owner's warning message is prompted to issue, and are stopped vehicle and are touched Hit detection.
8. a kind of vehicle collision warning device, which is characterized in that be applied to mobile unit, including communication connection is established module, touched Hit data obtaining module and alarm module;The communication connection establishes module for establishing communication connection with ECU;The collision letter Breath obtains the collision information that module is used to record vehicle;The alarm module is for reading error code letter caused by current collide Breath, and the location information of current vehicle is positioned, the position of current vehicle is believed according to the contact details of the emergency contact prestored Breath, collision information and fault code indications are sent to emergency contact.
9. a kind of mobile unit including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, it is characterised in that: the processor realizes one as described in claim 1-7 any one when executing described program Kind vehicle collision alarm method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program A kind of vehicle collision alarm method as described in claim 1-7 any one is realized when being executed by processor.
CN201910260777.4A 2019-04-02 2019-04-02 A kind of vehicle collision alarm method, device, mobile unit and storage medium Pending CN110136409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910260777.4A CN110136409A (en) 2019-04-02 2019-04-02 A kind of vehicle collision alarm method, device, mobile unit and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910260777.4A CN110136409A (en) 2019-04-02 2019-04-02 A kind of vehicle collision alarm method, device, mobile unit and storage medium

Publications (1)

Publication Number Publication Date
CN110136409A true CN110136409A (en) 2019-08-16

Family

ID=67569036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910260777.4A Pending CN110136409A (en) 2019-04-02 2019-04-02 A kind of vehicle collision alarm method, device, mobile unit and storage medium

Country Status (1)

Country Link
CN (1) CN110136409A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673231A (en) * 2019-09-12 2020-01-10 深圳市元征科技股份有限公司 Calibration method for wiper sensor and related product
CN111083667A (en) * 2019-12-31 2020-04-28 神龙汽车有限公司 Inter-vehicle network management system applied to automobile
CN111813095A (en) * 2020-07-30 2020-10-23 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and medium
CN111984676A (en) * 2020-07-16 2020-11-24 深圳市易优成科技有限公司 Method and device for determining damage of internal parts of vehicle
CN112785822A (en) * 2019-11-04 2021-05-11 深南电路股份有限公司 Vehicle safety management method and system
CN113727321A (en) * 2021-08-30 2021-11-30 上汽通用五菱汽车股份有限公司 Vehicle collision remote processing method, system and storage medium
CN114132327A (en) * 2021-11-30 2022-03-04 上汽通用五菱汽车股份有限公司 Dangerous case pushing method and device and computer readable storage medium
CN116996850A (en) * 2023-09-13 2023-11-03 北京小米移动软件有限公司 Emergency contact method and device for vehicle accident, vehicle, storage medium and chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529861A (en) * 2012-03-07 2012-07-04 浙江吉利汽车研究院有限公司 Automatic automobile collision help requesting and rescue system and method
CN102765357A (en) * 2012-07-17 2012-11-07 东南(福建)汽车工业有限公司 Vehicle-mounted intelligent safety system and implementation method thereof
CN104699074A (en) * 2015-02-11 2015-06-10 北京博曼迪汽车科技有限公司 Off-production-line detection system for motorcycle
WO2015194109A1 (en) * 2014-06-17 2015-12-23 マツダ株式会社 Vehicular emergency alert device
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface
CN104554080B (en) * 2013-10-29 2019-02-01 福特全球技术公司 For reporting the method and system of visualization accident details

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529861A (en) * 2012-03-07 2012-07-04 浙江吉利汽车研究院有限公司 Automatic automobile collision help requesting and rescue system and method
CN102765357A (en) * 2012-07-17 2012-11-07 东南(福建)汽车工业有限公司 Vehicle-mounted intelligent safety system and implementation method thereof
CN104554080B (en) * 2013-10-29 2019-02-01 福特全球技术公司 For reporting the method and system of visualization accident details
WO2015194109A1 (en) * 2014-06-17 2015-12-23 マツダ株式会社 Vehicular emergency alert device
CN104699074A (en) * 2015-02-11 2015-06-10 北京博曼迪汽车科技有限公司 Off-production-line detection system for motorcycle
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673231A (en) * 2019-09-12 2020-01-10 深圳市元征科技股份有限公司 Calibration method for wiper sensor and related product
CN112785822A (en) * 2019-11-04 2021-05-11 深南电路股份有限公司 Vehicle safety management method and system
CN111083667A (en) * 2019-12-31 2020-04-28 神龙汽车有限公司 Inter-vehicle network management system applied to automobile
CN111083667B (en) * 2019-12-31 2023-09-12 神龙汽车有限公司 Inter-vehicle network management system applied to automobile
CN111984676A (en) * 2020-07-16 2020-11-24 深圳市易优成科技有限公司 Method and device for determining damage of internal parts of vehicle
CN111813095A (en) * 2020-07-30 2020-10-23 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and medium
CN113727321A (en) * 2021-08-30 2021-11-30 上汽通用五菱汽车股份有限公司 Vehicle collision remote processing method, system and storage medium
CN114132327A (en) * 2021-11-30 2022-03-04 上汽通用五菱汽车股份有限公司 Dangerous case pushing method and device and computer readable storage medium
CN116996850A (en) * 2023-09-13 2023-11-03 北京小米移动软件有限公司 Emergency contact method and device for vehicle accident, vehicle, storage medium and chip

Similar Documents

Publication Publication Date Title
CN110136409A (en) A kind of vehicle collision alarm method, device, mobile unit and storage medium
CN108469802A (en) A kind of information of vehicles remote monitoring and diagnostics system
CN204965181U (en) Long -range fault diagnostic of car based on heterogeneous network
CN103738296B (en) Automobile safety management system and method
CN103950423B (en) A kind of anti-theft alarm system for vehicles and method
TW200404201A (en) Remote monitoring, configuring, programming and diagnostic system and method for vehicles and vehicle components
CN101477336A (en) Vehicle remote independent fault diagnosis method and apparatus
CN109278692B (en) Automatic automobile accident rescue system based on Android smart phone
CN108501866A (en) Anti-theft alarm system for vehicles and alarm method
CN104828015B (en) Vehicle-mounted intelligent emergency start power supply anti-theft terminal based on network and sensor
CN107895417A (en) Vehicle shuts management method, vehicle and server
CN109203870A (en) The Information abnormity processing method and system of tire networking
CN106406269A (en) Vehicle fault real-time acquisition and maintenance method and system
CN104991546B (en) A kind of vehicle-state recording method, electronic equipment and system
CN109203877A (en) The information classification processing method and system of tire networking
CN111369705A (en) SOS method, SOS system, SOS terminal and computer readable storage medium
CN105405258A (en) Vehicle fault alarming method and device
CN110126835A (en) Interference method, device, computer equipment and the storage medium of driving behavior
CN111123892A (en) Remote diagnosis system and method based on 5G technology
CN205044677U (en) Intelligent vehicle -mounted terminal
CN100487736C (en) Radio vehicle tyre safety monitoring sound alarm system
CN206067611U (en) A kind of vehicle-mounted accident automatic alarm system
CN105023399A (en) Automobile power supply monitoring alarm system
CN110588570B (en) Vehicle-mounted equipment anti-theft method and device, vehicle-mounted anti-theft equipment and storage medium
CN106740667A (en) The motorcycle antitheft system of intelligent transmission signal according to user distance

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

Application publication date: 20190816

RJ01 Rejection of invention patent application after publication