KR102316652B1 - Apparatus and method for notifying accident of vehicle using telephone - Google Patents

Apparatus and method for notifying accident of vehicle using telephone Download PDF

Info

Publication number
KR102316652B1
KR102316652B1 KR1020140116183A KR20140116183A KR102316652B1 KR 102316652 B1 KR102316652 B1 KR 102316652B1 KR 1020140116183 A KR1020140116183 A KR 1020140116183A KR 20140116183 A KR20140116183 A KR 20140116183A KR 102316652 B1 KR102316652 B1 KR 102316652B1
Authority
KR
South Korea
Prior art keywords
vehicle
terminal
accident
phone function
call
Prior art date
Application number
KR1020140116183A
Other languages
Korean (ko)
Other versions
KR20160027727A (en
Inventor
김기원
Original Assignee
현대모비스 주식회사
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 현대모비스 주식회사 filed Critical 현대모비스 주식회사
Priority to KR1020140116183A priority Critical patent/KR102316652B1/en
Publication of KR20160027727A publication Critical patent/KR20160027727A/en
Application granted granted Critical
Publication of KR102316652B1 publication Critical patent/KR102316652B1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Abstract

본 발명은 차량과 전화 기능이 부여된 단말 사이의 유무선 커넥티비티를 이용하여 차량 사고를 신고하는 전화 단말을 이용한 차량 사고 신고 장치 및 방법을 제안한다. 본 발명에 따른 차량 사고 신고 장치는 차량에 사고가 발생했는지 여부를 판단하는 사고 발생 판단부; 차량에 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는지 여부를 판단하는 유선 연결 판단부; 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 전화 기능이 부여된 단말을 차량에 무선으로 연결시키는 무선 연결 실행부; 및 전화 기능이 부여된 단말이 차량에 유선 또는 무선으로 연결되면 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 사고를 신고하는 차량 사고 신고부를 포함한다.The present invention proposes an apparatus and method for reporting a vehicle accident using a phone terminal for reporting a vehicle accident using wired/wireless connectivity between a vehicle and a terminal to which a phone function is assigned. A vehicle accident reporting apparatus according to the present invention includes an accident occurrence determination unit for determining whether an accident has occurred in a vehicle; a wired connection determination unit that determines whether the terminal to which the phone function is assigned is connected to the vehicle by wire when it is determined that an accident has occurred in the vehicle; a wireless connection execution unit for wirelessly connecting the terminal to which the phone function is granted to the vehicle when it is determined that the terminal to which the phone function is assigned is not connected to the vehicle by wire; and a vehicle accident reporting unit that reports an accident to a Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned when the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly.

Description

전화 단말을 이용한 차량 사고 신고 장치 및 방법 {Apparatus and method for notifying accident of vehicle using telephone}Apparatus and method for notifying accident of vehicle using telephone}

본 발명은 차량 사고를 신고하는 장치 및 방법에 관한 것이다. 보다 상세하게는, 비상 호출(Emergency Call) 시스템을 이용하여 PSAP(Public Safety Answering Point)로 차량 사고를 신고하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for reporting a vehicle accident. More particularly, it relates to an apparatus and method for reporting a vehicle accident to a Public Safety Answering Point (PSAP) using an emergency call system.

교통 사고 발생시 운전자의 치명적인 부상 등으로 인해 위급 상황을 구조대에 신속하게 알리지 못함으로써 사망에 이르게 되는 경우가 발생될 수 있다. 이와 같은 문제를 방지하고자 텔레매틱스(telematics) 시스템을 이용하여 교통 사고 발생시 사고 위치 정보 등을 구조대에 자동으로 전송하여 알려주는 시스템이 개발되었다.In the event of a traffic accident, fatal injuries to the driver may result in death due to failure to promptly notify the rescue team of an emergency situation. In order to prevent such a problem, a system has been developed that automatically transmits accident location information to the rescue team when a traffic accident occurs using a telematics system.

그러나, 일반적인 텔레매틱스 시스템을 이용한 위급 상황 알림 시스템은 구조적인 복잡성 및 높은 비용을 포함하는 결점을 가진다. 예를 들어, 높은 비용은 구입 가격, 차량 내의 설치 및 가입자 서비스에 기인한다. 또한, 차량 사고에 자동으로 응답할 수 있는 기존의 텔레매틱스 유닛들은 차량 내의 센서 또는 다른 검출기로부터의 정보를 텔레매틱스 유닛에 전송할 수 있도록 차량에 하드 와이어링되어 있으며, 이러한 텔레매틱스 유닛의 설치는 비용이 많이 들고 복잡하다.However, an emergency notification system using a general telematics system has drawbacks including structural complexity and high cost. For example, the high cost is due to the purchase price, in-vehicle installation and subscriber service. In addition, existing telematics units capable of automatically responding to vehicle accidents are hard-wired into the vehicle to transmit information from sensors or other detectors in the vehicle to the telematics unit, and installation of such telematics units is expensive and expensive. Complex.

한국공개특허 제2011-0113379호는 차량에 내장된 OBD 시스템을 이용한 위급 상황 알림 시스템에 대하여 제안하고 있다. 이 시스템은 일반적인 텔레매틱스 시스템을 이용하는 경우의 문제점을 해결할 수는 있으나, OBD 시스템이 정상적으로 작동하지 않을 경우 사고 위치 정보 등을 구조대에 자동으로 전송하는 것이 불가능한 문제점이 있다.Korean Patent Application Laid-Open No. 2011-0113379 proposes an emergency situation notification system using an OBD system built into a vehicle. This system can solve the problem of using a general telematics system, but there is a problem in that it is impossible to automatically transmit accident location information to the rescue team when the OBD system does not operate normally.

본 발명은 상기한 문제점을 해결하기 위해 안출된 것으로서, 차량과 전화 기능이 부여된 단말(ex. 스마트폰) 사이의 유무선 커넥티비티(connectivity)를 이용하여 차량 사고를 신고하는 전화 단말을 이용한 차량 사고 신고 장치 및 방법을 제안하는 것을 목적으로 한다.The present invention has been devised to solve the above problems. Reporting a vehicle accident using a phone terminal that reports a vehicle accident using wired/wireless connectivity between the vehicle and a terminal (eg, a smartphone) to which a phone function is granted It aims to propose an apparatus and method.

그러나 본 발명의 목적은 상기에 언급된 사항으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.However, the object of the present invention is not limited to the above, and other objects not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명은 상기한 목적을 달성하기 위해 안출된 것으로서, 차량에 사고가 발생했는지 여부를 판단하는 사고 발생 판단부; 상기 차량에 상기 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 유선 연결 판단부; 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 무선 연결 실행부; 및 상기 전화 기능이 부여된 단말이 상기 차량에 유선 또는 무선으로 연결되면 상기 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 상기 사고를 신고하는 차량 사고 신고부를 포함하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치를 제안한다.The present invention has been devised to achieve the above object, an accident occurrence determination unit for determining whether an accident has occurred in the vehicle; a wired connection determination unit for determining whether a terminal to which a phone function is assigned is connected to the vehicle by wire when it is determined that the accident has occurred in the vehicle; a wireless connection execution unit for wirelessly connecting the terminal to which the phone function is granted to the vehicle when it is determined that the terminal to which the phone function is granted is not connected to the vehicle by wire; and a vehicle accident reporting unit that reports the accident to a Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned when the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly We propose a vehicle accident reporting device using a telephone terminal.

바람직하게는, 상기 유선 연결 판단부는 상기 차량에 USB 방식으로 연결되어 있는 단말들 중에 상기 전화 기능이 부여된 단말이 있는지 여부를 판단하여 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단한다.Preferably, the wired connection determining unit determines whether there is a terminal to which the phone function is assigned among terminals connected to the vehicle by a USB method to determine whether the terminal to which the phone function is assigned is connected to the vehicle by wire. decide whether

바람직하게는, 상기 유선 연결 판단부는 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는 것으로 판단되면 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단한다.Preferably, when the wire connection determination unit determines that the terminal to which the phone function is assigned is connected to the vehicle by wire, a protocol usable in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle determine whether there is

바람직하게는, 상기 무선 연결 실행부는 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 없는 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시킨다.Preferably, when it is determined that there is no protocol available in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle, the wireless connection execution unit wirelessly connects the terminal to which the phone function is granted to the vehicle make it

바람직하게는, 상기 유선 연결 판단부는 상기 전화 기능이 부여된 단말에 대한 정보를 기초로 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단한다.Preferably, the wired connection determining unit determines whether there is a protocol usable in the terminal to which the phone function is granted, among protocols supporting the call function in the vehicle, based on the information about the terminal to which the phone function is granted .

바람직하게는, 상기 무선 연결 실행부는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 상기 전화 기능이 부여된 단말이 핸즈프리(hands free) 기능을 지원하는지 여부를 판단한다.Preferably, the wireless connection execution unit determines whether the terminal to which the telephone function is granted supports a hands-free function before wirelessly connecting the terminal to which the telephone function is granted to the vehicle.

바람직하게는, 상기 무선 연결 실행부는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 타 단말이 미리 정해진 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는지 여부를 판단한다.Preferably, the wireless connection execution unit determines whether another terminal is wirelessly connected to the vehicle using a predetermined wireless connection method before wirelessly connecting the terminal to which the phone function is assigned to the vehicle.

바람직하게는, 상기 무선 연결 실행부는 상기 타 단말이 상기 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는 것으로 판단되면 상기 타 단말과 상기 차량 간 무선 연결을 해지시킨 뒤 상기 무선 연결 방법을 이용하여 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시킨다.Preferably, when it is determined that the other terminal is wirelessly connected to the vehicle using the wireless connection method, the wireless connection execution unit terminates the wireless connection between the other terminal and the vehicle and then uses the wireless connection method Thus, the terminal to which the phone function is granted is wirelessly connected to the vehicle.

바람직하게는, 상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 미리 정해진 시간 이내에 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결을 재시도한다.Preferably, when the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP ends within a predetermined time, the vehicle accident report unit is provided with the phone function The call connection between the terminal and the PSAP is re-attempted.

바람직하게는, 상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 성공하면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결 시간을 측정한다.Preferably, the vehicle accident reporting unit measures a call connection time between the terminal to which the phone function is granted and the PSAP when a call connection between the terminal to which the phone function is granted and the PSAP is successful.

바람직하게는, 상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 미리 저장된 전화번호들 중에서 우선순위에 따라 선택된 적어도 하나의 전화번호를 기초로 상기 사고를 신고한다.Preferably, when the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated, the vehicle accident reporting unit is prioritized among the phone numbers stored in advance. The accident is reported based on at least one phone number selected accordingly.

바람직하게는, 상기 사고 발생 판단부는 상기 차량의 운전자에 의해 미리 정해진 신호가 입력되었는지 여부, 상기 차량에서 에어백의 전개를 명령하는 신호가 입력되었는지 여부, 상기 차량의 하중 변화량이 기준 변화량 이상인지 여부, 및 상기 차량의 기울기가 기준 기울기 이상인지 여부 중 적어도 하나를 기초로 상기 차량에 상기 사고가 발생했는지 여부를 판단한다.Preferably, the accident occurrence determining unit includes whether a predetermined signal is input by the driver of the vehicle, whether a signal for commanding deployment of an airbag in the vehicle is input, whether the load change amount of the vehicle is greater than or equal to a reference change amount; and whether the accident has occurred in the vehicle based on at least one of whether the inclination of the vehicle is equal to or greater than a reference inclination.

또한 본 발명은 차량에 사고가 발생했는지 여부를 판단하는 단계; 상기 차량에 상기 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 단계; 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 단계; 및 상기 전화 기능이 부여된 단말이 상기 차량에 유선 또는 무선으로 연결되면 상기 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 상기 사고를 신고하는 단계를 포함하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 방법을 제안한다.The present invention also includes the steps of determining whether an accident has occurred in the vehicle; determining whether a terminal to which a phone function is assigned is connected to the vehicle by wire when it is determined that the accident has occurred in the vehicle; when it is determined that the terminal to which the phone function is granted is not connected to the vehicle by wire, wirelessly connecting the terminal to which the phone function is granted to the vehicle; and when the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly, reporting the accident to a Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned. A method of reporting a vehicle accident using a terminal is proposed.

바람직하게는, 상기 연결되어 있는지 여부를 판단하는 단계는 상기 차량에 USB 방식으로 연결되어 있는 단말들 중에 상기 전화 기능이 부여된 단말이 있는지 여부를 판단하여 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단한다.Preferably, the step of determining whether the connection is made by determining whether there is a terminal to which the phone function is granted among terminals connected to the vehicle in a USB manner is determined so that the terminal to which the phone function is assigned is connected to the vehicle Determines whether it is connected by wire or not.

바람직하게는, 상기 연결되어 있는지 여부를 판단하는 단계는 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는 것으로 판단되면 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단한다.Preferably, in the step of determining whether the connection is made, when it is determined that the terminal to which the phone function is assigned is connected to the vehicle by wire, the phone function is assigned among protocols supporting the call function in the vehicle. It is determined whether there is a protocol available in the terminal.

바람직하게는, 상기 연결시키는 단계는 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 없는 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시킨다.Preferably, in the connecting step, if it is determined that there is no protocol available in the terminal to which the phone function is granted among protocols supporting the calling function in the vehicle, the terminal to which the phone function is granted is wirelessly connected to the vehicle make it

바람직하게는, 상기 연결되어 있는지 여부를 판단하는 단계는 상기 전화 기능이 부여된 단말에 대한 정보를 기초로 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단한다.Preferably, in the step of determining whether the connection is made, a protocol available in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle based on information about the terminal to which the phone function is granted is selected. determine whether there is

바람직하게는, 상기 연결시키는 단계는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 상기 전화 기능이 부여된 단말이 핸즈프리(hands free) 기능을 지원하는지 여부를 판단한다.Preferably, in the connecting step, before wirelessly connecting the terminal to which the telephone function is granted to the vehicle, it is determined whether the terminal to which the telephone function is granted supports a hands-free function.

바람직하게는, 상기 연결시키는 단계는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 타 단말이 미리 정해진 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는지 여부를 판단한다.Preferably, in the connecting step, it is determined whether another terminal is wirelessly connected to the vehicle using a predetermined wireless connection method before wirelessly connecting the terminal to which the phone function is assigned to the vehicle.

바람직하게는, 상기 연결시키는 단계는 상기 타 단말이 상기 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는 것으로 판단되면 상기 타 단말과 상기 차량 간 무선 연결을 해지시킨 뒤 상기 무선 연결 방법을 이용하여 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시킨다.Preferably, in the connecting step, when it is determined that the other terminal is wirelessly connected to the vehicle using the wireless connection method, the wireless connection between the other terminal and the vehicle is canceled and then the wireless connection method is used. Thus, the terminal to which the phone function is granted is wirelessly connected to the vehicle.

바람직하게는, 상기 신고하는 단계는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 미리 정해진 시간 이내에 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결을 재시도한다.Preferably, in the reporting step, when the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated within a predetermined time, the phone function is given The call connection between the terminal and the PSAP is re-attempted.

바람직하게는, 상기 신고하는 단계는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 성공하면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결 시간을 측정한다.Preferably, in the reporting step, if a call connection between the terminal to which the phone function is granted and the PSAP is successful, a call connection time between the terminal to which the phone function is granted and the PSAP is measured.

바람직하게는, 상기 신고하는 단계는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 미리 저장된 전화번호들 중에서 우선순위에 따라 선택된 적어도 하나의 전화번호를 기초로 상기 사고를 신고한다.Preferably, in the reporting step, if the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated, the priority is selected from among the phone numbers stored in advance. The accident is reported based on at least one phone number selected accordingly.

바람직하게는, 상기 발생했는지 여부를 판단하는 단계는 상기 차량의 운전자에 의해 미리 정해진 신호가 입력되었는지 여부, 상기 차량에서 에어백의 전개를 명령하는 신호가 입력되었는지 여부, 상기 차량의 하중 변화량이 기준 변화량 이상인지 여부, 및 상기 차량의 기울기가 기준 기울기 이상인지 여부 중 적어도 하나를 기초로 상기 차량에 상기 사고가 발생했는지 여부를 판단한다.Preferably, the determining whether the occurrence includes whether a predetermined signal is input by a driver of the vehicle, whether a signal for commanding deployment of an airbag in the vehicle is input, and the amount of change in the load of the vehicle is a reference change amount It is determined whether the accident has occurred in the vehicle based on at least one of whether or not the vehicle has an abnormality and whether the vehicle has a reference slope or greater.

본 발명은 차량과 전화 기능이 부여된 단말(ex. 스마트폰) 사이의 유무선 커넥티비티(connectivity)를 이용하여 차량 사고를 신고함으로써 다음 효과를 얻을 수 있다.The present invention can obtain the following effects by reporting a vehicle accident using wired/wireless connectivity between the vehicle and a terminal (eg, a smart phone) to which a phone function is granted.

첫째, USB 통화를 지원하여 자동 사고 신고 기능의 가용성을 향상시킬 수 있다.First, it can support USB calls to improve the availability of automatic incident reporting.

둘째, 사용자의 조작 없이 자동으로 사고를 신고하는 것이 가능해진다.Second, it becomes possible to automatically report an accident without user manipulation.

셋째, 블루투스 및 USB 핸즈프리 통화 기능을 사용함으로써 자동 사고 신고를 위한 별도의 모뎀 장치가 필요하지 않다.Third, there is no need for a separate modem device for automatic accident reporting by using Bluetooth and USB hands-free calling functions.

넷째, 자동 사고 신고를 위한 별도의 모뎀 구매 및 장착이 필요 없고, 사용자가 텔레매틱스 서비스를 이용하기 위해 별도의 통신 비용을 지불하지 않아도 된다.Fourth, there is no need to purchase and install a separate modem for automatic accident reporting, and users do not need to pay a separate communication fee to use the telematics service.

