Bluetooth communication method and system

By using security keys and singular elements to design secure messages in Bluetooth communication, the problems of fragile security and high power consumption of Bluetooth communication in tire pressure monitoring systems are solved, and secure message exchange and low-power transmission in advertising mode are achieved. .

CN118591801APending Publication Date: 2024-09-03EM MICROELECTRONIC-MARIN +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380018591.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-07-14
Filing Date
2023-01-20
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing Bluetooth communication has fragile security issues in tire pressure monitoring systems, especially in advertising mode, which is susceptible to malicious attacks and consumes high power during transmission, making it unsuitable for low-power devices such as TPMS sensors.

Method used

By obtaining at least one security key between the first electronic device and the second electronic device, generating a specific singular element, and using the security label and the singular element in the Bluetooth advertising mode to design a secure message to ensure the integrity and authenticity of the message security and confidentiality to prevent replay attacks.

Benefits of technology

It realizes the secure exchange of messages in Bluetooth advertising mode, ensures the freshness and uniqueness of messages, prevents replay attacks, reduces power consumption, is suitable for low-power devices, and optimizes device life cycle and complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118591801A_ABST
    Figure CN118591801A_ABST
Patent Text Reader

Abstract

The invention relates to a Bluetooth communication method implemented between a first electronic device (101) and a second electronic device (102), the second electronic device (102) being able to send a secure message comprising data to be processed by the first electronic device (101), the method comprising:-acquiring (20), by each of the first electronic device (101) and the second electronic device (102), at least one security key, the at least one security key participates in the design of the security tag; -generating (36) a specific singular element for the security message; -transmitting (38), by the second electronic device (102) to the first electronic device (101), a security message comprising its specific singular element and the security tag, the transmitting comprising establishing (44) a communication link in a Bluetooth advertising mode between the first device (101) and the second device (102).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and apparatus for forming a connection between devices using Bluetooth, which is a short-range technology in a wireless communication system, and more particularly to a Bluetooth communication method and system implemented between a first electronic device and a second electronic device for significantly and continuously processing data such as phenomenon data or notification data. Background Art

[0002] Bluetooth is a technical standard that allows various devices to be wirelessly connected in a near field to exchange data. Bluetooth communication methods can be classified into Basic Rate / Enhanced Data Rate (known by the acronym "BR / EDR") methods and Low Energy (known by the acronym "LE") methods. The BR / EDR method may be referred to as Bluetooth Classic. The Bluetooth Classic method includes Bluetooth technology pioneered from Bluetooth 1.0 and Bluetooth technology using Enhanced Data Rate (known by the acronym "EDR") supported by Bluetooth 2.0 or subsequent versions.

[0003] Bluetooth low energy (known by the acronym "LE") technology applied from Bluetooth 4.0 can stably provide hundreds of kilobytes (KB) of information with low power consumption. Such Bluetooth low energy technology allows devices to exchange information with each other by utilizing attribute protocols. The Bluetooth LE method can reduce energy consumption by reducing the overhead of headers and simplifying operations.

[0004] In the prior art, it is known to implement a Bluetooth communication method to monitor phenomena data, such as related to physical quantities, such as tire pressure measurements in a tire pressure monitoring system (known by the acronym "TPMS"). In such a system, each tire contains a tiny embedded electronic device, such as a TPMS sensor. The TPMS sensor is configured to communicate with a vehicle electronic control unit (known by the acronym "ECU") in order to send tire pressure measurements to the ECU via an operating mode of the Bluetooth standard known as advertising mode during the transmission step of the method.

[0005] However, one of the drawbacks of such an approach is that it is very vulnerable due to the insecure transmission of these tire pressure measurements thus exposing the TPMS to all kinds of malicious attacks.

[0006] To overcome such drawbacks, the solutions in the current art provide for implementing a safe operating mode of the Bluetooth standard called connection mode to send the tire pressure measurement to the ECU during the transmission step of the method. Nevertheless, such a connection mode generates a high power consumption in particular in such use, making it unsuitable for use in tiny embedded devices like the TPMS sensor, which require very low power consumption.

[0007] It is therefore appreciated that there is a need to find alternative solutions, in particular solutions which do not have the disadvantages of the prior art. Summary of the invention

[0008] In this case, embodiments of the present disclosure provide a method and system for implementing Bluetooth communication between a first device and a second device to ensure the integrity, authenticity and / or confidentiality of messages sent using the Bluetooth communication protocol primarily or only in advertising mode.

[0009] Furthermore, embodiments of the present disclosure provide complete protection against replay attacks in advertising mode.

[0010] To this end, the present invention relates to a Bluetooth communication method implemented between a first electronic device and a second electronic device, the second electronic device being capable of sending a secure message including data to be processed by the first electronic device, the method comprising:

[0011] - obtaining, by each of the first electronic device and the second electronic device, at least one security key, the at least one security key being involved in the design of the security tag;

[0012] -Generate specific singular elements for security messages;

[0013] - Transmitting, by the second electronic device to the first electronic device, a security message comprising its specific singular element and the security tag, the transmission comprising establishing a communication link in Bluetooth advertising mode between these first and second devices.

[0014] In other embodiments:

[0015] - the generating step comprises a sub-step of determining a specific singular element by implementing a specific singular element algorithm;

[0016] - when the specific singular element is a sequence number, the specific singular element algorithm is a sequence number algorithm;

[0017] -When the specific singular element is a timestamp number, the specific singular element algorithm is a timestamp number algorithm;

[0018] - the acquisition step comprises: a sub-step of establishing a communication link between the first device and the second device in Bluetooth connection mode, the sub-step comprising a pairing step of the first device and the second device; and a sub-step of exchanging the at least one security key between these first device and the second device, the at least one security key being initially stored in the first device or the second device;

