KR-20260065430-A - WIRELESS DEVICE AND THE BLUETOOTH PAIRING METHOD THEREOF
Abstract
A wireless communication device according to one embodiment disclosed in this document includes: a communication module that provides a Bluetooth communication channel; a memory that stores a manufacturer's key input during the manufacturing stage; and a processor functionally connected to the communication module and the memory. The processor periodically generates a random key and broadcasts the random key, and while pairing with another wireless communication device through the Bluetooth communication channel, generates a short-term key based on the random key and a seed key from the manufacturer's key, and can exchange a long-term key for data communication with the other wireless communication device through a verified Bluetooth communication channel based on the short-term key.
Inventors
- 김영준
- 조영국
- 최용림
Assignees
- 디바이스디자인(주)
Dates
- Publication Date
- 20260508
- Application Date
- 20241101
Claims (10)
- In a wireless communication device, A communication module that provides a Bluetooth communication channel; A memory that stores the manufacturer key entered during the manufacturing stage; and It includes a processor functionally connected to the communication module and the memory, and the processor, Periodically generate a random key and broadcast the said random key, and While pairing with another wireless communication device through the above Bluetooth communication channel, a short term key is generated based on the random key and a seed key from the manufacturer key, and A wireless communication device that exchanges a long-term key for data communication with another wireless communication device through an encryption channel based on the aforementioned temporary key.
- In claim 1, the processor, A wireless communication device that, during initialization, generates the seed key based on the manufacturer key and the physical address of the communication module and stores it in the memory, and during pairing, obtains the seed key from the memory and uses it to generate the temporary key.
- In claim 1, the processor, A wireless communication device that generates the above temporary key using at least one algorithm among TLS, AES128 (256), XOR bit check or CRC.
- In claim 1, the processor, A wireless communication device that transmits the above-generated random key by placing it in an advertisement packet and broadcasting it through the above-mentioned communication module.
- In claim 1, The above memory stores the manufacturer key of the other wireless communication device in a library, and The above processor is, A wireless communication device that receives another advertisement packet containing another random key and manufacturer information from another wireless communication device, receives a temporary key of the other wireless communication device while pairing with the other wireless communication device, identifies the manufacturer key of the other wireless communication device corresponding to the manufacturer information among the plurality of manufacturer keys, generates another temporary key of the other wireless communication device using the identified manufacturer key and the other random key, and compares the other temporary key with the received temporary key, and if they match, pairs the other wireless communication device to establish a communication connection.
- In claim 1, the processor, A wireless communication device that, when connected to another wireless communication device, generates the long-term key and stores it in the memory, and subsequently uses the long-term key to perform encrypted communication when communicating data with the other wireless communication device.
- A Bluetooth pairing method using a wireless communication device, An action of broadcasting a periodically generated random key; The operation of performing pairing with another wireless communication device and When pairing with the other wireless communication device is completed, the operation of exchanging a long-term key for data communication is included. The operation of performing the above pairing is, A seed key generated from a manufacturer key stored in the memory of a wireless communication device; and an operation of generating a short term key by combining the random key; and A Bluetooth pairing method comprising the operation of exchanging the generated temporary key with the other wireless communication device and authenticating the other wireless communication device using the exchanged temporary key.
- In claim 7, the generating operation is, During initialization, generating the seed key based on the stored manufacturer key and the physical address of the communication module, and storing the generated seed key in the memory; and A Bluetooth pairing method comprising the operation of obtaining the stored seed key from the memory and combining it with the random key to generate the temporary key during the pairing.
- In claim 7, the generating operation is, A Bluetooth pairing method comprising generating the above temporary key using at least one algorithm among TLS, AES128 (256), XOR bit check or CRC.
- In claim 7, the generating operation is, The operation of receiving another advertisement packet containing another random key and manufacturer information broadcast by the above-mentioned other wireless communication device; The operation of receiving a temporary key of the other wireless communication device while pairing with the other wireless communication device; An operation to verify the manufacturer key of the other wireless communication device corresponding to the manufacturer information from the library; The operation of generating another temporary key of the other wireless communication device using the above-identified manufacturer key and the above-identified other random key; and A Bluetooth pairing method comprising comparing the above-mentioned other temporary key with the above-mentioned received temporary key, and if they match, pairing the above-mentioned other wireless communication device to establish a communication connection.
Description
Wireless communication device and the Bluetooth pairing method thereof The various embodiments disclosed in this document relate to communication authentication technology. Bluetooth communication is used in various short-range communication interfaces. For example, Bluetooth communication is used between earphones and audio source devices (e.g., smartphones) and between door lock terminals and smart control devices (e.g., smartphones). For communication security, Bluetooth communication can exchange a long-term key (LTK) during the pairing phase and subsequently encrypt data using the LTK. For example, a wireless communication device without input means can perform pairing and exchange LTKs by generating a short-term key (stk) using a predefined value via Just works. As another example, a wireless communication device without input means can transmit a fixed short-term key embedded in an advertisement packet and exchange long-term keys through encrypted communication on a communication channel based on the short-term key. As yet another example, a wireless communication device equipped with a display can display the same number on the screens of both devices, allowing the user to confirm and approve the pairing. FIG. 1 shows an implementation environment of a wireless communication device according to one embodiment. FIG. 2 shows a detailed configuration diagram of a processor according to one embodiment. FIG. 3 shows a flowchart of a Bluetooth pairing method according to one embodiment. FIG. 4 shows a configuration diagram of a second wireless communication device according to one embodiment. In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. FIG. 1 shows an implementation environment of a wireless communication device according to one embodiment. Referring to FIG. 1, a first wireless communication device (100) according to one embodiment may include a communication module (120), a memory (130), and a processor (140). In one embodiment, the first wireless communication device (100) may omit some components or include additional components. For example, the first wireless communication device (100) may further include another functional module (110) including an input/output device or a sensor module. Additionally, some of the components of the first wireless communication device (100) may be combined to form a single entity, while performing the same functions as the corresponding components prior to combination. In FIG. 1, since the second wireless communication device (200) includes a configuration identical or similar to the first wireless communication device (100), the detailed configuration diagram of the second wireless communication device (200) has been omitted. In one embodiment, the first and second wireless communication devices (100, 200) may be devices that communicate via Bluetooth through Bluetooth pairing according to one embodiment. The first and second wireless communication devices (100, 200) may be various computing devices such as smartphones, sensor modules, Bluetooth earphones, Bluetooth speakers, etc. According to one embodiment, the function module (110) may be a unique function module of the first wireless communication device (100). For example, if the first wireless communication device (100) is a speaker, the function module (110) may include circuit blocks for outputting sound under the control of the processor (140). In another example, if the first wireless communication device (100) is a sensor device that detects the surrounding environment, the function module (110) may include a sensor circuit that detects the surrounding environment under the control of the processor (140) and outputs a physical signal according to the detection result. According to one embodiment, a communication module (120) may support the establishment of a communication channel or a wireless communication channel between a first wireless communication device (100) and another device (e.g., a second wireless communication device (100) (e.g., a smartphone)), and the performance of communication through the established communication channel. The communication channel may include, for example, at least one communication channel among Bluetooth or BLE (Bluetooth Low Energy). The communication module (120) may have a physical address (e.g., a bd address or a MAC address). The memory (130) may include various forms of volatile or non-volatile memory. For example, the memory (130) may include ROM (read only memory) and RAM (random access memory). In one embodiment, the memory (130) may be located inside or outside the processor (140) and may be connected to the processor (140) through various known means. The memory (130) may store various data used by at least one component of the first wireless communication device (100) (e.g., processor (140)). The data may include, for example, input data or output data for software