Method and device for monitoring messages in order to determine whether the messages are error-free

The method and device for monitoring messages in slow channels of single edge nibble transmission encoding schemes address the challenge of distinguishing error-free messages by using identification tags and counter mechanisms, ensuring reliable error detection and preventing faulty message acceptance.

WO2024235620A1PCT designated stage expired Publication Date: 2024-11-21ROBERT BOSCH GMBH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/061723
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-15
Filing Date
2024-04-29
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

Existing methods for monitoring messages in slow channels of single edge nibble transmission encoding schemes fail to reliably distinguish error-free messages from incorrectly transmitted ones, leading to potential acceptance of faulty messages.

Method used

A method and device that monitor messages by using identification tags to check for errors, where messages are deemed error-free only if they have unique identifications within a given period, and employ counters to detect consecutive identical messages or missing identifications, thereby preventing incorrect message acceptance.

Benefits of technology

This approach effectively prevents the acceptance of incorrectly transmitted messages by ensuring unique identifications and detecting errors through threshold-based counter mechanisms, enhancing message monitoring reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024061723_21112024_PF_FP_ABST
    Figure EP2024061723_21112024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a method and a device for monitoring messages, in particular messages transmitted in a slow channel of a Single Edge Nibble Transmission encoding scheme, wherein the messages each comprise an identification, wherein a message to be monitored which comprises a check value for checking the message for errors during transmission of the message is accepted (608) as error-free if it is not determined (606) that, in a specified time period, only messages which comprise identical identifications are transmitted, nor is it determined (606) that, in a specified time period, no message comprising the same identification as the message to be monitored is transmitted, nor is an error in the transmission of the message to be monitored determined (604, 606) in a check of the message to be monitored having the error value, and wherein the message to be monitored is otherwise not accepted (610) as error-free.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description

[0002] title

[0003] Method and device for monitoring messages to determine whether the messages are error-free

[0004] State of the art

[0005] The invention relates to a method and a device for monitoring messages, in particular messages transmitted in a slow channel of a single edge nibble transmission encoding scheme.

[0006] Disclosure of the invention

[0007] The method and device according to the independent claims monitor messages, in particular messages transmitted in a slow channel of a single edge variable transmission encoding scheme.

[0008] The method for monitoring messages, in particular messages transmitted in a slow channel of a single edge nibble transmission encoding scheme, provides that the messages each comprise an identification, wherein a message to be monitored, which comprises a check value for checking the message for errors during transmission of the message, is accepted as error-free if it is neither determined that only messages comprising identical identifications are transmitted within a predetermined period of time, nor is it determined that no message is transmitted within a predetermined period of time which comprises the same identification as the message to be monitored, nor is an error detected during the transmission of the message to be monitored in a check of the message to be monitored with the check value, and wherein the message to be monitored is otherwise not accepted as error-free.This reliably prevents the acceptance of incorrectly transmitted messages.

[0009] In one embodiment, depending on the identification of a message, it is determined whether the message is to be monitored or not to be monitored. This reliably distinguishes the messages to be monitored from the messages not to be monitored.

[0010] In one embodiment, it is determined that the message is to be monitored if the message's identification in an assignment, in particular a table, identifies the message as a message to be monitored. Identifying the message as a message to be monitored by means of the identification configures the monitoring with respect to the messages to be monitored.

[0011] In one embodiment, it is determined that the message is not to be monitored if the message's identification in an assignment, in particular a table, identifies the message as a message not to be monitored. Identifying the message as a message not to be monitored by means of the identification configures monitoring with respect to the messages not to be monitored.

[0012] In one embodiment, the assignment of an identification to a message whose sender or recipient is a device assigns an identification of the device, wherein the identification of the message is marked in the assignment as a message not to be monitored or as a message to be monitored depending on the device's identification. This means that the message not to be monitored or the message to be monitored are configured depending on the device.

[0013] In one embodiment, the mapping assigns the identifications of different messages to the identification of the device. This means that multiple messages are configured together depending on the device.