[0019] - the acquisition step comprises: a sub-step of establishing a communication link in Bluetooth connection mode between the first device and the second device, the sub-step comprising a pairing phase of the first device and the second device; and a sub-step of exchanging said at least one security key between these first device and the second device, said at least one security key being a key generated during the pairing phase;

[0020] - the acquisition step comprises: a sub-step of establishing a communication link in Bluetooth connection mode between the first device and the second device, the sub-step comprising a pairing phase of the first device and the second device; and a sub-step of exchanging said at least one security key between these first device and the second device, said at least one security key being derived from the generated key;

[0021] - the obtaining step comprises: a sub-step of establishing a communication link between the first device and the second device in a Bluetooth connection mode; and a sub-step of generating the at least one security key by the first device and the second device by implementing a key agreement protocol;

[0022] - the acquisition step comprises: a sub-step of establishing a communication link between the first device and the second device according to a wired technology or wireless technology standard different from the Bluetooth standard; and a sub-step of generating the at least one security key by the first device and the second device by implementing a key agreement protocol;

[0023] - the acquisition step comprises: a sub-step of establishing a communication link between the first device and the second device according to a wired technology or a wireless technology standard different from the Bluetooth standard; and a sub-step of exchanging the at least one security key between these first device and the second device, the at least one security key being initially stored in the first device or the second device;

[0024] - the acquisition step comprises: a sub-step of establishing a communication link between the first device and the second device according to a wired technology or a wireless technology standard different from the Bluetooth standard; and a sub-step of exchanging said at least one security key between these first device and the second device, said at least one security key being a key generated during a pairing phase implemented between the first device and the second device when the acquisition step comprises a previous pairing phase;

[0025] - the acquisition step comprises: a sub-step of establishing a communication link between the first device and the second device according to a wired technology or a wireless technology standard different from the Bluetooth standard; and a sub-step of exchanging the at least one security key between these first device and the second device, the at least one security key being derived from the generated key;

[0026] - the acquisition step comprises: a sub-step of establishing a communication link in Bluetooth connection mode between the first device, the second device and the third device, the sub-step comprising a stage of pairing the third device with the first electronic device and the second electronic device; and a sub-step of exchanging the at least one security key between the first device and the second device through the third electronic device via the communication link;

[0027] - the obtaining step includes: a sub-step of establishing a communication link between the first device, the second device, and the third device according to a selection of a communication technology among the Bluetooth technology or a secure wired technology or a secure wireless technology different from the Bluetooth technology performed by each of the first device, the second device, and the third device; and a sub-step of exchanging the at least one security key between the first device and the second device through the communication link through the third electronic device;

[0028] - the exchanging sub-step is replaced by a sub-step of distributing the at least one security key by the third electronic device to the first device and the second device via a communication link;

[0029] - the transmitting step comprises a sub-step of implementing a message, the message comprising a payload, the payload comprising data related to the phenomenon data or the notification data;

[0030] - the transmitting step comprises the sub-step of composing a security message by using said at least one security key and a payload;

[0031] - the designing sub-step comprises a phase of calculating a security tag by implementing a tag algorithm using said at least one security key and a payload;

[0032] - the designing sub-step comprises a phase of calculating a security tag by implementing a tagging algorithm using said at least one security key, the payload and the singular element;

[0033] - the design sub-step includes a phase of generating a security message by attaching a calculated security tag to a payload and attaching a specific singular element to the payload;

[0034] - the design sub-step comprises a phase of generating a secure message by appending a calculated tag to an encrypted payload and appending a specific singular element to the encrypted payload;

[0035] - the method comprises the step of processing available data, the available data being included in a security message received by the first device from the second device;

[0036] - the processing step comprises a sub-step of extracting a specific singular element included in the available data of the received security message;

[0037] - the processing step comprises a sub-step of extracting a payload, the payload being contained in the received security message;

[0038] - the extraction sub-step comprises a phase of verification of the consistency of this particular singular element extracted from those available data;

[0039] - the processing step comprises the sub-step of generating useful information based on the data contained in the payload of the safety message;

[0040] -Security message specific singular elements are included in the security tag and / or are encrypted.

[0041] The present invention also relates to a Bluetooth communication system implemented between a first electronic device and a second electronic device, the second electronic device being capable of sending a secure message including data to be processed by the first electronic device, the system (100) comprising these first and second devices and being configured to:

[0042] - obtaining, by each of the first electronic device and the second electronic device, at least one security key, the at least one security key being involved in the design of the security tag;

[0043] -Generate specific singular elements for security messages;

[0044] - Transmitting, by the second electronic device to the first electronic device, a security message comprising its specific singular element and the security tag, the transmission comprising establishing a communication link in Bluetooth advertising mode between these first and second devices.

[0045] Advantageously, the system comprises the first device and the second device and further comprises a third electronic device, the system being configured to:

[0046] - exchanging the at least one security key between the first device and the second device via a communication link via a third electronic device, or

[0047] - Distributing the at least one security key by the third electronic device to the first device and the second device via the communication link. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The invention will be described in more detail hereinafter with reference to the attached drawings, which are given by way of example and are in no way limiting to the invention, in which:

[0049] - Figure 1 is a schematic representation of a Bluetooth communication system implemented between a first electronic device and a second electronic device according to the present invention;

[0050] - Figure 2 is a schematic representation of a variation of a Bluetooth communication system implemented between a first electronic device, a second electronic device, and a third electronic device according to the present invention;

[0051] - Figure 3 is a schematic diagram of a Bluetooth communication method according to the present invention;

[0052] - Figure 4 is a flow chart illustrating a first embodiment of the step of obtaining at least one security key according to the method of the present invention;

[0053] - Figure 5 is a flow chart illustrating a second embodiment of the acquisition step of the method according to the present invention;

[0054] - Figure 6 is a flow chart illustrating a third embodiment of the acquisition step of the method according to the present invention;

[0055] - Figure 7 is a flow chart illustrating a fourth embodiment of the acquisition step of the method according to the present invention; and

