KR20230068005A - Electronic device and method for controlling vehicle based on driver authentication - Google Patents

Electronic device and method for controlling vehicle based on driver authentication Download PDF

Info

Publication number
KR20230068005A
KR20230068005A KR1020210153855A KR20210153855A KR20230068005A KR 20230068005 A KR20230068005 A KR 20230068005A KR 1020210153855 A KR1020210153855 A KR 1020210153855A KR 20210153855 A KR20210153855 A KR 20210153855A KR 20230068005 A KR20230068005 A KR 20230068005A
Authority
KR
South Korea
Prior art keywords
vehicle
electronic device
identification information
digital key
information
Prior art date
Application number
KR1020210153855A
Other languages
Korean (ko)
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 KR1020210153855A priority Critical patent/KR20230068005A/en
Priority to PCT/KR2022/014032 priority patent/WO2023085588A1/en
Priority to US17/960,013 priority patent/US20230147516A1/en
Publication of KR20230068005A publication Critical patent/KR20230068005A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/10Fittings or systems for preventing or indicating unauthorised use or theft of vehicles actuating a signalling device
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/84Vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Mechanical Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

Various embodiments of the present invention provide a method and a device. The device comprises: a communication module; a memory; and a processor operatively connected to at least one of the communication module and the memory. The processor is configured to: transmit, when connected to a vehicle, mobile identity information stored in the memory to the vehicle through the communication module; receive, when authentication of the mobile identity information by the vehicle is completed, vehicle information from the vehicle; generate a digital key of the vehicle on the basis of the vehicle information or the mobile identity information; transmit the generated digital key to the vehicle; receive a digital key signed by the vehicle and driver identification information from the vehicle; and store the signed digital key and the driver identification information in the memory. Various embodiments are possible. Therefore, the present invention can enhance personal identification.

Description

운전자 인증에 기반한 차량 제어 방법 및 전자 장치{ELECTRONIC DEVICE AND METHOD FOR CONTROLLING VEHICLE BASED ON DRIVER AUTHENTICATION}Vehicle control method and electronic device based on driver authentication

본 발명의 다양한 실시예들은 운전자 인증에 기반한 차량 제어 방법 및 전자 장치에 관하여 개시한다.Various embodiments of the present disclosure disclose a vehicle control method and electronic device based on driver authentication.

디지털 기술의 발달과 함께 이동통신 단말기, PDA(personal digital assistant), 전자수첩, 스마트 폰, 태블릿 PC(personal computer), 웨어러블 디바이스(wearable device)와 같은 다양한 유형의 전자 장치가 널리 사용되고 있다. 이러한, 전자 장치는 기능 지지 및 증대를 위해, 전자 장치의 하드웨어적인 부분 및/또는 소프트웨어적인 부분이 지속적으로 개발되고 있다.With the development of digital technology, various types of electronic devices such as mobile communication terminals, personal digital assistants (PDAs), electronic notebooks, smart phones, tablet PCs (personal computers), and wearable devices have been widely used. In order to support and increase functions of these electronic devices, hardware parts and/or software parts of electronic devices are continuously being developed.

한편, 오프라인의 실물 신분증(identify document)(예: 플라스틱 신분증)을 대체할 수 있는 모바일 신분증(mobile identify document)을 전자 장치를 통해 이용할 수 있는 관련 기술(예: 블록체인 기술), 시스템 및/또는 표준(예: ISO 18013-5)이 논의되고 있다. 신분증은 주민등록증(identification card), 운전 면허증(driver’s license), 및/또는 여권(passport)과 같이 국가 기관에서 관리하고 사용자를 인증(예: 신분 증명)할 수 있는 증명서를 나타낼 수 있다.On the other hand, related technologies (eg blockchain technology), systems and/or devices that can use mobile identification documents that can replace offline physical identification documents (eg plastic identification cards) through electronic devices. Standards (eg ISO 18013-5) are being discussed. An identity card may refer to a document managed by a state authority and capable of authenticating a user (eg, proof of identity), such as an identification card, a driver's license, and/or a passport.

예를 들면, 신분 정보를 증명하기 위한 신분증은 플라스틱 카드 형태로 존재하며 항상 휴대가 필요할 수 있다. 최근 전자 장치를 이용한 결제 서비스와 같이 다양한 실물 카드를 모바일에서 대체하면서 사용자의 신원을 증명할 수 있는 신분증도 전자 장치에 담아서 사용할 수 있도록 요구 사항이 늘어나고 있다. 일 실시예에 따르면, 사용자는 사용자의 운전면허증을 전자 장치에 저장하여, 현재의 플라스틱 운전면허증을 휴대하지 않더라도, 필요한 경우 전자 장치를 이용하여 모바일 운전면허증을 보여줄 수 있다. For example, an identification card to prove identification information exists in the form of a plastic card and may need to be carried at all times. Recently, as various real cards are replaced in mobile devices, such as payment services using electronic devices, there is an increasing demand for identification cards that can prove the user's identity to be stored and used in electronic devices. According to an embodiment, the user can store the user's driver's license in an electronic device and show the mobile driver's license using the electronic device when necessary, even if the user does not carry the current plastic driver's license.

차량은 이동 수단으로서의 성능 향상뿐만 아니라, 운전자의 안전 운행과 관련한 다양한 기능을 향상시키는 것으로 발전하고 있다. 일례로, 차량 운전자 보조 시스템(advanced driver assistance system; ADAS) 또는 자율 주행 차량(autonomous vehicle)에 대한 개발이 활발하게 이루어 지고 있다. 예를 들어, 차량은 무선 통신 모듈을 통해 외부로부터 다양한 정보를 획득하고, 획득된 정보를 처리하여 운전자의 안전 운행을 지원하고, 자율 주행이 가능하도록 정보를 제공할 수 있다.Vehicles are evolving not only to improve performance as a means of transportation, but also to improve various functions related to driver's safe driving. For example, development of an advanced driver assistance system (ADAS) or an autonomous vehicle is being actively conducted. For example, a vehicle may obtain various information from the outside through a wireless communication module, process the obtained information, support safe driving of a driver, and provide information to enable autonomous driving.

다양한 실시예들에서는, 차량의 실물 키를 대신하여 전자 장치에 저장되는 디지털 키에 운전자 식별 정보를 매칭시켜, 차량 제어 시 운전자 식별 정보를 인증하고, 인증된 운전자에 한하여 차량 제어(예: 문 열림, 시동, 자율 주행)를 허용하도록 하는 방법 및 장치에 관하여 개시할 수 있다.In various embodiments, driver identification information is authenticated when controlling a vehicle by matching driver identification information to a digital key stored in an electronic device instead of a physical key of the vehicle, and vehicle control (eg, door opening) is performed only by the authenticated driver. , start-up, autonomous driving) can be disclosed with respect to a method and device for allowing.

본 발명의 다양한 실시예들에 따른 전자 장치는 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 전자 장치가 차량과 연결되면, 상기 통신 모듈을 통해 상기 메모리에 저장된 모바일 신분증 정보를 차량으로 전송하고, 상기 차량으로부터 차량 정보를 수신하고, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하고, 상기 생성된 디지털 키를 상기 차량으로 전송하고, 상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하고, 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a communication module, a memory, and a processor operatively connected to at least one of the communication module and the memory, wherein the processor determines when the electronic device is connected to a vehicle. Transmits the mobile ID information stored in the memory to the vehicle through the communication module, receives vehicle information from the vehicle, generates a digital key of the vehicle based on the vehicle information or the mobile ID information, and generates the transmits the signed digital key to the vehicle, receives the digital key signed by the vehicle and driver identification information from the vehicle, and stores the signed digital key and driver identification information in the memory.

본 발명의 다양한 실시예들에 따른 차량에 포함되는 전자 장치는 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 전자 장치가 제1 외부 장치와 연결되면, 상기 통신 모듈을 통해 상기 제1 외부 장치로부터 제1 모바일 신분증 정보를 수신하고, 상기 제1 모바일 신분증 정보를 인증하여 상기 메모리에 저장된 상기 차량의 차량 정보를 상기 제1 외부 장치로 전송하고, 상기 제1 외부 장치로부터 제1 디지털 키를 수신하여 상기 제1 디지털 키를 인증하고, 상기 제1 디지털 키의 인증에 기반하여 상기 제1 디지털 키를 서명하고, 상기 제1 모바일 신분증 정보에 대응하는 제1 운전자 식별 정보를 생성하고, 상기 서명된 제1 디지털 키 및 상기 제1 운전자 식별 정보를 상기 제1 외부 장치로 전송하도록 설정될 수 있다.An electronic device included in a vehicle according to various embodiments of the present disclosure includes a communication module, a memory, and a processor operatively connected to at least one of the communication module and the memory, the processor comprising: the electronic device When connected to a first external device, first mobile identification information is received from the first external device through the communication module, and vehicle information of the vehicle stored in the memory is converted into the first external device by authenticating the first mobile identification information. transmits to an external device, receives a first digital key from the first external device, authenticates the first digital key, signs the first digital key based on authentication of the first digital key, and First driver identification information corresponding to mobile identification information may be generated, and the signed first digital key and the first driver identification information may be transmitted to the first external device.

본 발명의 다양한 실시예들에 따른 전자 장치의 동작 방법은 상기 전자 장치가 통신 모듈을 통하여 차량과 연결되면, 상기 전자 장치의 메모리에 저장된 모바일 신분증 정보를 상기 차량으로 전송하는 동작, 상기 차량으로부터 차량 정보를 수신하는 동작, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하는 동작, 상기 생성된 디지털 키를 상기 차량으로 전송하는 동작, 상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하는 동작, 및 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하는 동작을 포함할 수 있다.An operating method of an electronic device according to various embodiments of the present disclosure includes, when the electronic device is connected to a vehicle through a communication module, transmitting mobile ID information stored in a memory of the electronic device to the vehicle, and from the vehicle to the vehicle. An operation of receiving information, an operation of generating a digital key of the vehicle based on the vehicle information or the mobile identification information, an operation of transmitting the generated digital key to the vehicle, a digital key signed by the vehicle and the driver An operation of receiving identification information from the vehicle, and an operation of storing the signed digital key and the driver identification information in the memory.

다양한 실시예들에 따르면, 자율 주행 자동차의 제어에 필요한 운전자 인증, 보안성, 안전성을 강화하여 생체 인증 기반의 디지털 키에 사용자의 신분 정보를 결합함으로써 개인 식별을 강화할 수 있고, 이를 활용한 기능 및 다양한 응용 서비스를 제공할 수 있다.According to various embodiments, personal identification can be strengthened by combining user's identity information with a biometric authentication-based digital key by strengthening driver authentication, security, and safety necessary for controlling an autonomous vehicle, and functions and A variety of application services can be provided.

다양한 실시예들에 따르면, 소유 기반으로 차량의 디지털 키를 인증하는 것 대비 운전자의 운전 면허 정보의 유효성까지 확인되었을 때 차량의 제어를 허용함으로써, 사용자 인증 및 안전성을 강화할 수 있다.According to various embodiments, user authentication and safety may be enhanced by permitting control of the vehicle when the validity of the driver's driver's license information is confirmed, as opposed to authenticating the digital key of the vehicle based on ownership.

다양한 실시예들에 따르면, 자율 주행 중 사고 발생 시 차량에 저장된 데이터 로그(data log)를 전자 장치로 자동으로 전달 가능하고, 전자 장치의 설정 또는 사용자의 확인에 기반하여 사용자와 연계된 보험 계정으로 디지털 키로 서명된 데이터 로그를 전달 가능하도록 하여, 사고 원인 분석 및 사고 처리의 기술적 근거 자료로 유용하게 활용할 수 있다.According to various embodiments, when an accident occurs during autonomous driving, a data log stored in a vehicle can be automatically transferred to an electronic device, and based on settings of the electronic device or user confirmation, an insurance account linked to the user. Data log signed with a digital key can be delivered, so it can be usefully used as a technical basis for accident cause analysis and accident handling.

다양한 실시예들에 따르면, 근거리 무선 통신(예: UWB, BLE)을 활용한 디지털 키의 원격 제어를 통해 전자 장치의 현재 위치에서 차량까지 안내가 가능하고, 사용자의 계정과 연계하여 요금(주차 요금, 통행 요금 등)을 자동으로 정산할 수 있다.According to various embodiments, guidance from the current location of an electronic device to a vehicle is possible through remote control of a digital key using short-range wireless communication (eg, UWB, BLE), and a fee (parking fee) is linked to a user's account. , tolls, etc.) can be automatically settled.

다양한 실시예들에 따르면, 네비게이션 어플리케이션을 통해 출발지와 목적지를 설정하고, 타 사용자(예: 친구, 대리 기사)의 전자 장치에 차량의 디지털 키를 발급함으로써, 타 사용자의 디지털 키 및 운전자 정보가 확인된 경우에 한하여 선택적으로 자율 주행을 허용하도록 할 수 있다.According to various embodiments, by setting a departure point and a destination through a navigation application and issuing a digital key of a vehicle to an electronic device of another user (eg, a friend or a substitute driver), the digital key of another user and driver information are confirmed. Autonomous driving can be selectively allowed only in the case of

다양한 실시예들에 따르면, 공유 자동차 또는 렌터카 서비스의 어플리케이션을 통해 사용자의 운전 면허증 유효성을 확인하고, 운전 면허증이 유효한 경우 사용자의 모전자 장치에 사용자의 운전 면허증과 디지털 키를 발급할 수 있다.According to various embodiments, the validity of a user's driver's license may be checked through an application of a shared car or car rental service, and if the driver's license is valid, the user's driver's license and digital key may be issued to the user's mother electronic device.

다양한 실시예들에 따르면, 운전자의 운전 면허증과 디지털 키가 모두 일치하는 경우, 공유 자동차 또는 렌터카를 제어(예: 문 열림, 시동, 원격 제어, 자율 주행)할 수 있도록 허용할 수 있다.According to various embodiments, when the driver's driver's license and digital key all match, the sharing car or rental car may be controlled (eg, door opening, starting, remote control, autonomous driving).

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a 및 도 2b는 다양한 실시예들에 따른 전자 장치에 저장되는 차량의 디지털 키 구조를 도시한 도면들이다.
도 3a 내지 도 3c은 다양한 실시예들에 따른 전자 장치에서 차량의 디지털 키를 저장하는 일례를 도시한 도면들이다.
도 4는 다양한 실시예들에 따른 모바일 신분증 서비스 시스템을 도시한 도면이다.
도 5는 다양한 실시예들에 따른 차량의 시스템을 도시한 블록도이다.
도 6은 다양한 실시예들에 따른 전자 장치와 차량이 연동하여 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도이다.
도 7은 다양한 실시예들에 따른 전자 장치에서 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도이다.
도 8은 다양한 실시예들에 따른 차량에서 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도이다.
도 9는 다양한 실시예들에 따라 모바일 신분증과 연동된 디지털 키를 인증하여 차량을 제어하는 방법을 도시한 흐름도이다.
도 10은 다양한 실시예들에 따른 전자 장치에서 디지털 키를 이용하여 차량을 제어하는 방법을 도시한 흐름도이다.
도 11은 다양한 실시예들에 따른 차량에서 디지털 키를 인증하여 차량의 제어를 허용하는 방법을 도시한 흐름도이다.
도 12는 다양한 실시예들에 따라 디지털 키를 공유하는 방법을 도시한 흐름도이다.
도 13은 다양한 실시예들에 따른 제1 전자 장치에서 디지털 키를 공유하는 방법을 도시한 흐름도이다.
도 14는 다양한 실시예들에 따른 제2 전자 장치에서 디지털 키를 공유하는 방법을 도시한 다른 흐름도이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2A and 2B are diagrams illustrating a structure of a digital key of a vehicle stored in an electronic device according to various embodiments.
3A to 3C are diagrams illustrating an example of storing a digital key of a vehicle in an electronic device according to various embodiments.
4 is a diagram illustrating a mobile identification service system according to various embodiments.
5 is a block diagram illustrating a system of a vehicle according to various embodiments.
6 is a flowchart illustrating a method of issuing a digital key linked to a mobile identification card by linking an electronic device and a vehicle according to various embodiments.
7 is a flowchart illustrating a method of issuing a digital key linked to a mobile identification card in an electronic device according to various embodiments.
8 is a flowchart illustrating a method of issuing a digital key linked to a mobile identification card in a vehicle according to various embodiments.
9 is a flowchart illustrating a method of controlling a vehicle by authenticating a digital key associated with a mobile identification card according to various embodiments.
10 is a flowchart illustrating a method of controlling a vehicle using a digital key in an electronic device according to various embodiments.
11 is a flowchart illustrating a method of permitting vehicle control by authenticating a digital key in a vehicle according to various embodiments.
12 is a flow diagram illustrating a method of sharing a digital key according to various embodiments.
13 is a flowchart illustrating a method of sharing a digital key in a first electronic device according to various embodiments.
14 is another flowchart illustrating a method of sharing a digital key in a second electronic device according to various embodiments.

도 1은 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, a legacy communication module). It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited. A (eg, first) component is said to be "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

도 2a는 다양한 실시예들에 따른 전자 장치에서 차량의 디지털 키를 발급 및 공유하는 네트워크 환경을 도시한 것이다.2A illustrates a network environment in which a digital key of a vehicle is issued and shared in an electronic device according to various embodiments.

도 2a를 참조하면, 디지털 키 시스템은 차량(201), 차량 서버(230)(예: 도 1의 서버(108)), 제1 전자 장치(예: 도 1의 전자 장치(101), 이하, '제1 전자 장치(101)라 함), 제1 전자 장치 서버(250), 제2 전자 장치(203)(예: 도 1의 전자 장치(102)), 제2 전자 장치 서버(210) 중 적어도 하나를 포함할 수 있다. 제1 전자 장치(101)는 차량(201)의 차량 키를 소유한 소유주(이하, '사용자' 또는 '제1 사용자'라 함)의 전자 장치를 의미할 수 있다. 제2 전자 장치(203)는 제1 전자 장치(101)와 차량(201)의 차량 키를 공유하는 타 사용자(이하, '제2 사용자'라 함)의 전자 장치를 의미할 수 있다. Referring to FIG. 2A, the digital key system includes a vehicle 201, a vehicle server 230 (eg, the server 108 of FIG. 1), a first electronic device (eg, the electronic device 101 of FIG. 1, hereinafter, Among the first electronic device 101), the first electronic device server 250, the second electronic device 203 (eg, the electronic device 102 of FIG. 1), and the second electronic device server 210 may contain at least one. The first electronic device 101 may refer to an electronic device of an owner who owns a vehicle key of the vehicle 201 (hereinafter referred to as 'user' or 'first user'). The second electronic device 203 may refer to an electronic device of another user (hereinafter referred to as a 'second user') that shares a vehicle key of the vehicle 201 with the first electronic device 101 .

차량 서버(230)는 디지털 키 발급에 필요한 인증서를 차량(201)에 발급할 수 있다. 차량 서버(230)는 제1 전자 장치 서버(250) 또는 제2 전자 장치 서버(210)와 연결될 수 있다. 차량 서버(230)는 제1 전자 장치(101)가 제2 전자 장치(203)에게 차량 키를 공유할 때, 제1 전자 장치 서버(250)와 제2 전자 장치 서버(210) 간의 통신을 중계할 수 있다. 차량 서버(230)는 키 공유 정보(예: 제2 전자 장치(203)에게 발급된 제2 디지털 키에 대한 정보)를 차량(201)에 제공하고, 차량(201) 제어에 관한 정보를 데이터베이스로 관리할 수 있다.The vehicle server 230 may issue a certificate required for digital key issuance to the vehicle 201 . The vehicle server 230 may be connected to the first electronic device server 250 or the second electronic device server 210 . The vehicle server 230 relays communication between the first electronic device server 250 and the second electronic device server 210 when the first electronic device 101 shares the vehicle key with the second electronic device 203. can do. The vehicle server 230 provides key sharing information (eg, information on the second digital key issued to the second electronic device 203) to the vehicle 201, and provides information about vehicle 201 control to a database. can manage

제1 전자 장치 서버(250)는 디지털 키 발급에 필요한 인증서를 제1 전자 장치(101)에 발급할 수 있다. 제1 전자 장치 서버(250)는 차량 서버(230)와 연결될 수 있다. 제1 전자 장치 서버(250)는 제1 전자 장치(101)가 제2 전자 장치(203)에게 차량 키를 공유할 때, 차량 서버(230)와 연동하여 원격으로 키 공유 동작을 수행할 수 있다.The first electronic device server 250 may issue a certificate necessary for issuing a digital key to the first electronic device 101 . The first electronic device server 250 may be connected to the vehicle server 230 . When the first electronic device 101 shares a vehicle key with the second electronic device 203, the first electronic device server 250 may remotely perform a key sharing operation in conjunction with the vehicle server 230. .

제2 전자 장치 서버(210)는 디지털 키 발급에 필요한 인증서를 제2 전자 장치(203)에 발급할 수 있다. 제2 전자 장치 서버(210)는 차량 서버(230)와 연결될 수 있다. 제2 전자 장치 서버(210)는 제1 전자 장치(101)가 제2 전자 장치(203)에게 차량 키를 공유할 때, 차량 서버(230)와 연동하여 원격으로 키 공유 동작을 수행할 수 있다.The second electronic device server 210 may issue a certificate required for digital key issuance to the second electronic device 203 . The second electronic device server 210 may be connected to the vehicle server 230 . When the first electronic device 101 shares a vehicle key with the second electronic device 203, the second electronic device server 210 may remotely perform a key sharing operation in conjunction with the vehicle server 230. .

이하에서는, 디지털 키 발급 동작을 설명한다.Hereinafter, a digital key issuing operation will be described.

차량(201)의 소유주는 차량(201)의 차량 키(예: 실물 차량 키)를 소유하고, 차량(201)에 탑승하여 디지털 키 발급을 요청할 수 있다. 차량(201)은 통신 모듈(예: 도 5의 통신 모듈(530)) 또는 센서 모듈(예: 도 5의 센서 모듈(590))을 이용하여 차량(201)에 대응하는 실물 차량 키(예: 스마트 키)를 인식할 수 있다. 차량(201)은 상기 실물 차량 키가 인식되고, 디스플레이(예: 도 5의 디스플레이(510))를 통해 표시된 메뉴, 설정된 버튼, 또는 설정된 음성 인식 중 적어도 하나를 통해 디지털 키 발급 요청을 수신할 수 있다. 상기 디지털 키 발급을 위한 프로세스는 오너 페어링으로 CCC(Car Connectivity Consortium)에 정의된 스팩을 따를 수 있다. 이하, 차량(201)과 제1 전자 장치(101) 간에 정보 교환(예: 전송 또는 수신)은 암호화된 프로토콜에 의해 수행될 수 있다.The owner of the vehicle 201 owns a vehicle key (eg, a real vehicle key) of the vehicle 201 and can request issuance of a digital key by boarding the vehicle 201 . The vehicle 201 uses a communication module (eg, the communication module 530 of FIG. 5 ) or a sensor module (eg, the sensor module 590 of FIG. 5 ) to use a real vehicle key corresponding to the vehicle 201 (eg, the sensor module 590 of FIG. 5 ). smart key). The vehicle 201 may recognize the actual vehicle key and receive a digital key issuance request through at least one of a menu displayed through a display (eg, the display 510 of FIG. 5 ), a set button, or a set voice recognition. there is. The process for issuing the digital key may follow the specifications defined in Car Connectivity Consortium (CCC) as owner pairing. Hereinafter, information exchange (eg, transmission or reception) between the vehicle 201 and the first electronic device 101 may be performed by an encrypted protocol.

발명의 이해를 돕기 위해 설명하면, 차량(201)은 상기 디지털 키 발급을 요청에 응답하여 제1 전자 장치(101)와 암호화된 통신을 연결하여, 제1 전자 장치(101)로 모바일 신분증을 요청할 수 있다. 상기 모바일 신분증은 제1 전자 장치(101)의 제1 사용자와 연관된 것이므로, 제1 모바일 신분증이라 할 수 있다. 차량(201)은 상기 요청에 의해 제1 전자 장치(101)로부터 상기 제1 모바일 신분증을 수신(또는 획득)할 수 있다. For better understanding of the present invention, the vehicle 201 connects encrypted communication with the first electronic device 101 in response to the request for issuance of the digital key, and requests a mobile ID to the first electronic device 101. can Since the mobile ID is related to the first user of the first electronic device 101, it may be referred to as a first mobile ID. The vehicle 201 may receive (or obtain) the first mobile identification card from the first electronic device 101 according to the request.