도 1은 본 발명의 일실시예에 따른 자동 사고 신고 서비스 제공 시스템의 구성도이다.
도 2는 도 1을 구성하는 차량 내장 단말기의 내부 구성도이다.
도 3은 본 발명의 일실시예에 따른 유무선 커넥티비티를 지원하는 자동 사고 신고 서비스의 동작 시나리오를 도시한 흐름도이다.
도 4는 Health Status 메시지의 흐름을 도시한 개념도이다.
도 5는 Paired Device List 메시지의 흐름을 도시한 개념도이다.
도 6은 Service Discovery 메시지의 흐름을 도시한 개념도이다.
도 7은 Service Connection 메시지의 흐름을 도시한 개념도이다.
도 8은 SMS Support 메시지의 흐름을 도시한 개념도이다.
도 9는 SMS Send 메시지의 흐름을 도시한 개념도이다.
도 10은 Phonebook Download 메시지의 흐름을 도시한 개념도이다.
도 11은 Outgoing Call 메시지의 흐름을 도시한 개념도이다.
도 12는 Terminate Call 메시지의 흐름을 도시한 개념도이다.
도 13은 Get Current Calls 메시지의 흐름을 도시한 개념도이다.
도 14는 Call Status Indication 메시지의 흐름을 도시한 개념도이다.
도 15는 본 발명의 바람직한 실시예에 따른 차량 사고 신고 장치를 개략적으로 도시한 블록도이다.
도 16은 본 발명의 바람직한 실시예에 따른 차량 사고 신고 방법을 개략적으로 도시한 흐름도이다.
1 is a block diagram of an automatic accident report service providing system according to an embodiment of the present invention.
FIG. 2 is an internal configuration diagram of the in-vehicle terminal constituting FIG. 1 .
3 is a flowchart illustrating an operation scenario of an automatic accident report service supporting wired/wireless connectivity according to an embodiment of the present invention.
4 is a conceptual diagram illustrating a flow of a Health Status message.
5 is a conceptual diagram illustrating a flow of a Paired Device List message.
6 is a conceptual diagram illustrating a flow of a Service Discovery message.
7 is a conceptual diagram illustrating a flow of a Service Connection message.
8 is a conceptual diagram illustrating a flow of an SMS Support message.
9 is a conceptual diagram illustrating a flow of an SMS Send message.
10 is a conceptual diagram illustrating a flow of a Phonebook Download message.
11 is a conceptual diagram illustrating the flow of an outgoing call message.
12 is a conceptual diagram illustrating a flow of a Terminate Call message.
13 is a conceptual diagram illustrating a flow of a Get Current Calls message.
14 is a conceptual diagram illustrating a flow of a Call Status Indication message.
15 is a block diagram schematically illustrating a vehicle accident reporting apparatus according to a preferred embodiment of the present invention.
16 is a flowchart schematically illustrating a method for reporting a vehicle accident according to a preferred embodiment of the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조 부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다. 또한, 이하에서 본 발명의 바람직한 실시예를 설명할 것이나, 본 발명의 기술적 사상은 이에 한정하거나 제한되지 않고 당업자에 의해 변형되어 다양하게 실시될 수 있음은 물론이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. First of all, it should be noted that in adding reference numerals to the components of each drawing, the same components are given the same reference numerals as much as possible even though they are indicated on different drawings. In addition, in describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted. In addition, preferred embodiments of the present invention will be described below, but the technical spirit of the present invention is not limited thereto and may be variously implemented by those skilled in the art without being limited thereto.

본 발명은 차량에서 사고가 발생했을 때 전화 통화 기능이 있는 디바이스를 이용하여 자동으로 사고를 신고하는 기능의 가용성 향상을 위한 방법에 관한 것이다. 본 발명은 이를 통해 점점 다양해지는 유무선 미러링 기술이 자동차에 접목되더라도 자동 사고 신고 S/W의 재사용성 및 장치 호환성을 확보하는 것이 목적이다.The present invention relates to a method for improving the availability of a function for automatically reporting an accident using a device having a phone call function when an accident occurs in a vehicle. An object of the present invention is to secure reusability and device compatibility of automatic accident report S/W even when increasingly diverse wired and wireless mirroring technologies are grafted onto automobiles.

최근 개발되고 있는 스마트폰 커넥티비티(connectivity) 기술은 사용자가 스마트폰을 차량과 연결하면 스마트폰이 제공하는 음성 인식, 멀티미디어, 전화 통화 및 내비게이션 기능을 사용할 수 있도록 지원하고 있다. 이 기술을 사용하는 경우, 사용자가 핸즈프리 전화 통화를 위해 블루투스를 이용하여 차량에 이동통신 단말을 등록할 필요가 없다. 따라서 본 발명에 따르면, 사고 발생시 블루투스 지원 장치가 등록되어 있지 않더라도 자동 사고 신고 서비스가 정상적으로 실행될 수 있다.The recently developed smartphone connectivity technology supports the use of voice recognition, multimedia, phone calls and navigation functions provided by the smartphone when the user connects the smartphone to the vehicle. When this technology is used, there is no need for the user to register a mobile communication terminal in the vehicle using Bluetooth for hands-free phone calls. Therefore, according to the present invention, when an accident occurs, the automatic accident report service can be normally executed even if the Bluetooth-enabled device is not registered.

도 1은 본 발명의 일실시예에 따른 자동 사고 신고 서비스 제공 시스템의 구성도이다.1 is a block diagram of an automatic accident report service providing system according to an embodiment of the present invention.

자동 사고 신고 서비스 제공 시스템(100)은 유무선 미러링 연결 기술을 지원하는 자동 사고 신고 서비스 제공 시스템이다.The automatic accident reporting service providing system 100 is an automatic accident reporting service providing system supporting wired/wireless mirroring connection technology.

차량 인터페이스(111)는 차량 내장 단말기(110)에 구비되는 것으로서, CAN, LIN, Flexray, PWM 등을 통해 차량의 사고 발생을 감지하기 위한 신호가 입력된다.The vehicle interface 111 is provided in the in-vehicle terminal 110, and a signal for detecting the occurrence of an accident in the vehicle is input through CAN, LIN, Flexray, PWM, or the like.

차량 내장 단말기(110)는 이동통신 단말(120)과 유선 연결 기술(122) 및 무선 연결 기술(121)을 지원하는 단말기이다. 차량 내장 단말기(110)는 차량용 멀티미디어 또는 내비게이션과 같은 인포테인먼트 기능을 제공하는 장치이다.The in-vehicle terminal 110 is a terminal supporting the mobile communication terminal 120 and the wired connection technology 122 and the wireless connection technology 121 . The in-vehicle terminal 110 is a device that provides in-vehicle multimedia or infotainment functions such as navigation.

이동통신 단말(120)은 유선 연결 기술(122) 또는 무선 연결 기술(121)을 지원하며 전화 기능을 갖는 휴대용 단말기이다. 이동통신 단말(120)은 블루투스 핸즈프리 또는 USB 연결을 이용하여 전화 기능을 지원하는 스마트폰과 같은 단말기이다.The mobile communication terminal 120 supports the wired connection technology 122 or the wireless connection technology 121 and is a portable terminal having a telephone function. The mobile communication terminal 120 is a terminal such as a smartphone that supports a phone function using Bluetooth hands-free or USB connection.

사고 신고 센터 서버(130)는 자동 사고 신고 응답 센터에 구비되는 서버로서, 한국의 119, 112 또는 미국의 911과 같은 차량 사고 신고 센터에 구비될 수 있다.The accident report center server 130 is a server provided in an automatic accident report response center, and may be provided in a vehicle accident report center such as 119 or 112 in Korea or 911 in the United States.

이상 도 1을 참조하여 자동 사고 신고 서비스 제공 시스템(100)에 대하여 설명하였다. 이하 설명할 본 발명은 차량 내장 단말기(110)의 주변 기기 제어 방법에 한정한다. 차량 내장 단말기(110)의 주요 구성은 도 2를 참조하여 설명한다. 도 2는 도 1을 구성하는 차량 내장 단말기의 내부 구성도이다.The automatic accident report service providing system 100 has been described with reference to FIG. 1 above. The present invention to be described below is limited to a method of controlling peripheral devices of the in-vehicle terminal 110 . The main configuration of the in-vehicle terminal 110 will be described with reference to FIG. 2 . FIG. 2 is an internal configuration diagram of the in-vehicle terminal constituting FIG. 1 .

외부 장비 인터페이스(111)는 CAN, LIN, Flexray 등을 통해 차량 내장 단말기(110)와 연결되는 외부 장치들을 제어하기 위한 인터페이스이다.The external equipment interface 111 is an interface for controlling external devices connected to the in-vehicle terminal 110 through CAN, LIN, Flexray, or the like.

MICOM(112)은 외부 장비들과 연동하기 위한 메시지 송수신 역할을 담당하는 프로세서이다. 본 발명에서 MICOM(112)은 오디오 입력 장치(ex. 마이크)와 출력 장치(ex. 앰프, 스피커 등)의 제어를 담당한다. 또한 MICOM(112)은 차량 사고 발생 이벤트를 CPU 블럭(113)에 전달하는 역할을 한다.The MICOM 112 is a processor in charge of transmitting and receiving messages for interworking with external devices. In the present invention, the MICOM 112 controls an audio input device (eg, a microphone) and an output device (eg, an amplifier, a speaker, etc.). In addition, the MICOM 112 serves to transfer the vehicle accident occurrence event to the CPU block 113 .

CPU 블럭(113)은 메인 프로세서 블럭으로서 주요 어플리케이션(application)이 구동된다. 본 발명에서 CPU 블럭(113)은 차량의 사고 발생을 인지하는 역할을 한다. 또한 CPU 블럭(113)은 외부 기기 연동 모듈(114)이 제공하는 API를 이용하여 사고 신고 센터 서버(130)에 자동으로 전화를 연결하는 역할을 한다.The CPU block 113 is a main processor block in which a main application is driven. In the present invention, the CPU block 113 serves to recognize the occurrence of a vehicle accident. In addition, the CPU block 113 serves to automatically connect a phone call to the accident report center server 130 using the API provided by the external device interworking module 114 .

외부 기기 연동 모듈(114)은 각종 외부 기기 연동을 위한 S/W로서 상위 어플리케이션이 사용할 수 있는 API를 제공한다. 외부 기기 연동 모듈(114)은 각각의 인터페이스 표준에서 정의한 요구 사항을 구현하고 있는 S/W로 구성되어 있다. 한편 외부 기기 연동 모듈(114)은 차량 내장 단말기(110)와 연결된 전화 기능을 제공하는 장치와의 인터페이스를 담당한다.The external device interworking module 114 provides APIs that can be used by higher-level applications as S/W for interworking with various external devices. The external device interworking module 114 is composed of S/W implementing the requirements defined in each interface standard. Meanwhile, the external device interworking module 114 is in charge of an interface with a device providing a phone function connected to the in-vehicle terminal 110 .

내부 인터페이스(141, 142, 143)는 차량 내장 단말기(110)를 구성하는 내부 모듈들 사이의 인터페이스로서 UART, SPI, IIC 등이 있다.The internal interfaces 141 , 142 , and 143 are interfaces between internal modules constituting the in-vehicle terminal 110 , such as UART, SPI, and IIC.

블루투스 스택(Stack)(115)은 차량 내장 단말기(110)와 블루투스를 지원하는 이동통신 단말(120) 사이의 인터페이스를 위한 S/W 및 H/W 모듈이다.The Bluetooth stack 115 is a S/W and H/W module for an interface between the in-vehicle terminal 110 and the mobile communication terminal 120 supporting Bluetooth.

USB 커넥터(116)는 차량 내장 단말기(110)와 USB를 지원하는 이동통신 단말(120)과 연결할 수 있는 H/W 커넥터이다.The USB connector 116 is a H/W connector that can be connected to the in-vehicle terminal 110 and the mobile communication terminal 120 supporting USB.

도 3은 본 발명의 일실시예에 따른 유무선 커넥티비티를 지원하는 자동 사고 신고 서비스의 동작 시나리오를 도시한 흐름도이다. 이하 설명은 도 3을 참조한다.3 is a flowchart illustrating an operation scenario of an automatic accident report service supporting wired/wireless connectivity according to an embodiment of the present invention. The following description refers to FIG. 3 .

본 발명에서는 현재까지 알려진 미러링 기능을 지원하는 유선 및 무선 연결 기술을 사례로 설명하고 있으나 그 기술만으로 한정하지는 않는다. 유선 연결 기술의 예로는 USB를 이용하는 Apple의 Car play와 Google의 Automotive Link가 있고 무선 연결 기술의 예로는 Bluetooth 핸즈프리가 있다.In the present invention, wired and wireless connection technologies supporting the known mirroring function are described as examples, but the present invention is not limited thereto. Examples of wired connection technology include Apple's Car play and Google's Automotive Link using USB. Examples of wireless connection technology include Bluetooth hands-free.

본 발명의 차량 내장 단말기(110)는 구글의 안드로이드 플랫폼을 사례로 설명하고 있으나 그 기술만으로 한정하지는 않는다.The in-vehicle terminal 110 of the present invention is described using Google's Android platform as an example, but is not limited thereto.

1. 사고 발생 인식(S205)1. Accident occurrence recognition (S205)

차량에 사고가 발생하면 에어백 센서가 이를 감지한다. 이 센서로부터 CAN, LIN, Flexray, PWM 등을 통해 사고 발생 이벤트가 차량 내장 단말기(110)의 MICOM(112)에 전달된다.When an accident occurs in the vehicle, the airbag sensor detects it. From this sensor, an accident occurrence event is transmitted to the MICOM 112 of the in-vehicle terminal 110 through CAN, LIN, Flexray, PWM, or the like.

MICOM(112)은 이 메시지를 CPU 블럭(113)에 전달하며 CPU 블럭(113)의 텔레매틱스 어플리케이션은 차량에 사고가 발생했음을 인지한다.The MICOM 112 transmits this message to the CPU block 113 and the telematics application of the CPU block 113 recognizes that an accident has occurred in the vehicle.

텔레매틱스 어플리케이션은 차량에 탑승한 운전자에게 음성 안내 및 디스플레이 장치를 통해 사고 발생을 알리며 자동 사고 신고 서비스가 시작됨을 통지한다.The telematics application informs the driver of an accident through voice guidance and a display device to the driver in the vehicle, and notifies the start of the automatic accident reporting service.

2. 장치 연결 확인2. Check the device connection

2.1 유선 연결 확인(S210)2.1 Check Wired Connection (S210)

유선 연결이 무선 연결에 비해 안정적이므로 이동통신 단말(120)이 유선으로 연결된 경우, 유선 연결을 우선하여 통화 연결을 시도한다. 본 발명에서는 유선 연결 기술 중 하나인 USB를 사용하는 방식을 설명하며, 아래 코드 1과 같이 USB 장치 리스트를 획득하여 장치가 하나라도 존재하면 USB 장치가 연결된 것으로 판단한다.Since a wired connection is more stable than a wireless connection, when the mobile communication terminal 120 is connected via a wired connection, a call connection is attempted with priority over the wired connection. In the present invention, a method of using USB, which is one of the wired connection technologies, is described. As in Code 1 below, a USB device list is obtained and if there is at least one device, it is determined that the USB device is connected.

만약 유선 연결된 장치가 없으면 단계 3으로 이동하여 무선 자동 연결을 시도한다.If there is no wired connection, go to step 3 and try wireless automatic connection.

- 코드 1. USB 장치 획득 방법- Code 1. How to acquire a USB device

private UsbDevice getUsbDevice() {private UsbDevice getUsbDevice() {

// 안드로이드가 제공하는 USB 관련 서비스를 생성한다. // Create USB-related services provided by Android.

UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE); UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE);

// 차량 내장 단말기에 연결된 USB 장치들의 목록을 획득한다. // Acquire a list of USB devices connected to the in-vehicle terminal.

HashMap<String, UsbDevice> deviceList = manager.getDeviceList(); HashMap<String, UsbDevice> deviceList = manager.getDeviceList();

// USB로 연결된 각각의 장치에 대해 확인한다. // Check each device connected via USB.

Iterator<UsbDevice> deviceIterator = deviceList.values().iterator(); Iterator<UsbDevice> deviceIterator = deviceList.values().iterator();

while (deviceIterator.hasNext()) { while (deviceIterator.hasNext()) {

UsbDevice device = deviceIterator.next() UsbDevice device = deviceIterator.next()

String devName = device.getDeviceName(); String devName = device.getDeviceName();

// USB 허브인지 체크한다. // Check if it is a USB hub.

if (device.getDeviceClass() != USB_CLASS_HUB ) { if (device.getDeviceClass() != USB_CLASS_HUB ) {

if ((new File(devName)).exists()) if ((new File(devName)).exists())

return device; return device;

} }

} }

}}

2.1.1 전화 통화를 지원하는 프로토콜인지 확인(S215)2.1.1 Check if the protocol supports phone calls (S215)

연결된 이동통신 단말(120)이 전화 통화 기능을 지원하는 커넥티비티(connectivity) 기술인지 확인한다. 전화 통화 기능을 지원하지 않는 유선 커넥티비티 프로토콜인 경우 단계 2.2로 이동하여 무선 연결이 되어 있는지 확인한다. 본 사례에서는 유선 연결의 경우 Apple의 Car play와 google의 Automotive Link를 설명하며 무선 연결은 Bluetooth를 설명한다.It is checked whether the connected mobile communication terminal 120 is a connectivity technology supporting a phone call function. For wired connectivity protocols that do not support phone calls, go to step 2.2 and check if there is a wireless connection. In this case, Apple's Car play and Google's Automotive Link are described for wired connection, and wireless connection describes Bluetooth.

전화 통화를 지원하는 유선 연결에는 여러 프로토콜이 존재할 수 있으므로 차량 내장 단말기(110)는 지원 가능한 프로토콜을 리스트 형태로 저장하고 연결된 장치에 대해 각 프로토콜을 지원하는지 검사한다. 본 사례에서는 코드 2를 통해서 확인할 수 있다.Since several protocols may exist in a wired connection supporting a phone call, the in-vehicle terminal 110 stores supportable protocols in a list form and checks whether each protocol is supported for a connected device. In this case, it can be confirmed through code 2.

- 코드 2. 연결된 USB 장치에 대해 프로토콜 지원 여부 확인- Code 2. Check whether the protocol is supported for the connected USB device

// USB 장치를 획득한다.// Acquire the USB device.

UsbDevice device = getUsbDevice();UsbDevice device = getUsbDevice();

// 차량 내장 단말기에 저장된 지원 가능한 프로토콜 리스트를 얻는다.// Get a list of supported protocols stored in the in-vehicle terminal.

HashMap<String, String> ProtocolList = manager.getProtocolList();HashMap<String, String> ProtocolList = manager.getProtocolList();

// USB로 연결된 장치가 각 프로토콜을 지원하는지 확인한다.// Check if the USB connected device supports each protocol.