[0056] - Figure 8 and Fig. 9 is a flow chart illustrating two alternatives of a fifth embodiment of the acquisition step of the method according to the invention. DETAILED DESCRIPTION

[0057] exist Figure 1 and Figure 2 In various embodiments of the present invention illustrated in the accompanying drawings, near field communication methods and systems 100 and more particularly Bluetooth communication methods and systems 100 are disclosed for providing messages and managing the exchange of these messages between a first electronic device 101 and a second electronic device 102. More specifically, these methods and systems 100 facilitate the exchange of messages between these two electronic devices 101, 102 in an operating mode of the Bluetooth standard referred to as advertising mode. In particular, the Bluetooth communication methods and systems 100 allow the second device 102 to securely advertise these messages to the first device 101.

[0058] exist Figures 4 to 9 The Bluetooth advertising mode referenced as A in this context is a different mode for establishing Bluetooth communication, namely by non-connectable non-directional advertising. Figures 4 to 9 The difference between the connection mode of the two devices referenced as C compared to the advertising mode is that the connection mode allows two-way data transfer between the two devices. On the other hand, a device in advertising mode cannot receive any data in this state. An exception is that the advertising device can respond to a "scan request" packet.

[0059] In this case, the advertised message is a secure message, the integrity, authenticity and / or confidentiality of which is ensured by these Bluetooth communication methods and systems 100. Such a secure message includes usable data, which preferably includes a payload, a security tag, and a singular element specific to each message. As discussed later, the specific singular element can be a sequence number or a timestamp in a non-limiting and / or non-exhaustive manner. In an embodiment of the present invention, a new specific singular element is generated for each secure message exchanged between the first electronic device 101 and the second electronic device 102.

[0060] In the safety message, the payload includes useful data, which can be processed or monitored continuously. Continuously means here: periodically or uninterruptedly. The useful data can be, for example, phenomenon data, also referred to as event data. These phenomenon data can include physical values ​​and / or biological values. Such values ​​are related to physical quantities or biomass. It is understood that physical quantities are included in the field of physical sciences and biomass is included in the field of life sciences (also referred to as "biology"). These values ​​have been calculated by the second device 102 based on at least one measurement of a physical quantity or biomass evaluated by at least one data generator of the device 102.

[0061] Furthermore, the useful data may also be notification data. The data may include alphanumeric characters related to informative communications. The informative communications may include alarm communications, news communications, event communications, and the like.

[0062] In system 100, the first electronic device 101 can be a vehicle electronic control unit, an Internet server, a router, a desktop or laptop computer, a smart phone, a tablet, a processor or module, etc. in a non-limiting and / or non-exhaustive manner, and can be implemented in various forms, including, for example, an integrated circuit or a collection thereof, a printed circuit board or a collection thereof, or in a discrete housing / package / rack or multiple thereof.

[0063] The first device 101 includes, in a non-limiting and / or non-exhaustive manner:

[0064] a processing unit 104 (also called “controller”) comprising hardware and software resources, in particular at least one processor 111 cooperating with a memory element 112 ;

[0065] - Bluetooth communication interface 109; and

[0066] - A wired and wireless communication interface 110 that is not compatible with the Bluetooth standard.

[0067] In this configuration, the processing unit 104 is connected to a Bluetooth communication interface 109 and a wired and wireless communication interface 110 that is not compatible with the Bluetooth standard.

[0068] The first device 101 may further comprise an interface 107 such as a digital display for broadcasting visual information pieces, an interface 108 such as a speaker for broadcasting audio information pieces, and an input interface 106 such as a touch interface included in the interface for broadcasting visual information pieces, for example.

[0069] It may be noted that the first device 101 may be configured to receive signals from one or more second devices 102 , configured to process the received signals and configured to control the one or more second devices 102 via control signals.

[0070] The second device 102 includes, in a non-limiting and / or non-exhaustive manner:

[0071] a processing unit 105 (also called “controller”) comprising hardware and software resources, in particular at least one processor 118 cooperating with a memory element 119 ;

[0072] - Bluetooth communication interface 114;

[0073] - wired and wireless communication interfaces 113 that are not compatible with the Bluetooth standard;

[0074] - at least one data generator 120, and

[0075] A data generator circuit 115 , which may be referred to as a signal processing circuit 116 and / or a signal conditioning circuit 117 , receives the electrical signal in the form of raw measurement data from at least one data generator 120 .

[0076] In this second device 102 , the processing unit 105 is connected to a Bluetooth communication interface 114 , a wired and wireless communication interface 113 not compatible with the Bluetooth standard, and a data generator circuit 115 , which is connected to at least one data generator 120 .

[0077] In this configuration, the data generator 120 is preferably a sensor. The sensor is an element capable of converting a physical quantity or biomass to be measured into an electrical signal (also referred to as a "sensor signal"). Such a physical quantity can be, for example, the tire pressure of a vehicle in the case of a tire pressure monitoring system (known by the acronym "TPMS") or the atmospheric pressure and air temperature monitored for a weather forecast system, etc. Regarding biomass, it can be, for example, the heart rate and blood pressure monitored in the case of an electrocardiogram system. The sensor can also measure insulin rates, brain signals, etc. Other applications can be in the agricultural field, where the moisture absorption rate, chemical properties of the soil are measured. Other sensors are present in fire protection and security areas. Sensors detect the presence of radioactive substances, such as carbon monoxide gas, nanoparticles, etc.

[0078] Alternatively, the data generator 120 may be a transceiver of a wireless communication device, such as a car key fob used to wirelessly unlock a vehicle. In the consumer goods field, connected wearables such as connected watches are typical examples of devices that receive notifications, calls, messages, and other data generated by a smartphone.