다양한 실시예들에 따른 상기 제1 모바일 신분증(또는 상기 모바일 신분증 정보)은 모바일 신분증 서명 정보(예: issuer signed item) 및 MSO(mobile security object) 정보를 포함할 수 있다. 상기 모바일 신분증 서명 정보는 digest ID, 랜덤 값, 모바일 신분증의 정보 식별자(element identifier) 또는 모바일 신분증의 정보 값(element value) 중 적어도 하나를 포함할 수 있다. 상기 digest ID는 발급 기관(예: 도 4의 서버(401))으로부터 모바일 신분증을 인증하기 위한 식별자를 의미할 수 있다. 상기 랜덤 값은 상기 모바일 신분증의 정보 식별자를 암호화 하기 위한 값일 수 있다. 상기 모바일 신분증의 정보 식별자는 상기 제1 사용자에 대응하는 이름, 생년월일, 발급일자, 유효기간(또는 만료일자), 발급기관, 신분증 식별 번호(예: 주민 등록 번호, 운전자 번호 등), 또는 사진(예: 얼굴 사진) 중 적어도 하나를 포함할 수 있다. 상기 모바일 신분증의 정보 값은 상기 모바일 신분증의 식별자에 대한 값을 포함할 수 있다. The first mobile ID (or the mobile ID information) according to various embodiments may include mobile ID signature information (eg, issuer signed item) and mobile security object (MSO) information. The mobile ID signature information may include at least one of a digest ID, a random value, an element identifier of a mobile ID, and an element value of a mobile ID. The digest ID may mean an identifier for authenticating a mobile ID from an issuing authority (eg, the server 401 of FIG. 4 ). The random value may be a value for encrypting the information identifier of the mobile ID. The information identifier of the mobile ID is a name, date of birth, issuance date, expiration date (or expiration date), issuing agency, ID identification number (eg, resident registration number, driver's license number, etc.) corresponding to the first user, or a photo ( Example: face picture). The information value of the mobile ID may include a value for an identifier of the mobile ID.

상기 MSO 정보는 상기 모바일 신분증 서명 정보에 포함된 값을 각각 해시한 값을 포함할 수 있다. 상기 MSO 정보는 발급 기관(예: 도 4의 서버(401))의 개인 키(private key)로 서명되어 발급될 수 있다. 상기 MSO 정보는 MSO 버전, 해시 알고리즘 버전, digest 값, 장치 정보, doctype, 또는 유효성 정보 중 적어도 하나를 포함할 수 있다. 상기 해시 알고리즘 버전은 상기 모바일 신분증 서명 정보를 해시한 버전일 수 있다. 상기 해시 알고리즘 버전은 SHA256, SHA384, SHA512 알고리즘 중 하나일 수 있다. 상기 장치 정보는 상기 모바일 신분증 서명 정보를 저장한 전자 장치에 대한 정보일 수 있다. 상기 digest 값은 상기 모바일 신분증 서명 정보를 해시한 값일 수 있다. 상기 digest 값은 digest ID, 랜덤 값, 모바일 신분증의 정보 식별자 또는 모바일 신분증의 정보 값을 각각 상기 해시 알고리즘 버전으로 해시한 값일 수 있다. The MSO information may include hash values of values included in the mobile ID signature information. The MSO information may be issued after being signed with a private key of an issuing authority (eg, the server 401 of FIG. 4 ). The MSO information may include at least one of an MSO version, a hash algorithm version, a digest value, device information, a doctype, and validity information. The hash algorithm version may be a hashed version of the mobile ID signature information. The hash algorithm version may be one of SHA256, SHA384, and SHA512 algorithms. The device information may be information about an electronic device that stores the mobile ID signature information. The digest value may be a hash value of the mobile ID signature information. The digest value may be a value obtained by hashing a digest ID, a random value, an information identifier of a mobile ID, or an information value of a mobile ID using the hash algorithm version.

차량(201)은 상기 획득한 제1 모바일 신분증 정보(mobile driver’s license, mDL)를 인증하고, 인증이 완료되면, 차량 정보를 제1 전자 장치(101)로 전송할 수 있다. 모바일 신분증의 인증은 ISO에서 정의한 표준 스팩(예: ISO 18013-5)에 따라 수행될 수 있다. 모바일 신분증의 인증은 장치 기반 모드(예: device data retrieval mode) 또는 서버 기반 모드(예: server data retrieval mode)로 수행될 수 있지만, 제1 전자 장치(101)에서 디지털 키 발급 시, 모바일 신분증을 이용하기 위해 장치 기반 모드로 수행될 수 있다. 모바일 신분증의 인증은 이하 도 4를 통해 상세히 설명하기로 한다. The vehicle 201 may authenticate the obtained first mobile driver's license (mDL) information, and transmit the vehicle information to the first electronic device 101 when the authentication is completed. Authentication of the mobile ID may be performed according to standard specifications defined by ISO (eg, ISO 18013-5). Authentication of the mobile ID may be performed in a device-based mode (eg, device data retrieval mode) or a server-based mode (eg, server data retrieval mode), but when the digital key is issued in the first electronic device 101, the mobile identification It can be performed in a device-based mode for use. Authentication of the mobile ID will be described in detail with reference to FIG. 4 below.

다양한 실시예들에 따르면, 차량(201)은 제1 전자 장치(101)의 장치 정보를 더 수신할 수도 있다. 제1 전자 장치(101)의 장치 정보는 제1 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 중 적어도 하나를 포함할 수 있다. 차량(201)은 상기 모바일 신분증의 인증과 더불어, 제1 전자 장치(101)의 장치 정보를 인증하고, 모바일 신분증 및 장치 정보의 인증이 완료되면, 차량 정보를 제1 전자 장치(101)로 전송할 수 있다.According to various embodiments, the vehicle 201 may further receive device information of the first electronic device 101 . The device information of the first electronic device 101 may include at least one of a phone number, a serial number, a model name, or a type of the first electronic device 101 . The vehicle 201 authenticates the device information of the first electronic device 101 along with the authentication of the mobile ID card, and transmits the vehicle information to the first electronic device 101 when the authentication of the mobile ID card and the device information is completed. can

실물 차량 키를 대신할 디지털 키에는 차량 정보가 포함되어야 하므로, 차량(201)은 상기 차량 정보를 전송할 수 있다. 상기 차량 정보는 차량 이름, 차량 종류, 차량 시리얼 번호(또는 차량 식별 번호), 차량 출고 일자(또는 생산 일자), 또는 차량 생산 국가 중 적어도 하나를 포함할 수 있다. 차량(201)은 상기 차량 정보 전송 시, 상기 차량 정보에 상기 제1 모바일 신분증 정보를 포함시켜 전송할 수 있다. 상기 제1 모바일 신분증 정보는 상기 제1 모바일 신분증에 포함된 정보와 동일하거나, 상기 제1 모바일 신분증에 포함된 일부 정보만 포함할 수 있다. 예를 들어, 상기 제1 모바일 신분증 정보는 상기 제1 모바일 신분증에 포함된 제1 신분증 식별 번호(또는 상기 제1 사용자에 대응하는 이름)의 digest ID, 또는 digest가 포함될 수 있다. 상기 차량 정보 또는 상기 제1 모바일 신분증 정보에 포함되는 데이터(또는 항목)는 발명의 이해를 돕기 위해 나열한 것으로, 기재한 것보다 적거나, 많을 수 있다. 예를 들어, 차량(201)은 상기 차량 정보의 구성 정보(예: endpoint configuration data)에 상기 제1 모바일 신분증 정보를 포함시켜 제1 전자 장치(101)에 전송할 수 있다.Since the digital key to replace the real vehicle key should include vehicle information, the vehicle 201 may transmit the vehicle information. The vehicle information may include at least one of a vehicle name, vehicle type, vehicle serial number (or vehicle identification number), vehicle release date (or production date), or vehicle production country. When transmitting the vehicle information, the vehicle 201 may include and transmit the first mobile ID information in the vehicle information. The first mobile identification information may be the same as information included in the first mobile identification card or may include only part of information included in the first mobile identification card. For example, the first mobile ID information may include a digest ID or digest of a first ID identification number (or a name corresponding to the first user) included in the first mobile ID. The data (or items) included in the vehicle information or the first mobile identification information are listed to help understanding of the invention, and may be less or more than described. For example, the vehicle 201 may include the first mobile ID information in configuration information (eg, endpoint configuration data) of the vehicle information and transmit the information to the first electronic device 101 .

제1 전자 장치(101)는 차량(201)으로부터 상기 제1 모바일 신분증 정보를 포함하는 차량 정보를 수신할 수 있다. 제1 전자 장치(101)는 상기 수신된 차량 정보에 포함된 제1 모바일 신분증 정보가 메모리(예: 도 1의 메모리(130))에 저장된 제1 모바일 신분증 정보(예: 차량(201)으로 전송한 모바일 신분증 정보)에 대응되는지 판단하고, 일치하는 경우, 디지털 키(예: 암호화 키 쌍)를 생성할 수 있다. 상기 디지털 키는 제1 전자 장치(101)에 발급되는 것이므로, 이하에서는 '제1 디지털 키'라 할 수 있다. 예를 들어, 제1 전자 장치(101)는 상기 차량 정보에 포함된 제1 모바일 신분증 정보의 신분증 식별 번호의 digest ID 또는 digest가 메모리(130)에 저장된 MSO 정보와 일치하는 여부를 확인할 수 있다. 상기 MSO 정보는 모바일 신분증 정보(예: 모바일 신분증 서명 정보)를 해시한 값이므로, 제1 전자 장치(101)는 신분증 식별 번호의 digest ID 또는 digest를 해시하여 MSO의 digest 값과 일치하는지 여부를 판단할 수 있다.The first electronic device 101 may receive vehicle information including the first mobile ID information from the vehicle 201 . The first electronic device 101 transmits the first mobile ID information included in the received vehicle information to the first mobile ID information (eg, the vehicle 201) stored in a memory (eg, the memory 130 of FIG. 1 ). It is determined whether it corresponds to one mobile ID information), and if they match, a digital key (eg, an encryption key pair) can be generated. Since the digital key is issued to the first electronic device 101, it may be referred to as a 'first digital key' hereinafter. For example, the first electronic device 101 may check whether the digest ID or digest of the ID identification number of the first mobile ID information included in the vehicle information matches MSO information stored in the memory 130 . Since the MSO information is a hashed value of mobile ID information (eg, mobile ID signature information), the first electronic device 101 hashes the digest ID or digest of the ID identification number to determine whether it matches the digest value of the MSO. can do.

제1 전자 장치(101)는 상기 차량 정보에 포함된 제1 모바일 신분증 정보의 인증이 성공되면, 상기 차량 정보 또는 제1 모바일 신분증 정보에 기반하여 상기 제1 디지털 키를 생성할 수 있다. 제1 전자 장치(101)는 제1 전자 장치 서버(250)로부터 발급받은 인증서를 이용하여 상기 제1 디지털 키를 생성할 수 있다. 상기 제1 디지털 키에는 상기 차량 정보 또는 상기 제1 모바일 신분증 정보가 포함될 수 있다. If authentication of the first mobile ID information included in the vehicle information is successful, the first electronic device 101 may generate the first digital key based on the vehicle information or the first mobile ID information. The first electronic device 101 may generate the first digital key using a certificate issued by the first electronic device server 250 . The first digital key may include the vehicle information or the first mobile ID information.

다양한 실시예들에 따르면, 제1 전자 장치(101)는 제1 전자 장치(101)의 장치 정보(예: 제1 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 등)을 더 이용하여 상기 제1 디지털 키를 생성할 수도 있다. 이 경우, 상기 제1 디지털 키에는 상기 차량 정보 또는 상기 제1 모바일 신분증 정보뿐만 아니라, 제1 전자 장치(101)의 장치 정보가 더 포함될 수 있다. 상기 제1 디지털 키는 다른 장치로의 이동이 불가하므로, 사용자가 전자 장치를 교체(예: 새로운 전자 장치)한 경우, 디지털 키를 새로 발급받을 수 있다. 제1 전자 장치(101)는 상기 차량 정보에 포함된 제1 모바일 신분증 정보가 메모리(130)에 저장된 제1 모바일 신분증 정보와 일치하지 않는 경우, 디지털 키를 생성하지 않거나, 상기 차량 정보를 다시 요청하거나, 발급 기관으로부터 모바일 신분증 정보를 다시 다운로드할 수 있다. 제1 전자 장치(101)는 생성된 디지털 키를 차량(201)으로 전송할 수 있다.According to various embodiments, the first electronic device 101 further provides device information (eg, phone number, serial number, model name or type of the first electronic device 101, etc.) of the first electronic device 101. The first digital key may also be generated by using. In this case, the first digital key may further include device information of the first electronic device 101 as well as the vehicle information or the first mobile ID information. Since the first digital key cannot be moved to another device, when a user replaces an electronic device (eg, a new electronic device), a new digital key can be issued. When the first mobile ID information included in the vehicle information does not match the first mobile ID information stored in the memory 130, the first electronic device 101 does not generate a digital key or requests the vehicle information again. Alternatively, the mobile ID information can be downloaded again from the issuing authority. The first electronic device 101 may transmit the generated digital key to the vehicle 201 .

차량(201)은 상기 제1 디지털 키를 수신하고, 상기 제1 디지털 키에 포함된 제1 모바일 신분증 정보가 상기 차량 정보에 포함된 제1 모바일 신분증 정보에 대응되는지 판단하고, 일치하는 경우, 상기 제1 디지털 키를 차량(201)의 개인 키로 서명할 수 있다. 차량(201)은 차량(201)의 메모리에 상기 차량의 개인 키(private key) 및 공용 키(public key)를 포함하는 차량 키를 저장할 수 있다. 또한, 차량(201)은 상기 제1 모바일 신분증 정보를 차량(201)의 개인 키로 서명하여 운전자 식별 정보를 생성할 수 있다. 상기 운전자 식별 정보는 제1 전자 장치(101)에 대응되는 것이므로, 이하에서는 '제1 운전자 식별 정보'라 할 수 있다. 상기 생성된 제1 운전자 식별 정보는 상기 제1 모바일 신분증 정보를 포함하거나, 상기 제1 모바일 신분증 정보에 대응될 수 있다. 차량(201)은 상기 서명된 제1 디지털 키에 상기 제1 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(예: 도 5의 메모리(570))에 저장할 수 있다. The vehicle 201 receives the first digital key, determines whether the first mobile identification information included in the first digital key corresponds to the first mobile identification information included in the vehicle information, and if they match, the The first digital key can be signed with the private key of the vehicle 201 . The vehicle 201 may store a vehicle key including a private key and a public key of the vehicle in a memory of the vehicle 201 . In addition, the vehicle 201 may generate driver identification information by signing the first mobile identification information with a private key of the vehicle 201 . Since the driver identification information corresponds to the first electronic device 101, it may be referred to as 'first driver identification information' hereinafter. The generated first driver identification information may include the first mobile ID information or may correspond to the first mobile ID information. The vehicle 201 may bind (or match) the first driver identification information to the signed first digital key and store it in a memory (eg, the memory 570 of FIG. 5 ).

차량(201)은 제1 전자 장치(101)로부터 차량(201)의 제어(예: 문 열림, 시동 걸기, 자율 주행)가 요청(또는 시도)되면, 상기 제1 디지털 키 또는 상기 제1 운전자 식별 정보를 인증하여 제1 전자 장치(101)에 의한 차량(201) 제어를 허용하거나, 불허할 수 있다. 차량(201)은 차량(201)의 개인 키로 서명한 상기 제1 디지털 키 또는 상기 생성된 제1 운전자 식별 정보를 제1 전자 장치(101)로 전송할 수 있다.When control of the vehicle 201 (eg, door opening, ignition, autonomous driving) is requested (or attempted) from the first electronic device 101, the vehicle 201 identifies the first digital key or the first driver. Control of the vehicle 201 by the first electronic device 101 may be permitted or disallowed by authenticating the information. The vehicle 201 may transmit the first digital key signed with the private key of the vehicle 201 or the generated first driver identification information to the first electronic device 101 .

제1 전자 장치(101)는 차량(201)으로부터 차량(201)의 개인 키로 서명한 상기 제1 디지털 키 또는 상기 제1 운전자 식별 정보를 수신할 수 있다. 제1 전자 장치(101)는 상기 서명된 제1 디지털 키에 상기 제1 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 예를 들어, 제1 전자 장치(101)는 디지털 키 애플릿의 개인 메일박스(private mailbox)에 상기 서명된 제1 디지털 키 또는 상기 제1 운전자 식별 정보를 저장할 수 있다. 차량(201)으로부터 수신된 제1 디지털 키는 차량(201)의 개인 키로 서명한 것이므로, 차량(201)으로 전송한 제1 디지털 키와는 다른 것일 수 있다. The first electronic device 101 may receive the first digital key signed with the private key of the vehicle 201 or the first driver identification information from the vehicle 201 . The first electronic device 101 may bind (or match) the first driver identification information to the signed first digital key and store it in a memory (eg, the memory 130 of FIG. 1 ). For example, the first electronic device 101 may store the signed first digital key or the first driver identification information in a private mailbox of a digital key applet. Since the first digital key received from the vehicle 201 is signed with the private key of the vehicle 201, it may be different from the first digital key transmitted to the vehicle 201.

이하에서는, 디지털 키 공유 동작을 설명한다.In the following, the digital key sharing operation is explained.

제1 전자 장치(101)는 제2 전자 장치(203)로부터 디지털 키 공유가 요청되면, 제2 전자 장치(203)의 모바일 신분증 정보를 인증할 수 있다. 디지털 키 공유 시, 제1 전자 장치(101)는 렌터카 업체의 전자 장치(또는 시스템) 또는 사용자의 전자 장치이고, 제2 전자 장치(203)는 렌터카 업체 또는 사용자로부터 자동차를 렌트하는 제2 사용자(예: 소비자, 가족, 지인 등)의 전자 장치일 수 있다. 제2 전자 장치(203)의 모바일 신분증 정보는 제2 전자 장치(203)에 대응되는 것이므로, 이하에서는 '제2 모바일 신분증 정보'라 할 수 있다. 제1 전자 장치(101)는 제2 전자 장치(203)로부터 제2 모바일 신분증 정보를 수신할 수 있다. When digital key sharing is requested from the second electronic device 203 , the first electronic device 101 can authenticate the mobile ID information of the second electronic device 203 . When sharing the digital key, the first electronic device 101 is the electronic device (or system) of the car rental company or the user's electronic device, and the second electronic device 203 is the car rental company or the second user who rents a car from the user ( e.g. consumers, family members, acquaintances, etc.). Since the mobile ID information of the second electronic device 203 corresponds to the second electronic device 203, it may be referred to as 'second mobile ID information' hereinafter. The first electronic device 101 may receive second mobile ID information from the second electronic device 203 .

제1 전자 장치(101)는 상기 제2 모바일 신분증 정보를 인증하고, 상기 제2 모바일 신분증 정보의 인증이 완료되면, 제2 전자 장치(203)로 차량(201)의 차량 정보를 전송할 수 있다. 상기 제2 모바일 신분증 정보의 인증은 상기 제1 모바일 신분증 정보의 인증과 동일하므로, 자세한 설명을 생략할 수 있다. 제1 전자 장치(101)의 메모리(130)에 저장된 제1 디지털 키는 차량(201)의 차량 정보에 기반하여 생성된 것이므로, 제1 전자 장치(101)는 상기 제1 디지털 키로부터 차량(201)의 차량 정보를 식별(또는 획득)할 수 있다. 제1 전자 장치(101)는 제2 전자 장치(203)로부터 디지털 키 공유가 요청되면, 차량(201)을 대신하여 차량(201)의 차량 정보를 전송할 수 있다. 또는, 제1 전자 장치(101)의 요청에 의해 차량 서버(230)에서 상기 차량 정보를 제2 전자 장치(203)로 전송할 수 있다. 다양한 실시예들에 따르면, 제1 전자 장치(101)는 상기 차량 정보에 상기 제2 모바일 신분증 정보를 포함시키거나, 포함시키지 않고 전송할 수 있다.The first electronic device 101 authenticates the second mobile ID information, and when the authentication of the second mobile ID information is completed, it can transmit vehicle information of the vehicle 201 to the second electronic device 203 . Authentication of the second mobile ID information is the same as authentication of the first mobile ID information, so detailed descriptions can be omitted. Since the first digital key stored in the memory 130 of the first electronic device 101 is generated based on the vehicle information of the vehicle 201, the first electronic device 101 uses the first digital key to obtain the vehicle 201 ) can identify (or obtain) vehicle information. When digital key sharing is requested from the second electronic device 203, the first electronic device 101 may transmit vehicle information of the vehicle 201 instead of the vehicle 201. Alternatively, the vehicle server 230 may transmit the vehicle information to the second electronic device 203 at the request of the first electronic device 101 . According to various embodiments, the first electronic device 101 may transmit the vehicle information with or without including the second mobile ID information.

제2 전자 장치(203)는 상기 차량 정보를 수신하고, 상기 차량 정보에 기반하여 디지털 키를 생성할 수 있다. 상기 디지털 키는 제2 전자 장치(203)에 대응되는 것이므로, 이하에서는 '제2 디지털 키'라 할 수 있다. 제2 전자 장치(203)는 제2 전자 장치 서버(210)로부터 발급된 인증서에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 다양한 실시예들에 따르면, 제2 전자 장치(203)는 상기 차량 정보 및 상기 제2 모바일 신분증 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 상기 제2 디지털 키에는 상기 차량 정보 및 상기 제2 모바일 신분증 정보가 포함될 수 있다. The second electronic device 203 may receive the vehicle information and generate a digital key based on the vehicle information. Since the digital key corresponds to the second electronic device 203, it may be referred to as a 'second digital key' hereinafter. The second electronic device 203 may generate the second digital key based on a certificate issued by the second electronic device server 210 . According to various embodiments, the second electronic device 203 may generate the second digital key based on the vehicle information and the second mobile ID information. The second digital key may include the vehicle information and the second mobile ID information.

다양한 실시예들에 따르면, 제2 전자 장치(203)는 상기 차량 정보에 포함된 제2 모바일 신분증 정보가 메모리에 저장된 제2 모바일 신분증 정보에 대응되는지 여부를 판단하고, 일치하는 경우, 상기 차량 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 제2 전자 장치(203)는 상기 생성된 제2 디지털 키를 제1 전자 장치(101)로 전송할 수 있다. According to various embodiments, the second electronic device 203 determines whether the second mobile ID information included in the vehicle information corresponds to the second mobile ID information stored in the memory, and if they match, the vehicle information It is possible to generate the second digital key based on. The second electronic device 203 may transmit the generated second digital key to the first electronic device 101 .

다양한 실시예들에 따르면, 제2 전자 장치(203)는 제2 전자 장치(203)의 장치 정보(예: 제2 전자 장치(203)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 등)을 더 이용하여 상기 제2 디지털 키를 생성할 수도 있다. 이 경우, 상기 제2 디지털 키에는 상기 차량 정보 또는 상기 제2 모바일 신분증 정보뿐만 아니라, 제2 전자 장치(203)의 장치 정보가 더 포함될 수 있다. According to various embodiments, the second electronic device 203 further provides device information (eg, phone number, serial number, model name or type of the second electronic device 203, etc.) of the second electronic device 203. The second digital key may also be generated by using. In this case, the second digital key may further include device information of the second electronic device 203 as well as the vehicle information or the second mobile ID information.

제1 전자 장치(101)는 제2 전자 장치(203)로부터 상기 제2 디지털 키를 수신하고, 상기 수신된 제2 디지털 키에 상기 제1 디지털 키를 서명한 제2 운전자 식별 정보를 생성할 수 있다. 상기 제1 디지털 키는 제1 전자 장치(101)의 디지털 키일 수 있다. 상기 제2 운전자 식별 정보는 제2 전자 장치(203)의 제2 모바일 신분증 정보가 포함될 수 있다. 제1 전자 장치(101)는 상기 서명된 제2 디지털 키에 상기 제2 운전자 식별 정보(예: Authorized Endpoint Attestation data field의 arbitrary_data에 운전자 식별 번호에 해당하는 Digest ID와 Digest)를 바인딩시켜 메모리에 저장할 수 있다. 제1 전자 장치(101)는 상기 제2 디지털 키를 메모리에 저장된 제1 디지털 키로 서명할 수 있다. 제1 전자 장치(101)는 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 제2 전자 장치(203)로 전송할 수 있다. The first electronic device 101 may receive the second digital key from the second electronic device 203 and generate second driver identification information signed by the first digital key with the received second digital key. there is. The first digital key may be a digital key of the first electronic device 101 . The second driver identification information may include second mobile ID information of the second electronic device 203 . The first electronic device 101 binds the second driver identification information (eg, Digest ID and Digest corresponding to the driver identification number to arbitrary_data of Authorized Endpoint Attestation data field) to the signed second digital key and stores it in a memory. can The first electronic device 101 can sign the second digital key with the first digital key stored in the memory. The first electronic device 101 may transmit the signed second digital key or the second driver identification information to the second electronic device 203 .

다양한 실시예들에 따르면, 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보는 차량 서버(230)를 통해 차량(201)에 전달될 수 있다. 차량(201)은 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 저장할 수 있다. 차량(201)은 제2 전자 장치(203)로부터 차량(201)의 제어(예: 문 열림, 시동 걸기, 자율 주행)가 요청(또는 시도)되면, 상기 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 인증하여 제2 전자 장치(203)에 의한 차량(201) 제어를 허용하거나, 불허할 수 있다.According to various embodiments, the signed second digital key or the second driver identification information may be transmitted to the vehicle 201 through the vehicle server 230 . The vehicle 201 may store the signed second digital key or the second driver identification information. When control of the vehicle 201 (eg, door opening, ignition, autonomous driving) is requested (or attempted) from the second electronic device 203, the vehicle 201 identifies the second digital key or the second driver. Control of the vehicle 201 by the second electronic device 203 may be permitted or disallowed by authenticating the information.

제1 전자 장치(101)는 상기 제2 디지털 키에 포함된 차량 정보를 확인할 수 있다. 상기 제2 디지털 키에는 상기 차량 정보가 포함되어 있으므로, 상기 차량 정보가 제1 전자 장치(101)에서 전송한 차량 정보가 맞는지 확인할 수 있다. 상기 제2 디지털 키에 포함된 차량 정보가 제1 전자 장치(101)에서 전송한 차량 정보에 대응되는 경우, 제1 전자 장치(101)는 상기 수신된 제2 디지털 키에 상기 제1 디지털 키를 서명해줄 수 있다. 제1 전자 장치(101)는 서명된 제2 디지털 키 또는 제2 운전자 식별 정보를 제2 전자 장치(203)로 전송할 수 있다.The first electronic device 101 can check vehicle information included in the second digital key. Since the vehicle information is included in the second digital key, it may be determined whether the vehicle information corresponds to the vehicle information transmitted from the first electronic device 101 . When vehicle information included in the second digital key corresponds to vehicle information transmitted from the first electronic device 101, the first electronic device 101 assigns the first digital key to the received second digital key. you can sign The first electronic device 101 may transmit the signed second digital key or the second driver identification information to the second electronic device 203 .

제2 전자 장치(203)는 제1 전자 장치(101)로부터 상기 서명된 제2 디지털 키 또는 제2 운전자 식별 정보를 수신하고, 메모리에 저장할 수 있다. 제2 전자 장치(203)는 디지털 키 애플릿의 개인 메일박스에 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 저장할 수 있다. 제1 전자 장치(101)으로부터 수신된 제2 디지털 키는 제1 전자 장치(101)의 제1 디지털 키로 서명한 것이므로, 제1 전자 장치(101)로 전송한 제2 디지털 키와는 다른 것일 수 있다. The second electronic device 203 may receive the signed second digital key or second driver identification information from the first electronic device 101 and store it in a memory. The second electronic device 203 may store the signed second digital key or the second driver identification information in a personal mailbox of the digital key applet. Since the second digital key received from the first electronic device 101 is signed with the first digital key of the first electronic device 101, it may be different from the second digital key transmitted to the first electronic device 101. there is.