Iterator<String> iterator = ProtocolList.values().iterator();Iterator<String> iterator = ProtocolList.values().iterator();

while (iterator.hasNext()) {while (iterator. hasNext()) {

String Protocol = iterator.next() String Protocol = iterator.next()

// 각 프로토콜 지원하는지 검사하고 지원하는 것으로 확인되면 해당 프로토콜 이름을 리턴한다. // Check whether each protocol is supported, and if it is confirmed that it supports it, the corresponding protocol name is returned.

if (checkProtocol(device, Protocol) == true) { if (checkProtocol(device, Protocol) == true) {

return Protocol ; return Protocol ;

} }

}}

2.1.1.1 Apple의 "Car play"를 지원하는 장치인지 확인2.1.1.1 Check if the device supports Apple's "Car play"

위 단계 2.1을 통해서 유선으로 연결된 상태가 확인되면 차량 내장 단말기(110)는 전화 통화를 지원하는 유선 연결인지 검사한다. 본 사례에서는 Car play를 이용하여 설명하며 USB에 연결된 장치의 벤터 ID를 획득하여 Apple의 고유 ID인지 검사한다. 코드 3을 통해 확인할 수 있다.When the wired connection state is confirmed through step 2.1 above, the in-vehicle terminal 110 checks whether the wired connection supports a phone call. In this case, we use Car play and check whether it is Apple's unique ID by acquiring the vendor ID of the device connected to the USB. You can check it with code 3.

USB 장치가 Apple의 기기로 확인되면 전화 통화 기능을 지원하는 Car play 프로토콜로 연결이 되었는지 확인한다. 본 사례에서는 코드 4에서 Car play의 실행 여부로 판단할 수 있다.If the USB device is identified as an Apple device, check whether it is connected with the Car play protocol that supports the phone call function. In this case, it can be determined whether Car play is executed in Code 4 or not.

- 코드 3. Apple 기기인지 확인하는 방법- Code 3. How to check if it is an Apple device

public static final boolean isAppleDevice(UsbDevice device) { public static final boolean isAppleDevice(UsbDevice device) {

// 연결된 USB 장치가 Apple 기기인지 벤더 ID로 확인 // Check by vendor ID if the connected USB device is an Apple device

return device.getVendorId() == 0x05AC; return device.getVendorId() == 0x05AC;

}}

- 코드 4. Car play를 지원하는 기기인지 확인하는 방법- Code 4. How to check if the device supports car play

// 연결된 USB 장치로 인해 Car play가 실행되었는지 확인 // Check if Car play is executed by the connected USB device

return IDiPOManager.getStatus(TYPE_DIPO_STAT) == VAL_DIPO_STAT_STARTEDreturn IDiPOManager.getStatus(TYPE_DIPO_STAT) == VAL_DIPO_STAT_STARTED

2.1.1.2 Google의 Automotive Link를 지원하는 장치인지 확인2.1.1.2 Checking if the device supports Google's Automotive Link

위 단계 2.1.1과 2.1.1.1에서 유선으로 연결된 장치가 특정 프로토콜을 지원하지 않으면 리스트의 그 다음 프로토콜을 지원하는지 확인한다. 본 사례에서는 Automotive Link를 이용하여 설명하며 USB에 연결된 장치의 벤터 ID를 획득하여 Google의 고유 ID인지 검사한다. 코드 6을 통해 확인할 수 있다.If the wired device in steps 2.1.1 and 2.1.1.1 above does not support a specific protocol, check whether the next protocol in the list is supported. In this case, it is explained using Automotive Link, and it checks whether it is Google's unique ID by acquiring the vendor ID of the device connected to the USB. This can be verified through code 6.

USB 장치가 Google의 기기로 확인되면 전화 통화 기능을 지원하는 Automotive Link 프로토콜로 연결이 되었는지 확인한다. 본 사례에서는 코드 5에서 Automotive Link의 실행 여부로 판단할 수 있다.If the USB device is identified as a Google device, check whether it is connected with the Automotive Link protocol that supports the phone call function. In this case, it can be determined whether Automotive Link is executed in Code 5.

- 코드 5. Automotive Link 실행 여부 확인하는 방법- Code 5. How to check whether Automotive Link is running

// Automotive link를 관리하는 솔루션을 생성한다.// Create a solution to manage Automotive link.

GpmManager mGpmManager; mGpmManager = new GpmManager((Context)mContext);GpmManager mGpmManager; mGpmManager = new GpmManager((Context)mContext);

// Automotive 기능이 실행 중이면 TRUE를 리턴한다.// Returns TRUE if Automotive function is running.

return mGpmManager.isGpmActivated();return mGpmManager.isGpmActivated();

- 코드 6. Automotive Link 지원 기기인지 확인하는 방법- Code 6. How to check if it is an Automotive Link enabled device

public static final boolean isAoaDevice(UsbDevice device) {public static final boolean isAoaDevice(UsbDevice device) {

// 연결된 USB 장치의 벤더 ID가 Google 기기인지 확인 // Check if the vendor ID of the connected USB device is a Google device

if (device.getVendorId() == 0x18D1) { if (device.getVendorId() == 0x18D1) {

// 연결된 USB 장치의 product ID가 Android open accessory를 지원하는지 확인 // Check if the product ID of the connected USB device supports Android open accessory

switch (device.getProductId()) { switch(device.getProductId()) {

case 0x2D00: // accessory case 0x2D00: // accessory

case 0x2D01: // accessory + adb case 0x2D01: // accessory + adb

case 0x2D02: // audio case 0x2D02: // audio

case 0x2D03: // audio + adb case 0x2D03: // audio + adb

case 0x2D04: // accessory + audio case 0x2D04: // accessory + audio

case 0x2D05: // accessory + audio + adb case 0x2D05: // accessory + audio + adb

return true; return true;

} }

} }

return false; return false;

}}

2.1.1.3. 그 외 장치2.1.1.3. other devices

현재 유선으로 연결된 장치가 차량 내장 단말기(110)에서 정의하고 있는 전화 가능한 프로토콜을 지원하지 않는 경우에 대한 예외 처리를 한다. 최종 확인 결과 전화 통화 기능을 제공하지 않는 장치로 판단하면 단계 2.2로 이동하여 무선 연결을 확인한다.An exception is processed for a case where the device currently connected by wire does not support the callable protocol defined in the in-vehicle terminal 110 . If it is determined that the device does not provide a phone call function as a result of the final check, go to step 2.2 to check the wireless connection.

본 사례에서 Google의 안드로이드 기반 장치들은 USB의 벤더 ID가 각 제조사의 ID를 사용하므로 이동통신 단말(120)이 Android Open Accessory(이하 AOA) 세션을 시작하지 않았을 수도 있다. 그러므로 AOA 실행 요청을 스마트폰으로 전송하여 벤더 ID가 Google로 응답하는지 기다리며, 응답이 없으면 지원하지 않는 단말로 판단하여 단계 2.2로 이동한다.In this case, Google's Android-based devices may not start the Android Open Accessory (AOA) session by the mobile communication terminal 120 because the vendor ID of the USB uses the ID of each manufacturer. Therefore, it transmits the AOA execution request to the smartphone and waits for the vendor ID to respond to Google. If there is no response, it is judged as an unsupported terminal and moves to step 2.2.

- 코드 7. Android Open Accessory 실행 요청- Code 7. Request to run Android Open Accessory

// 구글이 Android Open Accessory에 정의한 값들이며 index 순서에 맞게 전송해야 한다.// Values defined by Google in Android Open Accessory and must be transmitted in order of index.

private static final Object[][] ACCESSORY_STRINGS = {private static final Object[][] ACCESSORY_STRINGS = {

{ACCESSORY_STRING_MANUFACTURER, "Hyundai Mobis"}, {ACCESSORY_STRING_MANUFACTURER, "Hyundai Mobis"},

{ACCESSORY_STRING_MODEL, "TelematicsLite"}, {ACCESSORY_STRING_MODEL, "TelematicsLite"},

{ACCESSORY_STRING_DESCRIPTION, "Telematics Lite"}, {ACCESSORY_STRING_DESCRIPTION, "Telematics Lite"},

{ACCESSORY_STRING_VERSION, "1.0"}, {ACCESSORY_STRING_VERSION, "1.0"},

{ACCESSORY_STRING_URI, "http://www.myuvo.com/uvoapp/android.shtml"}, {ACCESSORY_STRING_URI, "http://www.myuvo.com/uvoapp/android.shtml"},

{ACCESSORY_STRING_SERIAL, "1234567890"} {ACCESSORY_STRING_SERIAL, "1234567890"}

};};

// AOA를 실행하기 위한 command// command to run AOA

public static final int ACCESSORY_SEND_STRING = 52;public static final int ACCESSORY_SEND_STRING = 52;

public static final int ACCESSORY_START = 53;public static final int ACCESSORY_START = 53;

// 차량 내장 단말기는 AOA를 시작하기 위한 값들을 USB 통신을 이용하여 이동통신 단말로 전송한다.// The in-vehicle terminal transmits the values for starting AOA to the mobile communication terminal using USB communication.

for (Object[] strings : ACCESSORY_STRINGS) {for (Object[] strings : ACCESSORY_STRINGS) {

connection.controlTransfer(UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR, connection.controlTransfer(UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR,

ACCESSORY_SEND_STRING, 0, (Integer) strings[0], (String) strings[1], (String) strings[1].length, ACCESSORY_SEND_STRING, 0, (Integer) strings[0], (String) strings[1], (String) strings[1]. length,

AOA_TIMEOUT); AOA_TIMEOUT);

}}

connection.controlTransfer( UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR,connection.controlTransfer( UsbConstants.USB_DIR_OUT | UsbConstants.USB_TYPE_VENDOR,

ACCESSORY_START, 0, 0, null, 0, AOA_TIMEOUT); ACCESSORY_START, 0, 0, null, 0, AOA_TIMEOUT);

2.2 무선 연결 확인(S235)2.2 Checking the wireless connection (S235)

유선 연결이 되지 않았거나 전화 통화를 지원하지 않는 프로토콜인 경우 무선 연결 기술로 전화 통화를 시도한다. 본 발명에서는 무선 연결 기술 중 하나인 Bluetooth를 사용하는 방식을 설명한다.If there is no wired connection or the protocol does not support phone calls, try to make a phone call using wireless connection technology. In the present invention, a method of using Bluetooth, which is one of the wireless connection technologies, will be described.

- 코드 8. Bluetooth 연결 확인- Code 8. Check Bluetooth connection

private int checkBluetoothCall() {private int checkBluetoothCall() {

BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();

// 차량 내장 단말기에 저장된 블루투스 연결 가능한 장치를 획득한다. // Acquire the Bluetooth-connectable device stored in the in-vehicle terminal.

Set<BluetoothDevice> deviceList = adapter.getBondedDevices(); Set<BluetoothDevice> deviceList = adapter.getBondedDevices();

// 장치 리스트가 0개 이하이면 저장된 장치가 없음을 의미한다. // If the device list is 0 or less, it means that there are no saved devices.

if (deviceList == null || deviceList.size() < 1) if (deviceList == null || deviceList.size() < 1)

return NOT_PAIRED; return NOT_PAIRED;

// 저장된 장치가 있고 현재 블루투스로 연결된 장치가 있는 경우 자동 사고 신고 센터로 전화 연결이 가능하다. // If there is a saved device and there is a device currently connected via Bluetooth, a call can be made to the automatic accident report center.

if(mLocalManager.IbtcmGetHFConnectedDevice() != null) if(mLocalManager.IbtcmGetHFConnectedDevice() != null)

return CONNECTED; return CONNECTED;

// 저장된 장치는 있으나 현재 블루투스로 연결된 장치가 없는 경우 자동 연결을 시도해야 한다. // If there is a saved device but no device currently connected via Bluetooth, an automatic connection should be attempted.

else else

return NOT_CONNECTED; return NOT_CONNECTED;

}}

2.2.1 Bluetooth Hands-free를 지원하는 장치인지 확인(S240)2.2.1 Check if the device supports Bluetooth Hands-free (S240)

본 사례에서는 Bluetooth로 연결된 이동통신 단말(120)이 Hands-free 기능을 지원하는지 확인한다.In this case, it is checked whether the mobile communication terminal 120 connected through Bluetooth supports the Hands-free function.

차량 내장 단말기(110)는 블루투스 Stack(115)에 'PAIRED_DEVICE_LIST_REQ'를 전송하여 현재 등록된 블루투스 지원 기기 리스트를 요청한다. 그리고 'PAIRED_DEVICE_LIST_IND'를 수신하여 현재 등록된 블루투스 지원 기기를 확인한다.The in-vehicle terminal 110 transmits 'PAIRED_DEVICE_LIST_REQ' to the Bluetooth Stack 115 to request a list of currently registered Bluetooth-enabled devices. Then, by receiving 'PAIRED_DEVICE_LIST_IND', the currently registered Bluetooth-enabled device is checked.

차량 내장 단말기(110)는 등록된 블루투스 지원 기기가 Handsfree 기능을 지원하는지 확인한다. 이는 블루투스 기기를 차량 내장 단말기(110)에 등록할 때 'SERVICE_DISCOVERY_REQ'를 전송하여 블루투스 Stack(115)으로부터 'SERVICE_DISCOVERY_IND'를 수신하여 지원하는 서비스를 미리 비휘발성 메모리에 저장해두므로 확인 가능하다.The in-vehicle terminal 110 checks whether the registered Bluetooth-enabled device supports the Handsfree function. This can be confirmed because the service supported by transmitting 'SERVICE_DISCOVERY_REQ' and receiving 'SERVICE_DISCOVERY_IND' from the Bluetooth Stack 115 when registering the Bluetooth device to the in-vehicle terminal 110 is stored in the non-volatile memory in advance.

Handfree를 지원하는 장치가 없는 경우 운전자에게 음성 안내 및 디스플레이 장치를 통해 직접 사고 신고를 하도록 유도하고 자동 사고 신고 서비스를 종료한다.If there is no device that supports Handfree, it induces the driver to directly report an accident through voice guidance and display devices, and terminates the automatic accident reporting service.

Handsfree를 지원하는 장치가 있는 경우 차량 내장 단말기(110)는 블루투스 Stack(115)에 'HEALTH_STATUS_REQ'를 전송하여 블루투스 서비스의 상태 정보를 요청한다. 그리고 'HEALTH_STATUS_CFM' 응답 메시지를 수신하여 Handsfree 상태를 확인한다.When there is a device supporting Handsfree, the in-vehicle terminal 110 transmits 'HEALTH_STATUS_REQ' to the Bluetooth Stack 115 to request status information of the Bluetooth service. Then, the 'HEALTH_STATUS_CFM' response message is received to check the Handsfree status.

Handsfree 상태가 'INITIALISING', 'READY' 또는 'CONNECTING'이면 현재 연결되지 않은 상태이므로 단계 3으로 이동한다.If the Handsfree status is 'INITIALISING', 'READY' or 'CONNECTING', it is not currently connected, so go to step 3.

Handsfree 상태가 'CONNECTED', 'INCOMING_CALL', 'OUTGOING_CALL', 'ACTIVE_CALL', 'WAITING_CALL', 'MULTI_ACTIVE_CALL', 'HELD_CALL', 'ACTIVE_AND_HOLD' 또는 'MULTI_HELD_CALL'인 경우 이미 연결되어 있는 상태이므로 단계 4.2로 이동한다.If Handsfree status is 'CONNECTED', 'INCOMING_CALL', 'OUTGOING_CALL', 'ACTIVE_CALL', 'WAITING_CALL', 'MULTI_ACTIVE_CALL', 'HELD_CALL', 'ACTIVE_AND_HOLD', or 'MULTI_HELD_CALL' because it is already in a connected step do.

2.2.2 그 외 장치(S245)2.2.2 Other devices (S245)

블루투스 핸즈프리를 지원하지 않거나 블루투스로 연결된 장치가 없으면 단계 3으로 이동하여 블루투스 자동 연결을 시도한다.If it does not support Bluetooth hands-free or there is no Bluetooth-connected device, go to step 3 to try Bluetooth auto-connection.

도 4는 Health Status 메시지의 흐름을 도시한 개념도이다.4 is a conceptual diagram illustrating a flow of a Health Status message.

Message (Parameter)Message (Parameter)

- HEALTH_STATUS_REQ ( )- HEALTH_STATUS_REQ ( )

- HEALTH_STATUS_CFM (Handsfree Status, A2DP Status, AVRCP Status, PBAP Status, Call Status )- HEALTH_STATUS_CFM (Handsfree Status, A2DP Status, AVRCP Status, PBAP Status, Call Status)

CPU 블럭(113)에서 HEALTH_STATUS_REQ를 전송하여 블루투스 Stack(115)의 상태를 요청할 수 있다(311). 블루투스 Stack(115)은 각 Parameter의 값으로 현재의 모든 상태를 알려준다(312).The CPU block 113 may request the status of the Bluetooth stack 115 by transmitting HEALTH_STATUS_REQ ( 311 ). The Bluetooth Stack 115 informs all current states with the values of each parameter (312).

도 5는 Paired Device List 메시지의 흐름을 도시한 개념도이다.5 is a conceptual diagram illustrating a flow of a Paired Device List message.

Message (Parameter)Message (Parameter)

- PAIRED_DEVICE_LIST_REQ ( )- PAIRED_DEVICE_LIST_REQ ( )

- PAIRED_DEVICE_LIST_IND (Index, BD Address, Device Name )- PAIRED_DEVICE_LIST_IND (Index, BD Address, Device Name)

- PAIRED_DEVICE_LIST_CFM (Result) - PAIRED_DEVICE_LIST_CFM (Result)

CPU 블럭(113)에서 PAIRED_DEVICE_LIST_REQ를 전송하여 블루투스 Stack(115)에 저장되어 있는 Paired Device의 리스트를 가져올 수 있다(321). 블루투스 Stack(115)은 이에 대한 응답으로 Paired Device에 대한 정보를 PAIRED_DEVICE_LIST_IND 메시지를 통해 전송하고(322) 모든 리스트 전송이 완료되면 PAIRED_DEVICE_LIST_CFM 메시지를 전송한다(323). 단, 개발 환경에 따라서 Paired Device의 최대 개수는 제한될 수 있다.By transmitting PAIRED_DEVICE_LIST_REQ from the CPU block 113 , a list of paired devices stored in the Bluetooth stack 115 may be retrieved ( 321 ). In response to this, the Bluetooth Stack 115 transmits information on the paired device through a PAIRED_DEVICE_LIST_IND message (322) and transmits a PAIRED_DEVICE_LIST_CFM message when all list transmissions are completed (323). However, the maximum number of paired devices may be limited depending on the development environment.