[0079] In the second device 102, the data generator circuit 115 may include an analog-to-digital converter (known by the acronym "ADC"), which converts an analog signal according to a value related to a physical quantity or a biomass into a digital signal. The data generator circuit may also include a digital signal processor (known by the acronym "DSP"), which performs some processing on the digital signal (e.g., to prepare the physical or biomass value for transmission). Therefore, the data generator package includes circuits that adjust and amplify the small signal of the value via signal processing and / or conditioning. Signal conditioning as used herein refers to manipulating an analog signal in such a way that the signal meets the requirements of the next stage for further processing. Signal conditioning may include conversion from analog to digital (e.g., via an analog-to-digital converter), amplification, filtering, conversion, biasing, range matching, isolation, and any other processing required to make the data generator output suitable for processing after conditioning.

[0080] In the first device 101 and the second device 102, the processing units 104, 105 may implement a tagging algorithm, a specific singular element algorithm, a cryptographic algorithm such as the Diffie-Hellman algorithm and / or an encryption algorithm such as the Advanced Encryption Standard (known by the acronym “AES”) and a corresponding decryption algorithm, which are stored in their memory elements 112, 119. In this case, these tagging algorithms include, for example:

[0081] a MAC algorithm, such as the Advanced Encryption Standard Cipher-based Message Authentication Code algorithm (known by the acronym “AES-CMAC”) or the Hash-based Message Authentication Code algorithm (known by the acronym “HMAC”), in order to calculate the tag based on the at least one security key and the payload, or

[0082] - a signature algorithm, such as the Elliptic Curve Digital Signature Algorithm (known by the acronym “ECDSA”), in order to also calculate the tag based on the at least one security key and the payload.

[0083] In this case, when the specific singular element is a sequence number, the specific singular element algorithm comprises a sequence number algorithm. The sequence number algorithm may be a counter or a timestamp. The specific singular element algorithm participates in generating specific singular elements that are different from one another, that is to say that these specific identification elements are never the same. In other words, throughout the life cycle of these first and second devices, these specific identification elements will always be different. This special feature ensures that each security message can be used / transmitted / exchanged only once.

[0084] It should be noted that the system 100 includes a communication network 121 that participates in establishing a communication link between the first device 101 and the second device 102. The communication network 121 is preferably a Bluetooth communication network or a wired and wireless communication network that is not compatible with Bluetooth.

[0085] The system 100 may further include a third electronic device 103. The third device 103 is capable of participating in at least one security key exchange between the first device 101 and the second device 102 to distribute the at least one security key to the first device 101 and the second device 102.

[0086] The device 103 may be, for example, in a TPMS system or in other similar systems.

[0087] The third device 103 includes, in a non-limiting and / or non-exhaustive manner:

[0088] a processing unit 122 (also called “controller”) comprising hardware and / or software resources, in particular at least one processor 125 cooperating with a memory element 126 ;

[0089] - Bluetooth communication interface 123; and

[0090] - A wired and / or wireless communication interface 124 that is not compatible with the Bluetooth standard.

[0091] In this third device 103, the processing unit 122 is connected to a Bluetooth communication interface 123 and also to a wired and wireless communication interface 124 which, as mentioned earlier, is not compatible with the Bluetooth standard.

[0092] According to some embodiments, the first device 101, the second device 102 or the third device 103 may also include in the memory element 112, 119, 126 of the processing unit 104, 105, 122 thereof the at least one security key intended to secure the message.

[0093] Furthermore, the system 100 comprises two communication networks 127, 128, which respectively participate in establishing a communication link between the third device 103 and the first device 101 and between the third device 103 and the second device 102. These communication networks 127, 128 are preferably Bluetooth communication networks or wired and wireless communication networks incompatible with Bluetooth.

[0094] Now refer to Figures 3 to 9 , the system 100 is capable of implementing a Bluetooth communication method. Such a method comprises a step 18 of acquiring the at least one security key by each of the first device 101 and the second device 102. Such an acquisition step 18 preferably comprises five embodiments.

[0095] More specifically, in Figure 4 and Figure 5 In the first and second embodiments illustrated in FIG. 1 , this step 18 includes a sub-step 19 of establishing a communication link in Bluetooth connection mode between the first device 101 and the second device 102. To this end, this sub-step 19 includes a phase 20 of pairing the first device 101 with the second device 102.

[0096] In this case, in Figures 4 to 9 The Bluetooth connection mode, referenced as C in the figure, can be defined as a connection that allows two-way data transfer between two connected devices. In the connection mode, the transferred data can be protected but is not required. The transferred data can be protected in terms of integrity and / or confidentiality.

[0097] This sub-step 19 is automatically implemented the first time the first device 101 receives a connection request from a second device 102 that has not yet been paired with it. During this sub-step 19, the first device 101 detects the presence of a second device 102 in its vicinity and attempts to establish a connection with the latter. To this end, the second device 102 is set in discoverable mode. Subsequently, during this pairing phase 20, the first device 101 or the second device 102 and more specifically its processing unit 104, 105 are able to generate several keys such as, for example, long temporary keys, identity resolution keys, connection signature resolution keys and / or Diffie-Hellman keys.

[0098] In a first embodiment, the obtaining step 18 comprises a sub-step 21 of exchanging the at least one security key between the first device and the second device 102. The sub-step 21 comprises:

[0099] - a stage 22 of transmitting the at least one security key by the first device 101 to the second device 102, or

[0100] - Phase 23 of transmitting the at least one security key by the second device 102 to the first device 101 .

[0101] In this case, the at least one security key may be a key, such as, for example, an Advanced Encryption Standard key, which has been stored in the processing unit 104, 105 of the first device 101 or the second device 102. In an alternative, the at least one security key may also be a key generated during the pairing phase 20 or a key derived from the generated key.

[0102] In a second embodiment, the obtaining step 18 comprises a sub-step 24 of generating said at least one security key by implementing a key agreement protocol by the first device 101 and the second device 102. The key agreement protocol may be based on a cryptographic algorithm such as, for example, the Diffie-Hellman algorithm.

[0103] Reference Figure 6 Regarding the third embodiment similar to the acquisition step 18 of the second embodiment, it is desirable to replace the sub-step 19 of establishing communication by the sub-step 25 of establishing a communication link between the first device 101 and the second device 102 according to a wired technology or wireless technology standard different from the Bluetooth standard. After the sub-step 25, the third embodiment includes a sub-step 26 of generating the at least one security key by the first device 101 and the second device 102 by implementing a key agreement protocol in the same manner as the second embodiment.

[0104] exist Figure 7 In the fourth embodiment illustrated in FIG. 1 , the acquisition step 18 also includes, as in the third embodiment, a sub-step 27 of establishing a communication link between the first device 101 and the second device 102 according to a wired technology or wireless technology standard different from the Bluetooth standard. Thereafter, the acquisition step 18 includes a sub-step 28 of exchanging the at least one security key between these first device 101 and the second device 102, the at least one security key being:

[0105] - is initially stored in the first device 101 or the second device 102, or

[0106] - when the acquisition step 18 comprises a previous pairing phase carried out between the first device 101 and the second device 102, a key generated during the pairing phase, or

[0107] -derived from the generated key.

[0108] exist Figure 8 and Fig. 9 In the fifth embodiment of the acquisition step 18 depicted in FIG. 1 , the step 18 comprises:

[0109] - a sub-step 29 of establishing a communication link in Bluetooth connection mode between the first device 101, the second device 102 and the third device 103, the sub-step 29 comprising a stage of pairing the third device 103 with the first electronic device 101 and with the second electronic device 102, or

[0110] - A sub-step 30 of establishing a communication link between the first device 101, the second device 102 and the third device 103 according to a selection of a communication technology among Bluetooth technology or a secure wired technology or a secure wireless technology different from Bluetooth technology performed by each of these devices 101, 102 and 103.

[0111] In the fifth embodiment, the acquisition step 18 subsequently includes:

[0112] - a sub-step 31 of exchanging the at least one security key between the first device 101 and the second device 102 via the communication link via the third electronic device 103, or

[0113] - Sub-step 32 of distributing the at least one security key by the third electronic device 103 to the first device 101 and the second device 102 via the communication link.

[0114] The exchange sub-step 31 comprises:

[0115] - a stage 33 of transmitting, by the first device 101, the at least one security key to the second device 102 via the third device 103, or

[0116] Phase 34 of transmitting the at least one security key via the second device 102 to the first device 101 via the third device 103 .

[0117] In this case, the at least one security key may be a key that has been stored in the processing unit 104, 105, 122 of the first device 101, the second device 102 or the third device 103, such as, for example, an Advanced Encryption Standard key. In an alternative, the at least one security key may also be a key generated during the pairing phase of the fifth embodiment or derived from the key generated during this phase. It may be noted that during this phase, the first device 101, the second device 102 or the third device 103 and more specifically its processing unit 104, 105, 122 are able to generate several keys such as, for example, long temporary keys, identity resolution keys, connection signature resolution keys and / or Diffie-Hellman keys.

[0118] Then, the method comprises a step 35 of interrupting the communication link between the first device 101 and the second device 102 as long as the at least one security key is valid. It can be noted that when these two devices 101, 102 are connected to each other without an intermediate device as in the first to fourth embodiments mentioned above, the communication link between the first device 101 and the second device 102 is directly interrupted. In the same method, when these two devices 101, 102 are connected to each other via the third device 103 as in the fifth embodiment mentioned above, the communication link between the first device 101 and the second device 102 is indirectly interrupted.

[0119] It is understood that the at least one security key is considered valid once the two devices 101, 102 agree on the key material. It may be a shared secret key or a public-private key pair.

[0120] Therefore, once the at least one security key is valid, it is not required in the method to implement sub-steps 19, 25, 27, 29, 30 of establishing a communication link between the first device 101 and the second device 102 or between the first device 101, the second device 102 and the third device 103 as follows:

[0121] - In Bluetooth connection mode, or

[0122] -Based on a secure wired technology or a secure wireless technology other than Bluetooth technology.

[0123] Furthermore, the method includes a step 36 of generating a specific singular element for / related to a security message. The specific singular element is generated in particular for each security message exchanged between the first electronic device 101 and the second electronic device 102. In other words, a new specific singular element and / or a specific singular element different from the previous specific singular element is generated for each of these security messages. The processing unit 105 of the second device 102 implements the step 36.

[0124] The generating step 36 comprises a sub-step 37 of determining the specific singular element by implementing a specific singular element algorithm. During this sub-step 37, the at least one processor 118 of the second device 102 executes the specific singular element algorithm stored in its memory element 119. As explained before, the specific singular element algorithm may be a sequence number algorithm when the specific singular element is a sequence number.

[0125] It may be noted that this generating step 36 may be implemented at any time in the method, but must be implemented before the step 38 of transmitting the security message by the second device 102 to the first device 101 discussed later.

[0126] Furthermore, the method comprises a step 38 of transmitting a safety message to the first device 101 by the second device 102. Such step 38 comprises a sub-step 39 of implementing a message comprising a payload comprising data related to phenomenon data or notification data.

[0127] Then, this step 38 comprises a sub-step 40 of designing a security message by using said at least one security key, payload and or singular element. To do this, this sub-step 40 comprises:

[0128] - a stage 41 of calculating a security tag by implementing a tag algorithm using said at least one security key and the payload, or

[0129] - A stage 41 of computing a security tag by implementing a tag algorithm using said at least one security key, the payload and the singular element.

[0130] The security tag is a short piece of information that facilitates ensuring integrity and / or authenticity protection for the message including the payload. The security tag comprises a message authentication code (known by the acronym MAC), which is also called a message integrity code (known by the acronym MIC) or a signature. During this stage 41, the processing unit 105 of the second device 102 may execute the tag algorithm - for example, a MAC algorithm or a signature algorithm - which implements the at least one security key and the payload in order to calculate the security tag.