도 2b는 다양한 실시예들에 따른 차량의 디지털 키의 인증서 체인 구조를 도시한 것이다.2B illustrates a certificate chain structure of a digital key of a vehicle according to various embodiments.

도 2b를 참조하면, 제1 전자 장치 서버(250)(또는 제2 전자 장치 서버(210))는 전자 장치 CA(255)(certificate authority)를 포함 및 운영할 수 있다. 차량 서버(230)는 차량 CA(235)를 포함 및 운영할 수 있다. CA는 제1 전자 장치(101)(또는 제2 전자 장치(203)) 또는 차량(201)이 접속한 서버를 보장하는 역할을 할 수 있다. 전자 장치 CA(255) 및 차량 CA(235)는 전자 장치의 제조사와 차량 업체 간 인증서 체인을 검증하기 위해, 각각의 CA를 cross cert 서명해 줄 수 있다. Referring to FIG. 2B , the first electronic device server 250 (or the second electronic device server 210) may include and operate an electronic device CA 255 (certificate authority). The vehicle server 230 may include and operate the vehicle CA 235 . The CA may play a role of guaranteeing a server to which the first electronic device 101 (or the second electronic device 203) or the vehicle 201 has access. The electronic device CA 255 and the vehicle CA 235 may cross-certify each CA to verify a certificate chain between the electronic device manufacturer and the vehicle manufacturer.

전자 장치 CA(255)는 제1 전자 장치(101)(또는 제2 전자 장치(203))로 차량별 인스턴스 CA(instance CA)를 발급할 수 있다. 제1 전자 장치(101)는 차량(201)과 오너 페어링을 통해 디지털 키를 발급할 수 있다. 오너 페어링 시, 전자 장치와 차량은 전자 장치의 인스턴스 CA와 차량의 CA를 교환할 수 있다. 오너 페어링은 CCC에 정의된 스팩을 따를 수 있다. 예를 들어, 전자 장치 CA(255)는 제1 자동차 회사에 대응하여 제1 인스턴스 CA(instance CA 1, 261)를 발급하고, 제2 자동차 회사에 대응하여 제2 인스턴스 CA(instance CA 2, 262)를 발급하며, 제3 자동차 회사에 대응하여 제3 인스턴스 CA(instance CA 3, 263)를 발급할 수 있다. The electronic device CA 255 may issue an instance CA for each vehicle to the first electronic device 101 (or the second electronic device 203). The first electronic device 101 may issue a digital key through owner pairing with the vehicle 201 . Upon owner pairing, the electronic device and the vehicle may exchange instance CAs of the electronic device and CAs of the vehicle. Owner pairing may follow the specifications defined in CCC. For example, the electronic device CA 255 issues a first instance CA (instance CA 1, 261) corresponding to a first automobile company, and issues a second instance CA (instance CA 2, 262) corresponding to a second automobile company. ), and may issue a third instance CA (instance CA 3, 263) in response to the third automobile company.

예를 들어, 제1 전자 장치(101)의 사용자가 제1 자동차 회사의 차량을 소유한 경우, 제1 전자 장치(101)는 제1 인스턴스 CA(261)를 발급받고, 제1 인스턴스 CA(261)에 기반하여 제1 디지털 키(digital key 1, 271) 또는 제2 디지털 키(digital key 2, 272)를 생성할 수 있다. 또는, 제1 전자 장치(101)의 사용자가 제2 자동차 회사의 차량을 소유한 경우, 제1 전자 장치(101)는 제2 인스턴스 CA(262)를 발급받고, 제2 인스턴스 CA(262)에 기반하여 제3 디지털 키(digital key 3, 273)를 생성할 수 있다. 제1 전자 장치(101)의 사용자가 제3 자동차 회사의 차량을 소유한 경우, 제1 전자 장치(101)는 제3 인스턴스 CA(263)를 발급받고, 제3 인스턴스 CA(263)에 기반하여 제4 디지털 키(digital key 4, 274)를 생성할 수 있다. For example, when the user of the first electronic device 101 owns a vehicle of a first automobile company, the first electronic device 101 receives a first instance CA 261 issued, and the first instance CA 261 ), a first digital key (digital key 1, 271) or a second digital key (digital key 2, 272) may be generated. Alternatively, when the user of the first electronic device 101 owns a vehicle of a second automobile company, the first electronic device 101 obtains the second instance CA 262 and uses the second instance CA 262 Based on this, a third digital key (digital key 3, 273) can be generated. When the user of the first electronic device 101 owns a vehicle of a third automobile company, the first electronic device 101 obtains the third instance CA 263, and based on the third instance CA 263, A fourth digital key (digital key 4, 274) can be generated.

차량 CA(235)는 차량 제조사의 정책에 따라 국가 별로 CA(예: intermediate CA)를 발급해줄 수 있고, 각 차량에 차량 키용 인증서를 발급해줄 수 있다. 예를 들어, 차량 CA(235)는 intermediate CA 1(281) 및 intermediate CA 2(282)를 발급하고, intermediate CA 1(281)에 기반하여 차량 키(283)가 발급되도록 할 수 있다. 차량 키(283)는 차량(201)의 개인 키와 공용 키가 키쌍으로 존재할 수 있다.The vehicle CA 235 may issue a CA (eg, an intermediate CA) for each country according to a vehicle manufacturer's policy, and may issue a certificate for a vehicle key to each vehicle. For example, vehicle CA 235 may issue intermediate CA 1 281 and intermediate CA 2 282 , and may cause vehicle key 283 to be issued based on intermediate CA 1 281 . The vehicle key 283 may include a private key and a public key of the vehicle 201 as a key pair.

디지털 키(예: 제1 디지털 키(271) 내지 제4 디지털 키(274))에 대한 검증은 CA 인증서 체인을 통해 검증될 수 있다. 디지털 키 검증은 CCC에 정의된 스팩을 따를 수 있다.Verification of digital keys (eg, the first digital key 271 to the fourth digital key 274) may be verified through a CA certificate chain. Digital key verification may follow the specifications defined in CCC.

도 3a는 다양한 실시예들에 따른 전자 장치에서 차량의 디지털 키를 저장하는 아키텍쳐(architecture)를 도시한 도면이다.3A is a diagram illustrating an architecture for storing a digital key of a vehicle in an electronic device according to various embodiments.

도 3a를 참조하면, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))는 차량 어플리케이션(310), 디지털 키 제어 어플리케이션(315), 디지털 키 프레임 워크(320), 디지털 키 애플릿(325), 또는 커넥티비티(330) 중 적어도 하나를 포함할 수 있다. Referring to FIG. 3A , an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments includes a vehicle application 310, a digital key control application 315, a digital key framework 320, a digital It may include at least one of a key applet 325 and a connectivity 330 .

차량 어플리케이션(310) 또는 디지털 키 제어 어플리케이션(315)은 전자 장치(101)의 사용자가 디지털 키를 제어하기 위해 사용하는 어플리케이션일 수 있다. The vehicle application 310 or the digital key control application 315 may be an application used by the user of the electronic device 101 to control the digital key.

디지털 키 프레임워크(320)는 전자 장치(101)에서 디지털 키 애플릿(325)을 제어하기 위한 것으로, 차량 어플리케이션(310) 또는 디지털 키 제어 어플리케이션(315)과 디지털 키 애플릿(325) 간을 연결하는 API(application programming interface)를 제공할 수 있다. The digital key framework 320 is for controlling the digital key applet 325 in the electronic device 101, and connects the vehicle application 310 or the digital key control application 315 and the digital key applet 325. An application programming interface (API) can be provided.

디지털 키 애플릿(325)은 전자 장치(101)의 secure element에 저장되며, 디지털 키에 대응되는 암호화 키 또는 인증서가 저장될 수 있다. The digital key applet 325 is stored in the secure element of the electronic device 101, and an encryption key or certificate corresponding to the digital key may be stored.

커넥티비티(330)는 전자 장치(101)와 차량(예: 도 2a의 차량(201)) 간의 통신을 제공할 수 있다. 예를 들어, 커넥티비티(330)는 블루투스, UWB(Ultra Wide Band), NFC(near field communication) 중 적어도 하나를 통해 차량(201)과 통신할 수 있다.The connectivity 330 may provide communication between the electronic device 101 and a vehicle (eg, the vehicle 201 of FIG. 2A ). For example, the connectivity 330 may communicate with the vehicle 201 through at least one of Bluetooth, ultra wide band (UWB), and near field communication (NFC).

도 3b는 다양한 실시예들에 따른 전자 장치에 포함된 디지털 키 애플릿의 인스턴스를 도시한 도면이다.3B is a diagram illustrating an instance of a digital key applet included in an electronic device according to various embodiments.

도 3b를 참조하면, 디지털 키 애플릿(325)은 내부에 인스턴스(instance)를 포함할 수 있다. 디지털 키 애플릿(325)은 차량(201)의 차량 제조사 별로 인스턴스에 해당하는 인증서를 발급하고, 인증서와 관련된 암호화 키를 저장할 수 있다. 디지털 키 애플릿(325)은 차량 제조사 별 인스턴스 아래에 차량 별로 여러 개의 디지털 키를 발급받을 수 있다. 예를 들어, 디지털 키 애플릿(325)에는 제1 차량 제조사에서 발급한 제1 인스턴스(350), 제2 차량 제조사에서 발급한 제2 인스턴스(360), 제3 차량 제조사에서 발급한 제3 인스턴스(370)를 포함할 수 있다. 디지털 키 애플릿(325)에 3개의 서로 다른 인스턴스가 포함되는 것은 3개의 서로 다른 차량을 소유 또는 공유하는 것을 의미할 수 있다. Referring to FIG. 3B , the digital key applet 325 may include an instance therein. The digital key applet 325 may issue a certificate corresponding to an instance for each vehicle manufacturer of the vehicle 201 and store an encryption key related to the certificate. The digital key applet 325 may receive multiple digital keys for each vehicle under an instance for each vehicle manufacturer. For example, the digital key applet 325 includes a first instance 350 issued by a first vehicle manufacturer, a second instance 360 issued by a second vehicle manufacturer, and a third instance issued by a third vehicle manufacturer ( 370) may be included. Including three different instances of the digital key applet 325 could mean owning or sharing three different vehicles.

제1 인스턴스(350)는 제1 디지털 키(353) 및 제2 디지털 키(355)가 제1 인스턴스 CA(예: 도 2b의 제1 인스턴스 CA(261))로 서명된 것일 수 있다. 제2 인스턴스(360)는 제3 디지털 키(363)가 제2 인스턴스 CA(예: 도 2b의 제2 인스턴스 CA(262))로 서명된 것일 수 있다. 제3 인스턴스(370)는 제4 디지털 키(373) 및 제5 디지털 키(375)가 제3 인스턴스 CA(예: 도 2b의 제3 인스턴스 CA(263))으로 서명된 것일 수 있다. 하나의 인증서에 복수개의 디지털 키가 저장되는 경우, 동일한 차량 제조사의 차량을 복수 개 소유 또는 공유하는 것일 수 있다.The first instance 350 may be one in which the first digital key 353 and the second digital key 355 are signed with the first instance CA (eg, the first instance CA 261 of FIG. 2B ). The second instance 360 may be one in which the third digital key 363 is signed with the second instance CA (eg, the second instance CA 262 of FIG. 2B ). The third instance 370 may be one in which the fourth digital key 373 and the fifth digital key 375 are signed with a third instance CA (eg, the third instance CA 263 of FIG. 2B ). When a plurality of digital keys are stored in one certificate, a plurality of vehicles of the same vehicle manufacturer may be owned or shared.

예를 들어, 제1 전자 장치(101)의 소유자가 제1 차량을 소유 또는 공유하는 경우, 제1 전자 장치(101)는 제1 차량에 대응하는 제1 인스턴스 CA(261)를 발급받고, 제1 인스턴스 CA(261)에 기반하여 제1 디지털 키(353) 및 제2 디지털 키(355)를 저장할 수 있다. 예를 들어, 제1 디지털 키(353)는 제1 차량 제조사의 제1 차량에 대한 것이고, 제2 디지털 키(355)는 제1 차량 제조사의 제2 차량에 대한 것일 수 있다. For example, when the owner of the first electronic device 101 owns or shares a first vehicle, the first electronic device 101 receives a first instance CA 261 corresponding to the first vehicle, and The first digital key 353 and the second digital key 355 may be stored based on the 1-instance CA 261 . For example, the first digital key 353 may be for a first vehicle of the first vehicle manufacturer, and the second digital key 355 may be for a second vehicle of the first vehicle manufacturer.

또한, 제1 전자 장치(101)의 소유자가 제2 차량을 소유 또는 공유하는 경우, 제1 전자 장치(101)는 제2 차량에 대응하는 제2 인스턴스 CA(262)를 발급받고, 제2 인스턴스 CA(262)에 기반하여 제3 디지털 키(363)를 저장할 수 있다. 또는, 제1 전자 장치(101)의 소유자가 제3 차량을 소유 또는 공유하는 경우, 제1 전자 장치(101)는 제3 차량에 대응하는 제3 인스턴스 CA(263)를 발급받고, 제3 인스턴스 CA(263)에 기반하여 제4 디지털 키(373) 및 제5 디지털 키(375)를 저장할 수 있다. 예를 들어, 제4 디지털 키(373)는 제3 차량 제조사의 제3 차량에 대한 것이고, 제5 디지털 키(375)는 제3 차량 제조사의 제4 차량에 대한 것일 수 있다. In addition, when the owner of the first electronic device 101 owns or shares a second vehicle, the first electronic device 101 receives a second instance CA 262 corresponding to the second vehicle, and the second instance CA 262 is issued. A third digital key 363 may be stored based on the CA 262 . Alternatively, when the owner of the first electronic device 101 owns or shares a third vehicle, the first electronic device 101 receives a third instance CA 263 corresponding to the third vehicle, and the third instance CA 263 is issued. Based on the CA 263, a fourth digital key 373 and a fifth digital key 375 may be stored. For example, the fourth digital key 373 may be for a third vehicle of a third vehicle manufacturer, and the fifth digital key 375 may be for a fourth vehicle of a third vehicle manufacturer.

각각의 디지털 키는 개인 메일 박스(private mailbox)와 신뢰 메일 박스(confidential mailbox)를 포함할 수 있다. 개인 메일 박스에는 발급된 디지털 키에 대응하는 옵션 정보 또는 등록(proprietary) 정보가 포함될 수 있다. 본 발명의 운전자 식별 정보는 옵션 정보로서, 개인 메일 박스에 저장될 수 있다. 신뢰 메일 박스는 차량 제조사의 옵션에 따라 보안을 위해 2중 인증이 되어야만 시동이 걸리게 할 수 있는 이모빌라이져 토큰(immobilizer token)이 저장될 수 있다.Each digital key may include a private mailbox and a confidential mailbox. The personal mailbox may include option information or proprietary information corresponding to the issued digital key. The driver identification information of the present invention is optional information and can be stored in a personal mailbox. Depending on the vehicle manufacturer's option, the trust mailbox can store an immobilizer token that can be started only after two-factor authentication for security.

도 3c는 다양한 실시예들에 따른 디지털 키 애플릿의 메일 박스 구조를 도시한 도면이다.3C is a diagram illustrating a mailbox structure of a digital key applet according to various embodiments.

도 3c를 참조하면, 제2 전자 장치(203)는 제2 디지털 키 애플릿(380)을 포함하고, 제2 디지털 키 애플릿(380)에는 제2 디지털 키용 암호화 키쌍(381), 제2 개인 메일 박스(382) 및 제2 신뢰 메일 박스(383)을 포함할 수 있다. 제1 전자 장치(101)에 포함된 디지털 키 애플릿(325)에는 제1 디지털 키용 암호화 키쌍(391), 제1 개인 메일 박스(392) 및 제1 신뢰 메일 박스(393)을 포함할 수 있다. 차량(101)의 메모리에는 디지털 키용 암호화 키쌍(395) 및 데이터 스토리지(397)를 포함할 수 있다. 차량(101)에 저장되는 암호화 키쌍(395)은 차량 키용 암호화 키쌍(예: 개인 키, 공용 키), 제1 디지털 키용 암호화 키쌍(391) 및 제2 디지털 키용 암호화 키쌍(381) 중 적어도 하나가 포함될 수 있다. 데이터 스토리지(397)에는 디지털 키 생성을 위한 구성 정보(configuration information)가 포함될 수 있으며, 예를 들어, 운전자 식별 정보가 포함될 수 있다.Referring to FIG. 3C, the second electronic device 203 includes a second digital key applet 380, and the second digital key applet 380 includes an encryption key pair 381 for a second digital key and a second personal mailbox. 382 and a second trusted mailbox 383. The digital key applet 325 included in the first electronic device 101 may include a first digital key encryption key pair 391, a first personal mailbox 392, and a first trusted mailbox 393. The memory of vehicle 101 may include an encryption key pair 395 for a digital key and data storage 397 . The encryption key pair 395 stored in the vehicle 101 is at least one of a vehicle key encryption key pair (eg, a private key and a public key), a first digital key encryption key pair 391, and a second digital key encryption key pair 381. can be included The data storage 397 may include configuration information for digital key generation, and may include, for example, driver identification information.

도 4는 다양한 실시예들에 따른 모바일 신분증 서비스 시스템을 도시한 블록도이다.4 is a block diagram illustrating a mobile identification service system according to various embodiments.

도 4를 참조하면, 모바일 신분증 서비스 시스템(400)은 서버(401), 리더 장치(reader device)(405), 및 전자 장치(예: 도 1의 전자 장치(101))를 포함할 수 있다.Referring to FIG. 4 , the mobile ID service system 400 may include a server 401, a reader device 405, and an electronic device (eg, the electronic device 101 of FIG. 1).

일 실시예에 따라, 신분증은, 주민등록증(identification card), 운전면허증(driver's license), 및/또는 여권(passport)과 같은 국가 기관에서 관리하고 사용자를 인증(예: 신분 증명)할 수 있는 증명서(또는 실명확인증표)를 포함할 수 있다. 일 실시예에 따라, 모바일 신분증 또는 모바일 신분증 서비스는 실물 신분증을 전자 장치(101)를 통해 사용할 수 있는 서비스를 포함할 수 있다. According to one embodiment, an identification card is a document managed by a state authority and capable of authenticating a user (eg, identification), such as an identification card, a driver's license, and/or a passport ( or real name verification certificate). According to an embodiment, the mobile ID or mobile ID service may include a service for using a physical ID through the electronic device 101 .

서버(401)는, 예를 들면, 모바일 신분증의 발급 기관(IA, issuing authority)의 서버를 포함할 수 있다. 일 실시예에 따르면, 서버(401)는 실물 신분증의 신분 정보를 저장 및 관리할 수 있다. 예를 들면, 사용자(예: 면허 취득자)가 취득한 운전면허증에 대응하는 신분 정보를 저장할 수 있다. 일 실시예에 따라, 신분 정보는, 예를 들면, 사용자 이름, 증명 사진(예: 얼굴 이미지), 생년월일, 및/또는 성별과 같은 사용자의 개인 정보, 사용자의 서명, 식별 번호(예: 면허 번호), 발급 기관, 및/또는 갱신 기간과 같은 사용자의 취득 신분증과 관련된 신분 증명 정보를 포함할 수 있다. 예를 들면, 전자 장치(101)의 사용자가 운전면허증을 취득하는 경우, 사용자가 취득한 운전면허증에 대한 신분 증명 정보와 사용자의 개인 정보가 서버(401)에 등록될 수 있다. The server 401 may include, for example, a server of an issuing authority (IA) of a mobile ID. According to an embodiment, the server 401 may store and manage identification information of a physical identification card. For example, identification information corresponding to a driver's license obtained by a user (eg, a license holder) may be stored. According to one embodiment, the identification information may include, for example, user's personal information such as user name, ID photo (eg, face image), date of birth, and/or gender, user's signature, identification number (eg, license number). ), issuing authority, and/or identification information related to the user's acquired ID, such as the renewal period. For example, when a user of the electronic device 101 acquires a driver's license, identification information of the driver's license obtained by the user and personal information of the user may be registered in the server 401 .

리더 장치(405)는 검증자(예: 사용자의 신분 확인자로, 예를 들면, 경찰 또는 상점의 판매자)의 장치로, 전자 장치(101)로부터 모바일 신분증에 포함된 적어도 일부 정보를 획득하고, 모바일 신분증에 기반하여 사용자 신분을 검증하는 장치를 포함할 수 있다.The reader device 405 is a device of a verifier (eg, a user's identity verifier, eg, a police officer or a seller in a store), obtains at least some information included in the mobile identification card from the electronic device 101, and It may include a device for verifying the user's identity based on the identification card.

전자 장치(101)는 제1 네트워크(예: Wi-Fi network 및/또는 cellular network)로 서버(401)와 무선 통신하고, 제2 네트워크(예: OOB(out of band) network)로 리더 장치(405)와 무선 통신하고, 서버(401) 및/또는 리더 장치(405)에 모바일 신분증과 관련된 데이터를 제공하는 기능을 포함하는 다양한 형태의 장치를 포함할 수 있다. 예를 들면, 전자 장치(101)는 스마트 폰(smart phone), 태블릿(tablet) PC(personal computer), 및/또는 웨어러블 장치(wearable device)와 같은 모바일 장치를 포함할 수 있다.The electronic device 101 wirelessly communicates with the server 401 through a first network (eg, a Wi-Fi network and/or a cellular network), and uses a second network (eg, an out of band (OOB) network) as a reader device ( 405) and various types of devices including a function of providing data related to the mobile identification to the server 401 and/or the reader device 405. For example, the electronic device 101 may include a mobile device such as a smart phone, a tablet PC (personal computer), and/or a wearable device.

전자 장치(101)는 모바일 신분증 시스템에서 서버(401)로부터 모바일 신분증을 발급 받아 보안 영역(예: TA 및/또는 eSE)에 저장하고, 모바일 신분증의 사용 환경(예: 장치 기반 모드 또는 서버 기반 모드)에 따라 모바일 신분증의 적어도 일부 정보를 제공(예: 표시 또는 전송)하는 홀더(holder)를 나타낼 수 있다. 어떤 실시예에 따르면, 보안 영역은 메모리(예: 도 1의 메모리(130)의 일부 영역에 포함되는 공간(또는 영역)이거나, 메모리(130)와 물리적으로 분리된 별도의 칩일 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(401)와 상호 작용하면서 모바일 신분증을 위한 신분 정보의 일치 여부를 검증할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 리더 장치(405)와 지정된 인증 프로토콜을 통해 모바일 신분증의 적어도 일부 정보를 제공할 수 있다.The electronic device 101 receives a mobile ID card issued from the server 401 in the mobile ID system, stores it in a secure area (eg, TA and/or eSE), and uses the mobile ID card in a usage environment (eg, device-based mode or server-based mode). ), it may indicate a holder that provides (eg, displays or transmits) at least some information of the mobile ID. According to some embodiments, the security area may be a space (or area) included in a partial area of a memory (eg, the memory 130 of FIG. 1 ) or may be a separate chip physically separated from the memory 130. One embodiment According to an example, the electronic device 101 may verify whether the identity information for the mobile identification card matches while interacting with the server 401. According to an embodiment, the electronic device 101 may interact with the reader device 405 And at least some information of the mobile identification may be provided through a designated authentication protocol.

상기 장치 기반 모드는 서버(401)로부터 모바일 신분증(또는 모바일 신분증 데이터)을 서버(401)(예: 발급 기관)로부터 직접 발급 받은 상태에서 모바일 신분증 서비스를 제공하는 예를 나타낼 수 있다. 상기 장치 기반 모드는 오프라인 모드일 수 있다. 상기 장치 기반 모드에 따른 동작은, 예를 들면, device engagement 동작과 data transfer (offline) 동작을 포함할 수 있다. The device-based mode may represent an example of providing a mobile ID service in a state in which a mobile ID card (or mobile ID data) is directly issued from the server 401 (eg, an issuing authority). The device-based mode may be an offline mode. The operation according to the device-based mode may include, for example, a device engagement operation and a data transfer (offline) operation.

device engagement 동작은, 오프라인으로 전자 장치(101)와 리더 장치(405) 간에 data transfer를 수행하기 위해 연결하는 사전 동작을 포함할 수 있다. 예를 들면, 전자 장치(101)는 식별 코드(예: QR 코드 및/또는 바코드) 또는 OOB(예: NFC) 통신을 통해 data transfer를 위해 리더 장치(405)와 설정해야 하는 파라미터(parameter) 값을 device engagement data에 포함할 수 있고, 리더 장치(405)는 식별 코드 또는 OOB 통신 연결을 통해 device engagement data를 읽을 수 있다. 일 실시예에 따르면, 전자 장치(101)는 end to end 암호화 통신을 위해, 임시 공개키(ephemeral public key)를 생성하여 device engagement data에 포함할 수 있다.The device engagement operation may include a preliminary operation of connecting to perform data transfer between the electronic device 101 and the reader device 405 offline. For example, the electronic device 101 has a parameter value to be set with the reader device 405 for data transfer through an identification code (eg, QR code and/or barcode) or OOB (eg, NFC) communication. may be included in the device engagement data, and the reader device 405 may read the device engagement data through an identification code or an OOB communication connection. According to an embodiment, the electronic device 101 may generate an ephemeral public key and include it in device engagement data for end-to-end encrypted communication.

data transfer 동작은, 리더 장치(405)가 전자 장치(101)에게 원하는 모바일 신분증 데이터(또는 data element)를 오프라인으로 요청하고, 전자 장치(101)가 리더 장치(405)로부터 요청된 모바일 신분증 데이터를 오프라인으로 제공하는 동작을 포함할 수 있다. 일 실시예에 따르면, 리더 장치(405)는 임시 키(ephemeral key)를 생성한 후 세션 키(session key)로 암호화하여 모바일 신분증 데이터를 요청할 수 있고, 전자 장치(101)는 세션 키로 암호화하여 모바일 신분증 데이터를 제공(예: end to end 암호화 통신)할 수 있다. 일 실시예에 따라, data transfer 동작은 전자 장치(101)와 리더 장치(405) 간에 OOB 통신(예: BLE, NFC, UWB, 지그비(Zigbee) 및/또는 Wi-Fi 2.4GHz 통신) 방식에 기반하여 수행될 수 있다.In the data transfer operation, the reader device 405 requests desired mobile ID data (or data elements) from the electronic device 101 offline, and the electronic device 101 transfers the requested mobile ID data from the reader device 405. It can include actions that are provided offline. According to an embodiment, the reader device 405 may request mobile ID data by generating an ephemeral key and then encrypting it with a session key, and the electronic device 101 encrypts it with the session key and ID data can be provided (e.g. end to end encrypted communication). According to an embodiment, the data transfer operation is based on OOB communication (eg, BLE, NFC, UWB, Zigbee, and/or Wi-Fi 2.4GHz communication) between the electronic device 101 and the reader device 405. can be performed by

상기 서버 기반 모드는 전자 장치(101)가 서버(401)로부터 모바일 신분증(또는 모바일 신분증 데이터)를 발급받지 않는 상태에서의 모바일 신분증 서비스를 제공하는 예를 나타낼 수 있다. 상기 서버 기반 모드에 따른 동작은, 예를 들면, device engagement 동작과 data transfer (offline) 동작을 포함할 수 있다. 상기 장치 기반 모드는 온라인 모드일 수 있다. 상기The server-based mode may represent an example of providing a mobile ID service in a state in which the electronic device 101 does not receive a mobile ID card (or mobile ID data) from the server 401 . The operation according to the server-based mode may include, for example, a device engagement operation and a data transfer (offline) operation. The device-based mode may be an online mode. remind

device engagement 동작은, 전자 장치(101)가 모바일 신분증 데이터를 리더 장치(405)에게 온라인으로 전송해 주기 위한 사전 동작을 포함할 수 있다. 예를 들면, 전자 장치(101)는 서버(401)의 주소 정보(예: URL)와 일회성 토큰(token)을 생성하여 device engagement data에 포함할 수 있고, 리더 장치(405)는 식별 코드(예: QR 코드 및/또는 바코드) 또는 OOB(예: NFC) 통신을 통해 device engagement data를 읽을 수 있다.The device engagement operation may include a preliminary operation for the electronic device 101 to transmit mobile ID data to the reader device 405 online. For example, the electronic device 101 may generate address information (eg, URL) and a one-time token of the server 401 and include them in device engagement data, and the reader device 405 may generate an identification code (eg, a token). : QR code and/or barcode) or OOB (e.g. NFC) communication to read device engagement data.

일 실시예에 따라, data transfer 동작은, 리더 장치(405)가 전자 장치(101)의 device engagement data에 포함된 서버(401)의 주소 정보에 따라 서버(401)에 접속하여, 전자 장치(101)에게 전달 받은 토큰을 포함한 모바일 신분증 데이터를 서버(401)에게 온라인으로 요청하는 동작을 포함할 수 있다. 일 실시예에 따르면, 서버(401)는 리더 장치(405)로부터 획득된 토큰을 확인하고, 리더 장치(405)가 요청한 모바일 신분증 데이터를 리더 장치(405)에게 온라인으로 전송할 수 있다. 여기서, 서버(401)와 리더 장치(405) 간에 온라인으로 통신하는 통신 채널은 HTTPS(hypertext transfer protocol secure)를 사용하여 암호화 통신으로 보호될 수 있다.According to an embodiment, the data transfer operation is performed by the reader device 405 accessing the server 401 according to the address information of the server 401 included in the device engagement data of the electronic device 101, ) to the server 401 for online requesting the mobile ID data including the token received. According to an embodiment, the server 401 may check the acquired token from the reader device 405 and transmit mobile ID data requested by the reader device 405 to the reader device 405 online. Here, a communication channel for online communication between the server 401 and the reader device 405 can be protected by encrypted communication using HTTPS (hypertext transfer protocol secure).