도 6은 Service Discovery 메시지의 흐름을 도시한 개념도이다.6 is a conceptual diagram illustrating a flow of a Service Discovery message.

Message (Parameter)Message (Parameter)

- SERVICE_DISCOVERY_REQ (BD Address, Profile ID List Number , Profile ID List )- SERVICE_DISCOVERY_REQ (BD Address, Profile ID List Number , Profile ID List )

- SERVICE_DISCOVERY_IND (Supported Profile ID , Result )- SERVICE_DISCOVERY_IND (Supported Profile ID , Result )

- SERVICE_DISCOVERY_CFM (Result)- SERVICE_DISCOVERY_CFM (Result)

지정된 Bluetooth 장치에 대한 지원 서비스를 검색할 수 있다. UI System에서 지원 서비스를 검색하고자 하는 장치의 정보(BD Address)와 Profile ID들을 SERVICE_DISCOVERY_REQ 메시지와 함께 블루투스 Stack(115)에 전송하면 지정된 장치의 지원 서비스를 검색한다(331).You can search for support services for a specified Bluetooth device. When the UI System transmits the information (BD Address) and Profile IDs of the device for which the support service is to be searched to the Bluetooth Stack 115 together with the SERVICE_DISCOVERY_REQ message, the support service of the designated device is searched (331).

지원 서비스의 검색 결과는 SERVICE_DISCOVERY_IND에 의해 전달된다(332).The search result of the support service is delivered by SERVICE_DISCOVERY_IND (332).

SERVICE_DISCOVERY_CFM은 검색 결과 전달의 종료를 알린다(333).SERVICE_DISCOVERY_CFM notifies the end of the search result delivery (333).

3. 무선 자동 연결 시도(S245, S250)3. Attempt to automatically connect wirelessly (S245, S250)

블루투스 자동 연결 대상 기기는 차량 내장 단말기(110)에 등록되고 Handsfree 서비스를 지원하는 기기에 한정한다.The Bluetooth automatic connection target device is limited to a device that is registered in the in-vehicle terminal 110 and supports the Handsfree service.

등록된 장치들 중 가장 최근에 연결되었던 기기에 대해 연결 시도한다. 본 사례에서는 블루투스 기기를 연결할 때 'BT_DEVICE_ADDRESS'를 비휘발성 메모리에 저장한 후 단계 2.2.1에서 'PAIRED_DEVICE_LIST_IND'를 통해 획득한 등록된 장치 목록에서 검색하면 최근 연결되었던 장치를 알 수 있다.It attempts to connect to the most recently connected device among the registered devices. In this case, when connecting a Bluetooth device, 'BT_DEVICE_ADDRESS' is stored in non-volatile memory, and then the recently connected device can be found by searching from the registered device list obtained through 'PAIRED_DEVICE_LIST_IND' in step 2.2.1.

최근 연결되었던 블루투스 지원 기기의 'BT_DEVICE_ADDRESS'가 리스트에 존재하는 경우 'SERVICE_CONNECT_REQ'메시지에 'BT_DEVICE_ADDRESS' 및 'HANDSFREE_PROFILE_ID'를 담아 블루투스 Stack(115)에 전송하여 연결을 요청한다.If 'BT_DEVICE_ADDRESS' of a recently connected Bluetooth-enabled device exists in the list, 'BT_DEVICE_ADDRESS' and 'HANDSFREE_PROFILE_ID' are included in the 'SERVICE_CONNECT_REQ' message and transmitted to the Bluetooth Stack 115 to request a connection.

자동 연결 성공 조건은 'SERVICE_CONNECT_CFM'의 결과 필드에 'RESULT_SUCESS'가 수신되는 경우이다.The automatic connection success condition is when 'RESULT_SUCESS' is received in the result field of 'SERVICE_CONNECT_CFM'.

연결에 실패하는 경우에는 등록된 디바이스 중 Handsfree를 지원하는 기기에 대해 각각 1회 또는 여러번 연결을 시도한다. 자동 연결 시도에도 불구하고 모든 장치에 대해 실패하는 경우 음성 안내 및 디스플레이 장치를 이용하여 직접 사고 신고를 하도록 유도하고 자동 사고 신고 서비스를 종료한다.If the connection fails, try to connect one or several times to each of the registered devices that support Handsfree. If all devices fail despite the automatic connection attempt, the user is encouraged to report an accident directly using the voice guidance and display device, and the automatic accident reporting service is terminated.

도 7은 Service Connection 메시지의 흐름을 도시한 개념도이다.7 is a conceptual diagram illustrating a flow of a Service Connection message.

Message (Parameter)Message (Parameter)

- SERVICE_CONNECT_REQ (BD Address, Profile ID )- SERVICE_CONNECT_REQ (BD Address, Profile ID)

- SERVICE_CONNECT_CFM (Result, BD Address, Profile ID, Connection ID Remote Name )- SERVICE_CONNECT_CFM (Result, BD Address, Profile ID, Connection ID Remote Name )

지정된 블루투스 지원 기기에 서비스 연결을 시도할 수 있다. CPU 블럭(113)에서 특정 기기의 주소(BD Address) 및 Profile ID를 SERVICE_CONNECT_REQ 메시지와 함께 블루투스 Stack(115)으로 전송하면(341) 이에 대한 처리 결과와 함께 SERVICE_CONNECT_CFM 메시지를 CPU 블럭(113)으로 전송한다(342).A service connection may be attempted to a designated Bluetooth-enabled device. When the CPU block 113 transmits the address (BD Address) and Profile ID of a specific device together with the SERVICE_CONNECT_REQ message to the Bluetooth Stack 115 (341), a SERVICE_CONNECT_CFM message is transmitted to the CPU block 113 along with the processing result. (342).

4. 통화를 시도한다(S220, S240).4. Try to make a call (S220, S240).

유선 또는 무선 연결 기술을 이용하여 사고 신고 센터 서버(130)에 전화 연결을 시도한다.A telephone connection is attempted to the accident report center server 130 using a wired or wireless connection technology.

4.1. 유선 연결 기술을 이용하여 통화 시도(S220)4.1. Attempt to make a call using wired connection technology (S220)

차량 내장 단말기(110)에 유선으로 연결된 장치가 전화 통화 기능을 지원하는 경우 사고 신고 센터 서버(130)에 전화를 건다. 본 사례에서는 애플의 Car Play 기능으로 설명한다.When the device connected to the in-vehicle terminal 110 by wire supports a phone call function, a call is made to the accident report center server 130 . In this case, Apple's Car Play function is explained.

4.1.1 전화 연결 시도4.1.1 Dial-up Attempts

사고 신고 센터 서버(130)로 전화 연결을 시도한다. 본 사례에서는 USB 채널을 통해 애플의 Car Play를 이용하여 이동통신 단말기(120)에 전화 걸기를 요청하는 방법을 설명한다. 코드 10을 통해 전화를 걸 수 있다.An attempt is made to make a phone call to the accident report center server 130 . In this case, a method of requesting to make a call to the mobile communication terminal 120 using Apple's Car Play through a USB channel will be described. You can make a call through code 10.

전화 걸기를 요청한 후 통화 상태와 통화중인 전화번호를 이용하여 전화가 정상적으로 연결되었는지 확인한다. 본 사례에서는 apple의 iap2를 이용하는 방법을 설명한다. 코드 9에서 확인할 수 있다.After requesting to make a call, check whether the call is connected normally using the call status and the phone number being called. This example describes how to use apple's iap2. This can be seen in code 9.

전화가 정상적으로 연결된 경우 사고 신고 센터 상담원과 통화가 가능하다.If the phone is connected normally, you can talk to the accident report center counselor.

전화를 연결하는 도중 유선 연결이 해제되거나 동작 불가능한 상태가 되면 무선 자동 연결을 시도한다. 코드 11에서 확인할 수 있다.If the wired connection is disconnected or becomes inoperable while connecting a phone, an automatic wireless connection is attempted. You can see it in code 11.

- 코드 9. 전화 연결 상태 확인- Code 9. Check phone connection status

public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) {

String action = intent.getAction(); String action = intent.getAction();

Bundle extras = intent.getExtras(); Bundle extras = intent.getExtras();

// Car play의 전화 상태 정보를 수신한다. // Receive phone status information of car play.

if(action.equals(ACTION_CARPLAY_CALL_INFORMATION)){ if(action.equals(ACTION_CARPLAY_CALL_INFORMATION)){

// Car play 로 전화 통화 중인 상대방의 전화번호를 수신한다. // Receive the phone number of the other party who is talking on the phone with Car play.

String callNumber = extras.getString("carPlayCallNumber"); String callNumber = extras.getString("carPlayCallNumber");

// Car play의 통화 상태를 수신한다. // Receive call status of car play.

int callStatus = extras.getInt("carPlayCallStatus"); int callStatus = extras.getInt("carPlayCallStatus");

int callDirection = extras.getInt("carPlayCallDirection"); int callDirection = extras.getInt("carPlayCallDirection");

switch(callStatus) { switch(callStatus) {

// 전화 연결 중 // Connecting the phone

case Iap2Const.CallStateStatus.Connecting: case Iap2Const.CallStateStatus.Connecting:

onCarPlayCallDialing(callNumber); onCarPlayCallDialing(callNumber);

break; break;

// 전화 연결됨 // phone connected

case Iap2Const.CallStateStatus.Active: case Iap2Const.CallStateStatus.Active:

onCarPlayCallActive(callNumber); onCarPlayCallActive(callNumber);

break; break;

// 전화 끊어짐. // Call hung up.

case Iap2Const.CallStateStatus.Disconnected: case Iap2Const.CallStateStatus.Disconnected:

onCarPlayCallDisconnected(callNumber); onCarPlayCallDisconnected(callNumber);

break; break;

} }

} }

- 코드 10. 전화 연결 시도- Code 10. Attempt to connect the phone

private void requestAcnCarPlayCalling() { private void requestAcnCarPlayCalling() {

changeAcnProgressState(AcnProgressState.REQUEST_DIALING); changeAcnProgressState(AcnProgressState.REQUEST_DIALING);

startDtmfReceiverService(); startDtmfReceiverService();

// Car play에 전화 걸기를 요청한다. // Request to make a call to car play.

Intent intent = new Intent("android.intent.action.UVO_REQUEST"); Intent intent = new Intent("android.intent.action.UVO_REQUEST");

intent.putExtra("command", 0x01); //UVO Call intent.putExtra("command", 0x01); //UVO Call

intent.putExtra("url","tel:" + getAcnCallNumber()); intent.putExtra("url","tel:" + getAcnCallNumber());

sendBroadcast(intent); sendBroadcast(intent);

}}

- 코드 11. 유선 연결 해제시 무선 자동 연결 시도- Code 11. Attempt to automatically connect wirelessly when disconnected from wired connection

// Car play가 연결된 경우// When car play is connected

if(mCarPlayStateUpdateService.carPlayDipoStatus() == DIPO_STAT_STARTED) {if(mCarPlayStateUpdateService.carPlayDipoStatus() == DIPO_STAT_STARTED) {

mCarPlayCallScreen = true; mCarPlayCallScreen = true;

// Car play로 전화를 건다. // Make a call to car play.

startAcnCarPlayCall(); startAcnCarPlayCall();

} }

// Car paly가 연결 해제된 경우 // if the car pay is disconnected

else {else {

// 블루투스도 연결되지 않은 경우 // If Bluetooth is not connected

if (checkBluetoothCall() == AcnBluetoothStatus.NOT_CONNECTED) { if (checkBluetoothCall() == AcnBluetoothStatus.NOT_CONNECTED) {

// 블루투스 자동 연결을 시도한다. // Attempt to automatically connect to Bluetooth.

startBluetoothAutoConnection(); startBluetoothAutoConnection();

return; return;

} }

// 블루투스가 연결된 경우 블루투스로 전화를 건다. // If Bluetooth is connected, make a call using Bluetooth.

startAcnBluetoothCall(); startAcnBluetoothCall();

}}

4.1.2 전화 연결 재시도(S225, S230)4.1.2 Dial Connection Retry (S225, S230)

이동통신 단말기(120)의 오류 또는 이동통신망의 일시적인 장애로 인해 사고 신고 센터 서버(130)와 자동으로 통화 연결이 되지 않을 수 있다. 따라서 본 발명에서는 자동 사고 신고 서비스의 가용성 향상을 위해 전화 연결 재시도 기능을 추가한다.Due to an error in the mobile communication terminal 120 or a temporary failure of the mobile communication network, a call connection with the accident report center server 130 may not be automatically performed. Therefore, in the present invention, a call connection retry function is added to improve the availability of the automatic accident report service.

사용자가 H/U의 사용자 인터페이스(하드키, 스크린 터치, 스티어링 휠 리모컨 등)를 이용하여 통화 종료를 하지 않은 상태에서 통화 상태가 'Disconnected' 상태가 되면 전화 연결을 재시도한다. 본 발명에서는 통화 연결 실패 판단을 위해 apple의 iap2를 이용하는 방법을 사례로써 설명한다. 코드 12에서 확인할 수 있다.If the user does not end the call using the H/U user interface (hard key, screen touch, steering wheel remote control, etc.) and the call state becomes 'Disconnected', the call connection is retryed. In the present invention, a method of using apple's iap2 for call connection failure determination will be described as an example. You can see it in code 12.

만약 전화를 걸기 전 이동통신 단말기(120)가 이미 통화중이어서 사고 신고 센터 서버(130)로의 통화 연결에 실패하는 경우, 기존 전화를 강제로 종료한다. 따라서 사고 신고 센터 전화번호가 아닌 다른 통화가 종료되는 경우에는 전화 연결 재시도 기능을 수행하지 않고 사고 신고 센터 서버(130)와 연결되기를 기다린다.If the mobile communication terminal 120 fails to connect to the accident report center server 130 because the mobile communication terminal 120 is already in a call before making a call, the existing call is forcibly terminated. Therefore, when a call other than the accident report center phone number is terminated, the call connection retry function is not performed and it waits to be connected to the accident report center server 130 .

전화 통화 연결에는 성공하였으나 5초 이내에 통화가 종료되는 경우, 사고 신고 센터의 상담원과 정상적인 통화가 이루어졌다고 보기 어려우므로 전화 연결을 재시도한다.If the phone call connection is successful but the call is terminated within 5 seconds, it is difficult to see that a normal call with the agent at the accident report center has been made, so retry the phone connection.

전화 연결 재시도는 1회만 한다. 다시 실패하는 경우에는 서비스를 종료하고 사용자에게 안내한다.The call connection is retried only once. If it fails again, the service is terminated and the user is notified.

- 코드 12. 전화 연결 끊어진 경우 판단 로직- Code 12. Logic to determine if the phone is disconnected

private void onCarPlayCallDisconnected(String number) {private void onCarPlayCallDisconnected(String number) {

// 다른 전화번호에 해당하는 통화가 끊어진 경우 무시한다. // If the call corresponding to another phone number is disconnected, it is ignored.

if (!isEmergencyNumber(number) && (mCallActiveTimeMillis != -1)) { if (!isEmergencyNumber(number) && (mCallActiveTimeMillis != -1)) {

return; return;

} }

//사용자가 H/U의 사용자 인터페이스를 이용항 종료한 경우에는 전화 연결을 재시도하지 않는다. // If the user ends using the user interface of H/U, do not retry the phone connection.

if (mUuserCallEnd == true){ if (mUuserCallEnd == true){

mServiceResultSuccess = false; mServiceResultSuccess = false;

// 전화 통화 연결 전 통화 종료되는 경우, 재시도한다. // If the call is terminated before the phone call is connected, try again.

} else if (mCarPlayCallRequested ) { } else if (mCarPlayCallRequested ) {

// 최초 실패인 경우 1회 재시도한다. // If this is the first failure, retry once.

if (mRetryCountForCallDrop < 1) { if (mRetryCountForCallDrop < 1) {

mRetryCountForCallDrop++; mRetryCountForCallDrop++;

mRetryCallingRequested = true; mRetryCallingRequested = true;

dialFailed(false); dialFailed(false);

// 1회 재시도했으나 또 실패한 경우 서비스 종료로 처리한다. // If it is retryed once and fails again, it is treated as a service termination.

} else { } else {

dialFailed(true); dialFailed(true);

}통화는 연결되었으나 5초 이내에 끊어진 경우 }Call connected but disconnected within 5 seconds

// 통화 연결 후 5초 이내 종료되면 재시도한다. // If the call ends within 5 seconds after connection, retry.

} else if (disconnectedTimeMillis - mCallActiveTimeMillis) < 5000) { } else if (disconnectedTimeMillis - mCallActiveTimeMillis) < 5000) {

if (mRetryCountForCallDrop < 1) { if (mRetryCountForCallDrop < 1) {

mRetryCountForCallDrop++; mRetryCountForCallDrop++;

mRetryCallingRequested = true; mRetryCallingRequested = true;

dialFailed(false); dialFailed(false);

} else { } else {

dialFailed(true); dialFailed(true);

} }

} }

// 재시도해야 하는 경우 // if you need to retry

if (mRetryCallingRequested) { if (mRetryCallingRequested) {

// 통화 연결 재시도를 위한 메시지를 전송한다. // Send a message for retrying the call connection.

mHandler.sendEmptyMessageDelayed(H_REQUEST_REDIALING_EMERGENCY_CALL, 2000); mHandler.sendEmptyMessageDelayed(H_REQUEST_REDIALING_EMERGENCY_CALL, 2000);

return; return;

} }

}}

- 코드 13. 전화 연결 자동 재시도- Code 13. Auto Retry Call Connection

public void handleMessage(Message msg) {public void handleMessage(Message msg) {

switch (msg.what) { switch(msg.what) {

// 통화 재시도하는 메시지를 수신한 경우 // If a message to retry the call is received

case H_REQUEST_REDIALING_EMERGENCY_CALL: case H_REQUEST_REDIALING_EMERGENCY_CALL:

// Car play가 실행 가능한 상태이면 Car Play 통화 시도 // If Car Play is available, try calling Car Play

if(mCarPlayStateUpdateService.carPlayDipoStatus() == DIPO_STAT_STARTED) { if(mCarPlayStateUpdateService.carPlayDipoStatus() == DIPO_STAT_STARTED) {

requestAcnCarPlayCalling(); requestAcnCarPlayCalling();

} }

// 그 외에는 블루투스로 통화 시도. // Otherwise, try calling via Bluetooth.

else { else {

requestAcnBluetoothCalling(); requestAcnBluetoothCalling();

} }

break; break;

} }

}}

