METHOD FOR CHECKING A MESSAGE IN A COMMUNICATION SYSTEM
20220173936 · 2022-06-02
Inventors
Cpc classification
International classification
Abstract
A method for checking a message in a communication system, in which multiple users are connected to a communication medium that includes two signal lines and exchange messages via same. A time difference between points in time of reception of a message that is sent on the communication medium is ascertained at two different, predefined positions on the communication medium, and based on a comparison of the time difference to at least one reference time difference, it is determined whether the message originates from a verified user. During the ascertainment of the time difference at the two positions, in each case a difference signal is formed from signals that have resulted on the two signal lines due to the message.
Claims
1. A method for checking a message in a communication system, in which multiple users are connected to a communication medium that includes two signal lines and exchange messages via the communication medium, the method comprising the following steps: ascertaining a time difference between points in time of reception of a message that is sent on the communication medium at two different, predefined positions on the communication medium; based on a comparison of the time difference to at least one reference time difference, determining whether the message originates from a verified user; and during the ascertainment of the time difference at the two positions, at each of the two positions, forming a difference signal from signals that resulted on the two signal lines due to the message.
2. The method as recited in claim 1, wherein a voltage level of the difference signal is adapted to a time-to-digital converter (TDC) using a voltage divider.
3. The method as recited in claim 1, wherein at at least one of the two positions, a threshold value for a signal level is predefined during the detection of the difference signal, and the difference signal is assumed to be recognized when the threshold value is exceeded.
4. The method as recited in claim 3, wherein a comparator is used via which the difference signal is compared to the threshold value.
5. The method as recited in claim 3, wherein the threshold value is individually predefined for each of the at least one of the two positions, and is also automatically determined.
6. The method as recited in claim 5, wherein the threshold value is predefined using a digital-to-analog converter.
7. The method as recited in claim 1, wherein a signal transceiver or a dedicated subtraction logic system is used to form the difference signal.
8. The method as recited in claim 1, wherein the communication medium is a CAN bus, or a CAN FD bus, or a CAN XL bus, or a 10BASE-T1S bus.
9. A processing unit configured to check a message in a communication system, in which multiple users are connected to a communication medium that includes two signal lines and exchange messages via the communication medium, the processing unit configured to: ascertain a time difference between points in time of reception of a message that is sent on the communication medium at two different, predefined positions on the communication medium; based on a comparison of the time difference to at least one reference time difference, determine whether the message originates from a verified user; and during the ascertainment of the time difference at the two positions, at each of the two positions, a difference signal is formed from signals that resulted on the two signal lines due to the message.
10. A non-transitory machine-readable memory medium on which is stored a computer program for checking a message in a communication system, in which multiple users are connected to a communication medium that includes two signal lines and exchange messages via the communication medium, the computer program, when executed on a processing unit, causing the processing unit to perform method comprising the following steps: ascertaining a time difference between points in time of reception of a message that is sent on the communication medium at two different, predefined positions on the communication medium; based on a comparison of the time difference to at least one reference time difference, determining whether the message originates from a verified user; and during the ascertainment of the time difference at the two positions, at each of the two positions, forming a difference signal from signals that resulted on the two signal lines due to the message.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0025]
[0026]
[0027]
[0028]
[0029]
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0030]
[0031] In addition, a processing unit or circuit system 130 is shown which is configured and used for ascertaining a time difference between points in time of reception of a message that is sent on the communication medium, at two different, predefined positions P.sub.1 and P.sub.2 on communication medium 120 (these positions are valid in each case for both signal lines, which in practice are usually twisted). The message is indicated here by reference numeral 200. The two points in time of reception are indicated by reference symbols t.sub.1 and t.sub.2, and in particular with user 110 as sender. For this purpose, processing unit 130 may be connected to communication medium 120 or to the two signal lines at positions P.sub.1 and P.sub.2 in order to receive the signals in question.
[0032] The signal of line 120.sub.H at position P.sub.1 is denoted by reference symbol S.sub.H1, the signal of line 120.sub.L at position P.sub.1 is denoted by reference symbol S.sub.L1, the signal of line 120.sub.H at position P.sub.2 is denoted by reference symbol S.sub.H2, and the signal of line 120.sub.L at position P.sub.2 is denoted by reference symbol S.sub.L2.
[0033] For implementing the functions mentioned above, a component 132, by use of which the time difference on the communication medium may be determined, may be provided in processing unit 130. This component is also referred to below as a propagation difference determination component (PDDC). The PDDC could include, for example, a TDC or an independent circuit that measures the time difference between two signals at the two positions, for example also the ends, of the communication medium based on an internal timer, for example. Processing unit or circuit system 130 is explained in greater detail below, namely, in two different preferred variants.
[0034]
[0035]
[0036] In this way, based on the two difference signals, the time difference for message 200 that is sent on the CAN bus may be ascertained in order to determine whether the message originates from a verified user. As mentioned above, this operation functions in particular when it may be assumed that the difference signals have comparable rising edges. If this is not the case, another variant may be used, as explained below.
[0037]
[0038] However, as is further apparent, the slope of difference signal S.sub.D1 changes, so that this difference signal is even overtaken by difference signal S.sub.D2. If the CAN transceivers as shown in
[0039]
[0040] Here as well, difference signals S.sub.D1 and S.sub.D2 are formed, initially with the aid of detection means (detectors) 150, 152, which are dedicated subtraction logic systems or corresponding circuits, for example. These difference signals are then supplied to a comparator 154 or 156, respectively, which also obtains a signal for a threshold value U.sub.S, above which the particular difference signal is to be considered as recognized. As indicated by the dashed line, this threshold value U.sub.S may also be dynamically determined and predefined with the aid of a digital-to-analog converter 158, for example.
[0041] In this way, threshold value U.sub.S may be adapted and set, for example, to value U′.sub.S as shown in