이하에서 본 개시의 실시예는, 모바일 신분증 서비스를 위한 시스템 구조에서, 전자 장치(101)가 서버(401)로부터 모바일 신분증을 직접 발급 받은 상태에서 동작하는 장치 기반 모드에서의 동작 예를 포함할 수 있다.Hereinafter, embodiments of the present disclosure may include an example of operation in a device-based mode in which the electronic device 101 operates in a state in which a mobile ID card is directly issued from the server 401 in a system structure for a mobile ID service. there is.

도 5는 다양한 실시예들에 따른 차량의 시스템을 도시한 블록도이다.5 is a block diagram illustrating a system of a vehicle according to various embodiments.

도 5를 참조하면, 차량(201) 시스템은 디스플레이(510), 통신 모듈(530), 프로세서(550), 메모리(570)(예: 도 1의 메모리(570)), 또는 센서 모듈(590)(예: 도 1의 센서 모듈(176)) 중 적어도 하나를 포함할 수 있다. 차량(201) 시스템은 상기 기재한 것보다 적거나, 많은 구성 요소(예: 오디오 모듈, 음향 출력 모듈 등)를 더 포함할 수 있다.Referring to FIG. 5 , the vehicle 201 system includes a display 510, a communication module 530, a processor 550, a memory 570 (eg, the memory 570 of FIG. 1), or a sensor module 590. (eg, the sensor module 176 of FIG. 1). The vehicle 201 system may further include fewer or more components (eg, an audio module, a sound output module, etc.) than those described above.

디스플레이(510)(예: 도 1의 디스플레이 모듈(160))는 차량(201)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이(510)는 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이(510)는 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display 510 (eg, the display module 160 of FIG. 1 ) may visually provide information to the outside of the vehicle 201 (eg, the user). The display 510 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display 510 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.

통신 모듈(530)(예: 도 1의 통신 모듈(190))은 차량(201)과 외부 전자 장치(예: 전자 장치(101), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(530)은 프로세서(550)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다.The communication module 530 (eg, the communication module 190 of FIG. 1 ) is a direct (eg, wired) communication channel between the vehicle 201 and an external electronic device (eg, the electronic device 101 or the server 108). Alternatively, it may support establishing a wireless communication channel and performing communication through the established communication channel. The communication module 530 may include one or more communication processors that operate independently of the processor 550 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.

프로세서(550)(예: 도 1의 프로세서(120))는 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(550)에 연결된 차량(201)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(550)는 다른 구성요소(예: 디스플레이(510) 또는 통신 모듈(530))로부터 수신된 명령 또는 데이터를 메모리(570)에 저장하고, 휘발성 메모리(570)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 메모리(570)에 저장할 수 있다.Processor 550 (eg, processor 120 of FIG. 1 ) executes software (eg, program 140 ) to perform at least one other component (eg, hardware or software component), and can perform various data processing or calculations. According to one embodiment, as at least part of data processing or calculation, processor 550 stores instructions or data received from other components (eg, display 510 or communication module 530) in memory 570. , processing commands or data stored in the volatile memory 570, and storing resultant data in the memory 570.

프로세서(550)는 전자 장치(예: 도 1의 전자 장치(101))와 통신 연결하여, 오너 페어링을 수행할 수 있다. 프로세서(550)는 오너 페어링 시, 전자 장치(101)로부터 모바일 신분증 정보를 수신하고, 도 4의 동작을 수행하여 상기 수신된 모바일 신분증 정보를 인증할 수 있다. 프로세서(550)는 상기 모바일 신분증 정보의 인증이 성공적으로 완료되면, 메모리(570)에 저장된 차량 정보를 전자 장치(101)로 전송할 수 있다. 프로세서(550)는 상기 차량 정보에 상기 인증된 모바일 신분증 정보를 포함시켜 전송할 수 있다. 프로세서(550)는 전자 장치(101)로부터 디지털 키를 수신하고, 상기 수신된 디지털 키를 인증할 수 있다. The processor 550 may perform owner pairing by communicating with an electronic device (eg, the electronic device 101 of FIG. 1 ). Upon owner pairing, the processor 550 may receive mobile ID information from the electronic device 101 and authenticate the received mobile ID information by performing the operation of FIG. 4 . When authentication of the mobile ID information is successfully completed, the processor 550 may transmit vehicle information stored in the memory 570 to the electronic device 101 . The processor 550 may include the authenticated mobile ID information in the vehicle information and transmit the same. The processor 550 may receive a digital key from the electronic device 101 and authenticate the received digital key.

예를 들어, 프로세서(550)는 상기 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함된 모바일 신분증 정보에 대응되는지 판단하고, 일치하는 경우, 상기 디지털 키를 차량(201)의 개인 키로 서명할 수 있다. 차량(201)의 개인 키는 메모리(570)에 저장되어 있을 수 있다. 프로세서(550)는 상기 모바일 신분증 정보를 차량(201)의 개인 키로 서명(또는 암호화)하여 운전자 식별 정보를 생성할 수 있다. 프로세서(550)는 상기 서명된 디지털 키 및 상기 생성한 운전자 식별 정보를 전자 장치(101)에 전송할 수 있다. 프로세서(550)는 상기 서명된 디지털 키에 상기 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리 메모리(570)에 저장할 수 있다. For example, the processor 550 determines whether the mobile ID information included in the digital key corresponds to the mobile ID information included in the vehicle information, and if they match, the digital key is signed with the private key of the vehicle 201. can do. The private key of vehicle 201 may be stored in memory 570 . The processor 550 may generate driver identification information by signing (or encrypting) the mobile identification information with the private key of the vehicle 201 . The processor 550 may transmit the signed digital key and the generated driver identification information to the electronic device 101 . The processor 550 may bind (or match) the driver identification information to the signed digital key and store it in the memory memory 570 .

프로세서(550)는 상기 디지털 키에 의한 문 열림 시도를 인식하는 경우, 상기 디지털 키를 인증할 수 있다. 프로세서(550)는 상기 디지털 키가 차량(201)의 개인 키에 매칭되는지 상호 인증 프로토콜을 수행하여 상기 디지털 키를 인증할 수 있다. 프로세서(550)는 상기 디지털 키 인증 후, 전자 장치(101)로부터 모바일 신분증 정보를 획득하고, 도 4의 동작을 수행하여 상기 모바일 신분증 정보를 인증할 수 있다. 프로세서(550)는 상기 모바일 신분증 정보의 인증이 성공적으로 완료되면, 전자 장치(101)로부터 운전자 식별 정보를 수신할 수 있다. 프로세서(550)는 상기 수신된 운전자 식별 정보가 메모리(570)에 상기 서명된 디지털 키와 바인딩된 운전자 식별 정보와 동일한지 여부를 판단할 수 있다. 프로세서(550)는 상기 판단 결과에 기반하여 차량(201) 제어(예: 문 열림, 시동 걸기, 자율 주행)를 허용하거나, 불허할 수 있다. 예를 들어, 프로세서(550)는 상기 수신된 운전자 식별 정보가 메모리(570)에 저장된 운전자 식별 정보와 동일한 경우, 차량(201)의 제어를 허용할 수 있다.When the processor 550 recognizes an attempt to open the door by the digital key, it can authenticate the digital key. The processor 550 may authenticate the digital key by performing a mutual authentication protocol to determine if the digital key matches the private key of the vehicle 201 . After the digital key authentication, the processor 550 may obtain mobile ID information from the electronic device 101 and perform the operation of FIG. 4 to authenticate the mobile ID information. When authentication of the mobile ID information is successfully completed, the processor 550 may receive driver identification information from the electronic device 101 . The processor 550 may determine whether the received driver identification information is the same as driver identification information bound to the signed digital key stored in the memory 570 . Based on the determination result, the processor 550 may permit or disallow control of the vehicle 201 (eg, door opening, engine start, autonomous driving). For example, the processor 550 may permit control of the vehicle 201 when the received driver identification information is the same as the driver identification information stored in the memory 570 .

프로세서(550)는 차량 서버(예: 도 2a의 차량 서버(230)) 또는 전자 장치(101)로부터 제2 전자 장치(예: 도 1의 전자 장치(102), 도 2a의 제2 전자 장치(203))에 대응되는 제2 디지털 키 및 제2 운전자 식별 정보를 수신할 수 있다. 프로세서(550)는 상기 제2 디지털 키 및 상기 2 운전자 식별 정보를 메모리(570)에 저장할 수 있다. 프로세서(550)는 상기 제2 디지털 키에 의한 문 열림 시도를 인식하는 경우, 상기 제2 디지털 키 및 상기 제2 운전자 식별 정보를 인증할 수 있다. 프로세서(550)는 상기 인증 결과에 기반하여 차량(201) 제어를 허용하거나, 불허할 수 있다.The processor 550 is a vehicle server (eg, the vehicle server 230 of FIG. 2A) or a second electronic device (eg, the electronic device 102 of FIG. 1 or the second electronic device of FIG. 2A) from the electronic device 101 ( A second digital key and second driver identification information corresponding to 203)) may be received. The processor 550 may store the second digital key and the second driver identification information in the memory 570 . The processor 550 may authenticate the second digital key and the second driver identification information when recognizing an attempt to open the door by the second digital key. The processor 550 may permit or disallow control of the vehicle 201 based on the authentication result.

메모리(570)는 차량(201)의 적어도 하나의 구성요소(예: 프로세서(550) 또는 센서 모듈(590))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(570)에는 차량(201)의 차량 정보, 차량 키용 암호화 키쌍(예: 개인 키, 공용 키), 디지털 키용 암호화 키쌍, 디지털 키 생성을 위한 구성 정보 또는 운전자 식별 정보 중 적어도 하나를 포함할 수 있다.The memory 570 may store various data used by at least one component of the vehicle 201 (eg, the processor 550 or the sensor module 590). Data may include, for example, input data or output data for software and related instructions. The memory 570 may include at least one of vehicle information of the vehicle 201, an encryption key pair for a vehicle key (eg, a private key, a public key), an encryption key pair for a digital key, configuration information for generating a digital key, or driver identification information. there is.

센서 모듈(590)은 차량(201)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(590)은 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 590 detects an operating state (eg, power or temperature) of the vehicle 201 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can According to one embodiment, the sensor module 590 may include a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, a temperature sensor, a humidity sensor, or an illuminance sensor. May contain sensors.

상기 차량 시스템은 차량(201)에 탑승한 운전자(또는 사용자)의 시선을 추적하는 카메라, 차량(201)의 전면을 촬영하는 카메라, 라이다, 레이저, 레이다, 운전자 보조 시스템(advanced driver assistance system; ADAS), 자율 주행(autonomous vehicle) 시스템을 더 포함할 수 있다.The vehicle system includes a camera tracking the driver's (or user's) gaze on the vehicle 201, a camera capturing the front of the vehicle 201, lidar, laser, radar, and an advanced driver assistance system; ADAS) and an autonomous vehicle system may be further included.

본 발명의 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))는 통신 모듈(예: 도 1의 통신 모듈(190)), 메모리(예: 도 1의 메모리(130)), 및 상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 프로세서는, 상기 전자 장치가 차량(예: 도 2a의 차량(201))과 연결되면, 상기 통신 모듈을 통해 상기 메모리에 저장된 모바일 신분증 정보를 차량으로 전송하고, 상기 차량으로부터 차량 정보를 수신하고, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하고, 상기 생성된 디지털 키를 상기 차량으로 전송하고, 상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하고, 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하도록 설정될 수 있다.An electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure includes a communication module (eg, the communication module 190 of FIG. 1 ), a memory (eg, the memory 130 of FIG. 1 ) ); (201)), transmits the mobile identification information stored in the memory to the vehicle through the communication module, receives vehicle information from the vehicle, and receives digital information of the vehicle based on the vehicle information or the mobile identification information. Generate a key, transmit the generated digital key to the vehicle, receive a digital key signed by the vehicle and driver identification information from the vehicle, and store the signed digital key and driver identification information in the memory. Can be set to save.

상기 프로세서는, 상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는지 판단하고, 상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는 경우, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하도록 설정될 수 있다.The processor determines whether the mobile ID information included in the vehicle information corresponds to the mobile ID information stored in the memory, and if the mobile ID information included in the vehicle information corresponds to the mobile ID information stored in the memory, the It may be set to generate the digital key of the vehicle based on the vehicle information or the mobile ID information.

상기 프로세서는, 상기 차량에 의해 상기 디지털 키에 포함된 모바일 신분증 정보의 인증을 수행하고, 상기 디지털 키에 포함된 모바일 신분증 정보의 인증이 완료된 경우, 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 차량으로부터 수신하도록 설정될 수 있다.The processor performs authentication of the mobile ID information included in the digital key by the vehicle, and when the authentication of the mobile ID information included in the digital key is completed, the signed digital key and the driver identification information It can be set to receive from the vehicle.

상기 서명된 디지털 키는 상기 차량의 개인 키로 서명된 것이고, 상기 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하고, 상기 차량의 개인 키로 서명된 것일 수 있다.The signed digital key may be signed with the private key of the vehicle, and the driver identification information may include the mobile identification information and be signed with the private key of the vehicle.

상기 프로세서는, 상기 메모리에 저장된 디지털 키에 기반하여 상기 차량의 제어를 요청하고, 상기 차량에 의해 상기 디지털 키 및 상기 전자 장치에 대응되는 모바일 신분증 정보가 인증되면, 상기 차량으로 상기 메모리에 저장된 상기 운전자 식별 정보를 전송하고, 상기 차량에 의해 상기 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어가 가능하도록 설정될 수 있다.The processor requests control of the vehicle based on the digital key stored in the memory, and when the digital key and mobile identification information corresponding to the electronic device are authenticated by the vehicle, the vehicle stores the digital key stored in the memory. When driver identification information is transmitted and the driver identification information is authenticated by the vehicle, control of the vehicle may be enabled.

상기 프로세서는, 상기 차량에 의해 상기 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능이 제한되도록 설정될 수 있다.The processor may be configured to restrict some functions of the vehicle when the driver identification information is not authenticated by the vehicle.

상기 프로세서는, 제2 전자 장치로부터 차량 공유 요청을 수신하는 경우, 상기 제2 전자 장치의 제2 모바일 신분증 정보를 인증하고, 상기 제2 모바일 신분증 정보의 인증이 완료된 경우, 상기 차량의 차량 정보를 상기 제2 전자 장치로 전송하고, 상기 제2 전자 장치로부터 제2 디지털 키를 수신하고, 상기 제2 전자 장치에 대응되는 제2 운전자 식별 정보를 생성하도록 설정될 수 있다.When receiving a vehicle sharing request from the second electronic device, the processor authenticates second mobile ID information of the second electronic device, and when authentication of the second mobile ID information is completed, vehicle information of the vehicle It may be configured to transmit to the second electronic device, receive a second digital key from the second electronic device, and generate second driver identification information corresponding to the second electronic device.

상기 프로세서는, 상기 제1 디지털 키로 상기 제2 디지털 키를 서명하여 상기 제2 운전자 식별 정보를 생성하도록 설정될 수 있다.The processor may be configured to generate the second driver identification information by signing the second digital key with the first digital key.

상기 프로세서는, 상기 서명된 제2 디지털 키에 상기 제2 운전자 식별 정보를 바인딩시켜 상기 메모리에 저장하도록 설정될 수 있다.본 발명의 다양한 실시예들에 따른 차량(예: 도 2a의 차량(201))에 포함되는 전자 장치(예: 도 1의 전자 장치(101))는 통신 모듈(예: 도 1의 통신 모듈(190)), 메모리(예: 도 1의 메모리(130)), 및 상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 프로세서는, 상기 전자 장치가 제1 외부 장치와 연결되면, 상기 통신 모듈을 통해 상기 제1 외부 장치로부터 제1 모바일 신분증 정보를 수신하고, 상기 제1 모바일 신분증 정보를 인증하여 상기 메모리에 저장된 상기 차량의 차량 정보를 상기 제1 외부 장치로 전송하고, 상기 제1 외부 장치로부터 제1 디지털 키를 수신하여 상기 제1 디지털 키를 인증하고, 상기 제1 디지털 키의 인증에 기반하여 상기 제1 디지털 키를 서명하고, 상기 제1 모바일 신분증 정보에 대응하는 제1 운전자 식별 정보를 생성하고, 상기 서명된 제1 디지털 키 및 상기 제1 운전자 식별 정보를 상기 제1 외부 장치로 전송하도록 설정될 수 있다.The processor may be configured to bind the second driver identification information to the signed second digital key and store the second driver identification information in the memory. A vehicle according to various embodiments of the present invention (eg, vehicle 201 of FIG. )) (eg, the electronic device 101 of FIG. 1) includes a communication module (eg, the communication module 190 of FIG. 1), a memory (eg, the memory 130 of FIG. 1), and the and a processor (eg, the processor 120 of FIG. 1) operatively connected to at least one of a communication module and the memory, wherein the processor operates the communication module when the electronic device is connected to a first external device. Receives first mobile ID information from the first external device, authenticates the first mobile ID information, transmits vehicle information of the vehicle stored in the memory to the first external device, and transmits vehicle information stored in the memory to the first external device. Receiving a first digital key to authenticate the first digital key, signing the first digital key based on the authentication of the first digital key, and generating first driver identification information corresponding to the first mobile identification information and transmit the signed first digital key and the first driver identification information to the first external device.

상기 프로세서는, 상기 제1 모바일 신분증 정보가 인증되면, 상기 차량 정보에 상기 제1 모바일 신분증 정보를 포함시켜 상기 제1 외부 장치로 전송하도록 설정될 수 있다.When the first mobile ID information is authenticated, the processor may be configured to include the first mobile ID information in the vehicle information and transmit the same to the first external device.

상기 프로세서는, 상기 제1 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함된 상기 제1 모바일 신분증 정보에 대응되는지 여부를 판단하고, 상기 제1 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함된 상기 제1 모바일 신분증 정보에 대응되는 경우, 상기 제1 디지털 키를 상기 메모리에 저장된 상기 차량의 개인 키로 서명하도록 설정될 수 있다.The processor determines whether the mobile ID information included in the first digital key corresponds to the first mobile ID information included in the vehicle information, and determines whether the mobile ID information included in the first digital key corresponds to the vehicle information. If it corresponds to the first mobile identification information included in the information, the first digital key may be set to be signed with the private key of the vehicle stored in the memory.

상기 프로세서는, 상기 제1 모바일 신분증 정보를 포함하고, 상기 메모리에 저장된 상기 차량의 개인 키로 서명하여 상기 제1 운전자 식별 정보를 생성하도록 설정될 수 있다.The processor may be set to generate the first driver identification information by including the first mobile identification information and signing with a private key of the vehicle stored in the memory.

상기 프로세서는, 상기 차량의 제어가 요청되면, 상기 제1 외부 장치에 저장된 상기 제1 디지털 키를 인증하고, 상기 제1 디지털 키의 인증에 기반하여 상기 제1 외부 장치에 대응하는 상기 제1 모바일 신분증 정보를 인증하고, 상기 제1 모바일 신분증 정보가 인증되면, 상기 제1 외부 장치에 저장된 제1 운전자 식별 정보를 읽어와서 인증하도록 설정될 수 있다.When the control of the vehicle is requested, the processor authenticates the first digital key stored in the first external device, and the first mobile corresponding to the first external device based on the authentication of the first digital key. ID information may be authenticated, and when the first mobile ID information is authenticated, first driver identification information stored in the first external device may be read and authenticated.

상기 프로세서는, 상기 제1 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어를 허용하고, 상기 제1 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능을 제한하도록 설정될 수 있다.The processor may be configured to permit control of the vehicle when the first driver identification information is authenticated, and restrict some functions of the vehicle when the first driver identification information is not authenticated.

상기 프로세서는, 상기 제1 외부 장치로부터 제2 디지털 키 또는 제2 운전자 식별 정보를 수신하여 저장하고, 제2 외부 장치로부터 상기 차량의 제어가 요청되면, 상기 제2 외부 장치에 저장된 상기 제2 디지털 키를 인증하고, 상기 제2 디지털 키의 인증에 기반하여 상기 제2 외부 장치에 대응하는 제2 모바일 신분증 정보를 인증하고, 상기 제2 모바일 신분증 정보가 인증되면, 상기 제2 외부 장치에 저장된 제2 운전자 식별 정보를 읽어와서 인증하도록 설정될 수 있다.The processor receives and stores a second digital key or second driver identification information from the first external device, and when a control of the vehicle is requested from the second external device, the second digital key stored in the second external device. A key is authenticated, second mobile ID information corresponding to the second external device is authenticated based on the authentication of the second digital key, and when the second mobile ID information is authenticated, the second mobile ID information stored in the second external device is authenticated. 2 It can be set to read and authenticate driver identification information.

상기 프로세서는, 상기 제2 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어를 허용하고, 상기 제2 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능을 제한하도록 설정될 수 있다.The processor may be configured to allow control of the vehicle when the second driver identification information is authenticated, and restrict some functions of the vehicle when the second driver identification information is not authenticated.

도 6은 다양한 실시예들에 따른 전자 장치와 차량이 연동하여 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도이다.6 is a flowchart illustrating a method of issuing a digital key linked to a mobile identification card by linking an electronic device and a vehicle according to various embodiments.

도 6을 참조하면, 동작 601에서, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))는 모바일 신분증을 차량(예: 도 2a의 차량(201))으로 전송할 수 있다. 상기 모바일 신분증은 차량(201)의 운전자를 확인하기 위한 것으로, 운전 면허증을 의미할 수 있다. 상기 모바일 신분증 정보는 모바일 신분증 서명 정보 및 MSO 정보를 포함할 수 있다. 상기 모바일 신분증 서명 정보는 digest ID, 랜덤 값, 모바일 신분증의 정보 식별자(예: 상기 제1 사용자에 대응하는 이름, 생년월일, 발급일자, 유효기간, 발급기관, 신분증 식별 번호(예: 운전자 번호), 또는 사진) 또는 모바일 신분증의 정보 값 중 적어도 하나를 포함할 수 있다. Referring to FIG. 6 , in operation 601, an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments may transmit a mobile identification card to a vehicle (eg, the vehicle 201 of FIG. 2A ). . The mobile ID is for identifying the driver of the vehicle 201 and may mean a driver's license. The mobile ID information may include mobile ID signature information and MSO information. The mobile ID signature information includes a digest ID, a random value, and an information identifier of the mobile ID (e.g., name corresponding to the first user, date of birth, date of issuance, expiration date, issuing authority, ID identification number (e.g., driver's number), or a photo) or information value of a mobile ID.