[0014] In one embodiment, a counter is incremented for each transmitted message within the specified period, as long as only messages containing identical identifications are transmitted. An error is detected if the counter exceeds a threshold. Too many consecutive messages with identical identifications indicate a condition in which a device sending messages with the identical identification is faulty.

[0015] In one embodiment, a counter is incremented for each transmitted message within the specified period of time as long as no message containing the same identification as the message to be monitored is transmitted within the specified period of time. An error is detected if the counter exceeds a threshold. The absence of a message with the same identification as the message to be monitored indicates a state in which a device that sends messages with the identification of the message to be monitored is faulty.

[0016] The device comprises at least one processor and at least one memory, wherein the at least one processor is designed to execute instructions executable by the at least one processor, upon execution of which instructions by the at least one processor the method runs, wherein the at least one memory is designed to store the instructions.

[0017] A computer program provides that the computer program comprises instructions that can be executed by a computer and, when executed by the computer, the method is carried out.

[0018] Further advantageous embodiments can be found in the following description and the drawing. The drawing shows:

[0019] Fig. 1 is a schematic representation of a device for monitoring messages,

[0020] Fig. 2 a coding scheme for a message,

[0021] Fig. 3 an assignment of bits from messages to a message,

[0022] Fig. 4 shows a first part of a method for monitoring messages. Fig. 5 shows a second part of the method. Fig. 6 shows steps in the method. Figure 1 shows a schematic representation of a device 100 for monitoring messages.

[0023] The device 100 comprises at least one processor 102 and at least one memory 104. The device 100 is designed to carry out a method for monitoring messages.

[0024] Figure 2 shows a coding scheme for a message.

[0025] The procedure is described below using the coding scheme as an example.

[0026] The coding scheme stipulates that the message is transmitted as a sequence of pulses, i.e., with a pulse-width-modulated signal. The message comprises a pulse 202 for synchronization or calibration, a pulse 204 for a status, several pulses 206 for a first signal, several pulses 208 for a second signal, and a pulse 210 for a test value. In the example, the message comprises these pulses in the described order. Optionally, the coding scheme provides a pulse 212 for a pause between two messages. The length of each pulse specifies which value the pulse encodes.

[0027] In the example, the pulse-width modulated signal comprises a pulse between a rising edge and a falling edge, the length of which defines a value that is transmitted by the pulse.

[0028] An example of the coding scheme is the Single Edge Nibble Transmission encoding scheme according to SAE J2716 dated April 29, 2016.

[0029] In the example, pulse 204 for the status is used to transmit part of a message. In the example, the message is transmitted in several parts, each of which is transmitted in a pulse 204 for the status of several messages. The parts of the message are preferably transmitted in an ordered sequence. The parts of the message that follow one another in the sequence are transmitted in the example in consecutive messages. It can be provided that pulse 204 for the status contains only bits from one message. Message multiplexing can be provided, in which pulse 204 for the status contains bits from different messages.

[0030] The transmission in pulse 204 for the status is an example of a transmission in a slow channel of a single-edge nibble transmission encoding scheme. Pulses 206 for the first signal and pulse 208 for the second signal are examples of a transmission in a comparatively fast channel of the single-edge nibble transmission encoding scheme.

[0031] Figure 3 shows a message 300 and an assignment of bits from the pulses 204 for the status of several messages 302 to a first part 304 and to a second part 306 of the message 300. In the example, 4 bits are transmitted by the pulse 204 for the status, wherein a first bit 308 of the first part 304 of the message 300, a second bit 310 of the second part 306 of the message 300 and the two other bits 312, 314 are assigned to the status.

[0032] The first part 304 of the message 300 comprises a first data field 316 for identification, a second data field 318 for data, and a third data field 320 for a check value. The second part 306 of the message 300 makes it possible to distinguish between transmission types. In the example, a distinction is made between a short transmission and an enhanced transmission in a slow channel of the Single Edge Nibble Transmission encoding scheme. In the example, the first data field 316 comprises four bits, the second data field 318 eight bits, and the third data field 320 four bits.