4.2. 무선 연결 기술을 이용하여 통화 시도(S240)4.2. Attempt to make a call using wireless connection technology (S240)

블루투스 Handsfree를 지원하는 기기가 연결되어 있으면 블루투스를 이용하여 사고 신고 센터로 전화를 건다.If a device supporting Bluetooth Handsfree is connected, call the accident report center using Bluetooth.

4.2.1 통화 연결전 지인들에게 사고 통보4.2.1 Notification of accident to acquaintances before connecting the call

'HEALTH_STATUS_CFM' 메시지를 이용하여 확인한 블루투스 Handsfree 연결 상태가 연결된 상태이면 첫번째로 차량 사고 신고 센터에 블루투스 Handsfree 서비스를 이용하여 SMS로 사고 신고를 한다. 차량에 탑승한 운전자가 의식을 잃는 경우에 대비하기 위함이다. 본 사례에서는 'SMS_SUPPORT_REQ'를 블루투스 Stack(115)에 전송하여 연결된 기기가 SMS 전송 기능을 지원하는지 확인 요청한다. 차량 내장 단말기(110)는 'SMS_SUPPORT_CFM'를 수신하여 사용 가능한 SMS Memory 영역과 SMS 종류(PDU binary or Text)를 알 수 있다. 연결된 기기가 지원하지 않는 경우 SMS 전송은 생략한다.If the Bluetooth Handsfree connection status checked using the 'HEALTH_STATUS_CFM' message is connected, the accident report is first made to the Vehicle Accident Report Center using the Bluetooth Handsfree service via SMS. This is to prepare in case the driver in the vehicle loses consciousness. In this case, 'SMS_SUPPORT_REQ' is transmitted to the Bluetooth Stack 115 to request confirmation of whether the connected device supports the SMS transmission function. The in-vehicle terminal 110 may receive 'SMS_SUPPORT_CFM' to know the available SMS memory area and the type of SMS (PDU binary or text). If the connected device does not support it, SMS transmission is omitted.

연결된 기기가 SMS 서비스를 지원하는 경우, 차량 내장 단말기(110)는 연결된 기기에 존재하는 통화 목록을 획득한다. 본 사례에서는 'PBAPC_DOWNLOAD_PHONEBOOK_REQ' 메시지를 전송하는데 파라미터로 'PHONEBOOK_TYPE_INCOMING_CALL', 'PHONEBOOK_TYPE_OUTGOING_CALL', 'PHONEBOOK_TYPE_MISSED_CALL'을 전달하여 수신, 발신, 부재중통화 내역을 폰으로부터 획득한다.When the connected device supports the SMS service, the in-vehicle terminal 110 acquires a list of calls existing in the connected device. In this case, the 'PBAPC_DOWNLOAD_PHONEBOOK_REQ' message is transmitted, and 'PHONEBOOK_TYPE_INCOMING_CALL', 'PHONEBOOK_TYPE_OUTGOING_CALL', and 'PHONEBOOK_TYPE_MISSED_CALL' are passed as parameters to obtain the incoming, outgoing, and missed call history from the phone.

상기 단계에서 획득한 통화 목록을 이용하여 사고 내용을 담은 SMS/MMS 메시지를 전송한다. 본 사례에서는 가장 최근 시간 순서대로 통화 목록을 정렬한 후, 서로 다른 5개의 전화번호를 선택하는 방식으로 SMS/MMS 메시지를 전송할 전화번호를 선택한다. 'SMS_SEND_REQ' 메시지에 연결된 기기가 제공하는 mode(PDU or Text) 정보와 데이터 size, 사고 안내 메시지 데이터를 포함하여 전송한다. 사고 안내 메시지 데이터에는 수신자 전화번호, 사고 발생 안내 메시지, 차량의 위경도 좌표, 사고 시각 등이 기록된다.An SMS/MMS message containing the accident details is transmitted using the call list obtained in the above step. In this case, after sorting the call list in the order of the most recent time, the phone number to which the SMS/MMS message is sent is selected by selecting 5 different phone numbers. Transmits the 'SMS_SEND_REQ' message including the mode (PDU or Text) information provided by the connected device, data size, and accident guidance message data. In the accident information message data, the recipient's phone number, an accident information message, the vehicle's latitude and longitude coordinates, and the time of the accident are recorded.

SMS 메시지 전송에 실패하는 경우, 1회에 한해 재시도한다. 본 사례에서는 총 5번의 'SMS_SEND_REQ' 전송에 대해 블루투스 Stack(115)으로부터 수신하는 각각의 'SMS_SEND_CFM'의 결과값이 'RESULT_SUCESS'가 아닌 경우에 해당한다. 이 경우 5초간 기다린 후 실패한 'SMS_SEND_REQ'을 1회에 한해 다시 전송한다.If the SMS message transmission fails, it is retried only once. In this case, the result value of each 'SMS_SEND_CFM' received from the Bluetooth Stack 115 for a total of 5 'SMS_SEND_REQ' transmissions is not 'RESULT_SUCESS'. In this case, after waiting 5 seconds, the failed 'SMS_SEND_REQ' is retransmitted only once.

'HEALTH_STATUS_CFM' 메시지를 이용하여 확인한 블루투스 Handsfree 연결 상태가 연결된 상태이면 차량 사고 신고 센터에 블루투스 Handsfree를 이용하여 전화를 건다. 본 사례에서는 'OUTGOING_CALL_REQ'에 차량 사고 신고 센터의 전화번호(ex. 911)를 담아 블루투스 Stack(115)으로 전송한다.If the Bluetooth Handsfree connection status checked using the 'HEALTH_STATUS_CFM' message is connected, make a call to the Vehicle Accident Report Center using Bluetooth Handsfree. In this case, the phone number (ex. 911) of the vehicle accident report center is stored in 'OUTGOING_CALL_REQ' and transmitted to the Bluetooth Stack (115).

만약 전화를 걸기 전에 블루투스 연결이 해제되는 상황이 발생하면 다시 단계 3으로 이동하여 자동 연결을 시도한다. 본 사례에서는 블루투스 Stack(115)으로부터 'SERVICE_DISCONNECT_IND' 통지 메시지가 차량 내장 단말기(110)에 전달되므로 Handsfree 연결 해제를 감지할 수 있다.If the Bluetooth connection is disconnected before making a call, go back to step 3 and try automatic connection. In this case, since the 'SERVICE_DISCONNECT_IND' notification message is transmitted from the Bluetooth Stack 115 to the in-vehicle terminal 110 , the Handsfree connection disconnection can be detected.

도 8은 SMS Support 메시지의 흐름을 도시한 개념도이다.8 is a conceptual diagram illustrating a flow of an SMS Support message.

Message (Parameter)Message (Parameter)

- SMS_SUPPORT_REQ ( Connection ID )- SMS_SUPPORT_REQ ( Connection ID )

- SMS_SUPPORT_CFM (Result, Connection ID, Supported Memory, Mode ) - SMS_SUPPORT_CFM (Result, Connection ID, Supported Memory, Mode )

연결 장치가 AT Command를 이용한 SMS 수신 기능을 지원하는지 확인한다(351). 그러면 사용 가능한 SMS Memory 영역과 SMS 종류(PDU, Text)를 알 수 있다(352).It is checked whether the connection device supports the SMS reception function using the AT command (351). Then, the available SMS Memory area and SMS types (PDU, Text) can be found (352).

도 9는 SMS Send 메시지의 흐름을 도시한 개념도이다.9 is a conceptual diagram illustrating a flow of an SMS Send message.

Message (Parameter)Message (Parameter)

- SMS_SEND_REQ ( Connection ID, Mode, SMS Size, Sequence, Length, Data, )- SMS_SEND_REQ ( Connection ID, Mode, SMS Size, Sequence, Length, Data, )

- SMS_SEND_CFM (Result, Connection ID)- SMS_SEND_CFM (Result, Connection ID)

CPU 블럭(113)은 SMS_SEND_REQ를 사용하여 PDU 혹은 Text의 SMS를 송신한다(361). 그러면 블루투스 Stack(115)은 이에 응답하는 메시지를 전송한다(362).The CPU block 113 transmits an SMS of a PDU or Text using SMS_SEND_REQ (361). Then, the Bluetooth Stack 115 transmits a message in response thereto (362).

도 10은 Phonebook Download 메시지의 흐름을 도시한 개념도이다.10 is a conceptual diagram illustrating a flow of a Phonebook Download message.

Message (Parameter)Message (Parameter)

- PBAPC_DOWNLOAD_PHONEBOOK_REQ (Connection ID, Repository, Path, Start, End, Format, - PBAPC_DOWNLOAD_PHONEBOOK_REQ (Connection ID, Repository, Path, Start, End, Format,

AT-C charset, AT-C charset data)AT-C charset, AT-C charset data)

- PBAPC_PHONEBOOK_SIZE_IND (Connection ID, Size, Index Start, Index End, - PBAPC_PHONEBOOK_SIZE_IND (Connection ID, Size, Index Start, Index End,

Supported AT-C charset length, Supported AT-C charset data)Supported AT-C charset length, Supported AT-C charset data)

- PBAPC_PHONEBOOK_DATA_IND (Connection ID, Method, Length of Data, Data )- PBAPC_PHONEBOOK_DATA_IND (Connection ID, Method, Length of Data, Data )

- PBAPC_DOWNLOAD_PHONEBOOK_CFM (Result, Connection ID)- PBAPC_DOWNLOAD_PHONEBOOK_CFM (Result, Connection ID)

블루투스 Stack(115)은 폰(or SIM)에 저장되어 있는 Phonebook을 다운로드 한다(374). CPU 블럭(113)에서는 수신된 데이터를 Parsing하여 처리한다. PBAPC_DOWNLOAD_PHONEBOOK_REQ(371)의 connection id가 PBAPS에 해당할 경우 PBAP를 이용하여 Phonebook download에 시도하고 HFAG에 해당할 경우 AT Command 방식을 사용한다(372, 373).The Bluetooth Stack 115 downloads the Phonebook stored in the phone (or SIM) (374). The CPU block 113 parses and processes the received data. If the connection id of PBAPC_DOWNLOAD_PHONEBOOK_REQ(371) corresponds to PBAPS, try to download the phonebook using PBAP, and if it corresponds to HFAG, use the AT Command method (372, 373).

도 11은 Outgoing Call 메시지의 흐름을 도시한 개념도이다.11 is a conceptual diagram illustrating the flow of an outgoing call message.

Message (Parameter)Message (Parameter)

- OUTGOING_CALL_REQ ( Connection ID, Type of call, Number )- OUTGOING_CALL_REQ ( Connection ID, Type of call, Number )

- OUTGOING_CALL_CFM (Result, Connection ID) - OUTGOING_CALL_CFM (Result, Connection ID)

CPU 블럭(113)에서 OUTGOING_CALL_REQ를 전송하여 여러 타입의 Outgoing Call을 요청할 수 있다(381). 블루투스 Stack(115)은 OUTGOING_CALL_CFM 메시지를 전송하여 응답한다(382).Various types of outgoing calls may be requested by transmitting OUTGOING_CALL_REQ from the CPU block 113 (381). The Bluetooth Stack 115 responds by sending an OUTGOING_CALL_CFM message (382).

4.2.2 전화 연결 시도4.2.2 Dial-up Attempts

현재 이미 이동통신 단말(120)이 통화중이라면 전화번호를 확인하여 차량 사고 신고 센터의 전화번호와 비교한다. 본 사례에서는 'HEALTH_STATUS_CFM'의 Handsfree 상태가 'INCOMING_CALL', 'OUTGOING_CALL', 'ACTIVE_CALL', 'WAITING_CALL', 'MULTI_ACTIVE_CALL', 'HELD_CALL', 'ACTIVE_AND_HOLD' 또는 'MULTI_HELD_CALL'인 경우 이미 통화중인 상태이다. 또는 'CALL_STATUS_EVENT_IND'로도 알 수 있다. 통화중인 상태인 경우, 'GET_CURRENT_CALLS_REQ'를 블루투스 Stack(115)에 전송하고 그 응답인 'HFP_CURRENT_CALLS_IND'를 통해 통화중인 전화번호를 ASCII 코드로 얻을 수 있다.If the mobile communication terminal 120 is already on a call, the phone number is checked and compared with the phone number of the vehicle accident reporting center. In this case, if the Handsfree status of 'HEALTH_STATUS_CFM' is 'INCOMING_CALL', 'OUTGOING_CALL', 'ACTIVE_CALL', 'WAITING_CALL', 'MULTI_ACTIVE_CALL', 'HELD_CALL', 'ACTIVE_AND_HOLD' or 'DEMULTI_HEL' already in a call. Alternatively, it can also be known as 'CALL_STATUS_EVENT_IND'. In the case of a call, 'GET_CURRENT_CALLS_REQ' is transmitted to the Bluetooth stack 115, and the phone number being called can be obtained in ASCII code through the response 'HFP_CURRENT_CALLS_IND'.

만약 비교한 두 번호가 같지 않다면 현재 통화를 강제로 종료하고 차량 사고 신고 센터로 전화를 건다는 내용을 음성 안내 및 디스플레이 장치를 통해 사용자에게 알린다. 이후 사용자의 입력을 대기하고 일정 시간 입력이 없으면 현재 통화를 강제 종료한 후 차량 사고 신고 센터에 전화를 건다. 본 사례에서는 'HFP_TERMINATE_CALL_REQ'을 블루투스 Stack(115)에 전달하여 통화 종료를 요청한다. 3초마다 'CALL_STATUS_EVENT_IND'를 확인하여 'CALL_EVENT_NO_CALL' 값을 수신하지 못하면 'HFP_TERMINATE_CALL_REQ'을 다시 전송하여 전화가 끊어지도록 한다.If the two numbers compared are not the same, the current call is forcibly terminated and the user is notified through a voice guidance and display device that a call is made to the vehicle accident report center. After that, it waits for the user's input, and if there is no input for a certain period of time, the current call is forcibly terminated and a call is made to the vehicle accident report center. In this case, 'HFP_TERMINATE_CALL_REQ' is transmitted to the Bluetooth Stack 115 to request termination of the call. Check 'CALL_STATUS_EVENT_IND' every 3 seconds, and if 'CALL_EVENT_NO_CALL' is not received, 'HFP_TERMINATE_CALL_REQ' is sent again to disconnect the call.

차량 사고 신고 센터와 통화 연결된 후 블루투스로 연결된 이동통신 단말(120)에 전화가 걸려온 경우, 현재 자동 사고 신고 통화를 유지하기 위해 걸려온 전화를 reject(통화 거절)한다. 본 사례에서는 'CALL_STATUS_EVENT_IND'의 값이 'WAITING_CALL'로 수신되는 경우이다. 이때, 블루투스 Stack(115)로 'HFP_REJECT_CALL_REQ'를 전송하여 걸려온 전화를 거절할 수 있다.When a call is made to the mobile communication terminal 120 connected through Bluetooth after a call is connected to the vehicle accident report center, the incoming call is rejected (rejected call) in order to maintain the current automatic accident report call. In this case, the value of 'CALL_STATUS_EVENT_IND' is received as 'WAITING_CALL'. In this case, the incoming call may be rejected by transmitting 'HFP_REJECT_CALL_REQ' to the Bluetooth stack 115 .

차량 사고 신고 센터와 통화 연결된 후 사용자의 실수 혹은 의도하지 않은 동작에 의해 통화가 종료되지 않도록 일부 키입력을 막는다. 단, 사용자가 통화를 종료할 수 있는 수단이나 현재 위치, 차량 상태 등을 파악하는 데에 도움이 되는 기능은 막지 않는다. 본 사례에서는 AV 및 기타 엔터테인먼트 관련 키들은 막고 GUI의 'Cancel' 키 및 스티어링 휠의 'Call end' 키와 Navigation 관련 키들은 막지 않는다.After a call is connected to the vehicle accident report center, some key input is blocked so that the call is not terminated by the user's mistake or unintentional action. However, it does not block the means by which the user can end a call, or a function that helps the user to determine the current location, vehicle status, and the like. In this case, AV and other entertainment related keys are blocked, but the 'Cancel' key on the GUI, the 'Call end' key on the steering wheel, and the navigation related keys are not blocked.

통화 종료 키 입력이 된 경우, 사용자 의도에 의한 통화 종료로 판단하여 자동 사고 신고 서비스를 종료한다.When the call end key is input, it is determined that the call is terminated by the user's intention and the automatic accident report service is terminated.

도 12는 Terminate Call 메시지의 흐름을 도시한 개념도이다.12 is a conceptual diagram illustrating a flow of a Terminate Call message.

Message (Parameter)Message (Parameter)

- TERMINATE_CALL_REQ ( Connection ID )- TERMINATE_CALL_REQ ( Connection ID )

- TERMINATE_CALL_CFM (Result, Connection ID) - TERMINATE_CALL_CFM (Result, Connection ID)

CPU 블럭(113)에서 TERMINATE_CALL_REQ를 전송하여 통화 종료를 요청할 수 있다(391). 블루투스 Stack(115)은 TERMINATE_CALL_CFM 메시지를 전송하여 응답한다(392).The CPU block 113 may transmit TERMINATE_CALL_REQ to request termination of the call ( 391 ). The Bluetooth Stack 115 responds by sending a TERMINATE_CALL_CFM message (392).

도 13은 Get Current Calls 메시지의 흐름을 도시한 개념도이다.13 is a conceptual diagram illustrating a flow of a Get Current Calls message.

Message (Parameter)Message (Parameter)

- GET_CURRENT_CALLS_REQ (Connection ID )- GET_CURRENT_CALLS_REQ (Connection ID)

- GET_CURRENT_CALLS_IND (Connection ID, Call Index, Call Direction, Call Status, Call Multiparty, Call Number )- GET_CURRENT_CALLS_IND (Connection ID, Call Index, Call Direction, Call Status, Call Multiparty, Call Number)

- GET_CURRENT_CALLS_CFM (Result, Connection ID ) - GET_CURRENT_CALLS_CFM (Result, Connection ID)