상기 MSO 정보는 상기 모바일 신분증 서명 정보에 포함된 값을 각각 해시한 값을 포함할 수 있다. 상기 MSO 정보는 MSO 버전, 해시 알고리즘 버전, digest 값, 장치 정보, doctype, 또는 유효성 정보 중 적어도 하나를 포함할 수 있다. 전자 장치(101)는 디지털 키 발급을 위해 발급 기관(예: 도 4의 서버(401))으로부터 미리 모바일 신분증을 발급받아, 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 전자 장치(101)는 메모리(130)에 저장된 모바일 신분증을 차량(201)으로 전송할 수 있다.The MSO information may include hash values of values included in the mobile ID signature information. The MSO information may include at least one of an MSO version, a hash algorithm version, a digest value, device information, a doctype, and validity information. In order to issue a digital key, the electronic device 101 may receive a mobile ID card issued in advance from an issuing authority (eg, the server 401 of FIG. 4 ) and store it in a memory (eg, the memory 130 of FIG. 1 ). The electronic device 101 may transmit the mobile ID stored in the memory 130 to the vehicle 201 .

다양한 실시예들에 따르면, 동작 601은 차량(201)의 소유주는 차량(201)의 차량 키(예: 실물 차량 키)를 소유하고, 차량(201)에 탑승하여 디지털 키 발급을 요청한 경우에 수행될 수 있다. 차량(201)은 통신 모듈(예: 도 5의 통신 모듈(530)) 또는 센서 모듈(예: 도 5의 센서 모듈(590))을 이용하여 차량(201)에 대응하는 실물 차량 키(예: 스마트 키)를 인식할 수 있다. 차량(201)은 상기 실물 차량 키가 인식되고, 디스플레이(예: 도 5의 디스플레이(510))를 통해 표시된 메뉴, 설정된 버튼, 또는 설정된 음성 인식 중 적어도 하나를 통해 디지털 키 발급 요청을 수신할 수 있다. 차량(201)은 상기 디지털 키 발급을 요청에 응답하여 전자 장치(101)와 암호화된 통신을 연결하여, 전자 장치(101)로 모바일 신분증을 요청할 수 있다.According to various embodiments, operation 601 is performed when the owner of the vehicle 201 possesses a vehicle key (eg, a real vehicle key) of the vehicle 201 and requests issuance of the digital key by boarding the vehicle 201. It can be. The vehicle 201 uses a communication module (eg, the communication module 530 of FIG. 5 ) or a sensor module (eg, the sensor module 590 of FIG. 5 ) to use a real vehicle key corresponding to the vehicle 201 (eg, the sensor module 590 of FIG. 5 ). smart key). The vehicle 201 may recognize the actual vehicle key and receive a digital key issuance request through at least one of a menu displayed through a display (eg, the display 510 of FIG. 5 ), a set button, or a set voice recognition. there is. The vehicle 201 may request a mobile identification card from the electronic device 101 by connecting encrypted communication with the electronic device 101 in response to the digital key issuance request.

동작 603에서, 차량(201)은 상기 모바일 신분증을 인증할 수 있다. 차량(201)은 전자 장치(101)로부터 모바일 신분증을 수신하고, 상기 수신된 모바일 신분증을 인증할 수 있다. 상기 모바일 신분증을 인증하는 방법은 장치 기반 모드 또는 서버 기반 모드로 수행될 수 있지만, 보안 강화를 위해 장치 기반 모드로 수행될 수 있다. 차량(201)은 도 4에서 설명한 동작에 의해 상기 모바일 신분증을 인증할 수 있다.In operation 603, vehicle 201 may authenticate the mobile identification card. The vehicle 201 may receive a mobile ID from the electronic device 101 and authenticate the received mobile ID. The mobile ID authentication method may be performed in a device-based mode or a server-based mode, but may be performed in a device-based mode for enhanced security. The vehicle 201 may authenticate the mobile ID by the operation described in FIG. 4 .

동작 605에서, 차량(201)은 상기 모바일 신분증 인증이 완료되면, 모바일 신분증 정보를 포함하는 차량 정보를 전자 장치(101)에 전송할 수 있다. 상기 모바일 신분증 정보는 상기 모바일 신분증에 포함된 정보와 동일하거나, 상기 모바일 신분증에 포함된 일부 정보를 포함할 수 있다. 예를 들어, 상기 모바일 신분증 정보는 상기 모바일 신분증에 포함된 신분증 식별 번호(또는 상기 제1 사용자에 대응하는 이름)의 digest ID, 또는 digest가 포함될 수 있다. 차량(201)은 상기 차량 정보의 구성 정보(예: endpoint configuration data)에 상기 모바일 신분증 정보를 포함시킬 수 있다.In operation 605, the vehicle 201 may transmit vehicle information including mobile ID information to the electronic device 101 when the mobile ID authentication is completed. The mobile ID information may be the same as information included in the mobile ID, or may include some information included in the mobile ID. For example, the mobile ID information may include a digest ID or digest of an ID identification number (or a name corresponding to the first user) included in the mobile ID. The vehicle 201 may include the mobile ID information in configuration information (eg, endpoint configuration data) of the vehicle information.

다양한 실시예들에 따르면, 전자 장치(101)는 전자 장치(101)의 장치 정보를 더 전송할 수도 있다. 전자 장치(101)의 장치 정보는 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 중 적어도 하나를 포함할 수 있다. 차량(201)은 상기 모바일 신분증의 인증과 더불어, 전자 장치(101)의 장치 정보를 인증하고, 상기 모바일 신분증 및 전자 장치(101)의 장치 정보의 인증이 완료되면, 상기 차량 정보를 전자 장치(101)로 전송할 수 있다.According to various embodiments, the electronic device 101 may further transmit device information of the electronic device 101 . The device information of the electronic device 101 may include at least one of a phone number, a serial number, a model name, or a type of the electronic device 101 . The vehicle 201 authenticates the device information of the electronic device 101 as well as the authentication of the mobile ID, and when the authentication of the mobile ID and the device information of the electronic device 101 is completed, the vehicle information is transmitted to the electronic device ( 101).

동작 607에서, 전자 장치(101)는 상기 차량 정보에 포함된 모바일 신분증 정보를 인증할 수 있다. 전자 장치(101)는 차량(201)으로부터 상기 모바일 신분증 정보를 포함하는 차량 정보를 수신할 수 있다. 전자 장치(101)는 상기 수신된 차량 정보에 포함된 모바일 신분증 정보가 메모리(130)에 저장된 모바일 신분증 정보에 대응되는지 판단할 수 있다. 메모리(130)에 저장된 모바일 신분증 정보는 동작 601에서 차량(201)으로 전송한 모바일 신분증 정보를 의미할 수 있다. 예를 들어, 전자 장치(101)는 상기 수신된 모바일 신분증 정보의 신분증 식별 번호의 digest ID 또는 digest가 메모리(130)에 저장된 MSO 정보와 일치하는 여부를 확인할 수 있다. 상기 MSO 정보는 상기 모바일 신분증 정보(예: 모바일 신분증 서명 정보(413))에 포함된 데이터를 해시한 값이 포함될 수 있다. 상기 수신된 차량 정보에 포함된 모바일 신분증 정보가 메모리(130)에 저장된 모바일 신분증 정보에 대응되는지 판단하는 동작이 상기 모바일 신분증 정보를 인증하는 것일 수 있다.In operation 607, the electronic device 101 may authenticate mobile ID information included in the vehicle information. The electronic device 101 may receive vehicle information including the mobile ID information from the vehicle 201 . The electronic device 101 may determine whether the mobile ID information included in the received vehicle information corresponds to the mobile ID information stored in the memory 130 . Mobile ID information stored in the memory 130 may refer to mobile ID information transmitted to the vehicle 201 in operation 601 . For example, the electronic device 101 may check whether the digest ID or digest of the ID identification number of the received mobile ID information matches MSO information stored in the memory 130 . The MSO information may include a hash value of data included in the mobile ID information (eg, mobile ID signature information 413). The operation of determining whether the mobile ID information included in the received vehicle information corresponds to the mobile ID information stored in the memory 130 may be authenticating the mobile ID information.

다양한 실시예들에 따르면, 전자 장치(101)는 상기 차량 정보에 포함된 모바일 신분증 정보가 메모리(130)에 저장된 모바일 신분증 정보와 일치하지 않는 경우, 디지털 키를 생성하지 않거나, 상기 차량 정보를 다시 요청하거나, 발급 기관으로부터 모바일 신분증 정보를 다시 다운로드할 수 있다. According to various embodiments, when the mobile ID information included in the vehicle information does not match the mobile ID information stored in the memory 130, the electronic device 101 does not generate a digital key or regenerates the vehicle information. You can request it or download the mobile ID information again from the issuing authority.

동작 609에서, 전자 장치(101)는 차량(201)의 디지털 키(예: 암호화 키 쌍)를 생성할 수 있다. 전자 장치(101)는 상기 모바일 신분증 정보의 인증이 성공적으로 완료된 경우, 상기 장치 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 디지털 키를 생성할 수 있다. 상기 디지털 키는 차량(201)의 문을 열거나, 시동을 걸거나, 자율 주행할 때 필요한 것으로, 실물 차량 키에 대응되는 것일 수 있다. 전자 장치(101)는 제1 전자 장치 서버(예: 도 2a의 제1 전자 장치 서버(250))로부터 인증서를 발급받고, 상기 인증서에 기반하여 상기 디지털 키를 생성할 수 있다. 상기 디지털 키에는 상기 차량 정보 또는 상기 모바일 신분증 정보가 포함될 수 있다. In operation 609 , the electronic device 101 may generate a digital key (eg, an encryption key pair) of the vehicle 201 . When authentication of the mobile ID information is successfully completed, the electronic device 101 may generate the digital key based on the device information or the mobile ID information. The digital key is necessary for opening the door of the vehicle 201, starting the engine, or driving autonomously, and may correspond to a real vehicle key. The electronic device 101 may receive a certificate from the first electronic device server (eg, the first electronic device server 250 of FIG. 2A ) and generate the digital key based on the certificate. The digital key may include the vehicle information or the mobile ID information.

다양한 실시예들에 따르면, 전자 장치(101)는 전자 장치(101)의 장치 정보(예: 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 등)을 더 이용하여 상기 디지털 키를 생성할 수도 있다. 이 경우, 상기 디지털 키에는 상기 차량 정보 또는 상기 모바일 신분증 정보뿐만 아니라, 전자 장치(101)의 장치 정보가 더 포함될 수 있다. 상기 디지털 키는 다른 장치로의 이동이 불가하므로, 사용자가 전자 장치를 교체(예: 새로운 전자 장치)한 경우, 디지털 키를 새로 발급받을 수 있다. According to various embodiments, the electronic device 101 further uses device information (eg, a phone number, serial number, model name or type of the electronic device 101, etc.) of the electronic device 101 to obtain the digital key. can also create In this case, the digital key may further include device information of the electronic device 101 as well as the vehicle information or the mobile ID information. Since the digital key cannot be moved to another device, when a user replaces an electronic device (eg, a new electronic device), a new digital key can be issued.

동작 611에서, 전자 장치(101)는 상기 생성된 디지털 키를 차량(201)으로 전송할 수 있다. 전자 장치(101)는 차량(201)과 암호화된 프로토콜에 따라 상기 디지털 키를 차량(201)으로 전송할 수 있다.In operation 611, the electronic device 101 may transmit the generated digital key to the vehicle 201. The electronic device 101 may transmit the digital key to the vehicle 201 according to an encrypted protocol with the vehicle 201 .

동작 613에서, 차량(201)은 상기 디지털 키에 포함된 모바일 신분증 정보를 인증할 수 있다. 차량(201)은 전자 장치(101)로부터 상기 디지털 키를 수신하고, 상기 디지털 키에 포함된 모바일 신분증 정보를 추출할 수 있다. 차량(201)은 상기 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함시킨 모바일 신분증 정보에 대응되는지 여부를 판단할 수 있다. 차량(201)은 상기 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함시킨 모바일 신분증 정보에 대응되는 경우, 상기 디지털 키를 차량(201)의 개인 키로 서명할 수 있다.In operation 613, the vehicle 201 may authenticate mobile identification information included in the digital key. The vehicle 201 may receive the digital key from the electronic device 101 and extract mobile ID information included in the digital key. The vehicle 201 may determine whether the mobile ID information included in the digital key corresponds to the mobile ID information included in the vehicle information. The vehicle 201 may sign the digital key with the private key of the vehicle 201 when the mobile ID information included in the digital key corresponds to the mobile ID information included in the vehicle information.

동작 615에서, 차량(201)은 상기 모바일 신분증 정보를 차량(201)의 개인 키(private key)로 서명하여 운전자 식별 정보를 생성할 수 있다. 상기 생성된 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하거나, 상기 모바일 신분증 정보에 대응될 수 있다. In operation 615 , the vehicle 201 may generate driver identification information by signing the mobile identification information with a private key of the vehicle 201 . The generated driver identification information may include the mobile ID information or correspond to the mobile ID information.

동작 617에서, 차량(201)은 상기 생성된 운전자 식별 정보 또는 차량(201)의 개인 키로 서명된 디지털 키를 전자 장치(101)에 전송할 수 있다. 차량(201)은 전자 장치(101)과 암호화된 프로토콜에 따라 상기 운전자 식별 정보 또는 상기 서명된 디지털 키를 차량(201)으로 전송할 수 있다.In operation 617 , the vehicle 201 may transmit the generated driver identification information or the digital key signed with the private key of the vehicle 201 to the electronic device 101 . The vehicle 201 may transmit the driver identification information or the signed digital key to the vehicle 201 according to the electronic device 101 and an encrypted protocol.

동작 619-1에서, 전자 장치(101)는 상기 생성된 운전자 식별 정보 또는 상기 서명된 디지털 키를 수신하여 메모리에(130)에 저장할 수 있다. 전자 장치(101)는 상기 서명된 디지털 키에 상기 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(130)에 저장할 수 있다. 예를 들어, 전자 장치(101)는 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))의 개인 메일박스(예: 도 3c의 개인 메일 박스(392))에 상기 서명된 디지털 키 또는 상기 운전자 식별 정보를 저장할 수 있다. 차량(201)으로부터 수신된 디지털 키는 차량(201)의 개인 키로 서명한 것이므로, 차량(201)으로 전송한 디지털 키와는 다른 것일 수 있다.In operation 619-1, the electronic device 101 may receive and store the generated driver identification information or the signed digital key in the memory 130. The electronic device 101 may bind (or match) the driver identification information to the signed digital key and store it in the memory 130 . For example, the electronic device 101 stores the signed digital key or The driver identification information may be stored. Since the digital key received from the vehicle 201 is signed with the private key of the vehicle 201, it may be different from the digital key transmitted to the vehicle 201.

동작 619-2에서, 차량(201)은 상기 서명된 디지털 키에 상기 제1 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(570)에 저장할 수 있다. 도면에서는 동작 619-2가 동작 617 이후에 수행되는 것으로 도시하고 있지만, 동작 619-2는 동작 615 및 동작 617 사이에 수행될 수도 있다. 이러한 설명은 발명의 이해를 돕기 위한 것일 뿐, 설명에 의해 본 발명이 제한되는 것은 아니다.In operation 619-2, the vehicle 201 binds (or matches) the first driver identification information to the signed digital key and stores it in the memory 570. Although operation 619-2 is shown as being performed after operation 617 in the drawing, operation 619-2 may be performed between operations 615 and 617. This description is only for helping understanding of the invention, and the present invention is not limited by the description.

도 7은 다양한 실시예들에 따른 전자 장치에서 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도(700)이다.7 is a flowchart 700 illustrating a method of issuing a digital key linked to a mobile identification card in an electronic device according to various embodiments.

도 7을 참조하면, 동작 701에서, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 모바일 신분증 정보를 차량(예: 도 2a의 차량(201))으로 전송할 수 있다. 상기 모바일 신분증 정보는 모바일 신분증 서명 정보 및 MSO 정보를 포함할 수 있다. 프로세서(120)는 디지털 키 발급을 위해 발급 기관(예: 도 4의 서버(401))으로부터 미리 모바일 신분증을 발급받아, 메모리(예: 도 1의 메모리(130)에 저장할 수 있다. 전자 장치(101)는 메모리(130)에 저장된 모바일 신분증을 차량(201)으로 전송할 수 있다.Referring to FIG. 7 , in operation 701, a processor (eg, processor 120 of FIG. 1 ) of an electronic device (eg, electronic device 101 of FIG. 1 ) according to various embodiments performs a communication module (eg, FIG. Mobile identification information may be transmitted to a vehicle (eg, vehicle 201 of FIG. 2A ) through the communication module 190 of FIG. 1 . The mobile ID information may include mobile ID signature information and MSO information. The processor 120 may obtain a mobile identification card in advance from an issuing authority (eg, the server 401 of FIG. 4) to issue a digital key and store it in a memory (eg, the memory 130 of FIG. 1). The electronic device ( 101 may transmit the mobile ID stored in the memory 130 to the vehicle 201 .

다양한 실시예들에 따르면, 프로세서(120)는 통신 모듈(190)을 통해 전자 장치(101)의 장치 정보를 더 전송할 수도 있다. 전자 장치(101)의 장치 정보는 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 중 적어도 하나를 포함할 수 있다. 차량(201)은 상기 모바일 신분증의 인증과 더불어, 전자 장치(101)의 장치 정보를 인증할 수 있다.According to various embodiments, the processor 120 may further transmit device information of the electronic device 101 through the communication module 190 . The device information of the electronic device 101 may include at least one of a phone number, a serial number, a model name, or a type of the electronic device 101 . The vehicle 201 may authenticate device information of the electronic device 101 together with authentication of the mobile identification card.

동작 703에서, 프로세서(120)는 상기 모바일 신분증 정보의 인증에 기반하여 통신 모듈(190)을 통해 차량(201)으로부터 차량 정보를 수신할 수 있다. 차량(201)에 의해 상기 전송된 모바일 신분증 정보가 차량(201)의 운전자의 모바일 신분증과 동일한 경우, 프로세서(120)는 상기 차량 정보를 수신할 수 있다. 상기 차량 정보에는 상기 모바일 신분증 정보가 포함될 수 있다. 상기 차량 정보에 포함되는 것은 상기 모바일 신분증에 포함된 신분증 식별 번호의 digest ID, 또는 digest가 포함될 수 있다.In operation 703, the processor 120 may receive vehicle information from the vehicle 201 through the communication module 190 based on the authentication of the mobile identification information. When the mobile identification information transmitted by the vehicle 201 is identical to the mobile identification information of the driver of the vehicle 201, the processor 120 may receive the vehicle information. The vehicle information may include the mobile ID information. Included in the vehicle information may be a digest ID or digest of an ID identification number included in the mobile ID.

동작 705에서, 프로세서(120)는 상기 장치 정보 또는 상기 모바일 신분증 정보에 기반하여 디지털 키를 생성할 수 있다. 디지털 키를 생성하기 전에, 프로세서(120)는 상기 차량 정보에 포함된 모바일 신분증 정보를 인증할 수 있다. 프로세서(120)는 상기 차량 정보에 포함된 모바일 신분증 정보가 메모리(130)에 저장된 모바일 신분증 정보에 대응되는지 판단할 수 있다. 예를 들어, 프로세서(120)는 상기 수신된 모바일 신분증 정보의 신분증 식별 번호의 digest ID 또는 digest가 메모리(130)에 저장된 MSO 정보와 일치하는 여부를 확인할 수 있다. 상기 MSO 정보는 모바일 신분증 정보(예: 모바일 신분증 서명 정보)를 해시한 값이므로, 프로세서(120)는 신분증 식별 번호의 digest ID 또는 digest를 해시하여 MSO의 digest 값과 일치하는지 여부를 판단할 수 있다. 상기 수신된 차량 정보에 포함된 모바일 신분증 정보가 메모리(130)에 저장된 모바일 신분증 정보에 대응되는 경우, 프로세서(120)는 상기 장치 정보 또는 상기 모바일 신분증 정보에 기반하여 디지털 키를 생성할 수 있다. 상기 디지털 키에는 상기 차량 정보 또는 상기 모바일 신분증 정보가 포함될 수 있다. In operation 705, the processor 120 may generate a digital key based on the device information or the mobile identification information. Before generating the digital key, the processor 120 may authenticate mobile identification information included in the vehicle information. The processor 120 may determine whether the mobile ID information included in the vehicle information corresponds to the mobile ID information stored in the memory 130 . For example, the processor 120 may check whether the digest ID or digest of the ID identification number of the received mobile ID information matches MSO information stored in the memory 130 . Since the MSO information is a hash value of mobile ID information (eg, mobile ID signature information), the processor 120 hashes the digest ID or digest of the ID identification number to determine whether it matches the digest value of the MSO. . When the mobile ID information included in the received vehicle information corresponds to the mobile ID information stored in the memory 130, the processor 120 may generate a digital key based on the device information or the mobile ID information. The digital key may include the vehicle information or the mobile ID information.

다양한 실시예들에 따르면, 프로세서(120)는 전자 장치(101)의 장치 정보(예: 전자 장치(101)의 전화번호, 시리얼 번호, 모델 이름 또는 종류 등)을 더 이용하여 상기 디지털 키를 생성할 수도 있다. 이 경우, 상기 디지털 키에는 상기 차량 정보 또는 상기 모바일 신분증 정보뿐만 아니라, 전자 장치(101)의 장치 정보가 더 포함될 수 있다. 상기 디지털 키는 다른 장치로의 이동이 불가하므로, 사용자가 전자 장치를 교체(예: 새로운 전자 장치)한 경우, 디지털 키를 새로 발급받을 수 있다. According to various embodiments, the processor 120 further uses device information of the electronic device 101 (eg, phone number, serial number, model name or type of the electronic device 101, etc.) to generate the digital key. You may. In this case, the digital key may further include device information of the electronic device 101 as well as the vehicle information or the mobile ID information. Since the digital key cannot be moved to another device, when a user replaces an electronic device (eg, a new electronic device), a new digital key can be issued.

동작 707에서, 프로세서(120)는 통신 모듈(190)을 통해 상기 생성된 디지털 키를 차량(201)으로 전송할 수 있다. 프로세서(120)는 차량(201)과 암호화된 프로토콜에 따라 상기 디지털 키를 차량(201)으로 전송할 수 있다. In operation 707 , the processor 120 may transmit the generated digital key to the vehicle 201 through the communication module 190 . The processor 120 may transmit the digital key to the vehicle 201 according to an encrypted protocol with the vehicle 201 .

동작 709에서, 프로세서(120)는 차량(201)으로부터 상기 모바일 신분증 정보가 상기 서명된 디지털 키와 바인딩된 운전자 식별 정보를 획득할 수 있다. 차량(201)은 상기 디지털 키를 인증하고, 인증이 성공적으로 완료되면 상기 디지털 키를 차량(201)의 개인 키로 서명할 수 있다. 또한, 차량(201)은 상기 모바일 신분증 정보를 차량(201)의 개인 키로 서명하여 운전자 식별 정보를 생성할 수 있다. 상기 생성된 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하거나, 상기 모바일 신분증 정보에 대응될 수 있다. 프로세서(120)는 차량(201)으로부터 개인 키로 서명된 디지털 키 및 상기 운전자 식별 정보를 수신할 수 있다.In operation 709 , the processor 120 may obtain driver identification information in which the mobile identification information is bound to the signed digital key from the vehicle 201 . The vehicle 201 can authenticate the digital key, and when the authentication is successfully completed, the digital key can be signed with the private key of the vehicle 201 . In addition, the vehicle 201 may generate driver identification information by signing the mobile identification information with a private key of the vehicle 201 . The generated driver identification information may include the mobile ID information or correspond to the mobile ID information. The processor 120 may receive a digital key signed with a private key and the driver identification information from the vehicle 201 .

동작 711에서, 프로세서(120)는 상기 생성된 운전자 식별 정보 또는 상기 서명된 디지털 키를 메모리에(130)에 저장할 수 있다. 프로세서(120)는 상기 서명된 디지털 키에 상기 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(130)에 저장할 수 있다. 예를 들어, 프로세서(120)는 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))의 개인 메일박스(예: 도 3c의 개인 메일 박스(392))에 상기 서명된 디지털 키 또는 상기 운전자 식별 정보를 저장할 수 있다. In operation 711 , the processor 120 may store the generated driver identification information or the signed digital key in the memory 130 . The processor 120 may bind (or match) the driver identification information to the signed digital key and store it in the memory 130 . For example, processor 120 may place the signed digital key or the Driver identification information may be stored.

도 8은 다양한 실시예들에 따른 차량에서 모바일 신분증과 연동된 디지털 키를 발급하는 방법을 도시한 흐름도(800)이다.8 is a flowchart 800 illustrating a method of issuing a digital key linked to a mobile identification card in a vehicle according to various embodiments.

도 8을 참조하면, 동작 801에서, 차량(예: 도 2a의 차량(201))의 프로세서(예: 도 5의 프로세서(550))는 통신 모듈(예: 도 5의 통신 모듈(530))을 통해 전자 장치(예: 도 1의 전자 장치(101))로부터 모바일 신분증 정보(또는 모바일 신분증)을 수신할 수 있다. 동작 801은 차량(201)의 소유주는 차량(201)의 차량 키(예: 실물 차량 키)를 소유하고, 차량(201)에 탑승하여 디지털 키 발급을 요청한 경우에 수행될 수 있다. 프로세서(550)는 통신 모듈(530) 또는 센서 모듈(예: 도 5의 센서 모듈(590))을 이용하여 차량(201)에 대응하는 실물 차량 키(예: 스마트 키)를 인식할 수 있다. 프로세서(550)는 상기 실물 차량 키가 인식되고, 디스플레이(예: 도 5의 디스플레이(510))를 통해 표시된 메뉴, 설정된 버튼, 또는 설정된 음성 인식 중 적어도 하나를 통해 디지털 키 발급 요청을 수신할 수 있다. 프로세서(550)는 상기 디지털 키 발급을 요청에 응답하여 전자 장치(101)와 암호화된 통신을 연결하고, 전자 장치(101)로 모바일 신분증을 요청하여 전자 장치(101)로부터 상기 모바일 신분증 정보를 수신할 수 있다.Referring to FIG. 8 , in operation 801, a processor (eg, processor 550 of FIG. 5 ) of a vehicle (eg, vehicle 201 of FIG. 2A ) communicates with a communication module (eg, communication module 530 of FIG. 5 ). Mobile ID information (or mobile ID) may be received from an electronic device (eg, the electronic device 101 of FIG. 1 ) through Operation 801 may be performed when the owner of the vehicle 201 possesses a vehicle key (eg, a real vehicle key) of the vehicle 201 and requests issuance of the digital key by boarding the vehicle 201 . The processor 550 may recognize a real vehicle key (eg, a smart key) corresponding to the vehicle 201 using the communication module 530 or a sensor module (eg, the sensor module 590 of FIG. 5 ). The processor 550 recognizes the actual vehicle key and receives a digital key issuance request through at least one of a menu displayed through a display (eg, the display 510 of FIG. 5 ), a set button, or a set voice recognition. there is. The processor 550 connects encrypted communication with the electronic device 101 in response to the digital key issuance request, requests a mobile ID card from the electronic device 101, and receives the mobile ID information from the electronic device 101. can do.

동작 803에서, 프로세서(550)는 상기 모바일 신분증을 인증할 수 있다. 상기 모바일 신분증을 인증하는 방법은 도 4와 같이 장치 기반 모드 또는 서버 기반 모드로 수행될 수 있지만, 보안 강화를 위해 장치 기반 모드로 수행될 수 있다. 프로세서(550)는 도 4에서 설명한 동작에 의해 상기 모바일 신분증을 인증할 수 있다.At operation 803, processor 550 may authenticate the mobile identification card. The mobile ID authentication method may be performed in a device-based mode or a server-based mode as shown in FIG. 4, but may be performed in a device-based mode for security enhancement. The processor 550 may authenticate the mobile ID by the operation described in FIG. 4 .

동작 805에서, 프로세서(550)는 상기 모바일 신분증 인증이 완료되면, 통신 모듈(530)을 통해 모바일 신분증 정보를 포함하는 차량 정보를 전자 장치(101)에 전송할 수 있다. 상기 모바일 신분증 정보는 상기 모바일 신분증에 포함된 정보와 동일하거나, 상기 모바일 신분증에 포함된 일부 정보를 포함할 수 있다. 예를 들어, 상기 모바일 신분증 정보는 상기 모바일 신분증에 포함된 신분증 식별 번호(또는 상기 제1 사용자에 대응하는 이름)의 digest ID, 또는 digest가 포함될 수 있다. 차량(201)은 상기 차량 정보의 구성 정보(예: endpoint configuration data)에 상기 모바일 신분증 정보를 포함시킬 수 있다.In operation 805 , the processor 550 may transmit vehicle information including mobile ID information to the electronic device 101 through the communication module 530 when the mobile ID authentication is completed. The mobile ID information may be the same as information included in the mobile ID, or may include some information included in the mobile ID. For example, the mobile ID information may include a digest ID or digest of an ID identification number (or a name corresponding to the first user) included in the mobile ID. The vehicle 201 may include the mobile ID information in configuration information (eg, endpoint configuration data) of the vehicle information.

동작 807에서, 프로세서(550)는 통신 모듈(530)을 통해 전자 장치(101)로부터 디지털 키를 수신할 수 있다. 상기 디지털 키에는 상기 차량 정보 또는 상기 모바일 신분증 정보가 포함될 수 있다. In operation 807 , the processor 550 may receive a digital key from the electronic device 101 through the communication module 530 . The digital key may include the vehicle information or the mobile ID information.

동작 809에서, 프로세서(550)는 상기 디지털 키에 포함된 모바일 신분증 정보를 인증할 수 있다. 프로세서(550)는 상기 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함시킨 모바일 신분증 정보에 대응되는지 여부를 판단할 수 있다. 프로세서(550)는 상기 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함시킨 모바일 신분증 정보에 대응되는 경우, 상기 디지털 키를 차량(201)의 개인 키로 서명할 수 있다.In operation 809, the processor 550 may authenticate the mobile identification information included in the digital key. The processor 550 may determine whether the mobile ID information included in the digital key corresponds to the mobile ID information included in the vehicle information. The processor 550 may sign the digital key with the private key of the vehicle 201 when the mobile ID information included in the digital key corresponds to the mobile ID information included in the vehicle information.

동작 811에서, 프로세서(550)는 상기 모바일 신분증 정보를 상기 서명된 디지털 키에 바인딩한 운전자 식별 정보를 생성할 수 있다. 프로세서(550)는 상기 모바일 신분증 정보를 차량(201)의 개인 키로 서명하여 운전자 식별 정보를 생성할 수 있다. 상기 생성된 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하거나, 상기 모바일 신분증 정보에 대응될 수 있다. In operation 811, the processor 550 may generate driver identification information by binding the mobile identification information to the signed digital key. The processor 550 may generate driver identification information by signing the mobile identification information with a private key of the vehicle 201 . The generated driver identification information may include the mobile ID information or correspond to the mobile ID information.

동작 813에서, 프로세서(550)는 통신 모듈(530)을 통해 상기 생성된 운전자 식별 정보 또는 차량(201)의 개인 키로 서명한 디지털 키를 전자 장치(101)에 전송하고, 저장할 수 있다. 프로세서(550)는 상기 서명된 디지털 키에 상기 제1 운전자 식별 정보를 바인딩(또는 매칭)하여 메모리(예: 도 5의 메모리(570))에 저장할 수 있다.In operation 813, the processor 550 may transmit and store the generated driver identification information or the digital key signed with the private key of the vehicle 201 to the electronic device 101 through the communication module 530. The processor 550 may bind (or match) the first driver identification information to the signed digital key and store it in a memory (eg, the memory 570 of FIG. 5 ).

도 9는 다양한 실시예들에 따라 모바일 신분증과 연동된 디지털 키를 인증하여 차량을 제어하는 방법을 도시한 흐름도이다.9 is a flowchart illustrating a method of controlling a vehicle by authenticating a digital key associated with a mobile identification card according to various embodiments.

도 9를 참조하면, 동작 901에서, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))는 디지털 키를 이용하여 차량(예: 도 2a의 차량(201))의 문 열림을 요청할 수 있다. 상기 디지털 키는 전자 장치(101)의 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))에 저장되어 있다. 디지털 키 애플릿(325)에는 운전자 식별 정보도 저장될 수 있다. 전자 장치(101)의 사용자는 차량(201)에 근접하고, 디지털 키 어플리케이션(예: 도 3a의 디지털 키 어플리케이션(315))을 실행시킬 수 있다. 디지털 키 어플리케이션(315)에 의해 전자 장치(101)와 차량(201)은 상호 인증 프로토콜이 수행될 수 있다.Referring to FIG. 9 , in operation 901, an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments uses a digital key to open a door of a vehicle (eg, the vehicle 201 of FIG. 2A ). You can request an opening. The digital key is stored in a digital key applet (eg, digital key applet 325 of FIG. 3A) of the electronic device 101. Driver identification information may also be stored in the digital key applet 325 . A user of the electronic device 101 may approach the vehicle 201 and execute a digital key application (eg, the digital key application 315 of FIG. 3A ). A mutual authentication protocol may be performed between the electronic device 101 and the vehicle 201 by the digital key application 315 .