[0033] In the example, the first part 306 and the second part 308 each comprise 30 bits. According to a first type, the first part 306 comprises 12 bits in the second data field 318 and 8 bits in the first data field 316. According to a second type, the first part 306 comprises 16 bits in the second data field 318 and 4 bits in the first data field 316.

[0034] In the example, the second part 308 includes a configuration bit that specifies the type. In the example, the configuration bit value 0 is intended for the first type. In the example, the configuration bit value 1 is intended for the second type. In the example, the first type is the short transmission. The second type is the advanced transmission.

[0035] The check value of the respective message 300 can be used to verify at least the identification of the respective message 300. In the example, the identification and the data from the second data field 318 of the respective message 300 can be verified using the check value contained in the respective message 300. For example, the check value is a check value for the cyclic redundancy check.

[0036] In the example, depending on its identification, a message is either marked as a message to be monitored or as a message not to be monitored.

[0037] In the example, an assignment, e.g. a table, is provided that identifies a specific identification either as a message to be monitored or as a message not to be monitored.

[0038] A message is optionally assigned to a device based on its identification. In the example, an assignment, such as a table, is provided that assigns each identification to a device. It is also possible for multiple identifications to be assigned to the same device.

[0039] In the example, message 300 is marked as the message to be monitored. Figure 4 shows the first part of a method for monitoring messages.

[0040] The first part of the method includes a first counter. In the example, the first counter is initialized to a first predefined value at the beginning of the method.

[0041] The first part includes a step 402.

[0042] In step 402, a message is provided. The message includes an identification and a check value. The first part comprises step 404.

[0043] In step 404, it is checked whether the identification of the message matches an identification comprising a message provided immediately before the message.

[0044] If two messages provided immediately after one another comprise an identical identification, a step 406 is executed, otherwise a step 408 is executed.

[0045] In step 406, a check is made to determine whether the first counter exceeds a predetermined first threshold. If the first counter exceeds the first threshold, step 410 is executed; otherwise, step 412 is executed.

[0046] In step 408, the first counter is reset to the first preset value.

[0047] An error is detected in step 410.

[0048] In the example, for example, the assignment detects that a device to which the message is assigned has the error.

[0049] In step 412, the first counter is incremented. Subsequently, step 414 is executed.

[0050] In step 414, the identification of the message is stored as the identification of the message provided immediately before the message.

[0051] Then the first part ends.

[0052] Figure 5 shows a second part 500 of the method for monitoring messages. The second part of the method includes a second counter. In the example, the second counter is initialized to a second predefined value at the beginning of the method.

[0053] The second part includes a step 502.

[0054] In step 502, a message is provided. The message includes an identification and a check value.

[0055] The second part includes a step 504.

[0056] In step 504, it is checked whether the identification of the message identifies the message as a message to be monitored.

[0057] The second part 500 of the method checks the periodicity of messages that are identified in the assignment, e.g., the table, as messages to be monitored. This means that the identification of these messages to be monitored identifies them as messages to be monitored.

[0058] If the identification identifies the message as a message to be monitored, a step 506 is executed, otherwise a step 508 is executed.

[0059] In step 506, it is checked whether a second counter exceeds a predetermined second threshold.

[0060] In step 508, the second counter is reset to the second predefined value. The second part then ends.

[0061] If the second counter exceeds the second threshold, a step 510 is executed, otherwise a step 512 is executed.

[0062] In the example, different second counters are provided for messages to be monitored with different identification. The same second threshold can be provided for multiple messages to be monitored. Different second thresholds can be used for different messages to be monitored.

[0063] An error is detected in step 510.

[0064] In the example, for example, the assignment detects that a device to which the message is assigned has the error. The second part then ends.

[0065] In step 512, the second counter is incremented. The second part then ends.

[0066] Figure 6 illustrates the steps in the method. The method is used, for example, to monitor messages transmitted in a slow channel of the Single Edge Nibble Transmission encoding scheme.

[0067] The method includes a step 602.

[0068] Messages are received in step 602. In the example, at least two messages are received in consecutive messages.

[0069] Subsequently, the first part 400 and the second part 500 and a third part 604 of the method are carried out for the messages.