현재의 Call 정보를 알기 위해 CPU 블럭(113)에서는 GET_CURRENT_CALLS_REQ 메시지를 블루투스 Stack(115)으로 전송한다(401). 이에 블루투스 Stack(115)은 현재의 Call 정보를 GET_CURRENT_CALLS_IND 메시지를 통해 CPU 블럭(113)에게 전송한다(402). 모든 Call 정보를 전송하면 블루투스 Stack(115)은 CPU 블럭(113)에게 GET_CURRENT_CALLS_CFM 메시지를 전송한다(403).In order to know the current call information, the CPU block 113 transmits a GET_CURRENT_CALLS_REQ message to the Bluetooth Stack 115 (401). Accordingly, the Bluetooth Stack 115 transmits the current call information to the CPU block 113 through the GET_CURRENT_CALLS_IND message (402). When all call information is transmitted, the Bluetooth Stack 115 transmits a GET_CURRENT_CALLS_CFM message to the CPU block 113 (403).

도 14는 Call Status Indication 메시지의 흐름을 도시한 개념도이다.14 is a conceptual diagram illustrating a flow of a Call Status Indication message.

Message (Parameter)Message (Parameter)

- CALL_STATUS_EVENT_IND (Connection ID, Status)- CALL_STATUS_EVENT_IND (Connection ID, Status)

통화 중에 있을 때, 블루투스 Stack(115)은 CALL_STATUS_EVENT_IND 메시지를 이용하여 현재 CALL의 상태 변화를 알려준다(411).During a call, the Bluetooth Stack 115 notifies the current CALL state change using the CALL_STATUS_EVENT_IND message (411).

4.2.3 전화 연결 재시도(S225, S230)4.2.3 Telephone Connection Retry (S225, S230)

블루투스를 이용하여 전화를 건 후, 폰의 상태에 따라 발신 실패에 해당하는 응답 메시지를 주는 경우가 있다. 이러한 메시지를 받으면 1회 또는 수회 재시도한다. 본 사례에서는 블루투스 Stack(115)에 전송한 'OUTGOING_CALL_REQ'에 대한 응답 메시지인 'OUTGOING_CALL_CFM'의 값이 'RESULT_FAIL', 'RESULT_BUSY', 'RESULT_NOT_READY_STATE' 또는 'RESULT_TIMEOUT'인 경우에 해당한다. 이때는 현재 블루투스 지원 기기의 동작 상태가 어느 정도 정리되도록 5초간 기다린 후 다시 'OUTGOING_CALL_REQ'를 전송한다.After making a call using Bluetooth, a response message corresponding to a call failure may be given depending on the state of the phone. If you receive such a message, it will retry once or several times. In this case, the value of 'OUTGOING_CALL_CFM', which is a response message to 'OUTGOING_CALL_REQ' transmitted to the Bluetooth Stack 115, is 'RESULT_FAIL', 'RESULT_BUSY', 'RESULT_NOT_READY_STATE' or 'RESULT_TIMEOUT'. In this case, it waits for 5 seconds so that the operation status of the current Bluetooth-enabled device is cleaned up to some extent, and then transmits 'OUTGOING_CALL_REQ' again.

블루투스를 이용하여 전화를 건 후, 일정 시간 이내에 블루투스 call status가 active call(전화가 연결된 상태)로 전환되지 않으면 1회 또는 수회 재시도한다. 본 사례에서는 20초 이내에 'CALL_STATUS_EVENT_IND'의 값이 'CALL_EVENT_ACTIVE_CALL'이 되지 않는 경우에 해당한다. 만약 'CALL_STATUS_EVENT_IND'가 'CALL_EVENT_NO_CALL'을 유지하면 'OUTGOING_CALL_REQ'를 다시 전송한다. 또한 'CALL_EVENT_INCOMING_CALL'처럼 통화 연결을 시도하는 중이면 이동통신망의 상태 이상으로 간주하여 'HFP_TERMINATE_CALL_REQ'을 블루투스 Stack(115)에 전송하여 현재 통화를 종료하고 5초 후 'OUTGOING_CALL_REQ'을 다시 전송하여 재시도한다.After making a call using Bluetooth, if the Bluetooth call status does not change to an active call within a certain period of time, retry once or several times. In this case, the value of 'CALL_STATUS_EVENT_IND' does not become 'CALL_EVENT_ACTIVE_CALL' within 20 seconds. If 'CALL_STATUS_EVENT_IND' maintains 'CALL_EVENT_NO_CALL', 'OUTGOING_CALL_REQ' is transmitted again. In addition, if a call connection is being attempted, such as 'CALL_EVENT_INCOMING_CALL', it is regarded as an abnormal state of the mobile communication network, and 'HFP_TERMINATE_CALL_REQ' is sent to the Bluetooth Stack 115 to end the current call. .

블루투스를 이용하여 전화를 걸고 블루투스 call status도 active call이 되었으나 특정 시간 이내에 사용자 의도가 아닌 이유로 call이 종료되면 1회 또는 수회 재시도한다. 본 사례에서는 'CALL_STATUS_EVENT_IND'의 값으로 'CALL_EVENT_ACTIVE_CALL'을 수신한 후 5초 이내에 'SERVICE_DISCONNECT_IND' 통지 메시지 및 'CALL_STATUS_EVENT_IND'의 값으로 'CALL_EVENT_NO_CALL'을 수신하는 경우에 해당한다. 이 경우를 이동통신망의 상태 이상으로 간주하여 5초 후 'OUTGOING_CALL_REQ'을 다시 전송하여 통화 연결을 재시도한다.If a call is made using Bluetooth and the Bluetooth call status has also become an active call, but the call is terminated within a specific time for reasons other than the user's intention, it is retried once or several times. In this case, after receiving 'CALL_EVENT_ACTIVE_CALL' as the value of 'CALL_STATUS_EVENT_IND', the 'SERVICE_DISCONNECT_IND' notification message and 'CALL_EVENT_NO_CALL' as the value of 'CALL_STATUS_EVENT_IND' are received within 5 seconds. Considering this case as an abnormal state of the mobile communication network, 'OUTGOING_CALL_REQ' is sent again after 5 seconds to retry the call connection.

블루투스를 이용하여 전화 걸기를 재시도하는 경우, 일정 시간 대기하면서 이전 통화 실패에 의한 상태들이 정리되기를 기다린 후 재시도한다. 본 사례에서는 5초의 타이머를 설정하여 time-out event 발생시 재시도한다.In the case of retrying a call using Bluetooth, it waits for a certain period of time and waits for conditions due to a previous call failure to be cleared before retrying. In this case, a timer of 5 seconds is set to retry when a time-out event occurs.

블루투스를 이용하여 전화 걸기를 재시도하는 경우, 음성 안내 및 디스플레이 장치를 통해 서비스 재시도 중임을 운전자에게 통지한다.In the case of retrying to make a call using Bluetooth, the driver is notified that the service is being retryed through a voice guidance and display device.

블루투스를 이용하여 전화 걸기 재시도하였으나 전화 걸기에 실패하는 경우 음성 안내 및 디스플레이 장치를 통해 서비스 연결 실패를 운전자에게 통지한다.If a call is attempted again using Bluetooth but the call fails, the driver is notified of service connection failure through voice guidance and a display device.

사용자가 차량의 단말기나 기타 조작을 통해 통화를 종료하는 경우, 사용자의 통화 종료 의도로 판단하여 재시도하지 않는다. 본 사례에서는 GUI의 'Cancel' 버튼이나 스티어링 휠 키의 'Call end'키를 누르는 경우에 해당한다.When the user ends the call through the vehicle terminal or other manipulation, it is determined that the user's intention to end the call is not retryed. In this case, the 'Cancel' button on the GUI or the 'Call end' key on the steering wheel key is pressed.

이상 도 1 내지 도 14를 참조하여 본 발명의 일실시 형태에 대하여 설명하였다. 이하에서는 이러한 일실시 형태로부터 추론 가능한 본 발명의 바람직한 형태에 대하여 설명한다.An embodiment of the present invention has been described above with reference to FIGS. 1 to 14 . Hereinafter, a preferred embodiment of the present invention that can be inferred from such an embodiment will be described.

도 15는 본 발명의 바람직한 실시예에 따른 차량 사고 신고 장치를 개략적으로 도시한 블록도이다.15 is a block diagram schematically illustrating an apparatus for reporting a vehicle accident according to a preferred embodiment of the present invention.

차량 사고 신고 장치(500)는 전화 단말을 이용하여 차량 사고를 신고하는 것으로서, 도 1 및 도 2에서 설명한 차량 내장 단말기(110)과 동일한 개념의 것이다.The vehicle accident reporting apparatus 500 reports a vehicle accident using a phone terminal, and has the same concept as the in-vehicle terminal 110 described with reference to FIGS. 1 and 2 .

도 15에 따르면, 차량 사고 신고 장치(500)는 전원부(510), 주제어부(520), 사고 발생 판단부(530), 유선 연결 판단부(540), 무선 연결 실행부(550) 및 차량 사고 신고부(560)를 포함한다.15 , the vehicle accident reporting device 500 includes a power supply unit 510 , a main control unit 520 , an accident occurrence determination unit 530 , a wired connection determination unit 540 , a wireless connection execution unit 550 , and a vehicle accident and a reporting unit 560 .

전원부(510)는 차량 사고 신고 장치(500)를 구성하는 각 구성에 전원을 공급하는 기능을 수행한다. 주제어부(520)는 차량 사고 신고 장치(500)를 구성하는 각 구성의 전체 작동을 제어하는 기능을 수행한다. 차량 사고 신고 장치(500)가 AVN 시스템 등에 구비됨을 참작할 때 본 실시예에서 전원부(510)와 주제어부(520)는 구비되지 않아도 무방하다.The power supply unit 510 performs a function of supplying power to each component constituting the vehicle accident reporting device 500 . The main control unit 520 performs a function of controlling the overall operation of each component constituting the vehicle accident reporting device 500 . Considering that the vehicle accident reporting device 500 is provided in the AVN system, the power supply unit 510 and the main control unit 520 may not be provided in the present embodiment.

사고 발생 판단부(530)는 차량에 사고가 발생했는지 여부를 판단하는 기능을 수행한다.The accident occurrence determination unit 530 performs a function of determining whether an accident has occurred in the vehicle.

사고 발생 판단부(530)는 차량의 운전자에 의해 비상 호출(Emergency Call) 버튼 입력에 따라 미리 정해진 신호가 입력되었는지 여부, 차량에서 에어백의 전개를 명령하는 신호가 입력되었는지 여부, 차량의 하중 변화량이 기준 변화량 이상인지 여부, 및 차량의 기울기가 기준 기울기 이상인지 여부 중 적어도 하나를 기초로 차량에 사고가 발생했는지 여부를 판단할 수 있다.The accident occurrence determination unit 530 determines whether a predetermined signal is input according to an emergency call button input by the driver of the vehicle, whether a signal for commanding the deployment of the airbag in the vehicle is input, and the amount of change in the vehicle's load It may be determined whether an accident has occurred in the vehicle based on at least one of whether the reference change amount or more and whether the vehicle inclination is greater than or equal to the reference inclination.

차량의 하중 변화량이 기준 변화량 이상인지 여부를 기초로 차량에 사고가 발생했는지 여부를 판단하는 경우, 사고 발생 판단부(530)는 차량 하중 검출부, 차량 하중 변화량 산출부 및 차량 사고 판단부를 포함할 수 있다.When determining whether an accident has occurred in the vehicle based on whether the load change amount of the vehicle is greater than or equal to the reference change amount, the accident occurrence determination unit 530 may include a vehicle load detection unit, a vehicle load change amount calculation unit, and a vehicle accident determination unit have.

차량 하중 검출부는 차량의 하중을 검출하는 기능을 수행한다. 차량 하중 검출부는 스트레인 게이지(Strain Gauge)와 로드 셀(Load Cell) 중 적어도 하나의 센서를 이용하여 차량의 하중을 검출할 수 있다. 상기한 센서는 차량의 전방에 위치하는 적어도 하나의 제1 센서와 차량의 후방에 위치하는 적어도 하나의 제2 센서를 포함할 수 있다. 제1 센서는 차량의 전륜축, 앞쪽 바퀴 등 차량의 중량을 측정할 수 있는 한 곳에 부착될 수 있으며, 제2 센서는 차량의 후륜축, 뒤쪽 바퀴 등 차량의 중량을 측정할 수 있는 한 곳에 부착될 수 있다.The vehicle load detection unit performs a function of detecting a vehicle load. The vehicle load detector may detect the load of the vehicle by using at least one sensor of a strain gauge and a load cell. The sensor may include at least one first sensor positioned at the front of the vehicle and at least one second sensor positioned at the rear of the vehicle. The first sensor may be attached to a location that can measure the weight of the vehicle, such as a front wheel axle and a front wheel of the vehicle, and the second sensor is attached to a location that can measure the weight of the vehicle, such as a rear wheel axle and a rear wheel of the vehicle can be

차량 하중 변화량 산출부는 차량 하중 검출부에 의해 검출된 하중을 수집하여 미리 정해진 시간동안 차량의 하중 변화량을 산출하는 기능을 수행한다.The vehicle load change calculation unit collects the load detected by the vehicle load detection unit and calculates the vehicle load change amount for a predetermined time.

차량 사고 판단부는 차량 하중 변화량 산출부에 의해 산출된 하중 변화량과 기준 변화량을 비교하여 차량의 사고 발생 여부를 판단하는 기능을 수행한다. 차량 사고 판단부는 하중 변화량이 기준 변화량 이상일 때 차량에 사고가 발생한 것으로 판단하며, 하중 변화량이 기준 변화량 미만이면 차량에 사고가 발생하지 않은 것으로 판단한다.The vehicle accident determination unit performs a function of determining whether an accident has occurred in the vehicle by comparing the load change calculated by the vehicle load change amount calculating unit with the reference change amount. The vehicle accident determination unit determines that an accident has occurred in the vehicle when the load change is greater than or equal to the reference change amount, and determines that no accident has occurred in the vehicle when the load change is less than the reference change amount.

차량 하중 검출부는 차량의 서로 다른 위치에 장착된 각 센서를 이용하여 차량의 하중을 검출할 수 있다. 이 경우 사고 발생 판단부(530)는 비정상 센서 추출부를 더 포함할 수 있다.The vehicle load detection unit may detect the load of the vehicle by using each sensor mounted at different positions of the vehicle. In this case, the accident occurrence determination unit 530 may further include an abnormal sensor extraction unit.

비정상 센서 추출부는 각 센서로부터 검출된 차량의 하중들을 비교하여 정상적으로 작동하지 않는 센서를 추출하는 기능을 수행한다.The abnormal sensor extractor performs a function of extracting a sensor that does not operate normally by comparing the loads of the vehicle detected from each sensor.

사고 발생 판단부(530)가 비정상 센서 추출부를 더 포함하는 경우, 차량 하중 변화량 산출부는 정상적으로 작동하지 않는 센서를 제외한 나머지 센서에 의해 검출된 차량의 하중을 이용하여 차량의 하중 변화량을 산출한다.When the accident occurrence determination unit 530 further includes an abnormal sensor extraction unit, the vehicle load change calculation unit calculates the vehicle load change amount by using the vehicle load detected by the remaining sensors except for the sensor that does not normally operate.

한편 사고 발생 판단부(530)는 주행 정보 검출부, 충돌 판단부, 위치 검출부 및 도어 잠금 검출부 중 적어도 하나를 더 포함할 수 있다.Meanwhile, the accident occurrence determination unit 530 may further include at least one of a driving information detection unit, a collision determination unit, a position detection unit, and a door lock detection unit.

주행 정보 검출부는 미리 정해진 시간마다 차량의 주행 정보를 검출하는 기능을 수행한다. 본 실시예에서 주행 정보는 차량의 주행과 관련된 각종 정보, 차량에 장착된 각종 기기의 작동 상태에 대한 정보 등을 포괄하는 개념이다.The driving information detecting unit performs a function of detecting driving information of the vehicle every predetermined time. In this embodiment, driving information is a concept that encompasses various types of information related to driving of a vehicle, information on operating states of various devices mounted on the vehicle, and the like.

주행 정보 검출부는 주행 정보로 차량에 장착된 변속기의 기어 상태 정보 또는 차량의 현재 속도를 검출할 수 있다.The driving information detector may detect gear state information of a transmission mounted on the vehicle or a current speed of the vehicle as the driving information.

차량 사고 판단부는 차량의 주행 정보를 기초로 차량의 사고 발생 여부를 추가 판단하는 기능을 수행한다.The vehicle accident determination unit performs a function of additionally determining whether a vehicle accident has occurred based on the driving information of the vehicle.

차량 사고 판단부는 기어 상태 정보가 주차(P) 모드와 중립(N) 모드를 제외한 다른 모드이고 현재 속도가 제1 기준 속도 이하일 때 차량에 사고가 발생한 것으로 판단할 수 있다. 또한 차량 사고 판단부는 기어 상태 정보 또는 현재 속도가 검출되지 않을 때 차량에 사고가 발생한 것으로 판단할 수 있다. 상기에서 제1 기준 속도는 예컨대 0일 수 있다.The vehicle accident determining unit may determine that an accident has occurred in the vehicle when the gear state information is in a mode other than the parking (P) mode and the neutral (N) mode and the current speed is less than or equal to the first reference speed. In addition, the vehicle accident determination unit may determine that an accident has occurred in the vehicle when the gear state information or the current speed is not detected. In the above, the first reference speed may be, for example, 0.

한편 속도가 순간적으로 0km로 변경되는 경우를 고려할 때, 주행 정보 검출부와 차량 사고 판단부는 다음과 같이 구동될 수 있다.Meanwhile, considering a case in which the speed is momentarily changed to 0 km, the driving information detecting unit and the vehicle accident determining unit may be driven as follows.

즉 주행 정보 검출부는 현재 속도를 검출할 때 현재 시간을 함께 검출할 수 있다. 그리고 차량 사고 판단부는 현재 속도가 0일 때 이전 속도와 현재 속도 사이의 차이값이 제1 기준값 이상이고, 이전 속도와 함께 검출된 이전 시간과 현재 시간 사이의 차이값이 제2 기준값 이하일 때, 차량에 사고가 발생한 것으로 판단할 수 있다.That is, the driving information detecting unit may detect the current time together when detecting the current speed. And when the current speed is 0, the difference value between the previous speed and the current speed is greater than or equal to the first reference value, and when the difference value between the previous time and the current time detected together with the previous speed is less than or equal to the second reference value, the vehicle It can be concluded that an accident has occurred in