동작 903에서, 차량(201)은 상기 디지털 키를 인증(또는 검증)할 수 있다. 상기 디지털 키는 차량(201)의 개인 키로 서명된 것일 수 있다. 차량(201)은 전자 장치(101)와 상호 인증 프로토콜(예: 인증서 체인)을 수행하여, 상기 디지털 키를 검증할 수 있다. 상기 디지털 키 검증은 CCC에 정의된 스팩을 따를 수 있다.In operation 903, vehicle 201 may authenticate (or verify) the digital key. The digital key may be signed with the private key of the vehicle 201 . The vehicle 201 may verify the digital key by performing a mutual authentication protocol (eg, certificate chain) with the electronic device 101 . The digital key verification may follow specifications defined in CCC.

동작 905에서, 차량(201)은 상기 디지털 키의 인증이 성공적으로 완료되면, 차량 문 열림을 허용할 수 있다. 차량(201)은 상기 디지털 키의 인증이 실패하는 경우, 문 열림을 불허할 수 있다.In operation 905, the vehicle 201 may allow the vehicle door to be opened when authentication of the digital key is successfully completed. The vehicle 201 may disallow door opening when authentication of the digital key fails.

동작 907에서, 전자 장치(101)는 차량(201)으로 모바일 신분증 정보 및 운전자 식별 정보를 전송할 수 있다. 도면에서는 모바일 신분증 정보 및 운전자 식별 정보를 모두 한번에 전송하는 것으로 설명하고 있지만, 서로 다른 시점에 전송할 수 있다. 예를 들어, 전자 장치(101)는 모바일 신분증 정보를 먼저 전송하고, 차량(201)에 의해 상기 모바일 신분증 정보의 인증이 완료되면, 차량(201)은 전자 장치(101)의 디지털 키 애플릿(325)에 포함된 개인 메일 박스(예: 도 3c의 개인 메일 박스(392))에 저장된 운전자 식별 정보를 읽어올 수 있다.In operation 907 , the electronic device 101 may transmit mobile ID information and driver identification information to the vehicle 201 . In the drawing, it is described that both mobile identification information and driver identification information are transmitted at once, but they may be transmitted at different times. For example, the electronic device 101 transmits mobile ID information first, and when the authentication of the mobile ID information is completed by the vehicle 201, the vehicle 201 transmits the digital key applet 325 of the electronic device 101. Driver identification information stored in the personal mailbox (eg, the personal mailbox 392 of FIG. 3C) included in ) can be read.

동작 909에서, 차량(201)은 상기 모바일 신분증 정보를 인증할 수 있다. 상기 모바일 신분증 정보의 인증은 도 4의 장치 기반 동작을 수행하는 것일 수 있다.In operation 909, the vehicle 201 may authenticate the mobile identification information. Authentication of the mobile identification information may be performed by performing the device-based operation of FIG. 4 .

동작 911에서, 차량(201)은 상기 운전자 식별 정보를 인증할 수 있다. 차량(201)은 상기 운전자 식별 정보를 차량(201)의 공용 키(public key)로 서명 검증할 수 있다. 상기 운전자 식별 정보는 차량(201)의 개인 키로 암호화된 것이므로, 차량(201)의 공용 키로 복호화될 수 있다. 차량(201)은 상기 운전자 식별 정보가 차량(201)의 공용 키로 복호화되는 경우, 인증이 성공한 것으로 판단할 수 있다. 차량(201)은 상기 운전자 식별 정보가 상기 모바일 신분증 정보에 대응되는지 여부를 판단할 수 있다. 예를 들어, 차량(201)은 상기 모바일 신분증 정보의 신분증 식별 번호의 digest ID 또는 digest가 MSO 정보와 일치하는 여부를 확인할 수 있다.In operation 911, the vehicle 201 may authenticate the driver identification information. The vehicle 201 may perform signature verification on the driver identification information using a public key of the vehicle 201 . Since the driver identification information is encrypted with the private key of the vehicle 201, it can be decrypted with the public key of the vehicle 201. The vehicle 201 may determine that authentication is successful when the driver identification information is decrypted with the public key of the vehicle 201 . The vehicle 201 may determine whether the driver identification information corresponds to the mobile ID information. For example, the vehicle 201 may check whether the digest ID or digest of the ID identification number of the mobile ID information matches MSO information.

동작 913에서, 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료되면, 차량(201) 제어를 허용할 수 있다. 차량(201)의 제어는 차량(201)에 문을 열거나, 차량(201)에 시동을 걸거나, 또는 차량(201)을 자율 주행 모드로 운행하는 것을 포함할 수 있다. 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료된 경우에 한해서 차량(201)의 제어를 전부 허용할 수 있다. 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 제어를 전부 또는 일부 제한할 수 있다. 예를 들어, 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 문 열림 또는 시동 걸림을 허용하고, 자율 주행 모드를 허용하지 않을 수 있다. 또는, 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 문 열림, 시동 걸림, 또는 자율 주행 모드를 허용하지 않을 수 있다.In operation 913, the vehicle 201 may permit control of the vehicle 201 when authentication of the driver identification information is successfully completed. Controlling the vehicle 201 may include opening a door to the vehicle 201, starting the vehicle 201, or operating the vehicle 201 in an autonomous driving mode. The vehicle 201 may permit all control of the vehicle 201 only when authentication of the driver identification information is successfully completed. The vehicle 201 may restrict all or part of the control of the vehicle 201 when authentication of the driver identification information is not successfully completed. For example, if authentication of the driver identification information is not successfully completed, the vehicle 201 may allow opening or starting of the vehicle 201 and may not allow an autonomous driving mode. Alternatively, the vehicle 201 may not open the door, start the vehicle 201, or not allow the autonomous driving mode if authentication of the driver identification information is not successfully completed.

도 10은 다양한 실시예들에 따른 전자 장치에서 디지털 키를 이용하여 차량을 제어하는 방법을 도시한 흐름도(1000)이다.10 is a flowchart 1000 illustrating a method of controlling a vehicle using a digital key in an electronic device according to various embodiments.

도 10을 참조하면, 동작 1001에서, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 차량(예: 도 2a의 차량(201))과 디지털 키를 인증할 수 있다. 상기 디지털 키는 메모리(예: 도 1의 메모리(130))의 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))에 저장되며, 차량(201)의 개인 키로 서명된 것일 수 있다. 디지털 키 애플릿(325)에는 운전자 식별 정보도 저장될 수 있다. 전자 장치(101)의 사용자는 차량(201)에 근접하고, 디지털 키 어플리케이션(예: 도 3a의 디지털 키 어플리케이션(315))을 실행시킬 수 있다. 디지털 키 어플리케이션(315)에 의해 프로세서(120)는 차량(201)과 상호 인증 프로토콜을 수행하여 상기 디지털 키를 검증할 수 있다. 상기 디지털 키 검증은 CCC에 정의된 스팩을 따를 수 있다.Referring to FIG. 10 , in operation 1001, a processor (eg, the processor 120 of FIG. 1 ) of an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present invention performs a vehicle (eg, FIG. 2A ). of the vehicle 201) and the digital key can be authenticated. The digital key may be stored in a digital key applet (eg, digital key applet 325 in FIG. 3A) of a memory (eg, memory 130 in FIG. 1) and signed with a private key of the vehicle 201. Driver identification information may also be stored in the digital key applet 325 . A user of the electronic device 101 may approach the vehicle 201 and execute a digital key application (eg, the digital key application 315 of FIG. 3A ). The processor 120 may verify the digital key by performing a mutual authentication protocol with the vehicle 201 by the digital key application 315 . The digital key verification may follow specifications defined in CCC.

동작 1003에서, 프로세서(120)는 상기 디지털 키 인증이 완료되면, 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 차량(201)으로 모바일 신분증 정보 및 운전자 식별 정보를 전송할 수 있다. 도면에서는 모바일 신분증 정보 및 운전자 식별 정보를 모두 한번에 전송하는 것으로 설명하고 있지만, 서로 다른 시점에 전송할 수 있다. 예를 들어, 프로세서(120)는 모바일 신분증 정보를 먼저 전송하고, 차량(201)에 의해 상기 모바일 신분증 정보의 인증이 완료되면, 운전자 식별 정보를 전송할 수 있다. 모바일 신분증 정보의 인증이 완료되면, 차량(201)은 전자 장치(101)의 디지털 키 애플릿(325)에 포함된 개인 메일 박스(예: 도 3c의 개인 메일 박스(392))에 저장된 운전자 식별 정보를 읽어올 수 있다.In operation 1003, when the digital key authentication is completed, the processor 120 may transmit mobile ID information and driver identification information to the vehicle 201 through a communication module (eg, the communication module 190 of FIG. 1). In the drawing, it is described that both mobile identification information and driver identification information are transmitted at once, but they may be transmitted at different times. For example, the processor 120 may transmit mobile ID information first, and transmit driver identification information when authentication of the mobile ID information is completed by the vehicle 201 . When authentication of the mobile ID information is completed, the vehicle 201 provides driver identification information stored in a personal mailbox included in the digital key applet 325 of the electronic device 101 (eg, personal mailbox 392 in FIG. 3C). can be read.

동작 1005에서, 프로세서(120)는 정보 인증에 기반하여 차량(201)의 제어권을 획득할 수 있다. 차량(201)은 도 4의 장치 기반 동작을 수행하여 상기 모바일 신분증 정보를 인증할 수 있다. 차량(201)은 상기 운전자 식별 정보를 차량(201)의 공용 키로 서명 검증할 수 있다. 예를 들어, 상기 운전자 식별 정보는 차량(201)의 개인 키로 암호화된 것이므로, 차량(201)의 공용 키로 복호화될 수 있다. 차량(201)은 상기 운전자 식별 정보가 차량(201)의 공용 키로 복호화되는 경우, 인증이 성공한 것으로 판단할 수 있다. 상기 모바일 신분증 정보와 상기 운전자 식별 정보가 모두 성공적으로 인증된 경우, 프로세서(120)는 차량(201)으로부터 차량(201)의 제어권을 획득할 수 있다. 또는, 상기 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 제어권은 전부 또는 일부 제한될 수 있다. 예를 들어, 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 문 열림 또는 시동은 허용하고, 자율 주행 모드는 허용하지 않을 수 있다. In operation 1005 , the processor 120 may obtain the right to control the vehicle 201 based on information authentication. The vehicle 201 may authenticate the mobile ID information by performing the device-based operation of FIG. 4 . The vehicle 201 may perform signature verification on the driver identification information with a public key of the vehicle 201 . For example, since the driver identification information is encrypted with the private key of the vehicle 201, it can be decrypted with the public key of the vehicle 201. The vehicle 201 may determine that authentication is successful when the driver identification information is decrypted with the public key of the vehicle 201 . When both the mobile identification information and the driver identification information are successfully authenticated, the processor 120 may acquire the right to control the vehicle 201 from the vehicle 201 . Alternatively, if authentication of the driver identification information is not successfully completed, the right to control the vehicle 201 may be restricted in whole or in part. For example, if authentication of the driver identification information is not successfully completed, the vehicle 201 may allow opening or starting of the vehicle 201 and may not allow an autonomous driving mode.

도 11은 다양한 실시예들에 따른 차량에서 디지털 키를 인증하여 차량의 제어를 허용하는 방법을 도시한 흐름도(1100)이다.FIG. 11 is a flowchart 1100 illustrating a method of permitting control of a vehicle by authenticating a digital key in a vehicle according to various embodiments.

도 11을 참조하면, 동작 1101에서, 차량(예: 도 2a의 차량(201))의 프로세서(예: 도 5의 프로세서(550))는 디지털 키를 감지할 수 있다. 디지털 키를 포함하는 전자 장치(예: 도 1의 전자 장치(101))가 근접하거나, 디지털 키 어플리케이션을 실행시키면, 프로세서(550)는 디지털 키를 감지할 수 있다. 프로세서(550)는 통신 모듈(예: 도 5의 통신 모듈(530))을 또는 센서 모듈(예: 도 5의 센서 모듈(590))을 이용하여 상기 디지털 키를 감지할 수 있다.Referring to FIG. 11 , in operation 1101, a processor (eg, processor 550 of FIG. 5 ) of a vehicle (eg, vehicle 201 of FIG. 2A ) may detect a digital key. When an electronic device including a digital key (eg, the electronic device 101 of FIG. 1 ) approaches or executes a digital key application, the processor 550 may detect the digital key. The processor 550 may detect the digital key using a communication module (eg, the communication module 530 of FIG. 5 ) or a sensor module (eg, the sensor module 590 of FIG. 5 ).

동작 1103에서, 프로세서(550)는 상기 디지털 키를 검증하여 상기 디지털 키 검증이 성공적인지 여부를 판단할 수 있다. 상기 디지털 키는 차량(201)의 개인 키로 서명된 것일 수 있다. 프로세서(550)는 전자 장치(101)와 상호 인증 프로토콜(예: 인증서 체인 검증)을 수행하여, 상기 디지털 키를 검증할 수 있다. 상기 디지털 키 검증은 CCC에 정의된 스팩을 따를 수 있다.In operation 1103, the processor 550 may verify the digital key to determine whether the digital key verification is successful. The digital key may be signed with the private key of the vehicle 201 . The processor 550 may verify the digital key by performing a mutual authentication protocol (eg, certificate chain verification) with the electronic device 101 . The digital key verification may follow specifications defined in CCC.

프로세서(550)는 상기 디지털 키가 검증이 성공된 경우 동작 1105를 수행하고, 상기 디지털 키가 검증이 실패인 경우 동작 1104를 수행할 수 있다.The processor 550 may perform operation 1105 if the verification of the digital key succeeds, and may perform operation 1104 if verification of the digital key fails.

상기 디지털 키 검증이 실패되는 경우 동작 1104에서, 프로세서(550)는 차량(201)의 문 열림을 불허할 수 있다.If the verification of the digital key fails, in operation 1104, the processor 550 may disallow opening the door of the vehicle 201.

상기 디지털 키 검증이 성공되는 경우 동작 1105에서, 프로세서(550)는 통신 모듈(530)을 통해 전자 장치(101)로부터 모바일 신분증 정보 및 운전자 식별 정보를 수신할 수 있다. 도면에서는 모바일 신분증 정보 및 운전자 식별 정보를 모두 한번에 전송하는 것으로 설명하고 있지만, 서로 다른 시점에 수신할 수 있다.If the digital key verification is successful, in operation 1105, the processor 550 may receive mobile ID information and driver identification information from the electronic device 101 through the communication module 530. In the drawings, both mobile identification information and driver identification information are described as being transmitted at once, but they may be received at different times.

동작 1107에서, 프로세서(550)는 상기 모바일 신분증 정보를 인증할 수 있다. 프로세서(550)는 도 4의 장치 기반 동작을 수행함으로써, 상기 모바일 신분증 정보를 인증할 수 있다.In operation 1107, the processor 550 may authenticate the mobile identification information. The processor 550 may authenticate the mobile ID information by performing the device-based operation of FIG. 4 .

동작 1109에서, 프로세서(550)는 상기 운전자 식별 정보가 차량(201)의 공용 키로 서명 검증되는지 여부를 판단할 수 있다. 상기 운전자 식별 정보는 차량(201)의 개인 키로 암호화된 것이므로, 차량(201)의 공용 키로 복호화될 수 있다. 차량(201)은 상기 운전자 식별 정보가 차량(201)의 공용 키로 복호화되는 경우, 인증이 성공한 것으로 판단할 수 있다.In operation 1109 , the processor 550 may determine whether the driver identification information is signature verified with the public key of the vehicle 201 . Since the driver identification information is encrypted with the private key of the vehicle 201, it can be decrypted with the public key of the vehicle 201. The vehicle 201 may determine that authentication is successful when the driver identification information is decrypted with the public key of the vehicle 201 .

프로세서(550)는 상기 운전자 식별 정보가 차량(201)의 공용 키로 서명 검증되는 경우 동작 1111을 수행하고, 상기 운전자 식별 정보가 차량(201)의 공용 키로 서명 검증되지 않는 경우 동작 1113을 수행할 수 있다.The processor 550 may perform operation 1111 when the driver identification information is signature verified with the public key of the vehicle 201, and perform operation 1113 when the driver identification information is not signature verified with the public key of the vehicle 201. there is.

상기 운전자 식별 정보가 차량(201)의 공용 키로 서명 검증되는 경우 동작 1111에서, 프로세서(550)는 차량 제어권을 허용(또는 부여)할 수 있다. 차량(201)의 제어는 차량(201)에 문을 열거나, 차량(201)에 시동을 걸거나, 또는 차량(201)을 자율 주행 모드로 운행하는 것을 포함할 수 있다. 차량(201)은 상기 운전자 식별 정보의 인증이 성공적으로 완료된 경우에 한해서 차량(201)의 제어를 전부 허용할 수 있다.In operation 1111, when the signature verification of the driver identification information is performed using the public key of the vehicle 201, the processor 550 may allow (or grant) the right to control the vehicle. Controlling the vehicle 201 may include opening a door to the vehicle 201, starting the vehicle 201, or operating the vehicle 201 in an autonomous driving mode. The vehicle 201 may permit all control of the vehicle 201 only when authentication of the driver identification information is successfully completed.

상기 운전자 식별 정보가 차량(201)의 공용 키로 서명 검증되지 않는 경우 동작 1113에서, 프로세서(550)는 차량 제어권을 제한할 수 있다. 프로세서(550)는 차량(201)의 제어를 전부 또는 일부 제한할 수 있다. 예를 들어, 프로세서(550)는 차량(201)의 문 열림 또는 시동 걸림을 허용하고, 자율 주행 모드를 허용하지 않을 수 있다. 또는, 프로세서(550)는 차량(201)의 문 열림, 시동 걸림, 또는 자율 주행 모드를 허용하지 않을 수 있다.In operation 1113, when the driver's identification information is not signature verified with the public key of the vehicle 201, the processor 550 may restrict the right to control the vehicle. The processor 550 may limit all or part of the control of the vehicle 201 . For example, the processor 550 may allow opening or starting of the vehicle 201 and may not allow an autonomous driving mode. Alternatively, the processor 550 may not allow the vehicle 201 to open the door, start the engine, or operate the autonomous driving mode.

도 12는 다양한 실시예들에 따라 디지털 키를 공유하는 방법을 도시한 흐름도이다.12 is a flow diagram illustrating a method of sharing a digital key according to various embodiments.