[0131] This sub-step 40 then comprises a phase 42 of generating a security message by appending the calculated security tag and the specific singular element as follows:

[0132] -Payload, or,

[0133] - When the design sub-step 40 comprises a phase 43 of encrypting the payload using said at least one security key according to an encryption algorithm, an encrypted payload.

[0134] It should be noted that in addition to the payload, the security tag and / or the specific singular element may also be encrypted during this encryption phase 43. For example, in this case, the security tag may be calculated using a first security key and the payload, the specific singular element and / or the tag may be encrypted using a second security key.

[0135] When performing the encryption phase 43, the processing unit 105 of the second device 102 may implement the encryption algorithm in order to encrypt the payload by using the at least one security key. Such a phase 43 contributes to ensuring confidentiality protection for the message including the payload.

[0136] It is understood that, in a security message, the same / unique security key may participate in encrypting a security tag and / or a payload and / or a specific unique element. In an alternative, in the security message, different security keys may contribute to encrypting a security tag, a payload and / or a specific unique element.

[0137] In such a case, it is therefore understood that the security message may include available data, including, in a non-limiting and / or non-exhaustive manner:

[0138] -Payload, security tags and specific exotic elements, or

[0139] -Payload, encrypted security tags and specific unique elements, or

[0140] - specific singular elements of the payload, security tags, and encryption, or

[0141] -Payload, encrypted security tag and encrypted specific singular elements, or

[0142] - Encrypted payload, security tags and specific unique elements, or

[0143] - encrypted payload, encrypted security tags and specific unique elements, or

[0144] - encrypted payload, security tags, and encrypted specific singular elements, or

[0145] - an encrypted payload, an encrypted security tag, and an encrypted specific singular element, or

[0146] - a payload, a security tag computed using a specific singular element, and a specific singular element, or

[0147] - a payload, an encrypted security tag computed using a specific singular element, and a specific singular element, or

[0148] - a payload, a security tag computed using a specific singular element and an encrypted specific singular element, or

[0149] - the payload, an encrypted security tag computed using the specific singular element, and the encrypted specific singular element, or

[0150] - an encrypted payload, a security tag computed using a specific singular element, and a specific singular element, or

[0151] - an encrypted payload, an encrypted security tag computed using a specific singular element, and the specific singular element, or

[0152] - an encrypted payload, a security tag computed using a specific singular element, and the encrypted specific singular element, or

[0153] - An encrypted payload, an encrypted security tag computed using a specific singular element, and the encrypted specific singular element.

[0154] Furthermore, in this security information, it may be noted that certain singular elements are preferably included in the security tag calculation and / or are encrypted.

[0155] Once the security message has been constructed, the transmission step 38 provides for a sub-step 44 of enabling a communication link to be established in Bluetooth advertising mode between these first device 101 and second device 102. Subsequently, the transmission step 38 comprises a sub-step 45 of advertising the security message by the second device 102 to the first device 101.

[0156] The method then comprises a step 46 of processing the available data comprised in the safety message received by the first device 101 from the second device 102. This step 46 comprises a sub-step 47 of extracting a specific singular element comprised in the available data of the received safety message.

[0157] More specifically, this sub-step 47 comprises a phase 48 of verifying the consistency of this particular singular element extracted from those available data.

[0158] Such consistency is verified by comparing the received singular element with a calculated singular element obtained by the first device by implementing a specific singular element algorithm, such as a sequence number algorithm (when the specific singular element is a sequence number) or a timestamp number algorithm (when the singular element is a timestamp number).

[0159] In this case, the sequence number algorithm can implement, for example, a counter. The counter is incremented according to an incrementing element (e.g., an incrementing value) to obtain the calculated singular element (i.e., the calculated sequence number). Thereafter, the algorithm executed by the processing unit 104 of the first device 101 participates in controlling whether the calculated singular element is equal or sensitively equal to the received singular element (i.e., the received sequence number). It can be noted that the received singular element has also been incremented according to the same incrementing element during the generation of the security message.

[0160] As for the timestamp algorithm, it is possible to evaluate, for example, the difference between the received singular element and the calculated singular element. These two singular elements can be date information obtained by the algorithm as follows:

[0161] - a processing unit 104 of the first device 101 for determining a calculated singular element;

[0162] - A processing unit 105 of the second device 102, for determining a received singular element, which is included in the available data of the safety message.

[0163] Thereafter, the algorithm executed by the processing unit 104 of the first device 101 participates in controlling whether the evaluated difference between the calculated singular element and the received singular element is smaller than or greater than or equal to a reference / reported difference stored in the processing unit 104 .

[0164] Such consistency is also verified by comparing the singular element of the received security message with the singular element included in the previous security message. In this case, a singular element algorithm is executed by the processing unit 104 of the first device 101 in order to retrieve the singular element of the previous security message stored in the processing unit 104 and in order to control whether the previous singular element is similar to the new singular element of the last received security message. In an alternative, the singular element algorithm executed by the processing unit 104 may also facilitate controlling whether the new singular element is less than / greater than / equal to the previous singular element.

[0165] It may be noted that, for a first security message advertised / sent by a second device to a first device, a singular element included in the security message and a singular element stored in the processing unit 104 of the first device 101 are initialized to the same value or the same alphanumeric character. Such a singular element stored in the processing unit 104 is intended to be compared with a singular element included in the first security message.

[0166] Such consistency is also verified by comparing the received singular element with a singular element originating from a plurality of singular elements stored in the processing unit 104 of the first device 101. In this case, a singular element algorithm is executed by the processing unit 104 of the first device 101 in order to find a singular element in the processing unit 104 that corresponds to the received singular element. It can be noted that the same plurality of singular elements are stored in the processing unit 104 of the first device 101 and in the processing unit 105 of the second device 102. In the plurality of singular elements, each singular element is different from the other singular elements in the plurality. It should be noted that the singular element included in the available data of the security message is randomly selected among the plurality of singular elements stored in the processing unit 105 by the singular element algorithm executed by the processing unit 105 of the second device 102.