[0070] In the example, in an initialization, the identification of a first received message is used as the identification of the message immediately before a second received message, with the first part and the second part being executed for the second received message.

[0071] In step 604, the check value contained in a respective message is used to check whether an error occurred during the transmission of the respective message.

[0072] A step 606 is then executed.

[0073] In step 606, a check is carried out for a message as to whether or not an error was detected in the first part 400 for the messages, whether or not an error was detected in the second part 500 for the respective message, and whether or not an error was detected in the third part 604 for the respective message.

[0074] If no error was detected for a respective message in the first part 400 and in the second part 500 and in the third part 604, a step 608 is executed for the respective message, otherwise a step 610 is executed for the respective message.

[0075] In step 608, the respective message is accepted as error-free.

[0076] In step 610, error information is output for the respective message.

[0077] For example, the assignment determines that a message is to be monitored if the message's identification indicates that it is to be monitored. For example, the assignment determines that a message is not to be monitored if the message's identification indicates that it is not to be monitored.

[0078] The procedure may provide that only those messages are monitored that are identified in the assignment as messages to be monitored.

Claims

Claims 1. A method for monitoring messages (300), in particular messages transmitted in a slow channel of a single edge nibble transmission encoding scheme, characterized in that the messages (300) each comprise an identification (316), wherein a message (304) to be monitored, which comprises a check value (320) for checking the message (300) for errors during transmission of the message, is accepted as error-free (608) if it is neither determined (410, 606) that only messages containing identical identifications are transmitted within a predetermined period of time, nor is it determined (510, 606) that no message containing the same identification as the message (300) to be monitored is transmitted within a predetermined period of time, nor an error in the transmission of the message (300) to be monitored is detected (604, 606) in a check of the message (300) to be monitored with the check value (320),and the message to be monitored (300) is otherwise not accepted as error-free (610)., 2. Method according to claim 1, characterized in that depending on the identification (316) of a message (300) it is determined that the message (300) is to be monitored or that the message (300) is not to be monitored.

3. Method according to claim 2, characterized in that it is determined that the message (300) is to be monitored if the identification (316) of the message (300) in an assignment, in particular a table, identifies the message (300) as a message to be monitored.

4. Method according to claim 2 or 3, characterized in that it is determined that the message (300) is not to be monitored if the identification (316) of the message (300) in an assignment, in particular a table in which message (300) is marked as a message not to be monitored.

5. Method according to one of claims 2 to 4, characterized in that the assignment of an identification (316) to a message (300) whose sender or recipient is a device assigns an identification of the device, wherein the identification (316) of the message (300) is identified as a message not to be monitored or as a message to be monitored depending on the identification of the device in the assignment.

6. Method according to claim 5, characterized in that the assignment assigns the identifications (316) of different messages (300) to the identification of the device.

7. Method according to one of the preceding claims, characterized in that for each transmitted message (300) a counter is incremented (412) in the predetermined period of time as long as only messages (300) are transmitted (404) which comprise identical identifications, an error being detected (410) if the counter exceeds a threshold value (406).

8. Method according to one of the preceding claims, characterized in that for each transmitted message (300) a counter is incremented (512) in the predetermined period of time as long as no message is transmitted (504) in the predetermined period of time which includes the same identification as the message (300) to be monitored, an error being detected (510) if the counter exceeds a threshold value (506).

9. Device (100) for monitoring messages (300), characterized in that the device (100) comprises at least one processor (102) and at least one memory (104), wherein the at least one processor (102) is designed to execute instructions executable by the at least one processor (102), upon execution of which instructions by the at least one processor (102) the method according to one of claims 1 to 8 runs, wherein the at least one memory (104) is designed to store the instructions.

10. A computer program, characterized in that the computer program comprises computer-executable instructions, the execution of which by the computer results in the method according to one of claims 1 to 8.

Citation Information

Patent Citations

  • Backplane system for industrial process control, has safety protocol circuit which indicates error message after enforcing communication protocol on message, and switches industrial controller to set safety state

    DE10316649A1

  • Flexible SENT Device Configuration

    US20160124798A1

  • Transmission apparatus and receiving apparatus

    US20190372680A1