도 12를 참조하면, 동작 1201에서, 다양한 실시예들에 따른 제1 전자 장치(예: 도 1의 전자 장치(101))는 차량(예: 도 2a의 차량(201))의 제1 디지털 키를 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 이하에서는, 제2 전자 장치(203)와의 구별을 위하여, 전자 장치(101)를 제1 전자 장치(101)라 할 수 있다. 또한, 제2 디지털 키와 구별을 위해, 제1 전자 장치(101)에서 저장된 디지털 키를 '제1 디지털 키'라 할 수 있다. 제1 전자 장치(101)는 상기 제1 디지털 키는 메모리(130)의 제1 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))에 저장되어 있다. 디지털 키 애플릿(325)에는 제1 운전자 식별 정보도 저장될 수 있다. 동작 1201은 오너 페어링을 완료한 상태로서, 예를 들어, 도 6의 동작을 완료한 이후에 수행되는 동작일 수 있다. 제1 디지털 키는 차량(201)을 제어(예: 문 열림, 시동 걸기, 자율 주행)할 때 이용될 수 있다. Referring to FIG. 12 , in operation 1201, a first electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments provides a first digital key of a vehicle (eg, the vehicle 201 of FIG. 2A ). may be stored in a memory (eg, the memory 130 of FIG. 1). Hereinafter, the electronic device 101 may be referred to as the first electronic device 101 to be distinguished from the second electronic device 203 . In addition, to be distinguished from the second digital key, the digital key stored in the first electronic device 101 may be referred to as a 'first digital key'. In the first electronic device 101 , the first digital key is stored in a first digital key applet (eg, the digital key applet 325 of FIG. 3A ) of the memory 130 . First driver identification information may also be stored in the digital key applet 325 . Operation 1201 is a state in which owner pairing is completed, and may be, for example, an operation performed after the operation of FIG. 6 is completed. The first digital key may be used when controlling the vehicle 201 (eg, opening a door, starting an engine, autonomous driving).

동작 1203에서, 제2 전자 장치(예: 도 1의 전자 장치(102), 도 2a의 제2 전자 장치(203))는 제1 전자 장치(101)로 차량 공유를 요청할 수 있다. 제1 전자 장치(101)는 차량(201)을 소유한 제1 사용자 또는 차량 공유 업체(또는 서버)를 포함할 수 있다. 제2 전자 장치(203)는 차량 공유를 원하는 제2 사용자의 전자 장치를 의미할 수 있다. In operation 1203, the second electronic device (eg, the electronic device 102 of FIG. 1 or the second electronic device 203 of FIG. 2A) may request vehicle sharing from the first electronic device 101. The first electronic device 101 may include a first user who owns the vehicle 201 or a vehicle sharing company (or server). The second electronic device 203 may refer to an electronic device of a second user who wants to share a vehicle.

동작 1205에서, 제1 전자 장치(101)는 상기 요청에 응답하여 제2 모바일 신분증 정보를 인증할 수 있다. 상기 제2 모바일 신분증은 제2 전자 장치(203)의 제2 사용자에 대응되는 신분증이고, 제1 모바일 신분증은 제1 전자 장치(101)의 제1 사용자에 대응되는 신분증일 수 있다. 제1 전자 장치(101)는 모바일 신분증 서비스 시스템(400)의 리더 장치(405)에 해당하는 동작을 수행할 수 있다. 제1 전자 장치(101)는 도 4의 장치 기반 모드 또는 서버 기반 모드로 상기 제2 모바일 신분증 정보를 인증할 수 있다. 제1 전자 장치(101)는 상기 제2 모바일 신분증 정보의 인증이 성공적으로 완료되면 동작 1207을 수행할 수 있다. 제1 전자 장치(101)는 상기 제2 모바일 신분증 정보의 인증이 실패한 경우, 제2 전자 장치(203)로 상기 제2 모바일 신분증 정보를 재인증할 수 있다.In operation 1205, the first electronic device 101 may authenticate second mobile identification information in response to the request. The second mobile ID may be an ID corresponding to the second user of the second electronic device 203 , and the first mobile ID may be an ID corresponding to the first user of the first electronic device 101 . The first electronic device 101 may perform an operation corresponding to the reader device 405 of the mobile ID service system 400 . The first electronic device 101 may authenticate the second mobile ID information in the device-based mode or server-based mode of FIG. 4 . The first electronic device 101 may perform operation 1207 when authentication of the second mobile ID information is successfully completed. When authentication of the second mobile ID information fails, the first electronic device 101 may re-authenticate the second mobile ID information with the second electronic device 203 .

동작 1207에서, 제1 전자 장치(101)는 제2 전자 장치(203)로 차량 정보를 전송할 수 있다. 제1 전자 장치(101)는 차량(201)을 대신하여 차량(201)의 차량 정보를 제2 전자 장치(203)로 전송할 수 있다. 제1 전자 장치(101)는 차량 서버(예: 도 2a의 차량 서버(230))를 통해 상기 차량 정보를 제2 전자 장치(203)로 전송하거나, 상기 제1 디지털 키로부터 상기 차량 정보를 획득하여 제2 전자 장치(203)로 전송할 수 있다. 다양한 실시예들에 따르면, 제1 전자 장치(101)는 상기 차량 정보에 상기 제2 모바일 신분증 정보를 포함시켜 전송할 수 있다.In operation 1207, the first electronic device 101 may transmit vehicle information to the second electronic device 203. The first electronic device 101 may transmit vehicle information of the vehicle 201 to the second electronic device 203 instead of the vehicle 201 . The first electronic device 101 transmits the vehicle information to the second electronic device 203 through a vehicle server (eg, the vehicle server 230 of FIG. 2A) or obtains the vehicle information from the first digital key. and can be transmitted to the second electronic device 203. According to various embodiments, the first electronic device 101 may include and transmit the second mobile ID information in the vehicle information.

동작 1209에서, 제2 전자 장치(203)는 상기 차량 정보에 기반하여 제2 디지털 키를 생성할 수 있다. 제2 전자 장치(203)는 제2 전자 장치 서버(예: 도 2a의 제2 전자 장치 서버(210))로부터 발급된 인증서에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 다양한 실시예들에 따르면, 제2 전자 장치(203)는 상기 차량 정보에 포함된 제2 모바일 신분증 정보가 메모리에 저장된 제2 모바일 신분증 정보에 대응되는지 여부를 판단하고, 일치하는 경우, 상기 차량 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 제2 전자 장치(203)는 상기 차량 정보 및 상기 제2 모바일 신분증 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. In operation 1209, the second electronic device 203 may generate a second digital key based on the vehicle information. The second electronic device 203 may generate the second digital key based on a certificate issued by a second electronic device server (eg, the second electronic device server 210 of FIG. 2A ). According to various embodiments, the second electronic device 203 determines whether the second mobile ID information included in the vehicle information corresponds to the second mobile ID information stored in the memory, and if they match, the vehicle information It is possible to generate the second digital key based on. The second electronic device 203 may generate the second digital key based on the vehicle information and the second mobile ID information.

동작 1211에서, 제2 전자 장치(203)는 상기 생성된 제2 디지털 키를 제1 전자 장치(101)로 전송할 수 있다.In operation 1211, the second electronic device 203 may transmit the generated second digital key to the first electronic device 101.

동작 1213에서, 제1 전자 장치(101)는 제2 전자 장치(203)로부터 상기 제2 디지털 키를 수신하고, 제2 운전자 식별 정보를 생성할 수 있다. 제1 전자 장치(101)는 상기 제2 디지털 키를 상기 제1 디지털 키로 서명한 제2 운전자 식별 정보를 생성할 수 있다. 상기 제2 운전자 식별 정보는 제2 전자 장치(203)의 제2 모바일 신분증 정보(예: 운전자 식별 번호에 해당하는 Digest ID와 Digest)가 포함되거나, 제2 모바일 신분증 정보에 대응될 수 있다. 제1 전자 장치(101)는 상기 제2 디지털 키를 상기 제1 디지털 키로 서명할 수 있다. In operation 1213, the first electronic device 101 may receive the second digital key from the second electronic device 203 and generate second driver identification information. The first electronic device 101 may generate second driver identification information signed by the second digital key with the first digital key. The second driver identification information may include second mobile ID information of the second electronic device 203 (eg, digest ID and digest corresponding to the driver identification number) or may correspond to the second mobile ID information. The first electronic device 101 may sign the second digital key with the first digital key.

동작 1215에서, 제1 전자 장치(101)는 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 제2 전자 장치(203)로 전송할 수 있다. 제1 전자 장치(101)는 상기 서명된 제2 디지털 키에 상기 제2 운전자 식별 정보(예: Authorized Endpoint Attestation data field의 arbitrary_data에 운전자 식별 번호에 해당하는 Digest ID와 Digest)를 바인딩시켜 메모리(130)에 저장할 수 있다.In operation 1215, the first electronic device 101 may transmit the signed second digital key or the second driver identification information to the second electronic device 203. The first electronic device 101 binds the second driver identification information (eg, a digest ID corresponding to a driver identification number to arbitrary_data of an Authorized Endpoint Attestation data field) to the signed second digital key, and then binds the memory 130. ) can be stored.

동작 1217에서, 제2 전자 장치(203)는 상기 서명된 제2 디지털 키 및 상기 제2 운전자 식별 정보를 저장할 수 있다. 제2 전자 장치(203)는 상기 서명된 제2 디지털 키 및 상기 제2 운전자 식별 정보를 제2 디지털 키 애플릿(예: 도 3c의 제2 디지털 키 애플릿(380))의 개인 메일 박스(예: 도 3c의 제2 개인 메일 박스(382))에 저장할 수 있다.In operation 1217, the second electronic device 203 may store the signed second digital key and the second driver identification information. The second electronic device 203 stores the signed second digital key and the second driver identification information in a personal mailbox of a second digital key applet (eg, the second digital key applet 380 of FIG. 3C) (eg, It can be stored in the second personal mailbox 382 of FIG. 3C.

동작 1219에서, 제2 전자 장치(203)는 상기 제2 디지털 키를 이용하여 차량(201)의 문 열림을 요청할 수 있다. 제2 전자 장치(203)는 차량(201)에 근접해서, 디지털 키 어플리케이션을 실행시켜 차량(201)의 문 열림을 요청할 수 있다.In operation 1219, the second electronic device 203 may request to open the door of the vehicle 201 using the second digital key. The second electronic device 203 may approach the vehicle 201 and request to open the door of the vehicle 201 by executing a digital key application.

동작 1221에서, 차량(201)은 제2 모바일 신분증 정보 및 제2 운전자 식별 정보를 인증할 수 있다. 다양한 실시예들에 따르면, 제1 전자 장치(101)는 차량(201)에 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 전송할 수 있다. 또는, 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보는 차량 서버(230)를 통해 차량(201)에 전달될 수 있다. 차량(201)은 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 저장할 수 있다. 차량(201)은 제2 전자 장치(203)로부터 차량(201)의 제어(예: 문 열림, 시동 걸기, 자율 주행)가 요청(또는 시도)되면, 상기 서명된 제2 디지털 키를 인증할 수 있다. 상기 서명된 제2 디지털 키는 상기 제1 디지털 키에 의해 서명된 것일 수 있다. 상기 제2 디지털 키 검증은 CCC에 정의된 스팩을 따를 수 있다.In operation 1221, the vehicle 201 may authenticate the second mobile identification information and the second driver identification information. According to various embodiments, the first electronic device 101 may transmit the signed second digital key or the second driver identification information to the vehicle 201 . Alternatively, the signed second digital key or the second driver identification information may be transmitted to the vehicle 201 through the vehicle server 230 . The vehicle 201 may store the signed second digital key or the second driver identification information. The vehicle 201 may authenticate the signed second digital key when a control of the vehicle 201 (eg, door opening, ignition, autonomous driving) is requested (or attempted) from the second electronic device 203. there is. The signed second digital key may be signed by the first digital key. The second digital key verification may follow specifications defined in CCC.

차량(201)은 상기 제1 디지털 키 인증과 동일 또는 유사하게, 상기 제2 디지털 키를 인증할 수 있다. 또한, 차량(201)은 도 4의 동작을 수행하여 제2 전자 장치(203)의 제2 사용자에 대한 제2 모바일 신분증 정보를 인증하고, 상기 제2 모바일 신분증 정보의 인증이 성공적으로 완료되면, 상기 제2 운전자 식별 정보를 인증할 수 있다. 차량(201)은 제2 전자 장치(203)의 제2 디지털 키 애플릿(380)의 제2 개인 메일 박스(382)에 저장된 제2 운전자 식별 정보를 읽어와서 인증할 수 있다.The vehicle 201 may authenticate the second digital key identically or similarly to the authentication of the first digital key. In addition, the vehicle 201 performs the operation of FIG. 4 to authenticate the second mobile ID information for the second user of the second electronic device 203, and when the authentication of the second mobile ID information is successfully completed, The second driver identification information may be authenticated. The vehicle 201 may read and authenticate second driver identification information stored in the second personal mailbox 382 of the second digital key applet 380 of the second electronic device 203 .

동작 1223에서, 차량(201)은 상기 정보의 인증에 기반하여 차량 제어를 허용할 수 있다. 차량(201)은 상기 제2 운전자 식별 정보를 제1 디지털 키로 서명 검증할 수 있다. 차량(201)은 상기 제2 모바일 신분증 정보 및 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되면 제2 전자 장치(203)의 차량 제어를 허용할 수 있다. 또는, 차량(201)은 상기 제2 모바일 신분증 정보 및 상기 제2 운전자 식별 정보의 인증이 하나라도 실패하면 제2 전자 장치(203)의 차량 제어를 불허할 수 있다. 또는, 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 제어권은 전부 또는 일부 제한될 수 있다. 예를 들어, 차량(201)은 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 문 열림 또는 시동은 허용하고, 자율 주행 모드는 허용하지 않을 수 있다. In operation 1223, the vehicle 201 may allow vehicle control based on the information authentication. The vehicle 201 may verify the signature of the second driver identification information with the first digital key. The vehicle 201 may allow the second electronic device 203 to control the vehicle when authentication of the second mobile identification information and the second driver identification information is successfully completed. Alternatively, the vehicle 201 may disallow the second electronic device 203 from controlling the vehicle when authentication of the second mobile ID information and the second driver identification information fails. Alternatively, if authentication of the second driver identification information is not successfully completed, the right to control the vehicle 201 may be restricted in whole or in part. For example, if authentication of the second driver identification information is not successfully completed, the vehicle 201 may allow opening or starting of the vehicle 201, but may not allow an autonomous driving mode.

도 13은 다양한 실시예들에 따른 제1 전자 장치에서 디지털 키를 공유하는 방법을 도시한 흐름도(1300)이다.13 is a flowchart 1300 illustrating a method of sharing a digital key in a first electronic device according to various embodiments.

도 13을 참조하면, 동작 1301에서, 다양한 실시예들에 따른 제1 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 차량(예: 도 2a의 차량(201))과 디지털 키를 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 상기 제1 디지털 키는 메모리(예: 도 1의 메모리(130))의 디지털 키 애플릿(예: 도 3a의 디지털 키 애플릿(325))에 저장되며, 차량(201)의 개인 키로 서명된 것일 수 있다. 디지털 키 애플릿(325)에는 제1 운전자 식별 정보도 저장될 수 있다. 제1 전자 장치(101)는 차량(201)을 소유한 제1 사용자 또는 차량 공유 업체(또는 서버)를 포함할 수 있다. Referring to FIG. 13 , in operation 1301, a processor (eg, the processor 120 of FIG. 1 ) of a first electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure performs a vehicle (eg, the processor 120 of FIG. 1 ). The vehicle 201 of FIG. 2A and the digital key may be stored in a memory (eg, memory 130 of FIG. 1 ). The first digital key may be stored in a digital key applet (eg, digital key applet 325 of FIG. 3A) of a memory (eg, memory 130 of FIG. 1) and signed with a private key of the vehicle 201. there is. First driver identification information may also be stored in the digital key applet 325 . The first electronic device 101 may include a first user who owns the vehicle 201 or a vehicle sharing company (or server).

동작 1303에서, 프로세서(120)는 제2 모바일 신분증 정보를 인증할 수 있다. 프로세서(120)는 제2 전자 장치(예: 도 1의 전자 장치(102), 도 2a의 제2 전자 장치(203))로부터 차량 공유 요청을 수신할 수 있다. 제2 전자 장치(203)는 차량 공유를 원하는 제2 사용자의 전자 장치를 의미할 수 있다. 프로세서(120)는 상기 기 차량 공유 요청에 응답하여 제2 전자 장치(203)의 제2 사용자에 대응하는 제2 모바일 신분증 정보를 인증할 수 있다. 프로세서(120)는 모바일 신분증 서비스 시스템(400)의 리더 장치(405)에 해당하는 동작을 수행할 수 있다. 프로세서(120)는 도 4의 장치 기반 모드 또는 서버 기반 모드로 상기 제2 모바일 신분증 정보를 인증할 수 있다.In operation 1303, the processor 120 may authenticate the second mobile identification information. The processor 120 may receive a vehicle sharing request from a second electronic device (eg, the electronic device 102 of FIG. 1 or the second electronic device 203 of FIG. 2A ). The second electronic device 203 may refer to an electronic device of a second user who wants to share a vehicle. The processor 120 may authenticate second mobile ID information corresponding to the second user of the second electronic device 203 in response to the vehicle sharing request. The processor 120 may perform an operation corresponding to the reader device 405 of the mobile ID service system 400 . The processor 120 may authenticate the second mobile ID information in the device-based mode or the server-based mode of FIG. 4 .

동작 1305에서, 프로세서(120)는 상기 제2 모바일 신분증 정보의 인증이 성공적으로 완료되면, 제2 전자 장치(203)로 차량 정보를 전송할 수 있다. 프로세서(120)는 차량(201)을 대신하여 차량(201)의 차량 정보를 제2 전자 장치(203)로 전송할 수 있다. 프로세서(120)는 차량 서버(예: 도 2a의 차량 서버(230))를 통해 상기 차량 정보를 제2 전자 장치(203)로 전송하거나, 상기 제1 디지털 키로부터 상기 차량 정보를 획득하여 제2 전자 장치(203)로 전송할 수 있다. 다양한 실시예들에 따르면, 프로세서(120)는 상기 차량 정보에 상기 제2 모바일 신분증 정보를 포함시켜 전송할 수 있다.In operation 1305, the processor 120 may transmit vehicle information to the second electronic device 203 when authentication of the second mobile ID information is successfully completed. The processor 120 may transmit vehicle information of the vehicle 201 to the second electronic device 203 instead of the vehicle 201 . The processor 120 transmits the vehicle information to the second electronic device 203 through a vehicle server (eg, the vehicle server 230 of FIG. 2A ), or acquires the vehicle information from the first digital key to obtain the second electronic device. It can be transmitted to the electronic device 203. According to various embodiments, the processor 120 may include and transmit the second mobile ID information in the vehicle information.

동작 1307에서, 프로세서(120)는 제2 전자 장치(203)로부터 제2 디지털 키를 수신할 수 있다. 상기 제2 디지털 키에는 상기 차량 정보가 포함될 수 있다. 또는, 상기 제2 디지털 키에는 상기 차량 정보 및 상기 제2 모바일 신분증 정보가 포함될 수 있다. 프로세서(120)는 상기 제2 디지털 키를 상기 제1 디지털 키로 서명할 수 있다. In operation 1307, the processor 120 may receive a second digital key from the second electronic device 203. The vehicle information may be included in the second digital key. Alternatively, the second digital key may include the vehicle information and the second mobile ID information. Processor 120 may sign the second digital key with the first digital key.

동작 1309에서, 프로세서(120)는 상기 제1 디지털 키로 상기 제2 디지털 키를 서명하여 제2 운전자 식별 정보를 생성할 수 있다. 상기 제2 운전자 식별 정보는 제2 전자 장치(203)의 제2 모바일 신분증 정보(예: 운전자 식별 번호에 해당하는 Digest ID와 Digest)가 포함되거나, 제2 모바일 신분증 정보에 대응될 수 있다.In operation 1309, the processor 120 may generate second driver identification information by signing the second digital key with the first digital key. The second driver identification information may include second mobile ID information of the second electronic device 203 (eg, digest ID and digest corresponding to the driver identification number) or may correspond to the second mobile ID information.

동작 1311에서, 프로세서(120)는 상기 제2 운전자 식별 정보 또는 상기 서명된 제2 디지털 키를 제2 전자 장치(203)로 전송할 수 있다. 프로세서(120)는 상기 서명된 제2 디지털 키에 상기 제2 운전자 식별 정보(예: Authorized Endpoint Attestation data field의 arbitrary_data에 운전자 식별 번호에 해당하는 Digest ID와 Digest를 적용)를 바인딩시켜 메모리(130)에 저장할 수 있다.In operation 1311, the processor 120 may transmit the second driver identification information or the signed second digital key to the second electronic device 203. The processor 120 binds the second driver identification information (eg, applying a digest ID and digest corresponding to a driver identification number to arbitrary_data of an Authorized Endpoint Attestation data field) to the signed second digital key, and stores the memory 130 can be stored in

도 14는 다양한 실시예들에 따른 제2 전자 장치에서 디지털 키를 공유하는 방법을 도시한 흐름도(1400)이다.14 is a flowchart 1400 illustrating a method of sharing a digital key in a second electronic device according to various embodiments.

도 14를 참조하면, 동작 1401에서, 다양한 실시예들에 따른 제2 전자 장치(예: 도 2a의 제2 전자 장치(203))의 프로세서(예: 도 1의 프로세서(120))는 제1 전자 장치(예: 도 1의 전자 장치(101))로 제2 모바일 신분증 정보를 전송할 수 있다. 상기 제2 모바일 신분증 정보는 제2 전자 장치(203)의 제2 사용자에 대응되는 것일 수 있다. 프로세서(120)는 상기 제2 모바일 신분증 정보를 제1 전자 장치(101)로 전송(예: 장치 기반 모드)하거나, 상기 제2 모바일 신분증 정보를 발급받을 수 있는 주소 정보 및 일회성 토큰을 제1 전자 장치(101)로 전송(예: 서버 기반 모드)할 수 있다. 제1 전자 장치(101)는 차량(201)을 소유한 제1 사용자 또는 차량 공유 업체(또는 서버)를 포함할 수 있다. 제2 전자 장치(203)는 차량 공유를 원하는 제2 사용자의 전자 장치를 의미할 수 있다.Referring to FIG. 14 , in operation 1401, a processor (eg, the processor 120 of FIG. 1 ) of a second electronic device (eg, the second electronic device 203 of FIG. 2A ) according to various embodiments performs a first Second mobile identification information may be transmitted to an electronic device (eg, the electronic device 101 of FIG. 1 ). The second mobile ID information may correspond to a second user of the second electronic device 203 . The processor 120 transmits the second mobile ID information to the first electronic device 101 (eg, a device-based mode) or transmits address information and a one-time token for issuing the second mobile ID information to the first electronic device 101 . may be transmitted to the device 101 (eg, server-based mode). The first electronic device 101 may include a first user who owns the vehicle 201 or a vehicle sharing company (or server). The second electronic device 203 may refer to an electronic device of a second user who wants to share a vehicle.

동작 1403에서, 프로세서(120)는 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 제1 전자 장치(101)로부터 차량 정보를 수신할 수 있다. 제1 전자 장치(101)는 도 4의 동작을 수행하여 상기 제2 모바일 신분증 정보를 인증하고, 인증이 성공적으로 완료되면, 차량(예: 도 2a의 차량(201))의 차량 정보를 제2 전자 장치(203)로 전송할 수 있다. 상기 차량 정보는 제1 전자 장치(101)의 메모리에 저장될 수 있다. 제1 전자 장치(101)의 요청에 따라 프로세서(120)는 통신 모듈(190)을 통해 차량 서버(예: 도 2a의 차량 서버(230))로부터 상기 차량 정보를 수신할 수도 있다. 제1 전자 장치(101)는 제2 전자 장치(203)로 차량 정보를 전송해 줄 것을 차량 서버(230)로 요청할 수 있다.In operation 1403, the processor 120 may receive vehicle information from the first electronic device 101 through a communication module (eg, the communication module 190 of FIG. 1). The first electronic device 101 performs the operation of FIG. 4 to authenticate the second mobile ID information, and when the authentication is successfully completed, the vehicle information of the vehicle (eg, the vehicle 201 of FIG. 2A ) is transmitted to the second mobile ID. It can be transmitted to the electronic device 203. The vehicle information may be stored in the memory of the first electronic device 101 . According to the request of the first electronic device 101, the processor 120 may receive the vehicle information from the vehicle server (eg, the vehicle server 230 of FIG. 2A) through the communication module 190. The first electronic device 101 may request the vehicle server 230 to transmit vehicle information to the second electronic device 203 .

동작 1405에서, 프로세서(120)는 상기 차량 정보에 기반하여 제2 디지털 키를 생성할 수 있다. 프로세서(120)는 제2 전자 장치 서버(예: 도 2a의 제2 전자 장치 서버(210))로부터 발급된 인증서에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 다양한 실시예들에 따르면, 프로세서(120)는 상기 차량 정보에 포함된 제2 모바일 신분증 정보가 메모리에 저장된 제2 모바일 신분증 정보에 대응되는지 여부를 판단하고, 일치하는 경우, 상기 차량 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. 프로세서(120)는 상기 차량 정보 및 상기 제2 모바일 신분증 정보에 기반하여 상기 제2 디지털 키를 생성할 수 있다. In operation 1405, the processor 120 may generate a second digital key based on the vehicle information. The processor 120 may generate the second digital key based on a certificate issued by a second electronic device server (eg, the second electronic device server 210 of FIG. 2A ). According to various embodiments, the processor 120 determines whether the second mobile ID information included in the vehicle information corresponds to the second mobile ID information stored in the memory, and if matched, based on the vehicle information The second digital key may be generated. The processor 120 may generate the second digital key based on the vehicle information and the second mobile ID information.

동작 1407에서, 프로세서(120)는 상기 생성된 제2 디지털 키를 제1 전자 장치(101)로 전송할 수 있다. 프로세서(120)는 제1 전자 장치(101)와 암호화된 프로토콜에 따라 상기 제2 디지털 키를 전송할 수 있다.In operation 1407, the processor 120 may transmit the generated second digital key to the first electronic device 101. The processor 120 may transmit the second digital key according to an encrypted protocol with the first electronic device 101 .

동작 1409에서, 프로세서(120)는 제2 운전자 식별 정보 또는 서명된 제2 디지털 키를 수신할 수 있다. 제2 운전자 식별 정보는 제1 전자 장치(101)의 제1 디지털 키로 상기 제2 디지털 키를 서명하여 생성된 것일 수 있다. 상기 제2 운전자 식별 정보는 제2 전자 장치(203)의 제2 모바일 신분증 정보(예: 운전자 식별 번호에 해당하는 Digest ID와 Digest)가 포함되거나, 제2 모바일 신분증 정보에 대응될 수 있다. 제1 전자 장치(101)는 상기 제2 디지털 키를 상기 제1 디지털 키로 서명할 수 있다. At operation 1409, processor 120 may receive second driver identification information or a signed second digital key. The second driver identification information may be generated by signing the second digital key with the first digital key of the first electronic device 101 . The second driver identification information may include second mobile ID information of the second electronic device 203 (eg, digest ID and digest corresponding to the driver identification number) or may correspond to the second mobile ID information. The first electronic device 101 may sign the second digital key with the first digital key.

동작 1411에서, 프로세서(120)는 상기 서명된 제2 디지털 키 및 상기 제2 운전자 식별 정보를 저장할 수 있다. 제2 전자 장치(203)는 상기 서명된 제2 디지털 키 및 상기 제2 운전자 식별 정보를 제2 디지털 키 애플릿(예: 도 3c의 제2 디지털 키 애플릿(380))의 개인 메일 박스(예: 도 3c의 제2 개인 메일 박스(382))에 저장할 수 있다. In operation 1411, the processor 120 may store the signed second digital key and the second driver identification information. The second electronic device 203 stores the signed second digital key and the second driver identification information in a personal mailbox of a second digital key applet (eg, the second digital key applet 380 of FIG. 3C) (eg, It can be stored in the second personal mailbox 382 of FIG. 3C.

다양한 실시예들에 따르면, 제1 전자 장치(101)는 차량(201)에 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 전송할 수 있다. 또는, 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보는 차량 서버(230)를 통해 차량(201)에 전달될 수 있다. 차량(201)은 상기 서명된 제2 디지털 키 또는 상기 제2 운전자 식별 정보를 저장할 수 있다. According to various embodiments, the first electronic device 101 may transmit the signed second digital key or the second driver identification information to the vehicle 201 . Alternatively, the signed second digital key or the second driver identification information may be transmitted to the vehicle 201 through the vehicle server 230 . The vehicle 201 may store the signed second digital key or the second driver identification information.

프로세서(120)는 상기 서명된 제2 디지털 키를 이용하여 차량(201)의 제어를 요청할 수 있다. 차량(201)은 제2 전자 장치(203)로부터 차량(201)의 제어(예: 문 열림, 시동 걸기, 자율 주행)가 요청(또는 시도)되면, 상기 서명된 제2 디지털 키를 인증할 수 있다. 차량(201)은 상기 제1 디지털 키 인증과 동일 또는 유사하게, 상기 서명된 제2 디지털 키를 인증할 수 있다. 또한, 차량(201)은 도 4의 동작을 수행하여 제2 전자 장치(203)의 제2 사용자에 대한 제2 모바일 신분증 정보를 인증하고, 상기 제2 모바일 신분증 정보의 인증이 성공적으로 완료되면, 상기 제2 운전자 식별 정보를 인증할 수 있다. 차량(201)은 제2 전자 장치(203)의 제2 디지털 키 애플릿(380)의 제2 개인 메일 박스(382)에 저장된 제2 운전자 식별 정보를 읽어와서 인증할 수 있다.The processor 120 may request control of the vehicle 201 using the signed second digital key. The vehicle 201 may authenticate the signed second digital key when control of the vehicle 201 (eg, door opening, ignition, autonomous driving) is requested (or attempted) from the second electronic device 203. there is. The vehicle 201 may authenticate the signed second digital key identically or similarly to the authentication of the first digital key. In addition, the vehicle 201 performs the operation of FIG. 4 to authenticate the second mobile ID information for the second user of the second electronic device 203, and when the authentication of the second mobile ID information is successfully completed, The second driver identification information may be authenticated. The vehicle 201 may read and authenticate second driver identification information stored in the second personal mailbox 382 of the second digital key applet 380 of the second electronic device 203 .

차량(201)은 상기 정보의 인증에 기반하여 차량 제어를 허용할 수 있다. 차량(201)은 상기 제2 운전자 식별 정보를 제1 디지털 키로 서명 검증할 수 있다. 차량(201)은 상기 제2 모바일 신분증 정보 및 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되면 제2 전자 장치(203)의 차량 제어를 허용할 수 있다. 또는, 차량(201)은 상기 제2 모바일 신분증 정보 및 상기 제2 운전자 식별 정보의 인증이 하나라도 실패하면 제2 전자 장치(203)의 차량 제어를 불허할 수 있다. 또는, 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 제어권은 전부 또는 일부 제한될 수 있다. 예를 들어, 차량(201)은 상기 제2 운전자 식별 정보의 인증이 성공적으로 완료되지 않은 경우, 차량(201)의 문 열림 또는 시동은 허용하고, 자율 주행 모드는 허용하지 않을 수 있다. The vehicle 201 may permit vehicle control based on authentication of the above information. The vehicle 201 may verify the signature of the second driver identification information with the first digital key. The vehicle 201 may allow the second electronic device 203 to control the vehicle when authentication of the second mobile identification information and the second driver identification information is successfully completed. Alternatively, the vehicle 201 may disallow the second electronic device 203 from controlling the vehicle when authentication of the second mobile ID information and the second driver identification information fails. Alternatively, if authentication of the second driver identification information is not successfully completed, the right to control the vehicle 201 may be restricted in whole or in part. For example, if authentication of the second driver identification information is not successfully completed, the vehicle 201 may allow opening or starting of the vehicle 201, but may not allow an autonomous driving mode.

본 발명의 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))의 동작 방법은 상기 전자 장치가 통신 모듈(예: 도 1의 통신 모듈(190))을 통하여 차량과 연결되면, 상기 전자 장치의 메모리에 저장된 모바일 신분증 정보를 차량으로 전송하는 동작, 상기 차량으로부터 차량 정보를 수신하는 동작, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하는 동작, 상기 생성된 디지털 키를 상기 차량으로 전송하는 동작, 상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하는 동작, 및 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하는 동작을 포함할 수 있다.An operating method of an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure is configured to connect the electronic device to a vehicle through a communication module (eg, the communication module 190 of FIG. 1 ). operation, transmitting the mobile ID information stored in the memory of the electronic device to the vehicle, receiving vehicle information from the vehicle, generating a digital key of the vehicle based on the vehicle information or the mobile ID information, Transmitting the generated digital key to the vehicle, receiving a digital key signed by the vehicle and driver identification information from the vehicle, and storing the signed digital key and driver identification information in the memory. Actions may be included.