[0167] If the consistency of a particular singular element contained in the available data of the security message is verified, the processing unit 104 of the first device 101 can safely assume that the security message was actually received by the first device 101 for the first time and has not been replayed.

[0168] It may be noted that when the design sub-step 40 comprises a phase 43 of encrypting a specific singular element, the verification phase 48 may comprise a sub-phase of decrypting the encrypted specific singular element contained in the received security message. During this decryption phase, the processing unit 104 of the first device 101 may implement a corresponding decryption algorithm in order to decrypt the encrypted specific singular element by using the at least one security key. In this way, the confidentiality protection of the specific singular element is ensured.

[0169] In this case, the processing step 46 comprises a sub-step 49 of extracting the payload comprised in the received security message once the consistency of the specific singular element comprised in the available data of the security message has been verified.

[0170] As discussed above, processing step 46 includes a sub-step 49 of extracting a payload contained in the received security message. This sub-step 49 includes a stage 50 of processing the consistency of the security tag contained in the security message. The consistency is verified by comparing the calculated tag with the received tag or verifying the validity of the received signed tag. If the received tag in the security message is valid, the processing unit 104 of the first device 101 can safely assume that the message has not been altered or tampered with during transmission. In other words, it can be considered that the integrity and / or authenticity of the message and more specifically the payload has not been altered.

[0171] Sub-step 49 then comprises a phase 51 of verifying the consistency of the tag contained in the secure message. If the tag is consistent, the processing unit 104 of the first device 101 can safely assume that the message has not been altered or tampered with during transmission. In other words, it can be considered that the integrity and / or authenticity of the message and more specifically the payload has not been altered.

[0172] When it is envisaged that sub-step 40 comprises a stage of encrypting the payload, sub-step 49 may comprise a stage 52 of decrypting the encrypted payload contained in the received secure message.

[0173] During this decryption phase 52, the processing unit 104 of the first device 101 may implement a decryption algorithm in order to decrypt the encrypted payload by using the at least one security key. In this way, confidentiality protection of the message and more particularly the payload is ensured. In this sub-step 49, this phase 52 is performed before the phase 50 of processing the consistency of the security tag, which phase 50 requires the decrypted payload to be implemented.

[0174] In other words, if the security tag and / or the payload contained in the received security message has been encrypted during the design sub-step 40 , the decryption stage 52 may be performed prior to the processing stage 50 .

[0175] The processing step 46 then comprises a sub-step 53 of generating useful information based on the data contained in the payload of the safety message. The useful information may be used in a biological or physical parameter monitoring system, such as in a TPMS system.

[0176] It is thus understood that the present invention provides the following advantages: allowing the first and second devices to exchange messages securely in the advertising mode of Bluetooth while ensuring the freshness of these secure messages by using specific singular elements. In that way, complete protection against replay attacks is guaranteed. In this case, the use of specific singular elements ensures that each secure message can be used only once.

[0177] Furthermore, the present invention ensures the integrity and authenticity of security messages against malicious alteration of security messages advertised via Bluetooth technology.In addition, the present invention optimizes the use of unilateral communication over bilateral communication.

[0178] Furthermore, it should be noted that the present invention provides numerous advantages including the following:

[0179] -Full protection against replay attacks in AD mode;

[0180] - Very low power consumption compared to long-term connection mode protected against replay attacks;

[0181] - A more ecological device 101 , 102 over a longer device lifecycle due to significantly reduced power consumption compared to long-term connection modes in which similar concepts are conventionally implemented;

[0182] - Lower complexity of the devices 101, 102 due to the possibility to ensure protection against replay attacks without using long-term connection mode for most or all communications;

[0183] - Low additional effort for the first device 101 and the second device 102 .

[0184] Furthermore, the invention allows the second device 102 to advertise messages with integrity, authenticity and confidentiality protection. To achieve this, each encrypted message exchanged between these two devices 101, 102 comprises a payload and a tag calculated from a key.

[0185] Finally, the present invention may be implemented in a non-limiting and / or non-exhaustive manner in all of the following technical fields:

[0186] - Motor vehicles (e.g. passenger cars, commercial vehicles, trucks), two-wheeled vehicles (e.g. motorcycles, bicycles, electric bicycles, scooter applications), three-wheeled vehicles (e.g. motorized tricycles): tire pressure monitoring sensors (TPMS) via Bluetooth advertising; electronic calls using smartphones via Bluetooth communication; presence detectors (e.g. in baby seats) using smartphones via Bluetooth communication; electric bicycle sensors and devices using receivers via Bluetooth communication;

[0187] -Medical: Communication of portable medical devices such as pacemakers and hearing devices communicate their data to a receiver via Bluetooth.

[0188] - Agriculture: Sensors in the field communicate their data to the gateway via Bluetooth.

[0189] -Industry: sensors integrated in production tools communicate their data to the gateway via Bluetooth; asset tracking;

[0190] - Consumer Market: Many applications for Bluetooth communications between smartphones, tablets, laptops and wearables, head-mounted devices, gaming toys.

[0191] It will be apparent to those skilled in the art that various modifications may be made in the present disclosure without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is intended to cover modifications and variations of the embodiments of the present disclosure.

Claims

1. A Bluetooth communication method implemented between a first electronic device (101) and a second electronic device (102), the second electronic device (102) being capable of sending a security message including data to be processed by the first electronic device (101), the method include: - obtaining (20) at least one security key through each of the first electronic device (101) and the second electronic device (102), wherein the at least one security key is involved in the design of the security tag; - generating (36) specific singular elements for security messages; - Transmitting (38) a security message including its specific singular element and the security tag to the first electronic device (101) by the second electronic device (102), the transmission comprising establishing (44) a communication link in Bluetooth advertising mode between these first device (101) and second device (102).

2. The method according to claim 1, It is characterized in that The generating step (36) comprises the sub-step of determining (37) specific singular elements by implementing a specific singular element algorithm.

