Vehicle anchor identification
Patent Information
- Application Number
- FR2022013231
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-12-13
Smart Images

Figure 00000020_0000 
Figure 00000021_0000 
Figure 00000022_0000
Abstract
Description
Title of the invention: Identification of vehicle anchors Technical field
[0001] The present disclosure relates to the identification of vehicle anchors, and more particularly to a method, an anchor, a centralized electronic control unit and a system for determining a basic control area network identifier, for each anchor of a network equipping a vehicle. Technical background
[0002] Today there are vehicles equipped with a network comprising a centralized electronic control unit and anchors positioned at different locations on the vehicle, the anchors not having any pre-established positioning. This network is used to perform different functions of the vehicle. For example, after recording one or more identifiers, a vehicle equipped with such a network is capable of locating the one or more identifiers when they are close to the vehicle. This localization can be carried out from measurements which are carried out between the one or more identifiers and the anchors of the network.
[0003] To achieve these different functionalities, each of the network anchors is identified in the network, that is to say that each anchor has a unique basic control area network identifier (or "basic network identifier"). Indeed, this identification allows the centralized electronic control unit to exchange with each of the anchors individually. However, there is no efficient method for determining basic network identifiers.
[0004] Therefore, there is a need to improve the identification of the anchors of a network equipping a vehicle. Summary
[0005] For this purpose, a method is proposed implemented in a vehicle equipped with a network. The network comprises anchors and a centralized electronic control unit. The method comprises, for each respective anchor, reading a unique identification number of the respective anchor, applying a key derivation function to the unique identification number, and determining a basic control area network identifier from the result provided by the application of the derivation function.
[0006] The method may further comprise, for each respective anchor, a transmission of a frame comprising the base network identifier and the unique identification number of the respective anchor, and, a reception of the base network identifier and the unique identification number of the respective anchor by the electronic unit of centralized control. The method may further comprise verifying the uniqueness of each received basic network identifier.
[0007] The method may further comprise, in the case of uniqueness, a recording of the basic network identifier and the unique identification number of each anchor on a non-volatile memory of the centralized electronic control unit.
[0008] The method may further comprise, in the case of non-uniqueness, a generation, by the centralized electronic control unit, of an arbitrary number intended to be used only once, a transmission, by the centralized electronic control unit, of the arbitrary number, a reception of the arbitrary number by each anchor, and, a repetition, for each respective anchor, of the application of the key derivation function and the determination of a basic control area network identifier. The key derivation function may take as input the arbitrary number in addition to the unique identification number.
[0009] The method may comprise, before the application of the derivation function, a generation, by the centralized electronic control unit, of an arbitrary number intended to be used only once, a transmission, by the centralized electronic control unit, of the arbitrary number, and, a reception of the arbitrary number by each anchor. The key derivation function may take as input, in addition to the unique identification number, the arbitrary number generated by the centralized electronic control unit.
[0010] The method may further comprise for each respective anchor, an application by the centralized electronic control unit of the key derivation function to the unique identification number of the respective anchor, a determination of a comparison network identifier from the result provided by the application of the derivation function, and, a verification of the correspondence between the basic network identifier and the comparison network identifier.
[0011] Determining the base network identifier may include truncating, by a predetermined number of bits, the result provided by applying the derivation function. The determined base network identifier may be the result of the truncation.
[0012] The method may comprise, after determining the base network identifier, determining a set of network identifiers from the base network identifier. Determining the set of network identifiers may comprise, for each network identifier in the set, concatenating the base network identifier with a respective bit series.
[0013] The key derivation function may be of the NIST SP8OO-1O8, RFC 5869 or RFC 2898 type.
[0014] The unique identification number of each anchor may be encoded on a first number of bits, for example less than 128 and / or greater than 24. The network identifier base may be encoded on a second number of bits, for example less than 29 and / or greater than 11. The second number of bits may be less than the first number of bits.
[0015] A vehicle anchor is also provided. The anchor is configured to implement the method.
[0016] A centralized electronic control unit for a vehicle is also provided. The centralized electronic control unit is configured to implement the method.
[0017] A system for equipping a vehicle is also provided. The system comprises a network of anchors and a centralized electronic control unit. The system is configured to implement the method. Brief description of the figures
[0018] Non-limiting examples will be described with reference to the following figures:
[0019] [Fig.l] illustrates an example of a flowchart of the method.
[0020] [Fig.2] shows examples of determined basic network identifiers.
[0021] [Fig.3], [Fig.4] and [Fig.5] illustrate examples of execution of the method.
[0022] [Fig.6] illustrates an example of a vehicle system. Detailed description
[0023] For this purpose, a method is proposed implemented in a vehicle equipped with a network. The network comprises anchors and a centralized electronic control unit. The method comprises, for each respective anchor, reading a unique identification number of the respective anchor. The method comprises, for each respective anchor, applying a key derivation function (or "KDF") to the unique identification number. The method comprises, for each respective anchor, determining a basic control area network identifier (also referred to hereinafter as "basic network identifier", or "CAN ID") from the result provided by the application of the derivation function.
[0024] The method improves the identification of the anchors of a network equipping a vehicle.
[0025] Indeed, the determination of a basic network identifier for each anchor allows individual identification of each of the anchors of the network. In particular, the method determines a unique basic network identifier for each anchor. This uniqueness of the determined basic network identifiers makes it possible to individually identify the anchors of the network, and therefore to address and / or receive information to / from each of the anchors individually.
[0026] In particular, the determined basic network identifiers are unique even if they were determined from the unique identification numbers of the anchors. Indeed, the application of the key derivation function increases the probability of obtaining basic network identifiers that are different from each other. In particular, the application of the key derivation function ensures the uniqueness of the network identifiers even if the unique identification numbers of the anchors are close and / or consecutive. In one example, the unique identification numbers of the anchors are manufacturing numbers (serial numbers for example) and / or the anchors come from the same manufacturing batch. In this case also, the application of the key derivation function therefore makes it possible to guarantee the uniqueness of the determined basic network identifiers in all circumstances.
[0027] Furthermore, the method makes it possible to identify the anchors efficiently. Indeed, the method uses the unique identification numbers of the anchors to generate the basic network identifiers, that is to say that the method uses data already existing at the level of each anchor. In particular, the identification does not require any particular operation at the level of the anchors. For example, the identification does not require activation and / or deactivation of the anchors or even does not require a specific connection of the anchors to each other (for example a series or star connection). The method can therefore exclude such a connection step. The method can therefore also exclude any pre-established anchor mounting procedure or pre-established anchor positioning or orientation procedure. The operator can therefore simply position the anchors as desired. The time saved in production assembly is therefore not negligible.
[0028] The method may comprise a use of the identification of the anchors by the method, that is to say a use of the determined basic network identifiers. For example, the method may use the determined basic network identifiers to carry out exchanges of information between the centralized electronic control unit and each of the anchors. Each exchange may comprise the transmission of a signal containing information associated with the basic network identifier of the anchor concerned by the exchange (for example at the beginning or at the end of the signal). When an anchor is transmitting for example, the basic network identifier of the anchor contained in the signal may allow the centralized electronic control unit to recognize the identity of the anchor which sends it information.Alternatively, when it is the centralized electronic control unit (or another anchor) that transmits, the basic network identifier can allow an anchor receiving the signal to recognize that it is the recipient of the signal information.
[0029] The exchange of information between the centralized electronic control unit and each of the anchors individually can be used for the execution of one or more functions of the vehicle. For example, the anchors can be positioned at different locations of the vehicle, and each anchor can transmit information measured from its position to the centralized electronic control unit (e.g., a distance measurement with a device such as a key or a mobile phone). From this measured information, the centralized electronic control unit can deduce information about the vehicle's surroundings. For example, the centralized electronic control unit can deduce from the measured distances the position of the device around the vehicle. In other examples, the determined basic network identifiers can be used for the centralized electronic control unit to control the network anchors. For example, the control can include the issuing of individual command(s) addressed to a particular anchor.
[0030] An example of vehicle functionality using the identification may be performing an automatic closing of the vehicle, for example when it is determined that the device is outside the vehicle, for example after a predetermined time has elapsed between the time when it is determined that the device is outside. In another example, the functionality may include, after determining that the device is outside (also after a predetermined time has elapsed for example), detecting an abnormal event in the vehicle, for example that a child and / or an animal has been left in the vehicle.For this, the functionality may include, after closing the vehicle for example, detection by an anchor of chest movements inside the vehicle (for example, breathing of a child), sending a message to the centralized electronic control unit and triggering of an alarm by the centralized electronic control unit. In still other examples, the functionality may include, after determining that the device is inside the vehicle, activation of one or more functions of the vehicle (for example, switching on music and / or adjusting the mirrors). The determined basic network identifiers may also be used for the execution of any combination of these example functionalities.
[0031] The method may be executed before the execution of one or more vehicle functionalities, for example during a step of pairing the anchors. The method may be executed after a network switch-on (for example a switch-on of the centralized electronic control unit). For example, the method may be executed at the time of the first switch-on of the network after an installation in the vehicle, for example during a configuration of the vehicle after manufacture. Alternatively or additionally, the method may be executed during maintenance of the vehicle, for example after a modification of the network. For example, the method may be executed after an installation and / or a replacement of one or more network anchors. In this case, the method may be executed for the one or more modified and / or replaced network anchors (the other anchors each retaining the network identifier base determined after manufacturing for example).
[0032] The network comprises the anchors and the centralized electronic control unit. The number of anchors in the network may depend on the vehicle and its functionalities. The network may comprise means for connection between the anchors and the centralized electronic control unit. For example, the network may comprise cables connecting the anchors to the centralized electronic control unit. For example, the cables may connect the anchors and the centralized electronic control unit in series. Alternatively, the cables may comprise, for each respective anchor (or each respective group of anchors), a respective cable connecting the respective anchor (or each anchor of the respective group) to the centralized electronic control unit. The anchors and the centralized electronic control unit may comprise connectors to which the cables are connected.The anchors can be positioned in different places in the vehicle (for example, at the front left or right of the vehicle, or at the rear left or right of the vehicle, or in the passenger compartment, at the front or rear). Each anchor can be connected (directly or via one or more other anchors) to the central electronic control unit, which can occupy a central position in the vehicle. Each anchor can transmit or receive signals via the connection means to exchange information with the central electronic control unit, or with the other anchors (directly or via the central control unit, for example).
[0033] For each respective anchor, the steps of reading the anchor identification number, applying the function and determining a basic network identifier may be performed by the respective anchor. For example, each anchor may comprise a memory (for example non-volatile) comprising instructions for executing these steps of reading, applying and determining. Each anchor may comprise a processor executing these steps of reading, applying and determining by reading the instructions recorded on the memory of the anchor. Each anchor may also comprise means of communication with the centralized electronic control unit, or with the other anchors (directly or via the centralized control unit for example).These means of communication can carry out the transmission of the frame comprising the basic network identifier and the unique identification number of the anchor to the centralized electronic control unit. Each anchor can also comprise means of communication with devices outside the network (for example with a mobile phone), for example using a BLE (acronym for "Bluetooth Low Energy") or UWB (acronym for "Ultra Wide Band") communication protocol.
[0034] The unique identification number of each anchor may be encoded on a first number of bits. The first number of bits may be less than 128. Alternatively or additionally, the first number of bits may be greater than 24. The unique identification number of the anchor may be stored on the memory of the anchor. Reading the unique identification number may comprise reading the unique identification number from the memory of the anchor (e.g., by the processor of the anchor) or programmed into the memory during a post-production customization phase of the anchor by the end-of-line flashing tool. Alternatively, each anchor may comprise an inscription indicating the unique identification number of the anchor, and the reading may comprise reading at the anchor the unique identification number on the inscription. Reading the inscription may be automatic (e.g., via a scan of the inscription) or manual (e.g., a user may read and provide the unique identification number to the anchor).The unique identification number can be a serial number assigned at the time of anchor manufacture. The identification number is unique for each anchor built, that is, it is unique for each anchor in the network but also for all others that have already been manufactured or will be manufactured.
[0035] The key derivation function may be a function that derives the unique identification number using a pseudo-random function. The key derivation function may be the same for each anchor, and may be stored in the memory of each anchor. Application of the key derivation function may provide as a result a number in a certain format, for example, a number encoded over a predetermined number of bits. The pseudo-random function of the key derivation function may introduce variability into the provided result relative to what the function takes as input. The results provided by applying the key derivation function to each of the anchors' unique identification numbers may have greater variability than the unique identification numbers themselves. The key derivation function may be of the NIST SP800-108, RFC 5869, or RFC 2898 type.The method may include recording the result provided by the application of the key derivation function, for example to the memory of the anchor.
[0036] In examples, the key derivation function may take as input, in addition to the unique identification number, an arbitrary number intended to be used only once (also referred to hereinafter as an “arbitrary number,” or “nonce”). The key derivation function may provide a different result when the arbitrary number is taken as input in addition to the unique identification number. The arbitrary number may be taken as input for a given vehicle network system. The method may include, before applying the derivation function, generating, by the centralized electronic control unit, the arbitrary number. The method may then include transmitting, by the centralized electronic control unit, the arbitrary number. For example, the transmission may be a transmission in the form of a frame containing the arbitrary number. The transmission may be unique for all anchors of the network, or alternatively the transmission may be repeated for each respective anchor of the network. Then, the method may comprise a reception of the arbitrary number by each anchor. For example, the method may comprise, for each anchor, a reading of the frame transmitted by the centralized electronic control unit and containing the arbitrary number. The reception may comprise a recording of the received arbitrary number on the memory of the anchor. After the reception, at the time of application of the key derivation function, the function may take as input, in addition to the unique identification number, the arbitrary number generated by the centralized electronic control unit and received by the anchor.
[0037] The determined base network identifier may be the result provided by the application of the derivation function. The base network identifier may be unique for each anchor. The determined base network identifiers may all be different. Each base network identifier may be encoded on a second number of bits. The second number of bits may be less than 29. Alternatively or additionally, the second number of bits may be greater than 11. The number of bits in the base network identifier (the second number of bits) may be less than the number of bits in the unique identification number (the first number of bits). Using a number of bits for the base network identifier less than the number of bits in the unique identification number improves the identification of the anchors.Indeed, using a reduced number of bits allows less data to be used to identify an anchor, which therefore improves the efficiency of exchanges by reducing the amount of data to be exchanged for identification during exchanges.
[0038] The result provided by the application of the derivation function may be the base network identifier. In this case, determining the base network identifier may comprise providing the result provided by the application of the derivation function as the base network identifier. Alternatively, determining the base network identifier may comprise truncating, by a predetermined number of bits, the result provided by the application of the derivation function. In this case, the determined base network identifier may be the result of truncating the provided result. For example, the result provided by the application of the derivation function may be encoded on a predetermined number of bits, and the determined base network identifier may be encoded on a number of bits equal to the predetermined number of bits of the result provided by the application of the derivation function minus the predetermined number of bits of the truncation.Truncation may include removing the first bits of the result provided by applying the derivation function (the first n bits, n being the predetermined number of bits of the truncation), or alterna . tively a removal of the last bits of the result provided by the application of the derivation function (the last n bits), or alternatively a removal of first and last bits of the result provided by the application of the derivation function (the total number of bits removed being equal to ri). After the truncation, the determination may include a provision of the result of the truncation as a basic network identifier for the anchor.
[0039] For each anchor, the transmission of the frame may be carried out by the communication means of the anchor. The anchor may transmit the frame in the form of a signal and transmit the signal in the connection means with the centralized electronic control unit. The transmitted signal may comprise the basic network identifier and the unique identification number of the respective anchor. The reception of the basic network identifier and the unique identification number of the respective anchor by the centralized electronic control unit may comprise a reception of the frame transmitted by the anchor and a reading of the basic network identifier and the unique identification number of the respective anchor on the received frame (for example by processing the received signal). The reception may comprise a recording of the basic network identifier and the unique identification number of each anchor on a non-volatile memory of the centralized electronic control unit.
[0040] Verifying the uniqueness of each received base network identifier may be performed after receiving each of the base network identifiers determined for each of the anchors. For example, the number of anchors of the network may be recorded on the non-volatile memory of the centralized electronic control unit, and verifying the uniqueness may include waiting for the number of base network identifiers received to be equal to the number of anchors of the recorded network. Verifying may then include comparing the received base network identifiers with each other so as to verify the uniqueness of each of the base network identifiers determined for each of the anchors. Verifying may include verifying that each base network identifier is unique in the set of determined base network identifiers.
[0041] The verification may succeed, i.e., each of the determined base network identifiers may be unique. Alternatively, the verification may fail, i.e., the base network identifiers may not be unique. For example, at least two anchors may have the same base network identifier. The verification therefore improves the identification of the network anchors, since it avoids the risk that anchors may have the same base network identifier.
[0042] In the case of uniqueness, i.e. when the verification is successful, the method may comprise a recording of the basic network identifier and the unique identification number of each anchor on a memory (for example non-volatile) of the centralized electronic control unit. When the basic network identifiers are already registered at the time of their receipt by the centralized electronic control unit, the registration may include a retention (or a copy to another address) of the basic network identifiers already registered.
[0043] In the event of non-uniqueness, i.e. when the verification fails, the determined basic network identifiers are not retained and the method can generate basic network identifiers again by applying the key derivation function again (i.e. a second time after the first application of the function described above). For this, the method can comprise a generation, by the centralized electronic control unit, of an arbitrary number. In the case where such an arbitrary number is already taken as input for the first application of the function, this arbitrary number taken as input for this second application can be different from the arbitrary number taken as input during the first application of the function.
[0044] The method may then comprise a transmission, by the centralized electronic control unit, of the generated arbitrary number. The transmission may be carried out as for the first application of the function. The transmission may be a transmission in the form of a frame containing the arbitrary number, and may be unique for all the anchors of the network, or alternatively, repeated for each respective anchor of the network. Then, the method may comprise a reception of the arbitrary number by each anchor, for example by reading the frame transmitted by the centralized electronic control unit and containing the arbitrary number. The reception may comprise a recording of the received arbitrary number on the memory of the anchor. The method may then comprise, for each respective anchor, a repetition of the application of the key derivation function and the determination of a basic network identifier.The key derivation function can take the arbitrary number as input in addition to the unique identification number. The result provided by applying the key derivation function may then be different from the result provided when the key derivation function takes only the unique identification number as input (i.e., without the arbitrary number as the first time).
[0045] In examples, for each anchor, after receiving the base network identifier and the unique identification number of the anchor by the centralized electronic control unit, the method may include verifying the base network identifier determined for the anchor. Verifying the base network identifier may include applying the key derivation function to the unique identification number of the anchor by the centralized electronic control unit. For example, the key derivation function and the unique identification number of the anchor may be stored in the memory of the centralized electronic control unit, and verifying the base network identifier may include applying the stored key derivation function to the number unique identification number of the registered anchor. In the case where the key derivation function takes as input, in addition to the unique identification number, an arbitrary number generated by the centralized electronic control unit, the key derivation function may also take as input this same arbitrary number when verifying the basic network identifier.
[0046] Verifying the base network identifier may then include determining a comparison network identifier from the result provided by applying the derivation function. Determining the comparison network identifier may be similar to determining the base network identification. For example, in the case where determining the base network identification includes truncation, determining the comparison network identifier may also include this truncation. After determining the comparison network identifier, the method may include verifying the correspondence between the base network identifier and the comparison network identifier. For example, verifying the correspondence may include verifying the equality between the base network identifier and the comparison network identifier.
[0047] Verifying the base network identifier improves the identification of network anchors. Indeed, verifying the base network identifier reduces the risk of incorrectly assigning a base network identifier to an anchor.
[0048] In examples, for each anchor, after determining the base network identifier of the anchor, the method may comprise determining a set of network identifiers from the base network identifier. Determining the set of network identifiers may comprise, for each network identifier in the set, concatenating the base network identifier with a respective bit series. The respective bit series may be different for each of the network identifiers in the set, and each network identifier in the set may be unique. The set of network identifiers may be used by the anchor to communicate with the centralized electronic control unit. For example, one or more of the network identifiers may be associated with commands, for example sent by the centralized electronic control unit to the anchor.Upon receiving a frame containing one of these network identifiers, the anchor may read the frame and execute the order sent by the centralized electronic control unit that is associated with the read frame. Alternatively or additionally, one or more other network identifiers may each be associated with a respective response sent by the anchor to the centralized electronic control unit. Upon receiving a frame containing one of these other network identifiers, the centralized electronic control unit may understand the response sent by the anchor, and identify the anchor that sent this response.
[0049] A vehicle anchor is also provided. The anchor is configured to implement implements the method. The anchor may comprise a processor. The anchor may comprise a non-volatile memory on which the unique identification number of the anchor, the determined base network identifier and / or the received arbitrary number may be stored. The memory may also comprise a computer program for the anchor. The program may comprise instructions for carrying out the method, for example when executed by the processor of the anchor.
[0050] The computer program for anchor is also provided. The program may include instructions for performing the steps of reading the unique identification number, applying the function and determining the base network identifier, receiving the arbitrary number, recording the base network identifier and unique identification number, and / or determining the set of network identifiers.
[0051] A centralized electronic control unit for a vehicle is also provided. The centralized electronic control unit is configured to implement the method. The centralized electronic control unit may comprise a non-volatile memory on which the unique identification number of each anchor, the base network identifier determined for each anchor, the arbitrary number and / or the comparison network identifier determined for each anchor may be recorded. The memory may also comprise a computer program for the centralized electronic control unit. The program may comprise instructions for executing the method, for example when executed by a processor of the centralized electronic control unit.
[0052] The computer program for a centralized electronic control unit is also provided. The program may include instructions for performing the steps of receiving a base network identifier and a unique identification number, verifying the uniqueness of received base network identifiers, recording a base network identifier and an anchor unique identification number, generating an arbitrary number, transmitting an arbitrary number, applying the key derivation function to the unique identification number of an anchor, determining the comparison network identifier, verifying the correspondence between the base network identifier and the comparison network identifier, and determining the set of network identifiers.
[0053] A system for equipping a vehicle is also provided. The system comprises a network of anchors and a centralized electronic control unit. The system is configured to implement the method.
[0054] A computer program for a system is also provided. The computer program may comprise the instructions of the computer program for anchor and computer program for centralized electronic control unit.
[0055] Examples will now be given with reference to Figures 1 to 6.
[0056] [Fig.l] illustrates an example flowchart of the method. The method comprises, for each respective anchor, a reading S10 of a unique identification number 10 of the respective anchor. The method comprises, for each respective anchor, an application S20 of a key derivation function to the unique identification number 10. The method comprises, for each respective anchor, a determination S30 of a basic control area network identifier 11 from the result provided by the application of the derivation function. The determination S30 of the basic network identifier 11 comprises a truncation, by a predetermined number of bits, of the result provided by the application of the derivation function. The determined basic network identifier 11 is the result of the truncation. In this example, the result of the truncation, i.e. the determined basic network identifier 11, may be encoded on 25 bits.
[0057] The method comprises a determination S40 of a set of network identifiers 12 from the determined basic network identifier 11. The determination of the set of network identifiers 12 comprises, for each network identifier of the set 12, an offset S41 of the bits of the determined basic network identifier 11 (for example of 3 bits to allow 8 different messages (2A3) per anchor) and a concatenation S42 of the basic network identifier 11 with a respective series of bits 13.
[0058] Steps S10, S20, S30, S40, S41, S42 can be performed by the centralized electronic control unit (or “Hub”) and each anchor.
[0059] In examples, optionally, before the application of the derivation function S20, or after a first application of the derivation function when the application is repeated in the event of non-uniqueness, the method may comprise a generation S50, by the centralized electronic control unit (or “Hub”), of an arbitrary number 14 intended to be used only once (“nonce”). The method then comprises a transmission, by the centralized electronic control unit, of the arbitrary number 14 and a reception of the arbitrary number 14 by each anchor. For each anchor, after the reception of the arbitrary number 14, the key derivation function takes as input, in addition to the unique identification number 10, the arbitrary number 14 generated by the centralized electronic control unit.
[0060] [Fig.2] shows examples of determined basic network identifiers. Figure shows the base network identifiers 23 determined for a first anchor 21 and a second anchor 22. The figure also shows the sets of network identifiers 24 determined from the base network identifiers 23 of each anchor 21, 22. The sets of network identifiers 24 are determined from a concatenation of the base network identifiers 23 with a series of three bits. Each network identifier 24 includes a series of three respective bits (“000” for the first, “001” for the second, “100” for the third and “111” for the fourth of the 24 network identifiers).
[0061] [Fig. 3] shows a first example of execution of the method. In this execution, the method comprises, for the anchor “Anchor#a”, a reading S10 of a unique identification number (“UID#a”) of the respective anchor, an application S20 of the key derivation function to the unique identification number (“UID#a”) and a determination S30 of a basic control area network identifier (“CAN_IDs#a”) from the result provided by the application of the derivation function. The method then comprises a recording S31 of the determined basic control area network identifier (“CAN_Ids#a”) on a non-volatile memory of the anchor “Anchor#a”.
[0062] The method then comprises, for each respective anchor, a transmission S60 of a frame comprising the basic network identifier (“CAN_Ids#a”) and the unique identification number (“UID#a”) of the respective anchor, and, a reception S70 of the basic network identifier (“CAN_Ids#a”) and the unique identification number (“UID#a”) of the respective anchor by the centralized electronic control unit.
[0063] The method comprises the same steps for the other anchors “Anchor#x”, “Anchor#y” and “Anchor#z”.
[0064] After receiving the basic network identifier and the unique identification number of each anchor, the method comprises a verification of the uniqueness of each basic network identifier received. In the event of uniqueness, the method comprises a recording S71 of the basic network identifier and the unique identification number of each anchor on a non-volatile memory of the centralized electronic control unit.
[0065] After receiving the basic network identifier and the unique identification number of each anchor, the method also comprises a verification S 80, for each anchor, of the received basic network identifier. The verification S80 comprises an application by the centralized electronic control unit of the key derivation function to the unique identification number of the respective anchor, a determination of a comparison network identifier from the result provided by the application of the derivation function and a verification of the correspondence between the basic network identifier and the comparison network identifier.
[0066] [Fig.4] shows a second example of execution of the method. This second example can be executed following the first example of execution (or before it). This second example allows the identification of the centralized electronic control unit. In this second example, the method comprises a reading S10' of a unique identification number ("UID#master") of the centralized electronic control unit, an application S20' of the key derivation function to the number unique identification number (“UID#master”) and a determination S30 of a basic control area network identifier (“CAN_ID#master”) from the result provided by the application of the derivation function. The method then comprises a recording S72 of the determined basic control area network identifier (“CAN_ID#master”) on a non-volatile memory of the centralized electronic control unit.
[0067] The method also comprises a phase of learning the anchors. During this phase, the method then comprises a transmission S60' of a frame comprising the basic network identifier ("CAN_ID#master") and the unique identification number ("UID#master") of the centralized electronic control unit, and, a reception S70' of the basic network identifier ("CAN_Ids#master") and the unique identification number ("UID#master") of the centralized electronic control unit by each anchor. The method then comprises, for each anchor, a recording S32 of the determined basic control area network identifier ("CAN_ID#master") on a non-volatile memory of the anchor. Optionally, the method may comprise, after reception of the basic network identifier ("CAN_Ids#master") and the unique identification number ("UID#master") of the centralized electronic control unit, a verification, by each anchor, of the basic network identifier received (“CAN_Ids#master”). The verification can be similar to that performed by the centralized electronic control unit to verify the basic network identifier received for each anchor.
[0068] The basic network identifier of the centralized electronic control unit (“CAN_ID#master”) allows the anchors to recognize the messages sent by the centralized electronic control unit (e.g. orders). The basic network identifier of the centralized electronic control unit (“CAN_ID#master”) can be added to the messages sent by the centralized electronic control unit.
[0069] [Fig. 5] shows a third example of execution of the method. This third example differs from the first and second examples of execution in that, for each anchor and for the centralized electronic control unit, the key derivation function takes as input, in addition to the unique identification number, the arbitrary number generated by the centralized electronic control unit ("random seed").
[0070] This third example can be executed for a first determination of the basic network identifiers (after manufacturing for example). Alternatively, this third example can be executed after the first and / or the second example to repeat the determination of the basic network identifiers (in the event of non-uniqueness during the first execution for example).
[0071] The method comprises a generation S90, by the centralized electronic control unit, of an arbitrary number intended to be used only once (“nonce”). The method comprises a transmission S91, by the centralized electronic control unit, of the arbitrary number and a reception S92 of the arbitrary number by each anchor.
[0072] For each anchor, at the time of application of the key derivation function, the key derivation function takes S93 as input, in addition to the unique identification number of the anchor, the arbitrary number generated by the centralized electronic control unit. Similarly, at the time of verification S80, for each anchor, of the received basic network identifier, for the determination of the comparison network identifier, the key derivation function takes S94 as input, in addition to the unique identification number of the anchor, the arbitrary number generated by the centralized electronic control unit.
[0073] [Fig. 6] illustrates an example of a vehicle system 30. The system 30 comprises a network comprising anchors 31 and a centralized electronic control unit 33. The anchors 31 are positioned at the front of the vehicle, at the rear of the vehicle or inside the vehicle (for example in the cabin). The network also comprises connection means 32 (for example cables) between the anchors 31 and the centralized electronic control unit 33. The system 30 is configured to implement the method. Execution of the method results in the identification of the anchors 31 of the network, i.e. the determination of a unique basic network identification for each of the anchors 31 of the network. The system 30 is configured to perform vehicle functionalities based on the identification of the anchors 31, such as locating a UWB device 35 located in the vehicle (for example a mobile phone as illustrated in the figure for this example).
Claims
Claims
1. Method implemented in a vehicle equipped with a network which comprises anchors (31) and a centralized electronic control unit (33), the method comprising for each respective anchor (31): • reading (S 10) of a unique identification number (10) of the respective anchor; • applying (S20) a key derivation function to the unique identification number; and • determination (S30) of a basic control area network identifier (11) from the result provided by the application of the derivation function, further comprising • for each respective anchor: • transmission (S60) of a frame comprising the basic network identifier (11) and the unique identification number (10) of the respective anchor; and • reception (S70) of the basic network identifier (11) and the unique identification number (10) of the respective anchor by the centralized electronic control unit (33); and • verification of the uniqueness of each basic network identifier (11) received further including, in the event of non-uniqueness: • generation (S50), by the centralized electronic control unit, of an arbitrary number intended to be used only once (14); • emission, by the centralized electronic control unit, of the arbitrary number (14); • reception of the arbitrary number (14) by each anchor; and • repeating, for each respective anchor, the application of the key derivation function and the determination of a basic control area network identifier, the key derivation function taking as input the arbitrary number in addition to the unique identification number.
2. Method according to claim 1, further comprising, in the case of uniqueness: recording (S71) the basic network identifier (11) and the unique identification number (10) of each anchor on a non-volatile memory of the centralized electronic control unit (33).
3. Method according to any one of the preceding claims, the method comprising, before the application (S20) of the derivation function: • generation (S50), by the centralized electronic control unit (33), of an arbitrary number intended to be used only once (14); • transmission, by the centralized electronic control unit, of the arbitrary number; and • reception of the arbitrary number by each anchor, in which the key derivation function takes as input, in addition to the unique identification number, the arbitrary number generated by the centralized electronic control unit.
4. Method according to any one of the preceding claims, further comprising for each respective anchor: • application by the centralized electronic control unit of the key derivation function to the unique identification number (10) of the respective anchor; • determination of a comparison network identifier from the result provided by the application of the derivation function; and • verification of the correspondence between the basic network identifier (11) and the comparison network identifier.
5. Method according to any one of the preceding claims, in which the determination (S30) of the basic network identifier comprises: • truncation, by a predetermined number of bits, of the result provided by the application of the derivation function, the basic network identifier (11) determined being the result of the truncation.
6. Method according to any one of the preceding claims, the method comprising, after the determination (S30) of the basic network identifier: • determining a set of network identifiers (12) from the basic network identifier (11), the determination of the set of network identifiers comprising, for each network identifier of the set (12), a concatenation (S41) of the basic network identifier (11) with a respective series of bits (13).
7. A method according to any preceding claim, wherein the key derivation function is of the NIST SP8OO-1O8, RFC 5869 or RFC 2898 type.
8. Method according to any one of the preceding claims, in which the unique identification number (10) of each anchor is encoded on a first number of bits, for example less than 128 and / or greater than 24, and the basic network identifier (11) is encoded on a second number of bits, for example less than 29 and / or greater than 11, the second number of bits being less than the first number of bits.
9. A vehicle anchor (31) configured to implement the method of any one of claims 1 to 8.
10. Centralized electronic control unit (33) for a vehicle configured to implement the method according to any one of claims 1 to 8.
11. System (30) for equipping a vehicle comprising a network of anchors (31) each according to claim 9 and a centralized electronic control unit (33) according to claim 10, the system (30) being configured to implement the method according to any one of claims 1 to 8.