상기 생성하는 동작은, 상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는지 판단하는 동작, 및 상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는 경우, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하는 동작을 포함할 수 있다.The generating operation may include determining whether the mobile ID information included in the vehicle information corresponds to the mobile ID information stored in the memory, and the mobile ID information included in the vehicle information corresponds to the mobile ID information stored in the memory. If so, an operation of generating a digital key of the vehicle based on the vehicle information or the mobile ID information may be included.

상기 서명된 디지털 키는 상기 차량의 개인 키로 서명된 것이고, 상기 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하고, 상기 차량의 개인 키로 서명된 것이고, 상기 방법은 상기 메모리에 저장된 디지털 키에 기반하여 상기 차량의 제어를 요청하는 동작, 상기 차량에 의해 상기 디지털 키 및 상기 전자 장치에 대응되는 모바일 신분증 정보가 인증되면, 상기 차량으로 상기 메모리에 저장된 상기 운전자 식별 정보를 전송하는 동작, 및 상기 차량에 의해 상기 운전자 식별 정보가 인증되는지 여부에 기반하여 상기 차량의 제어를 획득하는 동작을 더 포함할 수 있다.The signed digital key is signed with the private key of the vehicle, the driver identification information includes the mobile identification information and is signed with the private key of the vehicle, and the method performs the method based on the digital key stored in the memory. Operation of requesting control of the vehicle, operation of transmitting the driver identification information stored in the memory to the vehicle when the digital key and mobile identification information corresponding to the electronic device are authenticated by the vehicle, and operations by the vehicle The method may further include obtaining control of the vehicle based on whether the driver identification information is authenticated.

본 명세서와 도면에 개시된 본 발명의 다양한 실시 예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Various embodiments of the present invention disclosed in the present specification and drawings are only presented as specific examples to easily explain the technical content of the present invention and help understanding of the present invention, and are not intended to limit the scope of the present invention. Therefore, the scope of the present invention should be construed as including all changes or modifications derived based on the technical idea of the present invention in addition to the embodiments disclosed herein.

101: 전자 장치
120: 프로세서
130: 메모리
101: electronic device
120: processor
130: memory

Claims (20)

전자 장치에 있어서,
통신 모듈;
메모리; 및
상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
상기 전자 장치가 차량과 연결되면, 상기 통신 모듈을 통해 상기 메모리에 저장된 모바일 신분증 정보를 차량으로 전송하고,
상기 차량으로부터 차량 정보를 수신하고,
상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하고,
상기 생성된 디지털 키를 상기 차량으로 전송하고,
상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하고,
상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하도록 설정된 전자 장치.
In electronic devices,
communication module;
Memory; and
a processor in operative connection with at least one of the communication module and the memory, the processor comprising:
When the electronic device is connected to the vehicle, transmits mobile ID information stored in the memory to the vehicle through the communication module;
Receiving vehicle information from the vehicle;
Generate a digital key of the vehicle based on the vehicle information or the mobile identification information;
Transmitting the generated digital key to the vehicle;
receive from the vehicle a digital key and driver identification information signed by the vehicle;
An electronic device configured to store the signed digital key and driver identification information in the memory.
제1항에 있어서, 상기 프로세서는,
상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는지 판단하고,
상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는 경우, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
determining whether mobile identification information included in the vehicle information corresponds to mobile identification information stored in the memory;
The electronic device configured to generate a digital key of the vehicle based on the vehicle information or the mobile identification information when the mobile identification information included in the vehicle information corresponds to the mobile identification information stored in the memory.
제1항에 있어서, 상기 프로세서는,
상기 차량에 의해 상기 디지털 키에 포함된 모바일 신분증 정보의 인증을 수행하고,
상기 디지털 키에 포함된 모바일 신분증 정보의 인증이 완료된 경우, 상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 차량으로부터 수신하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
performing authentication of mobile identification information included in the digital key by the vehicle;
The electronic device configured to receive the signed digital key and the driver identification information from the vehicle when authentication of the mobile identification information included in the digital key is completed.
제1항에 있어서,
상기 서명된 디지털 키는 상기 차량의 개인 키로 서명된 것이고,
상기 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하고, 상기 차량의 개인 키(private key)로 서명된 것인, 전자 장치.
According to claim 1,
The signed digital key is signed with the private key of the vehicle,
The electronic device of claim 1, wherein the driver identification information includes the mobile identification information and is signed with a private key of the vehicle.
제1항에 있어서, 상기 프로세서는,
상기 메모리에 저장된 디지털 키에 기반하여 상기 차량의 제어를 요청하고,
상기 차량에 의해 상기 디지털 키 및 상기 전자 장치에 대응되는 모바일 신분증 정보가 인증되면, 상기 차량으로 상기 메모리에 저장된 상기 운전자 식별 정보를 전송하고,
상기 차량에 의해 상기 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어가 가능하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
Request control of the vehicle based on the digital key stored in the memory;
When the digital key and the mobile identification information corresponding to the electronic device are authenticated by the vehicle, the driver identification information stored in the memory is transmitted to the vehicle;
An electronic device configured to enable control of the vehicle when the driver identification information is authenticated by the vehicle.
제1항에 있어서, 상기 프로세서는,
상기 차량에 의해 상기 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능이 제한되도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
An electronic device configured to limit some functions of the vehicle when the driver identification information is not authenticated by the vehicle.
제1항에 있어서, 상기 프로세서는,
제2 전자 장치로부터 차량 공유 요청을 수신하는 경우, 상기 제2 전자 장치의 제2 모바일 신분증 정보를 인증하고,
상기 제2 모바일 신분증 정보의 인증이 완료된 경우, 상기 차량의 차량 정보를 상기 제2 전자 장치로 전송하고,
상기 제2 전자 장치로부터 제2 디지털 키를 수신하고,
상기 제2 전자 장치에 대응되는 제2 운전자 식별 정보를 생성하도록 설정된 전자 장치.
The method of claim 1, wherein the processor,
When receiving a vehicle sharing request from a second electronic device, authenticating second mobile identification information of the second electronic device;
When authentication of the second mobile identification information is completed, vehicle information of the vehicle is transmitted to the second electronic device;
Receiving a second digital key from the second electronic device;
An electronic device configured to generate second driver identification information corresponding to the second electronic device.
제7항에 있어서, 상기 프로세서는,
상기 제1 디지털 키로 상기 제2 디지털 키를 서명하여 상기 제2 운전자 식별 정보를 생성하도록 설정된 전자 장치.
The method of claim 7, wherein the processor,
An electronic device configured to generate the second driver identification information by signing the second digital key with the first digital key.
제8항에 있어서, 상기 프로세서는,
상기 서명된 제2 디지털 키에 상기 제2 운전자 식별 정보를 바인딩시켜 상기 메모리에 저장하도록 설정된 전자 장치.
The method of claim 8, wherein the processor,
An electronic device configured to bind the second driver identification information to the signed second digital key and store the second driver identification information in the memory.
차량에 포함되는 전자 장치에 있어서,
통신 모듈;
메모리; 및
상기 통신 모듈 및 상기 메모리 중 적어도 하나와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
상기 전자 장치가 제1 외부 장치와 연결되면, 상기 통신 모듈을 통해 상기 제1 외부 장치로부터 제1 모바일 신분증 정보를 수신하고,
상기 제1 모바일 신분증 정보를 인증하여 상기 메모리에 저장된 상기 차량의 차량 정보를 상기 제1 외부 장치로 전송하고,
상기 제1 외부 장치로부터 제1 디지털 키를 수신하여 상기 제1 디지털 키를 인증하고,
상기 제1 디지털 키의 인증에 기반하여 상기 제1 디지털 키를 서명하고,
상기 제1 모바일 신분증 정보에 대응하는 제1 운전자 식별 정보를 생성하고,
상기 서명된 제1 디지털 키 및 상기 제1 운전자 식별 정보를 상기 제1 외부 장치로 전송하도록 설정된 전자 장치.
In an electronic device included in a vehicle,
communication module;
Memory; and
a processor in operative connection with at least one of the communication module and the memory, the processor comprising:
When the electronic device is connected to a first external device, receiving first mobile identification information from the first external device through the communication module;
authenticating the first mobile identification information and transmitting vehicle information of the vehicle stored in the memory to the first external device;
receiving a first digital key from the first external device and authenticating the first digital key;
signing the first digital key based on authentication of the first digital key;
generating first driver identification information corresponding to the first mobile identification information;
An electronic device configured to transmit the signed first digital key and the first driver identification information to the first external device.
제10항에 있어서, 상기 프로세서는,
상기 제1 모바일 신분증 정보가 인증되면, 상기 차량 정보에 상기 제1 모바일 신분증 정보를 포함시켜 상기 제1 외부 장치로 전송하도록 설정된 전자 장치.
The method of claim 10, wherein the processor,
If the first mobile identification information is authenticated, the electronic device configured to include the first mobile identification information in the vehicle information and transmit the information to the first external device.
제10항에 있어서, 상기 프로세서는,
상기 제1 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함된 상기 제1 모바일 신분증 정보에 대응되는지 여부를 판단하고,
상기 제1 디지털 키에 포함된 모바일 신분증 정보가 상기 차량 정보에 포함된 상기 제1 모바일 신분증 정보에 대응되는 경우, 상기 제1 디지털 키를 상기 메모리에 저장된 상기 차량의 개인 키로 서명하도록 설정된 전자 장치.
The method of claim 10, wherein the processor,
determining whether mobile identification information included in the first digital key corresponds to the first mobile identification information included in the vehicle information;
The electronic device configured to sign the first digital key with the private key of the vehicle stored in the memory when the mobile identification information included in the first digital key corresponds to the first mobile identification information included in the vehicle information.
제10항에 있어서, 프로세서는,
상기 제1 모바일 신분증 정보를 포함하고, 상기 메모리에 저장된 상기 차량의 개인 키로 서명하여 상기 제1 운전자 식별 정보를 생성하도록 설정된 전자 장치.
The method of claim 10, wherein the processor,
An electronic device configured to generate the first driver identification information by including the first mobile identification information and signing with the private key of the vehicle stored in the memory.
제10항에 있어서, 상기 프로세서는,
상기 차량의 제어가 요청되면, 상기 제1 외부 장치에 저장된 상기 제1 디지털 키를 인증하고,
상기 제1 디지털 키의 인증에 기반하여 상기 제1 외부 장치에 대응하는 상기 제1 모바일 신분증 정보를 인증하고,
상기 제1 모바일 신분증 정보가 인증되면, 상기 제1 외부 장치에 저장된 제1 운전자 식별 정보를 읽어와서 인증하도록 설정된 전자 장치.
The method of claim 10, wherein the processor,
When the control of the vehicle is requested, the first digital key stored in the first external device is authenticated;
authenticating the first mobile identification information corresponding to the first external device based on authentication of the first digital key;
The electronic device configured to read and authenticate first driver identification information stored in the first external device when the first mobile identification information is authenticated.
제14항에 있어서, 상기 프로세서는,
상기 제1 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어를 허용하고,
상기 제1 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능을 제한하도록 설정된 전자 장치.
The method of claim 14, wherein the processor,
Allowing control of the vehicle when the first driver identification information is authenticated;
An electronic device configured to restrict some functions of the vehicle when the first driver identification information is not authenticated.
제10항에 있어서, 상기 프로세서는,
상기 제1 외부 장치로부터 제2 디지털 키 또는 제2 운전자 식별 정보를 수신하여 저장하고,
제2 외부 장치로부터 상기 차량의 제어가 요청되면, 상기 제2 외부 장치에 저장된 상기 제2 디지털 키를 인증하고,
상기 제2 디지털 키의 인증에 기반하여 상기 제2 외부 장치에 대응하는 제2 모바일 신분증 정보를 인증하고,
상기 제2 모바일 신분증 정보가 인증되면, 상기 제2 외부 장치에 저장된 제2 운전자 식별 정보를 읽어와서 인증하도록 설정된 전자 장치.
The method of claim 10, wherein the processor,
receiving and storing a second digital key or second driver identification information from the first external device;
When a control of the vehicle is requested from a second external device, the second digital key stored in the second external device is authenticated;
Authenticating second mobile identification information corresponding to the second external device based on authentication of the second digital key;
The electronic device configured to read and authenticate second driver identification information stored in the second external device when the second mobile identification information is authenticated.
제16항에 있어서, 상기 프로세서는,
상기 제2 운전자 식별 정보가 인증되는 경우, 상기 차량의 제어를 허용하고,
상기 제2 운전자 식별 정보가 인증되지 않는 경우, 상기 차량의 일부 기능을 제한하도록 설정된 전자 장치.
The method of claim 16, wherein the processor,
Allowing control of the vehicle when the second driver identification information is authenticated;
An electronic device configured to restrict some functions of the vehicle when the second driver identification information is not authenticated.
전자 장치의 동작 방법에 있어서,
상기 전자 장치가 통신 모듈을 통하여 차량과 연결되면, 상기 전자 장치의 메모리에 저장된 모바일 신분증 정보를 상기 차량으로 전송하는 동작;
상기 차량으로부터 차량 정보를 수신하는 동작;
상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하는 동작;
상기 생성된 디지털 키를 상기 차량으로 전송하는 동작;
상기 차량에 의해 서명된 디지털 키 및 운전자 식별 정보를 상기 차량으로부터 수신하는 동작; 및
상기 서명된 디지털 키 및 상기 운전자 식별 정보를 상기 메모리에 저장하는 동작을 포함하는 방법.
In the operating method of the electronic device,
transmitting mobile identification information stored in a memory of the electronic device to the vehicle when the electronic device is connected to the vehicle through the communication module;
receiving vehicle information from the vehicle;
generating a digital key of the vehicle based on the vehicle information or the mobile ID information;
transmitting the generated digital key to the vehicle;
receiving from the vehicle a digital key signed by the vehicle and driver identification information; and
and storing the signed digital key and driver identification information in the memory.
제18항에 있어서, 상기 생성하는 동작은,
상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는지 판단하는 동작; 및
상기 차량 정보에 포함된 모바일 신분증 정보가 상기 메모리에 저장된 모바일 신분증 정보에 대응되는 경우, 상기 차량 정보 또는 상기 모바일 신분증 정보에 기반하여 상기 차량의 디지털 키를 생성하는 동작을 포함하는 방법.
The method of claim 18, wherein the generating operation,
determining whether mobile identification information included in the vehicle information corresponds to mobile identification information stored in the memory; and
and generating a digital key of the vehicle based on the vehicle information or the mobile identification information when the mobile identification information included in the vehicle information corresponds to the mobile identification information stored in the memory.
제18항에 있어서,
상기 서명된 디지털 키는 상기 차량의 개인 키로 서명된 것이고,
상기 운전자 식별 정보는 상기 모바일 신분증 정보를 포함하고, 상기 차량의 개인 키로 서명된 것이고,
상기 메모리에 저장된 디지털 키에 기반하여 상기 차량의 제어를 요청하는 동작;
상기 차량에 의해 상기 디지털 키 및 상기 전자 장치에 대응되는 모바일 신분증 정보가 인증되면, 상기 차량으로 상기 메모리에 저장된 상기 운전자 식별 정보를 전송하는 동작; 및
상기 차량에 의해 상기 운전자 식별 정보가 인증되는지 여부에 기반하여 상기 차량의 제어를 획득하는 동작을 더 포함하는 방법.
According to claim 18,
The signed digital key is signed with the private key of the vehicle,
The driver identification information includes the mobile identification information and is signed with the private key of the vehicle;
requesting control of the vehicle based on the digital key stored in the memory;
transmitting the driver identification information stored in the memory to the vehicle when the digital key and mobile identification information corresponding to the electronic device are authenticated by the vehicle; and
and obtaining control of the vehicle based on whether the driver identification information is authenticated by the vehicle.
KR1020210153855A 2021-11-10 2021-11-10 Electronic device and method for controlling vehicle based on driver authentication KR20230068005A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020210153855A KR20230068005A (en) 2021-11-10 2021-11-10 Electronic device and method for controlling vehicle based on driver authentication
PCT/KR2022/014032 WO2023085588A1 (en) 2021-11-10 2022-09-20 Electronic device and method for controlling vehicle on basis of driver authentication
US17/960,013 US20230147516A1 (en) 2021-11-10 2022-10-04 Electronic device and method for controlling vehicle based on driver authentication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210153855A KR20230068005A (en) 2021-11-10 2021-11-10 Electronic device and method for controlling vehicle based on driver authentication

Publications (1)

Publication Number Publication Date
KR20230068005A true KR20230068005A (en) 2023-05-17

Family

ID=86336280

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210153855A KR20230068005A (en) 2021-11-10 2021-11-10 Electronic device and method for controlling vehicle based on driver authentication

Country Status (2)

Country Link
KR (1) KR20230068005A (en)
WO (1) WO2023085588A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102617228B1 (en) * 2023-09-12 2023-12-27 코나아이 (주) IC chip for electronic toll collection system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9365188B1 (en) * 2011-04-22 2016-06-14 Angel A. Penilla Methods and systems for using cloud services to assign e-keys to access vehicles
US10437977B2 (en) * 2015-10-13 2019-10-08 Etas Embedded Systems Canada Inc. System and method for digital key sharing for access control
EP3590225B1 (en) * 2017-03-01 2020-08-12 Apple Inc. System access using a mobile device
US20180326947A1 (en) * 2017-05-15 2018-11-15 GM Global Technology Operations LLC Operating a key fob in a car sharing system
US10589719B1 (en) * 2019-05-30 2020-03-17 Hyundai Autoever Method for managing digital key of mobile device for vehicle-sharing and key server using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102617228B1 (en) * 2023-09-12 2023-12-27 코나아이 (주) IC chip for electronic toll collection system

Also Published As

Publication number Publication date
WO2023085588A1 (en) 2023-05-19

Similar Documents

Publication Publication Date Title
US20200265418A1 (en) Electronic device and method for providing digital signature service of block chain using the same
US11496900B2 (en) Electronic device and method for storing user identification information
KR20230020262A (en) Method and apparatus for managing non-fungible token for digital content
US20220172192A1 (en) Electronic device supporting mobile payment, method for operating same, and storage medium
US20230045546A1 (en) Method and apparatus for managing non-fungible token for digital content
US20220166769A1 (en) Electronic device for verifying a user's identity
US11449631B2 (en) Electronic device for managing personal information and operating method thereof
EP3822832A1 (en) Device for providing identification information, and system for same
KR102490395B1 (en) Electronic device for sharing a key of external electronic device and method for the same
KR20230068005A (en) Electronic device and method for controlling vehicle based on driver authentication
US20230004660A1 (en) Method of processing secure data and electronic device supporting the same
EP4311162A1 (en) Electronic device for generating mnemonic words of private key and operating method of electronic device
US20220209954A1 (en) Electronic device for sharing id and password, method for operating thereof, and server
KR102650721B1 (en) Electronic device and method for processing remote payment
EP4184403A1 (en) Electronic device for generating transaction including internal data, and operating method thereof
US20230147516A1 (en) Electronic device and method for controlling vehicle based on driver authentication
KR20220089871A (en) Electronic device for providing digital id information and method thereof
US20230185935A1 (en) Method and device for updating personal information
US11550963B2 (en) Method of processing secure data and electronic device supporting the same
US12028717B2 (en) Electronic device for providing digital ID information and method thereof
US20240112193A1 (en) Method and device for transmitting data based on blockchain
US20240012892A1 (en) Electronic device for performing authentication by using biometric data of user, and method therefor
EP4386590A1 (en) Electronic device and method for adaptively providing authentication scheme of service on basis of situation, and non-transitory computer-readable storage medium
EP4328768A1 (en) Electronic device for performing different login processes according to authentication type and control method thereof
US20230289786A1 (en) Electronic device for transmitting transaction by using external device and operation method thereof