METHOD FOR SYNCHRONIZING FRAME COUNTERS AND ARRANGEMENT
20210342460 ยท 2021-11-04
Inventors
Cpc classification
H04L63/0428
ELECTRICITY
H04J3/0667
ELECTRICITY
H04L67/12
ELECTRICITY
H04L9/12
ELECTRICITY
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y04S40/18
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04L63/1466
ELECTRICITY
G06F21/606
PHYSICS
International classification
Abstract
A method synchronizes frame counters for protecting data transmissions between a first end-device and a second end-device. The data, in particular data frames, are transferred between the first end-device and the second end-device. The data frames are provided with frame counters to protect the data transfer between the first end-device and the second end-device. The second end-device sends a first data frame to the first end-device. The first data frame contains a marker in its payload data. The first end-device sends back a second data frame as an answer to the second end-device. The second data frame contains a frame counter in the header data, and the second data frame contains the frame counter and the marker in its payload data.
Claims
1. A method for synchronizing frame counters to protect data transmissions between a first end-device and a second end-device, which comprises the steps of: transferring data, via data frames, between the first end-device and the second end-device, wherein the data frames are provided with frame counters to protect a data transfer between the first end-device and the second end-device; sending, via the second end-device, a first data frame to the first end-device, wherein the first data frame containing a marker in its payload data; and sending backing, via the first end-device, a second data frame as an answer to the second end-device, wherein the second data frame containing a frame counter in its header data, and the second data frame containing the frame counter and the marker in its payload data.
2. The method according to claim 1, wherein the second end-device receives the second data frame and compares the frame counter in the header data with the frame counter in the payload data, and compares the marker in the first data frame with the marker in the payload data of the second data frame, and designates the first end-device as trusted on there being a match of the frame counters and of the markers.
3. The method according to claim 2, wherein: the marker is a time stamp, the time stamp represents a current time at a time of sending the first data frame; and the time stamp in the second data frame is checked for plausibility, for which purpose a time of sending the first data frame and delays in transmission and/or processing in the first end-device are taken into account.
4. The method according to claim 2, wherein: the marker is a token; and the second end-device generates the token before sending the first data frame by generating once for synchronization a random number, which acts as the token in the first data frame.
5. The method according to claim 2, which further comprises sending further data frames from the first end-device to the second end-device which contain incremented frame counters, which are incremented for each further data frame, and, once the first end-device is designated as trusted, a validity of the further data frames from the first end-device is determined in the second end-device by comparing an incremented frame counter contained in a further data frame with an increment of the frame counter of the data frame preceding the further data frame, and the further data frame is deemed valid if the frame counter and the incremented frame counter are consistent.
6. The method according to claim 1, wherein the frame counter in the header data in the second data frame and the frame counter in the payload data of the second data frame is a frame counter for an uplink.
7. The method according to claim 6, wherein the second end-device receives the second data frame and compares the frame counter for the uplink in the header data with the frame counter for the uplink in the payload data, and compares the marker in the first data frame with the marker in the payload data of the second data frame, and designates the first end-device as trusted on there being a match of the frame counters for the uplink and of the markers.
8. The method according to claim 6, wherein the second data frame contains a frame counter for a downlink.
9. The method according to claim 1, wherein the second end-device is a mobile end-device, wherein the first end-device and the second end-device move at a relative speed to each other.
10. The method according to claim 9, wherein the relative speed is up to 70 kilometres per hour.
11. The method according to claim 9, wherein for the data transfer, the relative speed is reduced by less than 50%.
12. The method according to claim 1, wherein: the first end-device is an end point, a sensor, a smart meter, or a consumption meter; the second end-device is a base station, a data collector, or a mobile readout system; the first data frame is a wake-up data frame; and the second data frame contains the frame counter and the marker in encrypted, payload data.
13. The method according to claim 6, wherein the second data frame contains in the payload data, a frame counter for a downlink.
14. The method according to claim 9, wherein the relative speed is up to 50 kilometres per hour.
15. The method according to claim 9, wherein for the data transfer, the relative speed is reduced by less than 20%.
16. The method according to claim 9, wherein for the data transfer, the relative speed is reduced by less than 10%.
17. The method according to claim 9, wherein for the data transfer no reduction in relative speed takes place.
18. A configuration for transmitting data, the configuration comprising: a first end-device; a second end-device; and said first end-device and said second end-device each containing communication means in order to transfer data frames between said first end-device and said second end-device, wherein the data frames are provided with frame counters to protect a data transfer between said first end-device and said second end-device, and in order to protect data transmissions, said frame counters are synchronized according to a method of claim 1.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
[0043]
[0044]
[0045]
DETAILED DESCRIPTION OF THE INVENTION
[0046] Referring now to the figures of the drawings in detail and first, particularly to
[0047] Before the frame counters FC are synchronized, the first end-device 1 is not trusted, and is trusted once synchronization is successful. For further data transfer, only frame counters FC are used to protect against replay attacks. The frame counters FC+ are incremented for further data frames 14 from the first end-device 1 to the second end-device 2. By this time, the first end-device 1 has already been designated as trusted, and therefore the validity of the further data frames 14 is determined by comparing the incremented frame counters FC+ contained therein with the increment of the frame counter FC of the data frame 12,13 preceding this data frame 14. The preceding data frame 12 may be the data frame for synchronization or any data frame 13 that was transferred chronologically between the data frame 12 for synchronization and the further data frame 14.
[0048]
[0049]
[0050] The following is a summary list of reference numerals and the corresponding structure used in the above description of the invention: [0051] 1 first end-device [0052] 2 second end-device [0053] 11 first data frame [0054] 12 second data frame [0055] 13 preceding data frame [0056] 14 further data frame [0057] 20 marker [0058] Tk token [0059] t time stamp [0060] FC frame counter [0061] FCUp frame counter for the uplink [0062] FCDown frame counter for the downlink