한편 차량 사고 판단부는 기어 상태 정보가 주차(P) 모드와 중립(N) 모드를 제외한 다른 모드이고 현재 속도가 제2 기준 속도 이상일 때 작동될 수 있다. 이때 제2 기준 속도는 예컨대 0일 수 있다.Meanwhile, the vehicle accident determination unit may be operated when the gear state information is in a mode other than the parking (P) mode and the neutral (N) mode and the current speed is equal to or greater than the second reference speed. In this case, the second reference speed may be, for example, 0.

충돌 판단부는 차량과 외부에 위치한 오브젝트 사이의 충돌 여부를 판단하는 기능을 수행한다. 이 경우 차량 사고 판단부는 충돌 여부에 따라 차량의 사고 발생 여부를 판단할 수 있다. 이러한 차량 사고 판단부는 차량과 오브젝트 사이에 충돌이 있는 것으로 판단되면 차량에 사고가 발생한 것으로 판단한다.The collision determination unit performs a function of determining whether a collision exists between the vehicle and an object located outside. In this case, the vehicle accident determination unit may determine whether or not an accident of the vehicle has occurred according to whether a collision has occurred. When it is determined that there is a collision between the vehicle and the object, the vehicle accident determination unit determines that an accident has occurred in the vehicle.

충돌 판단부는 차량의 전방을 촬영하는 카메라, 차량의 외부 각측에서 오브젝트를 감지하는 레이더, 및 차량의 가속도를 측정하는 가속도 센서 중 적어도 하나를 이용하여 충돌 여부를 판단할 수 있다.The collision determination unit may determine whether there is a collision by using at least one of a camera for photographing the front of the vehicle, a radar for detecting an object from each side of the vehicle, and an acceleration sensor for measuring the acceleration of the vehicle.

카메라를 이용하여 충돌 여부를 판단하는 경우, 충돌 판단부는 카메라에 의해 획득된 영상에서 오브젝트까지의 거리가 제1 기준 거리 이하이거나, 미리 정해진 시간동안 카메라에 의해 영상이 획득되지 못하거나, 또는 카메라에 대한 디텍트 신호가 검출되지 않을 때 차량과 오브젝트 사이에 충돌이 있는 것으로 판단할 수 있다.When determining whether or not a collision occurs using a camera, the collision determination unit is the first reference distance or less from the image acquired by the camera to the object, or the image is not acquired by the camera for a predetermined time, or When the detection signal for the vehicle is not detected, it may be determined that there is a collision between the vehicle and the object.

레이더를 이용하여 충돌 여부를 판단하는 경우, 충돌 판단부는 레이더에 의해 획득된 오브젝트까지의 거리가 제2 기준 거리 이하이거나, 또는 레이더에 대한 디텍트 신호가 검출되지 않을 때 차량과 오브젝트 사이에 충돌이 있는 것으로 판단할 수 있다.When determining whether a collision occurs using the radar, the collision determination unit causes a collision between the vehicle and the object when the distance to the object obtained by the radar is less than or equal to the second reference distance, or when a detection signal for the radar is not detected. It can be judged that there is

가속도 센서를 이용하는 경우, 충돌 판단부는 가속도 센서에 의해 측정된 충격의 세기가 기준 세기 이상일 때 차량과 오브젝트 사이에 충돌이 있는 것으로 판단할 수 있다.When the acceleration sensor is used, the collision determination unit may determine that there is a collision between the vehicle and the object when the intensity of the impact measured by the acceleration sensor is equal to or greater than the reference intensity.

위치 검출부는 차량의 위치를 검출하며, 위치가 검출될 때의 시간을 측정하는 기능을 수행한다.The position detector detects the position of the vehicle and performs a function of measuring the time when the position is detected.

도어 잠금 검출부는 차량의 도어 잠금 상태에 대한 정보를 검출하는 기능을 수행한다.The door lock detection unit performs a function of detecting information on a door lock state of the vehicle.

상기한 경우 차량 사고 판단부는 이전 시간에 검출된 차량의 위치와 현재 시간에 검출된 차량의 위치가 동일하고, 이전 시간과 현재 시간에 미리 정해진 시간동안 차량의 도어 잠금 해제 정보가 검출되지 않으면 차량에 사고가 발생한 것으로 판단할 수 있다.In the above case, the vehicle accident determination unit sends the vehicle to the vehicle if the location of the vehicle detected at the previous time and the location of the vehicle detected at the current time are the same, and the door unlock information of the vehicle is not detected for a predetermined time at the previous time and the current time. It can be concluded that an accident has occurred.

차량의 기울기가 기준 기울기 이상인지 여부를 기초로 차량에 사고가 발생했는지 여부를 판단하는 경우, 사고 발생 판단부(530)는 기울기 획득부, 차량 신호 획득부 및 차량 사고 판단부를 포함할 수 있다.When determining whether an accident has occurred in the vehicle based on whether the slope of the vehicle is equal to or greater than the reference slope, the accident occurrence determination unit 530 may include a slope obtaining unit, a vehicle signal obtaining unit, and a vehicle accident determining unit.

기울기 획득부는 차량의 기울기를 획득하는 기능을 수행한다. 기울기 획득부는 3축 가속도 센서 또는 자이로 센서를 이용하여 차량의 기울기를 획득할 수 있다.The inclination acquiring unit performs a function of acquiring the inclination of the vehicle. The inclination acquiring unit may acquire the inclination of the vehicle by using a three-axis acceleration sensor or a gyro sensor.

차량 신호 획득부는 차량 기기에 의한 신호를 획득하는 기능을 수행한다.The vehicle signal acquisition unit performs a function of acquiring a signal by a vehicle device.

차량 신호 획득부는 차량 기기에 의한 신호로 차량의 에어백 전개 여부에 대한 신호, 차량의 시동 상태에 대한 신호, 차량의 속도에 대한 신호, 차량의 변속 상태에 대한 신호, 차량용 배터리의 탈거 여부에 대한 신호, 및 차량의 전방이나 내부를 촬영하여 얻은 신호 중 적어도 하나의 신호를 획득할 수 있다.The vehicle signal acquisition unit is a signal from the vehicle device, a signal for whether the vehicle's airbag is deployed, a signal for the starting state of the vehicle, a signal for the speed of the vehicle, a signal for the shift state of the vehicle, and a signal for whether the vehicle battery is removed , and signals obtained by photographing the front or interior of the vehicle may be obtained.

차량 사고 판단부는 차량의 기울기와 차량 기기에 의한 신호를 기초로 차량의 사고 발생 여부를 판단하는 기능을 수행한다.The vehicle accident determination unit performs a function of determining whether an accident has occurred in the vehicle based on the inclination of the vehicle and a signal from the vehicle device.

차량 사고 판단부는 차량의 기울기가 기준 기울기 이상인 것으로 판단되면 차량 기기에 의한 신호를 기초로 차량의 사고 발생 여부를 판단할 수 있다.When it is determined that the inclination of the vehicle is equal to or greater than the reference inclination, the vehicle accident determination unit may determine whether an accident has occurred in the vehicle based on a signal from the vehicle device.

차량 사고 판단부는 차량의 에어백 전개 여부에 대한 신호로 차량의 에어백을 전개하라는 신호가 획득되면 차량에 사고가 발생한 것으로 판단할 수 있다.The vehicle accident determination unit may determine that an accident has occurred in the vehicle when a signal to deploy the vehicle's airbag is obtained as a signal for whether the vehicle's airbag is deployed.

차량 사고 판단부는 차량의 에어백 전개 여부에 대한 신호로 차량의 에어백을 전개하라는 신호가 획득되지 않더라도 차량의 시동 상태에 대한 신호로 차량의 시동이 켜져 있다는 신호가 획득되고 차량의 속도에 대한 신호로 차량의 속도가 0이라는 신호가 획득되고 차량의 변속 상태에 대한 신호로 차량의 변속기가 P(Parking) 모드 외의 다른 모드에 위치한다는 신호가 획득되면 차량에 사고가 발생한 것으로 판단할 수 있다.The vehicle accident determination unit obtains a signal that the vehicle's ignition is on as a signal for the starting state of the vehicle even if a signal to deploy the vehicle's airbag is not obtained as a signal for whether the vehicle's airbag is deployed When a signal that the speed of is 0 is obtained and a signal indicating that the transmission of the vehicle is located in a mode other than the P (Parking) mode is obtained as a signal for the shift state of the vehicle, it may be determined that an accident has occurred in the vehicle.

차량 사고 판단부는 차량의 시동 상태에 대한 신호로 차량의 시동이 꺼져 있다는 신호와 차량의 변속 상태에 대한 신호로 차량의 변속기가 P 모드에 위치한다는 신호가 동시에 획득되거나, 차량의 시동이 꺼져 있다는 신호가 차량의 변속기가 P 모드에 위치한다는 신호보다 먼저 획득되면 차량에 사고가 발생한 것으로 판단할 수 있다.The vehicle accident determination unit obtains a signal indicating that the vehicle's ignition is off as a signal for the starting state of the vehicle and a signal indicating that the vehicle's transmission is in P mode as a signal for the shifting state of the vehicle, or a signal indicating that the vehicle's ignition is off If is acquired before the signal that the transmission of the vehicle is located in the P mode, it may be determined that an accident has occurred in the vehicle.

차량 사고 판단부는 차량용 배터리의 탈거 여부에 대한 신호로 차량의 시동을 위해 차량용 배터리로부터 공급되는 전압이 LOW라는 신호가 획득되면 차량에 사고가 발생한 것으로 판단할 수 있다.The vehicle accident determination unit may determine that an accident has occurred in the vehicle when a signal indicating that the voltage supplied from the vehicle battery for starting the vehicle is LOW is obtained as a signal for whether the vehicle battery is removed.

차량 사고 판단부는 차량의 기울기를 기초로 차량 전복 등 차량의 사고 유형을 판단할 수 있다.The vehicle accident determination unit may determine an accident type of the vehicle, such as a vehicle overturn, based on the inclination of the vehicle.

유선 연결 판단부(540)는 사고 발생 판단부(530)에 의해 차량에 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는지 여부를 판단하는 기능을 수행한다.When it is determined by the accident occurrence determining unit 530 that an accident has occurred in the vehicle, the wired connection determination unit 540 determines whether the terminal to which the phone function is assigned is connected to the vehicle by wire.

유선 연결 판단부(540)는 차량에 USB 방식으로 연결되어 있는 단말들 중에 전화 기능이 부여된 단말이 있는지 여부를 판단하여 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는지 여부를 판단할 수 있다.Wired connection determination unit 540 may determine whether the terminal to which the phone function is granted is connected to the vehicle by wire by determining whether there is a terminal provided with a phone function among terminals connected to the vehicle by a USB method. have.

유선 연결 판단부(540)는 차량에 USB 방식으로 연결되어 있는 단말들 중에 전화 기능이 부여된 단말이 있는 것으로 판단되면 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는 것으로 판단한다. 반면 유선 연결 판단부(540)는 차량에 USB 방식으로 연결되어 있는 단말들 중에 전화 기능이 부여된 단말이 없는 것으로 판단되면 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있지 않은 것으로 판단한다.When it is determined that there is a terminal to which a phone function is assigned among terminals connected to the vehicle by the USB method, the wired connection determination unit 540 determines that the terminal to which the phone function is assigned is connected to the vehicle by wire. On the other hand, when it is determined that there is no terminal to which the phone function is assigned among terminals connected to the vehicle by the USB method, the wired connection determination unit 540 determines that the terminal to which the phone function is assigned is not connected to the vehicle by wire.

유선 연결 판단부(540)는 전화 기능이 부여된 단말에 대한 정보를 기초로 차량에 USB 방식으로 연결되어 있는 단말들 중에 전화 기능이 부여된 단말이 있는지 여부를 판단할 수 있다.The wired connection determination unit 540 may determine whether there is a terminal to which the phone function is granted among terminals connected to the vehicle through a USB method, based on information about the terminal to which the phone function is granted.

유선 연결 판단부(540)는 전화 기능이 부여된 단말에 대한 정보를 기초로 차량에서 통화 기능을 지원하는 프로토콜들 중에 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단할 수 있다.The wired connection determination unit 540 may determine whether there is a protocol usable in the terminal to which the phone function is granted, among protocols supporting the call function in the vehicle, based on information about the terminal to which the phone function is granted.

유선 연결 판단부(540)는 전화 기능이 부여된 단말에 대한 정보로 단말 벤더 ID, 단말 제조사 ID 등을 이용할 수 있다.The wired connection determination unit 540 may use a terminal vendor ID, a terminal manufacturer ID, and the like as information about a terminal to which a phone function is granted.

무선 연결 실행부(550)는 유선 연결 판단부(540)에 의해 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 전화 기능이 부여된 단말을 차량에 무선으로 연결시키는 기능을 수행한다.When it is determined by the wired connection determining unit 540 that the terminal to which the telephone function is assigned is not connected to the vehicle by wire, the wireless connection execution unit 550 performs a function of wirelessly connecting the terminal to which the telephone function is assigned to the vehicle. carry out

무선 연결 실행부(550)는 블루투스(Bluetooth)를 이용하여 전화 기능이 부여된 단말을 차량에 무선으로 연결시킬 수 있다.The wireless connection execution unit 550 may wirelessly connect the terminal to which the phone function is granted to the vehicle using Bluetooth.

무선 연결 실행부(550)는 전화 기능이 부여된 단말을 차량에 무선으로 연결시키기 전에 전화 기능이 부여된 단말이 핸즈프리(hands free) 기능을 지원하는지 여부를 판단할 수 있다.The wireless connection execution unit 550 may determine whether the terminal to which the telephone function is granted supports the hands-free function before wirelessly connecting the terminal to which the telephone function is granted to the vehicle.

전화 기능이 부여된 단말이 핸즈프리 기능을 지원하는 것으로 판단되면, 무선 연결 실행부(550)는 전화 기능이 부여된 단말을 차량에 무선으로 연결시킨다. 반면 전화 기능이 부여된 단말이 핸즈프리 기능을 지원하지 않는 것으로 판단되면, 무선 연결 실행부(550)는 전화 기능이 부여된 단말을 차량에 무선으로 연결시키지 않는다.When it is determined that the terminal to which the phone function is assigned supports the hands-free function, the wireless connection execution unit 550 wirelessly connects the terminal to which the phone function is assigned to the vehicle. On the other hand, if it is determined that the terminal to which the phone function is assigned does not support the hands-free function, the wireless connection execution unit 550 does not wirelessly connect the terminal to which the phone function is assigned to the vehicle.

무선 연결 실행부(550)는 전화 기능이 부여된 단말을 차량에 무선으로 연결시키기 전에 타 단말이 미리 정해진 무선 연결 방법을 이용하여 차량에 무선으로 연결되어 있는지 여부를 판단할 수 있다.The wireless connection execution unit 550 may determine whether another terminal is wirelessly connected to the vehicle using a predetermined wireless connection method before wirelessly connecting the terminal to which the phone function is assigned to the vehicle.

타 단말이 미리 정해진 무선 연결 방법(예컨대, 블루투스)을 이용하여 차량에 무선으로 연결되어 있지 않은 것으로 판단되면, 무선 연결 실행부(550)는 상기한 무선 연결 방법을 이용하여 전화 기능이 부여된 단말을 차량에 무선으로 연결시킨다. 반면 타 단말이 상기한 무선 연결 방법을 이용하여 차량에 무선으로 연결되어 있는 것으로 판단되면, 무선 연결 실행부(550)는 타 단말과 차량 간 무선 연결을 해지시킨 후 상기한 무선 연결 방법을 이용하여 전화 기능이 부여된 단말을 차량에 무선으로 연결시킨다.If it is determined that the other terminal is not wirelessly connected to the vehicle using a predetermined wireless connection method (eg, Bluetooth), the wireless connection execution unit 550 is a terminal to which a phone function is assigned using the above-described wireless connection method. connect wirelessly to the vehicle. On the other hand, if it is determined that the other terminal is wirelessly connected to the vehicle using the wireless connection method, the wireless connection execution unit 550 terminates the wireless connection between the other terminal and the vehicle and then uses the wireless connection method. A terminal with a phone function is wirelessly connected to the vehicle.

무선 연결 실행부(550)는 타 단말이 상기한 무선 연결 방법을 이용하여 차량에 무선으로 연결되어 있는 것으로 판단되면 타 단말과 차량 간 무선 연결을 해지시킨 뒤 상기한 무선 연결 방법을 이용하여 전화 기능이 부여된 단말을 차량에 무선으로 연결시킬 수 있다.When it is determined that the other terminal is wirelessly connected to the vehicle using the wireless connection method, the wireless connection execution unit 550 cancels the wireless connection between the other terminal and the vehicle, and then performs a telephone function using the wireless connection method. This granted terminal can be wirelessly connected to the vehicle.

본 실시예에서 유선 연결 판단부(540)와 무선 연결 실행부(550)의 상기한 기능들은 유선 연결이 무선 연결에 비해 안정적임을 고려한 것이다.In this embodiment, the above-described functions of the wired connection determining unit 540 and the wireless connection executing unit 550 consider that a wired connection is more stable than a wireless connection.

차량 사고 신고부(560)는 유선 연결 실행부(미도시) 또는 무선 연결 실행부(550)에 의해 전화 기능이 부여된 단말이 차량에 유선 또는 무선으로 연결되면 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 사고를 신고하는 기능을 수행한다.The vehicle accident report unit 560 uses the terminal to which the telephone function is granted when the terminal to which the telephone function is granted by the wired connection execution unit (not shown) or the wireless connection execution unit 550 is connected to the vehicle by wire or wirelessly. It performs the function of reporting an accident to PSAP (Public Safety Answering Point).

차량 사고 신고부(560)는 전화 기능이 부여된 단말과 PSAP 간 통화 연결에 실패하거나 미리 정해진 시간 이내에 전화 기능이 부여된 단말과 PSAP 간 통화 연결이 종료되면 전화 기능이 부여된 단말과 PSAP 간 통화 연결을 재시도할 수 있다.The vehicle accident reporting unit 560 is a call between the terminal to which the phone function is granted and the PSAP when the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated within a predetermined time. The connection may be retried.

차량 사고 신고부(560)는 전화 기능이 부여된 단말과 PSAP 간 통화 연결에 성공하면 전화 기능이 부여된 단말과 PSAP 간 통화 연결 시간을 측정할 수 있다.The vehicle accident reporting unit 560 may measure a call connection time between the terminal to which the phone function is granted and the PSAP when a call connection between the terminal to which the phone function is granted and the PSAP is successful.

