Search

KR-102962937-B1 - Vehicle and terminal device communication with the vehicle and method for controlling the vehicle

KR102962937B1KR 102962937 B1KR102962937 B1KR 102962937B1KR-102962937-B1

Abstract

The device of the present invention, in a method for controlling a device that communicates with a terminal, comprises generating a random number to attempt a communication connection with the terminal, hashing the generated random number with a shared key using a hash-based message authentication code algorithm to obtain a hash value, encrypting the obtained hash value to generate an advertising signal, periodically transmitting the generated advertising signal, communicating with the terminal when a communication connection signal is received from the terminal, and controlling the operation of at least one load based on information transmitted from the terminal. Periodically transmitting the advertising signal includes periodically generating a random number, periodically generating an advertising signal in response to the periodic generation of the random number, and periodically transmitting the generated advertising signal.

Inventors

  • 진규환
  • 남민환

Assignees

  • 현대자동차주식회사
  • 기아 주식회사

Dates

Publication Date
20260511
Application Date
20191010

Claims (20)

  1. Input unit for receiving user input; A storage unit for storing a hash-based message authentication code algorithm; A control unit that generates a random number, hashes the generated random number using a shared key with the hash-based message authentication code algorithm to obtain a hash value, and encrypts the obtained hash value to generate an advertising signal; and It includes a communication unit that transmits the generated advertising signal in response to a control command of the control unit, and The above control unit is, When a registration command of a terminal to perform the function of a digital key is received as user input through the above input unit, communication with the terminal is controlled, and When registration for the terminal connected via the above communication is completed, information regarding the data field within the communication packet is transmitted to the terminal, and A device that stores identification information of the terminal for which the above registration has been completed in the storage unit.
  2. In claim 1, the control unit is, A device that periodically generates a random number, periodically generates an advertising signal in response to the periodic generation of the random number, and periodically transmits the generated advertising signal.
  3. In claim 1, the control unit is, A device that encrypts the acquired hash value using a pre-stored encryption key.
  4. In claim 3, the pre-stored encryption key is, A device containing information of the Universal Unique Identification Number (Proximity UUID) field of the data field within a communication packet.
  5. In claim 1, the shared key is, A device containing information on the major field and minor field of a data field within a communication packet.
  6. delete
  7. In claim 1, the control unit is, A device that is connected via communication to a terminal that has completed the registration above, and controls the operation of at least one load based on the received information when information is received from the terminal.
  8. In claim 1, the control unit is, A device that encrypts the acquired hash value using an encryption method (AES128) with a length of 128 bits.
  9. Input unit for receiving user input; A communication unit that performs communication with a device; A storage unit for storing a hash-based message authentication code algorithm; and The control unit includes, when an advertising signal is received, decrypts the received advertising signal to obtain a random number and a first hash value, hashes the obtained random number with a shared key using the hash-based message authentication code algorithm to obtain a second hash value, and executes the function of a digital key based on the first hash value and the second hash value. The above control unit controls communication with the device when it receives a registration command of a terminal to perform the function of a digital key as user input through the input unit, and When the registration of the terminal is completed on the device connected via the above communication, information regarding the data field within the communication packet is received from the device, and A terminal that stores the identification information of the device for which the registration is completed in the storage unit.
  10. In claim 9, the control unit is, A terminal that, when registering identification information of a terminal to the above device, stores information of the Universal Unique Identification Number (Proximity UUID) field, information of the major field, and information of the minor field of the data field within the communication packet transmitted from the above device in the storage unit.
  11. In claim 10, the control unit is, A terminal that decrypts the received advertising signal using the information in the Universal Unique Identification Number (Proximity UUID) field as an encryption key when decrypting the received advertising signal.
  12. In claim 10, the shared key is, A terminal including information of the major field and information of the minor field above.
  13. In claim 9, the control unit is, A terminal that determines whether the first hash value and the second hash value are the same, and if the first hash value and the second hash value are the same, determines that the device that transmitted the advertising signal is a pre-registered device, and if the first hash value and the second hash value are different, determines that the device that transmitted the advertising signal is not a pre-registered device.
  14. In claim 13, the control unit is, A terminal that transmits a communication connection signal to the device when the first hash value and the second hash value are identical.
  15. In Article 9, A terminal in which the hash-based message authentication code algorithm stored in the above storage unit is the same algorithm as the hash-based message authentication code algorithm stored in the above device.
  16. A method for controlling a device that communicates with a terminal, Generate a random number to attempt a communication connection with the above terminal, and Using a hash-based message authentication code algorithm, the above-mentioned generated random number is hashed with a shared key to obtain a hash value, and Encrypt the above-mentioned hash value to generate an advertising signal, and Periodically transmit the advertising signal generated above, and When a communication connection signal is received from the above terminal, communication is performed with the above terminal, and Control the operation of at least one load based on information transmitted from the above terminal, and Periodically transmitting the above advertising signal is, It includes periodically generating a random number, periodically generating an advertising signal in response to the periodic generation of the random number, and periodically transmitting the generated advertising signal. When a registration command of a terminal to perform the function of a digital key is received as user input through an input unit, communication with the terminal is controlled, and When registration for the terminal connected via the above communication is completed, information regarding the data field within the communication packet is transmitted to the terminal, and A method for controlling a device, further comprising storing identification information of the terminal registered above in a storage unit.
  17. In claim 16, encrypting the obtained hash value is, The information of the Universal Unique Identification Number (Proximity UUID) field of the data field within the communication packet of the above device is obtained as an encryption key, and A method for controlling a device comprising encrypting a hash value obtained using the obtained cryptographic key.
  18. In Clause 16, the shared key is, A method for controlling a device including information on a major field and information on a minor field of a data field within a communication packet of the device.
  19. delete
  20. In claim 16, encrypting the obtained hash value is, A method for controlling a device, comprising encrypting the acquired hash value using an encryption method (AES128) with a length of 128 bits.

Description

Vehicle, terminal device communication with the vehicle and method for controlling the vehicle The present invention relates to a vehicle for preventing personal information leakage, a terminal communicating with the same, and a method for controlling the vehicle. The vehicle's doors can be locked or unlocked by a key or remote control, and the engine can also be turned on or off. The remote controller allows the driver to open and close the doors and trunk, as well as start the engine, simply by carrying it. The remote controller performs bidirectional communication with the vehicle, allowing the doors or trunk to be opened automatically when the driver is close to the vehicle without any separate manual operation, and enables the vehicle to be started when the start button is operated while driving without having to start the engine manually. Recently, technologies enabling communication between vehicles and terminals have been developed. Consequently, users have been able to control the opening and closing of vehicle doors, door locking, and engine start using a terminal. However, in such cases, a problem has arisen where vehicle and user information is leaked externally by devices monitoring signals transmitted and received between the vehicle and the terminal. FIG. 1 is an example diagram of a vehicle and a terminal according to an embodiment. Figure 2 is a control configuration diagram of a vehicle according to an embodiment. Figure 3 is an example diagram of the structure of a beacon packet of a vehicle according to an embodiment. FIG. 4 is an example of a data field transmitted from a vehicle to a terminal according to an embodiment. FIG. 5 is a control configuration diagram of a terminal communicating with a vehicle according to an embodiment. Figure 6 is a control flowchart of a vehicle according to an embodiment. FIG. 7 is a control flowchart of a terminal communicating with a vehicle according to an embodiment. Throughout the specification, the same reference numerals refer to the same components. This specification does not describe all elements of the embodiments, and general content in the art to which the invention pertains or content that overlaps between embodiments is omitted. The terms 'part, module, device' used in the specification may be implemented in software or hardware, and depending on the embodiments, a plurality of 'parts, modules, devices' may be implemented as a single component, or a single 'part, module, device' may include a plurality of components. Throughout the specification, when a part is described as being "connected" to another part, this includes not only cases where they are directly connected but also cases where they are indirectly connected, and indirect connections include connections made via a wireless communication network. Furthermore, when it is stated that a part "includes" a certain component, this means that, unless specifically stated otherwise, it does not exclude other components but may include additional components. The terms first, second, etc. are used to distinguish one component from another, and the components are not limited by the aforementioned terms. Singular expressions include plural expressions unless there is an obvious exception in the context. In each step, identification codes are used for convenience of explanation and do not describe the order of the steps; the steps may be performed differently from the specified order unless a specific order is clearly indicated in the context. One device of the present embodiment attempts to communicate with another device by periodically changing an Advertising (ADV) signal during blue communication with another device and transmitting the changed Advertising signal to the other device. Here, one device and the other device can both be terminals. Also, one device can be a terminal and the other device can be a vehicle. Also, one device can be a vehicle and the other device can be a terminal. This embodiment will explain Bluetooth communication between a vehicle and a terminal as an example. The operating principle and embodiments of the present invention will be described below with reference to the attached drawings. FIG. 1 is an example diagram of a vehicle according to an embodiment and a terminal communicating with the vehicle. The vehicle (1) includes a body having an interior and an exterior, and a chassis on which mechanical devices necessary for driving are installed in the remaining parts excluding the body. As illustrated in FIG. 1, the exterior of the vehicle body (110) includes a front panel, a hood, a roof panel, a rear panel, a trunk for loading luggage, front and rear left and right doors (111), and window glass provided to be openable and closable in the front and rear left and right doors. A handle (112) that a user can grasp may be provided on the front, rear, left, and right doors (111) to facilitate opening and closing the doors. The handle (112) may have a shape that prot