3. The method according to the preceding claim, It is characterized in that The specific singular element algorithm is: - when the particular singular element is a sequence number, the sequence number algorithm, or -Timestamp algorithm when the particular singular element is a timestamp.

4. The method according to any one of claims 1 to 3, It is characterized in that The obtaining step (20) comprises: - a sub-step of establishing (19) a communication link in Bluetooth connection mode between the first device (101) and the second device (102), the sub-step (19) comprising a stage of pairing (22) the first device (101) with the second device (102), and - A sub-step of exchanging (23) between these first device (101) and the second device (102) said at least one security key, said at least one security key being the following: is initially stored in the first device (101) or the second device (102), or a key generated during the pairing (22) phase, or is obtained from the generated key.

5. The method according to any one of claims 1 to 3, It is characterized in that The obtaining step (20) comprises: - a sub-step of establishing (19) a communication link in Bluetooth connection mode between the first device (101) and the second device (102), and - A sub-step of generating (26) said at least one security key by the first device (101) and the second device (102) by implementing a key agreement protocol.

6. The method according to any one of claims 1 to 3, It is characterized in that The obtaining step (20) comprises: - a sub-step of establishing (27) a communication link between the first device (101) and the second device (102) according to a wired technology or wireless technology standard different from the Bluetooth standard, and - A sub-step of generating (28) said at least one security key by the first device (101) and the second device (102) by implementing a key agreement protocol.

7. The method according to any one of claims 1 to 3, It is characterized in that The obtaining step (20) comprises: - a sub-step of establishing (29) a communication link between the first device (101) and the second device (102) according to a wired technology or wireless technology standard different from the Bluetooth standard, and - A sub-step of exchanging (30) said at least one security key between these first device (101) and the second device (102), said at least one security key being the following: is initially stored in the first device (101) or the second device (102), or When the step of obtaining comprises a previous pairing phase carried out between the first device (101) and the second device (102), a key generated during the pairing phase, or is obtained from the generated key.

8. The method according to any one of claims 1 to 3, It is characterized in that The obtaining step (20) comprises: - a sub-step of establishing (31) a communication link in Bluetooth connection mode between the first device (101), the second device (102) and the third device (103), the sub-step (31) comprising a phase of pairing the third device (103) with the first electronic device (101) and the second electronic device (102), and - A sub-step of exchanging (33) said at least one security key between the first device (101) and the second device (102) via a communication link via a third electronic device (103).

9. The method according to any one of claims 1 to 3, It is characterized in that The acquisition steps include: - a sub-step of establishing (32) a communication link between the first device (101), the second device (102) and the third device (103) according to a selection of a communication technology among the Bluetooth technology or a secure wired technology or a secure wireless technology different from the Bluetooth technology performed by each of these devices (101, 102, 103), and - A sub-step of exchanging (33) said at least one security key between the first device (101) and the second device (102) via a communication link via a third electronic device (103).

10. The method according to any one of claims 8 and 9, It is characterized in that The exchanging sub-step (33) is replaced by a sub-step of distributing (34) the at least one security key by the third electronic device (103) to the first device (101) and the second device (102) via a communication link.

11. The method according to any one of claims 1 to 10, It is characterized in that The transmitting step (38) comprises: - implementing the sub-step of (39) sending a message, the message comprising a payload, the payload comprising data related to the phenomenon data or the notification data, and - The sub-step of composing (40) a security message by using said at least one security key and the payload.

12. The method according to the preceding claim, It is characterized in that The design sub-step (40) includes: - a stage of calculating (41) a security tag by implementing a tag algorithm using said at least one security key and the payload, or - A phase of computing (41) a security tag by implementing a tagging algorithm using said at least one security key, the payload and the singular element.

13. The method according to the preceding claim, It is characterized in that The design sub-step (40) includes: - a stage of generating (42) a security message by appending a calculated security tag to a payload and appending a specific singular element to the payload, or - A stage of generating (42) a secure message by appending a calculated tag to the encrypted payload and appending a specific singular element to the encrypted payload.

14. A method according to any one of the preceding claims, It is characterized in that It comprises the step of processing (46) usable data included in a security message received by the first device (101) from the second device (102).

15. A method according to any one of the preceding claims, It is characterized in that The processing step (46) comprises: - a sub-step of extracting (47) a specific singular element included in the available data of the received security message, and - A sub-step of extracting (49) the payload contained in the received security message.

16. The method according to the preceding claim, It is characterized in that The extraction sub-step (47) comprises a phase of verifying (48) the consistency of this particular singular element extracted from those available data.

17. A method according to any one of claims 13 to 16, It is characterized in that The processing step (46) comprises the sub-step of generating (53) useful information based on the data contained in the payload of the safety message.

18. A method according to any one of the preceding claims, It is characterized in that In the secure message, certain singular elements are included in the calculation of the security tag and / or are encrypted.

19. A Bluetooth communication system (100) implemented between a first electronic device (101) and a second electronic device (102), the second electronic device (102) being capable of sending a security message including data to be processed by the first electronic device (101), the system (100) comprising the first device (101) and the second device (102) and being configured to: - obtaining at least one security key through each of the first electronic device (101) and the second electronic device (102), wherein the at least one security key is involved in the design of the security tag; -Generate specific singular elements for security messages; - Transmitting, by the second electronic device (102), a security message comprising its specific singular element and the security tag to the first electronic device (101), the transmission comprising establishing (44) a communication link in Bluetooth advertising mode between these first device (101) and second device (102).

20. System (100) according to the preceding claim, It is characterized in that The system comprises a first device (101) and a second device (102) and further comprises a third electronic device (103). The system (100) is configured as follows: - exchanging the at least one security key between the first device (101) and the second device (102) via a communication link via a third electronic device (103), or - distributing the at least one security key by the third electronic device (103) to the first device (101) and the second device (102) via a communication link.