차량 사고 신고부(560)는 전화 기능이 부여된 단말과 PSAP 간 통화 연결에 실패하거나 전화 기능이 부여된 단말과 PSAP 간 통화 연결이 종료되면 미리 저장된 전화번호들 중에서 우선순위에 따라 선택된 적어도 하나의 전화번호를 기초로 사고를 신고할 수 있다.The vehicle accident reporting unit 560 is at least one selected according to the priority from among the phone numbers stored in advance when the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated. You can report an accident based on your phone number.

한편 유선 연결 판단부(540)는 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는 것으로 판단되면 차량에서 통화 기능을 지원하는 프로토콜들 중에 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단할 수 있다.On the other hand, when it is determined that the terminal to which the phone function is assigned is connected to the vehicle by wire, the wired connection determination unit 540 determines whether there is a protocol available in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle. can judge

차량에서 통화 기능을 지원하는 프로토콜들 중에 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는 것으로 판단되면, 차량 사고 신고부(560)는 전화 기능이 부여된 단말을 이용하여 PSAP에 사고를 신고한다.If it is determined that there is a protocol usable in the terminal to which the telephone function is assigned among protocols supporting the call function in the vehicle, the vehicle accident reporting unit 560 reports an accident to the PSAP using the terminal to which the telephone function is assigned.

반면 차량에서 통화 기능을 지원하는 프로토콜들 중에 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 없는 것으로 판단되면, 유선 연결 판단부(540)는 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있지 않은 것으로 판단하고, 전화 기능이 부여된 단말이 차량에 무선으로 연결되어 있는지 여부를 판단한다. 무선 연결 실행부(550)는 차량에서 통화 기능을 지원하는 프로토콜들 중에 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 없는 것으로 판단되면 전화 기능이 부여된 단말을 차량에 무선으로 연결시킨다.On the other hand, if it is determined that there is no protocol available to the terminal to which the phone function is assigned among protocols supporting the call function in the vehicle, the wired connection determination unit 540 determines that the terminal to which the phone function is assigned is not connected to the vehicle by wire. it is determined, and it is determined whether the terminal to which the phone function is granted is wirelessly connected to the vehicle. If it is determined that there is no protocol available in the terminal to which the phone function is assigned among protocols supporting the call function in the vehicle, the wireless connection execution unit 550 wirelessly connects the terminal to which the phone function is assigned to the vehicle.

다음으로 차량 사고 신고 장치(500)의 작동 방법에 대하여 설명한다. 도 16은 본 발명의 바람직한 실시예에 따른 차량 사고 신고 방법을 개략적으로 도시한 흐름도이다.Next, an operation method of the vehicle accident reporting device 500 will be described. 16 is a flowchart schematically illustrating a vehicle accident reporting method according to a preferred embodiment of the present invention.

먼저 사고 발생 판단부(530)가 차량에 사고가 발생했는지 여부를 판단한다(S610).First, the accident occurrence determination unit 530 determines whether an accident has occurred in the vehicle (S610).

차량에 사고가 발생한 것으로 판단되면, 유선 연결 판단부(540)가 전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있는지 여부를 판단한다(S620).If it is determined that an accident has occurred in the vehicle, the wired connection determination unit 540 determines whether the terminal to which the phone function is assigned is connected to the vehicle by wire ( S620 ).

전화 기능이 부여된 단말이 차량에 유선으로 연결되어 있지 않은 것으로 판단되면, 무선 연결 실행부(550)가 전화 기능이 부여된 단말을 차량에 무선으로 연결시킨다(S630).If it is determined that the terminal to which the telephone function is assigned is not connected to the vehicle by wire, the wireless connection execution unit 550 wirelessly connects the terminal to which the telephone function is assigned to the vehicle (S630).

전화 기능이 부여된 단말이 차량에 유선 또는 무선으로 연결되면(S620, S630), 차량 사고 신고부(560)가 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 사고를 신고한다(S640).When the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly (S620, S630), the vehicle accident reporting unit 560 reports the accident to the Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned. (S640).

이상에서 설명한 본 발명의 실시예를 구성하는 모든 구성요소들이 하나로 결합하거나 결합하여 동작하는 것으로 기재되어 있다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 또한, 이와 같은 컴퓨터 프로그램은 USB 메모리, CD 디스크, 플래쉬 메모리 등과 같은 컴퓨터가 읽을 수 있는 기록매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 기록매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.Even if all the components constituting the embodiment of the present invention described above are described as being combined or operated in combination, the present invention is not necessarily limited to this embodiment. That is, within the scope of the object of the present invention, all the components may operate by selectively combining one or more. In addition, although all of the components may be implemented as one independent hardware, some or all of the components are selectively combined to perform some or all of the functions of one or a plurality of hardware programs It may be implemented as a computer program having In addition, such a computer program is stored in a computer readable media such as a USB memory, a CD disk, a flash memory, etc., read and executed by a computer, thereby implementing the embodiment of the present invention. The computer program recording medium may include a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like.

또한, 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 상세한 설명에서 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 갖는다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, all terms including technical or scientific terms have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs, unless otherwise defined in the detailed description. Terms commonly used, such as those defined in the dictionary, should be interpreted as being consistent with the contextual meaning of the related art, and are not interpreted in an ideal or excessively formal meaning unless explicitly defined in the present invention.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구 범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and various modifications, changes, and substitutions are possible within the range that does not depart from the essential characteristics of the present invention by those of ordinary skill in the art to which the present invention pertains. will be. Accordingly, the embodiments disclosed in the present invention and the accompanying drawings are for explaining, not limiting, the technical spirit of the present invention, and the scope of the technical spirit of the present invention is not limited by these embodiments and the accompanying drawings. . The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

Claims (14)

차량에 사고가 발생했는지 여부를 판단하는 사고 발생 판단부;
상기 차량에 상기 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 유선 연결 판단부;
상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 무선 연결 실행부; 및
상기 전화 기능이 부여된 단말이 상기 차량에 유선 또는 무선으로 연결되면 상기 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 상기 사고를 신고하는 차량 사고 신고부를 포함하되,
상기 무선 연결 실행부는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 타 단말이 미리 정해진 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
An accident occurrence determination unit for determining whether an accident has occurred in the vehicle;
a wired connection determination unit configured to determine whether a terminal to which a phone function is assigned is connected to the vehicle by wire when it is determined that the accident has occurred in the vehicle;
a wireless connection execution unit for wirelessly connecting the terminal to which the phone function is granted to the vehicle when it is determined that the terminal to which the phone function is assigned is not connected to the vehicle by wire; and
When the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly, including a vehicle accident reporting unit that reports the accident to a Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned,
The wireless connection execution unit determines whether another terminal is wirelessly connected to the vehicle using a predetermined wireless connection method before wirelessly connecting the terminal to which the phone function is assigned to the vehicle. A vehicle accident reporting device using
제 1 항에 있어서,
상기 유선 연결 판단부는 상기 차량에 USB 방식으로 연결되어 있는 단말들 중에 상기 전화 기능이 부여된 단말이 있는지 여부를 판단하여 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
The wired connection determining unit determines whether there is a terminal provided with the phone function among terminals connected to the vehicle in a USB manner to determine whether the terminal provided with the phone function is connected to the vehicle by wire Vehicle accident reporting device using a phone terminal, characterized in that.
제 2 항에 있어서,
상기 유선 연결 판단부는 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는 것으로 판단되면 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
3. The method of claim 2,
When it is determined that the terminal to which the phone function is assigned is connected to the vehicle by wire, the wired connection determination unit determines whether there is a protocol available in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle. Vehicle accident reporting device using a phone terminal, characterized in that the determination.
제 3 항에 있어서,
상기 무선 연결 실행부는 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 없는 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
4. The method of claim 3,
When it is determined that there is no protocol available in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle, the wireless connection execution unit wirelessly connects the terminal to which the phone function is granted to the vehicle A vehicle accident reporting device using a telephone terminal.
제 3 항에 있어서,
상기 유선 연결 판단부는 상기 전화 기능이 부여된 단말에 대한 정보를 기초로 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
4. The method of claim 3,
The wired connection determining unit determines whether there is a protocol usable in the terminal to which the phone function is granted, among protocols supporting the call function in the vehicle, based on the information on the terminal to which the phone function is granted A vehicle accident reporting device using a telephone terminal.
제 1 항에 있어서,
상기 무선 연결 실행부는 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키기 전에 상기 전화 기능이 부여된 단말이 핸즈프리(hands free) 기능을 지원하는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
The wireless connection execution unit using a phone terminal, characterized in that before wirelessly connecting the terminal to which the phone function is granted to the vehicle, it is determined whether the terminal to which the phone function is granted supports a hands-free function. Vehicle Accident Reporting Device.
삭제delete 제 1 항에 있어서,
상기 무선 연결 실행부는 상기 타 단말이 상기 무선 연결 방법을 이용하여 상기 차량에 무선으로 연결되어 있는 것으로 판단되면 상기 타 단말과 상기 차량 간 무선 연결을 해지시킨 뒤 상기 무선 연결 방법을 이용하여 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
When it is determined that the other terminal is wirelessly connected to the vehicle using the wireless connection method, the wireless connection execution unit terminates the wireless connection between the other terminal and the vehicle and then uses the wireless connection method to perform the phone function A vehicle accident reporting device using a telephone terminal, characterized in that wirelessly connecting the given terminal to the vehicle.
제 1 항에 있어서,
상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 미리 정해진 시간 이내에 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결을 재시도하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
When the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated within a predetermined time, the vehicle accident report unit and the terminal to which the phone function is granted and the PSAP A vehicle accident reporting device using a phone terminal, characterized in that retrying a call connection between PSAPs.
차량에 사고가 발생했는지 여부를 판단하는 사고 발생 판단부;
상기 차량에 상기 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 유선 연결 판단부;
상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 무선 연결 실행부; 및
상기 전화 기능이 부여된 단말이 상기 차량에 유선 또는 무선으로 연결되면 상기 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 상기 사고를 신고하는 차량 사고 신고부를 포함하되,
상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 성공하면 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결 시간을 측정하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
An accident occurrence determination unit for determining whether an accident has occurred in the vehicle;
a wired connection determination unit configured to determine whether a terminal to which a phone function is assigned is connected to the vehicle by wire when it is determined that the accident has occurred in the vehicle;
a wireless connection execution unit for wirelessly connecting the terminal to which the phone function is granted to the vehicle when it is determined that the terminal to which the phone function is assigned is not connected to the vehicle by wire; and
When the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly, including a vehicle accident reporting unit that reports the accident to a Public Safety Answering Point (PSAP) using the terminal to which the phone function is assigned,
The vehicle accident reporting unit is a vehicle accident reporting device using a phone terminal, characterized in that when the call connection between the terminal to which the phone function is granted and the PSAP is successful, measures the call connection time between the terminal to which the phone function is granted and the PSAP .
제 1 항에 있어서,
상기 차량 사고 신고부는 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결에 실패하거나 상기 전화 기능이 부여된 단말과 상기 PSAP 간 통화 연결이 종료되면 미리 저장된 전화번호들 중에서 우선순위에 따라 선택된 적어도 하나의 전화번호를 기초로 상기 사고를 신고하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
When the call connection between the terminal to which the phone function is granted and the PSAP fails or the call connection between the terminal to which the phone function is granted and the PSAP is terminated, the vehicle accident reporting unit at least one selected according to priority from among the phone numbers stored in advance Vehicle accident reporting device using a phone terminal, characterized in that for reporting the accident based on the phone number of.
제 1 항에 있어서,
상기 사고 발생 판단부는 상기 차량의 운전자에 의해 미리 정해진 신호가 입력되었는지 여부, 상기 차량에서 에어백의 전개를 명령하는 신호가 입력되었는지 여부, 상기 차량의 하중 변화량이 기준 변화량 이상인지 여부, 및 상기 차량의 기울기가 기준 기울기 이상인지 여부 중 적어도 하나를 기초로 상기 차량에 상기 사고가 발생했는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 장치.
The method of claim 1,
The accident occurrence determining unit determines whether a predetermined signal is input by the driver of the vehicle, whether a signal for commanding deployment of the airbag in the vehicle is input, whether the load change amount of the vehicle is greater than or equal to a reference change amount, and Vehicle accident reporting apparatus using a phone terminal, characterized in that it is determined whether the accident has occurred in the vehicle based on at least one of whether the inclination is equal to or greater than a reference inclination.
차량에 사고가 발생했는지 여부를 판단하는 단계;
상기 차량에 상기 사고가 발생한 것으로 판단되면 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하는 단계;
상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있지 않은 것으로 판단되면 상기 전화 기능이 부여된 단말을 상기 차량에 무선으로 연결시키는 단계; 및
상기 전화 기능이 부여된 단말이 상기 차량에 유선 또는 무선으로 연결되면 상기 전화 기능이 부여된 단말을 이용하여 PSAP(Public Safety Answering Point)에 상기 사고를 신고하는 단계를 포함하되,
상기 연결되어 있는지 여부를 판단하는 단계는 상기 차량에 USB 방식으로 연결되어 있는 단말들 중에 상기 전화 기능이 부여된 단말이 있는지 여부를 판단하여 상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는지 여부를 판단하고,
상기 전화 기능이 부여된 단말이 상기 차량에 유선으로 연결되어 있는 것으로 판단되면 상기 차량에서 통화 기능을 지원하는 프로토콜들 중에 상기 전화 기능이 부여된 단말에서 이용 가능한 프로토콜이 있는지 여부를 판단하는 것을 특징으로 하는 전화 단말을 이용한 차량 사고 신고 방법.
determining whether an accident has occurred in the vehicle;
determining whether a terminal to which a phone function is assigned is connected to the vehicle by wire when it is determined that the accident has occurred in the vehicle;
when it is determined that the terminal to which the phone function is assigned is not connected to the vehicle by wire, wirelessly connecting the terminal to which the phone function is assigned to the vehicle; and
Comprising the step of reporting the accident to PSAP (Public Safety Answering Point) using the terminal to which the phone function is granted when the terminal to which the phone function is assigned is connected to the vehicle by wire or wirelessly,
The step of determining whether the connection is made by determining whether there is a terminal provided with the phone function among terminals connected to the vehicle by a USB method is connected to the vehicle by wire to determine whether or not
When it is determined that the terminal to which the phone function is granted is connected to the vehicle by wire, it is determined whether there is a protocol usable in the terminal to which the phone function is granted among protocols supporting the call function in the vehicle. How to report a car accident using a telephone terminal.
삭제delete
KR1020140116183A 2014-09-02 2014-09-02 Apparatus and method for notifying accident of vehicle using telephone KR102316652B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140116183A KR102316652B1 (en) 2014-09-02 2014-09-02 Apparatus and method for notifying accident of vehicle using telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140116183A KR102316652B1 (en) 2014-09-02 2014-09-02 Apparatus and method for notifying accident of vehicle using telephone

Publications (2)

Publication Number Publication Date
KR20160027727A KR20160027727A (en) 2016-03-10
KR102316652B1 true KR102316652B1 (en) 2021-10-25

Family

ID=55539042

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140116183A KR102316652B1 (en) 2014-09-02 2014-09-02 Apparatus and method for notifying accident of vehicle using telephone

Country Status (1)

Country Link
KR (1) KR102316652B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204793B (en) * 2016-03-18 2021-02-23 阿尔派株式会社 Electronic apparatus and connection control method for electronic apparatus
KR102456628B1 (en) * 2017-09-15 2022-10-18 현대자동차주식회사 Portable Terminal and An Accident Notification Method Using Portable Terminal
KR102592834B1 (en) * 2018-12-19 2023-10-23 현대자동차주식회사 A connected center and method for controlling thereof
CN109712379B (en) * 2018-12-19 2021-01-12 睿驰达新能源汽车科技(北京)有限公司 Riding safety alarm method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100764112B1 (en) * 2003-11-13 2007-10-08 에이치케이이카 주식회사 Telematics terminal and Telematics service server
KR100920031B1 (en) * 2007-08-07 2009-10-05 최운 Emergency rescue system and its method for using user's personal information
KR20100097914A (en) * 2009-02-27 2010-09-06 (주)미라콤테크놀로지 Apparatus and method for rescuing vehicle with voice channel
KR101311112B1 (en) * 2011-08-22 2013-09-25 삼성에스디에스 주식회사 Apparatus and Method for Deciding Accident of Vehicles

Also Published As

Publication number Publication date
KR20160027727A (en) 2016-03-10

Similar Documents

Publication Publication Date Title
US9973911B2 (en) Method of operating AVN, AVN, and vehicle including the same
US9049584B2 (en) Method and system for transmitting data using automated voice when data transmission fails during an emergency call
CN105302430B (en) Method and apparatus for registering new bluetooth device
KR100801397B1 (en) System for diagnosing status of vehicle using telematics and thereof method
KR102316652B1 (en) Apparatus and method for notifying accident of vehicle using telephone
KR101601534B1 (en) Emergency call sending system and method
US8977324B2 (en) Automatic emergency call language provisioning
JP5988900B2 (en) In-vehicle electronic device, in-vehicle system, hands-free calling program, and hands-free calling method
CN105100192A (en) Method and system for launching an application
CN105101115A (en) Method and system for launching application
US8831817B2 (en) Methods and apparatus for lost connection handling
US9866665B2 (en) Method for operating a communication system, and communication system
CN105246060A (en) Establishing a voice connection between the driver of a single-track vehicle and an emergency call center
US10841765B2 (en) Method and apparatus for vehicle to mobile phone communication
KR20140059933A (en) Method for notifying rescue information using bluetooth
JP3070850B1 (en) Emergency call system terminal device and emergency call system
JP6398268B2 (en) Emergency call system and service center
JP6305100B2 (en) Emergency call system
JP4596190B2 (en) In-vehicle hands-free device
JP6062293B2 (en) Hands-free communication device and computer program
KR101682896B1 (en) Contacting method in a case of automobile accident using obd terminal
KR101655823B1 (en) Method and apparatus for controlling usage of mobile device in vehicle
JP4499805B2 (en) Electronic devices to be incorporated into automobiles to help rediscover electronic devices after theft
JP7217336B2 (en) Wireless communication device, vehicle, and control method
JP2008046709A (en) Emergency call onboard machine

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant