Train network communication equipment data transmission verification method, device and equipment

By receiving and verifying the verification messages from the train network communication equipment, and comparing the verification results using multicast addresses, the problem of verifying the stability and accuracy of data transmission from the train communication equipment is solved, ensuring the integrity of data transmission.

CN121711071APending Publication Date: 2026-03-20CRRC QINGDAO SIFANG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511949906.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

There is a lack of effective verification methods to verify the stability and accuracy of data transmission of train communication equipment in complex environments.

Method used

By receiving the verification message sent by the network communication device of the train under test, reading and verifying the data, and comparing the verification results using multicast addresses, the data transmission verification result is determined.

Benefits of technology

It effectively verifies the stability and accuracy of data transmission from train communication equipment in complex environments, ensuring data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121711071A_ABST
    Figure CN121711071A_ABST
Patent Text Reader

Abstract

The invention discloses a train network communication equipment data transmission verification method, device and equipment. The method comprises the following steps: receiving to-be-verified messages sent by to-be-tested train network communication equipment to each multicast address; reading to-be-verified data and a first verification result corresponding to each to-be-verified data from each to-be-verified message; verifying each piece of data to be verified to obtain each second verification result; and comparing the first verification result and the second verification result corresponding to each multicast address, and determining a data transmission verification result of the train network communication equipment to be tested according to each obtained comparison result. According to the invention, through introduction of a verification mechanism, data integrity is ensured, and effective verification of data transmission stability and accuracy of the train communication equipment in a complex environment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device, and computer-readable storage medium for verifying data transmission in train network communication equipment. Background Technology

[0002] Train diagnostic systems and other applications have extremely high requirements for data transmission stability, leading to the widespread use of Train Real-time Data Protocol (TRDP) networks. Ensuring stable data transmission from train communication equipment within TRDP networks is crucial; however, currently, there is a lack of effective verification methods to validate the stability and accuracy of data transmission from train communication equipment in complex environments.

[0003] In summary, how to effectively address the lack of effective verification methods to verify the stability and accuracy of data transmission of train communication equipment in complex environments is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0004] The purpose of this application is to provide a data transmission verification method for train network communication equipment, which effectively verifies the stability and accuracy of data transmission of train communication equipment in complex environments; another purpose of this application is to provide a data transmission verification device, equipment, and computer-readable storage medium for train network communication equipment.

[0005] To solve the above-mentioned technical problems, this application provides the following technical solution:

[0006] A method for verifying data transmission in a train network communication device includes:

[0007] Receive the verification messages sent by the network communication equipment of the train under test to each multicast address;

[0008] Read the data to be verified and the first verification result corresponding to each data from each message to be verified.

[0009] Each piece of data to be verified is verified separately to obtain the second verification result.

[0010] The first and second verification results corresponding to each multicast address are compared, and the data transmission verification result of the train network communication device under test is determined based on the obtained comparison results.

[0011] In one specific embodiment of this application, receiving the verification messages sent by the train network communication device under test to each multicast address includes:

[0012] Send a message encapsulation command containing the message length corresponding to each multicast address to the train network communication device under test;

[0013] The test train network communication device receives the verification messages, which are encapsulated and sent to each multicast address according to the message encapsulation instruction.

[0014] In one specific embodiment of this application, after receiving the verification message encapsulated and sent to each multicast address by the train network communication device under test according to the message encapsulation instruction, the method further includes:

[0015] Obtain the transmission time from sending to receiving for each of the same message length to be verified;

[0016] Calculate the average transmission time difference based on each transmission duration;

[0017] The data transmission verification results of the train network communication equipment under test are determined based on the obtained comparison results, including:

[0018] The data transmission verification result is determined based on the comparison results and the average transmission time difference.

[0019] In one specific embodiment of this application, receiving verification messages sent by the train network communication device under test to each multicast address, and determining the data transmission verification result of the train network communication device under test based on the obtained comparison results, includes:

[0020] Receive the verification messages sent by the train network communication device under test to each multicast address in each preset communication cycle;

[0021] And based on the comparison results, determine the message verification results of the train network communication device under test in each preset communication cycle;

[0022] The data transmission verification result is determined based on the verification results of each message.

[0023] In this context, the data to be verified in a message to be verified consists of at least one byte of binary data. When the data to be verified contains two or more bytes of binary data, the binary data corresponding to each byte is the same. The binary data corresponding to each byte in the data to be verified in each message to be verified within the same preset communication period is the same, while the binary data corresponding to each byte in the data to be verified in each message to be verified between different preset communication periods is different.

[0024] In one specific embodiment of this application, receiving the verification messages sent by the train-to-be-tested network communication device to each multicast address within each preset communication period includes:

[0025] The system receives the verification message sent by the train network communication device under test to each multicast address within each preset communication period, wherein the bytes of data contained in each preset communication period are arranged in a preset order.

[0026] In one specific embodiment of this application, determining the data transmission verification result based on the verification results of each message includes:

[0027] The percentage of message verification results that are inconsistent within a preset time period is counted; wherein, the preset time period includes multiple preset communication cycles;

[0028] Obtain the start and end times of the preset duration;

[0029] The target ratio value is retrieved from the preset ratio table based on the time start point and the time end point;

[0030] When the proportion of the number of message verification results is greater than the target proportion value, the data transmission verification result is determined to be a data transmission anomaly.

[0031] When the proportion of the number of message verification results is less than or equal to the target proportion value, the data transmission verification result is determined to be normal data transmission.

[0032] In one specific embodiment of this application, after determining the data transmission verification result of the train network communication device under test based on the obtained comparison results, the method further includes:

[0033] When the data transmission verification result is determined to be abnormal, a second verification result with inconsistent comparison results and a preset abnormality type check table are obtained.

[0034] The anomaly type is determined based on the second verification result, which shows inconsistency, and the anomaly type checklist.

[0035] In one specific embodiment of this application, the method includes reading the data to be verified and the first verification result corresponding to each data to be verified from each message to be verified, verifying each data to be verified to obtain a second verification result, and comparing the first verification result and the second verification result corresponding to each multicast address, including:

[0036] Read the data to be verified and the first cyclic redundancy check result corresponding to each data from each message to be verified.

[0037] And perform cyclic redundancy check on each data to be checked to obtain the results of each second cyclic redundancy check;

[0038] And compare the first cyclic redundancy check results and the second cyclic redundancy check results corresponding to each multicast address.

[0039] In one specific embodiment of this application, the method includes reading the data to be verified and the first verification result corresponding to each data to be verified from each message to be verified, verifying each data to be verified to obtain a second verification result, and comparing the first verification result and the second verification result corresponding to each multicast address, including:

[0040] Read the data to be verified and the first parity check result corresponding to each data from each message to be verified.

[0041] And perform parity checks on each piece of data to be checked to obtain the second parity check results;

[0042] And compare the first parity check result and the second parity check result corresponding to each multicast address.

[0043] A data transmission verification device for train network communication equipment, comprising:

[0044] The verification message receiving module is used to receive the verification messages sent by the network communication equipment of the train under test to each multicast address.

[0045] The verification result reading module is used to read the data to be verified and the first verification result corresponding to each data from each message to be verified.

[0046] The verification result acquisition module is used to verify each piece of data to be verified and obtain each second verification result.

[0047] The data transmission verification result determination module is used to compare the first verification result and the second verification result corresponding to each multicast address, and determine the data transmission verification result of the train network communication device under test based on the obtained comparison results.

[0048] A data transmission verification device for train network communication equipment, comprising:

[0049] Memory, used to store computer programs;

[0050] A processor is used to execute the computer program to implement the steps of the train network communication device data transmission verification method as described above.

[0051] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the train network communication device data transmission verification method as described above.

[0052] The data transmission verification method for train network communication equipment provided in this application includes: receiving verification messages sent by the train network communication equipment under test to each multicast address; reading verification data and first verification results corresponding to each verification data from each verification message; verifying each verification data to obtain each second verification result; comparing the first verification result and the second verification result corresponding to each multicast address; and determining the data transmission verification result of the train network communication equipment under test based on the obtained comparison results.

[0053] As described in the above technical solution, by setting multiple multicast addresses, the train-to-be-tested network communication device sends verification messages to each multicast address and receives the verification messages sent to each multicast address. Each verification message contains verification data and a first verification result. The verification data and the corresponding first verification result are read from each verification message, and each piece of verification data is verified to obtain a second verification result. By comparing the first and second verification results corresponding to each multicast address, the data transmission verification result of the train-to-be-tested network communication device is determined through statistical analysis of the comparison results. The introduction of the verification mechanism ensures data integrity and effectively verifies the stability and accuracy of data transmission of the train communication device in complex environments.

[0054] Accordingly, this application also provides a train network communication equipment data transmission verification device, equipment, and computer-readable storage medium corresponding to the above-mentioned train network communication equipment data transmission verification method, which have the above-mentioned technical effects, and will not be repeated here. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1 This is a flowchart illustrating one implementation of the data transmission verification method for train network communication equipment in this application.

[0057] Figure 2 This is a flowchart illustrating another implementation of the data transmission verification method for train network communication equipment in this application.

[0058] Figure 3 This is a structural block diagram of a data transmission verification device for train network communication equipment according to an embodiment of this application;

[0059] Figure 4 This is a structural block diagram of a data transmission verification device for train network communication equipment according to an embodiment of this application;

[0060] Figure 5 This is a schematic diagram of the specific structure of a data transmission verification device for train network communication equipment provided in an embodiment of this application. Detailed Implementation

[0061] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0062] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0063] See Figure 1 , Figure 1 This is a flowchart illustrating an implementation of a data transmission verification method for train network communication equipment in this application. The method may include the following steps:

[0064] S101: Receive the verification messages sent by the network communication equipment of the train under test to each multicast address.

[0065] When data transmission verification of the train's network communication equipment under test is required, the test bench's Ethernet device can generate a message sending command and send it to the train's network communication equipment under test. The train's network communication equipment under test receives the message sending command and sends verification messages to each multicast address. The test bench's Ethernet device receives the verification messages sent by the train's network communication equipment under test to each multicast address.

[0066] The train network communication device to be tested can be any train network communication device to be installed in the train.

[0067] S102: Read the data to be verified and the first verification result corresponding to each data from each message to be verified.

[0068] Each verification message contains verification data and a first verification result. The first verification result is the result obtained by verifying the verification data on the train-to-be-tested network communication device before transmission. After receiving the verification messages sent by the train-to-be-tested network communication device to each multicast address, the Ethernet device on the test bench reads the verification data and the first verification result corresponding to each verification data from each verification message.

[0069] S103: Verify each piece of data to be verified and obtain the second verification result.

[0070] After reading the data to be verified and the first verification result corresponding to each data from each message to be verified, each data to be verified is verified to obtain the second verification result, thereby realizing the verification of each data to be verified at the Ethernet device end of the test bench after the data transmission is completed.

[0071] S104: Compare the first verification result and the second verification result corresponding to each multicast address, and determine the data transmission verification result of the train network communication device under test based on the obtained comparison results.

[0072] After reading the first verification result corresponding to each piece of data to be verified from each message to be verified, and verifying each piece of data to be verified to obtain the second verification result, the first and second verification results corresponding to each multicast address are compared to obtain the comparison results. Based on the comparison results, the data transmission verification result of the train network communication device under test is determined. By combining the comparison results corresponding to multiple multicast addresses to determine the data transmission verification result of the train network communication device under test, the accuracy of the data transmission verification result is improved, and the accurate verification of the data transmission stability of the train network communication device under test is achieved.

[0073] As described in the above technical solution, by setting multiple multicast addresses, the train-to-be-tested network communication device sends verification messages to each multicast address and receives the verification messages sent to each multicast address. Each verification message contains verification data and a first verification result. The verification data and the corresponding first verification result are read from each verification message, and each message is verified to obtain a second verification result. By comparing the first and second verification results corresponding to each multicast address, the data transmission verification result of the train-to-be-tested network communication device is determined through statistical analysis of the comparison results. The introduction of the verification mechanism ensures data integrity and effectively verifies the stability and accuracy of data transmission of the train communication device in complex environments.

[0074] It should be noted that, based on the above embodiments, this application also provides corresponding improvement solutions. In subsequent embodiments, steps that are the same as or corresponding to those in the above embodiments can be referred to each other, and the corresponding beneficial effects can also be referred to each other. These improvements will not be elaborated upon in the following improved embodiments.

[0075] In one specific embodiment of this application, step S101 may include the following steps:

[0076] Receive the verification messages sent by the train network communication equipment under test to each multicast address within each preset communication cycle;

[0077] Determining the data transmission verification results of the train network communication equipment under test based on the obtained comparison results may include the following steps:

[0078] Step 1: Determine the message verification results of the train network communication equipment under test in each preset communication cycle based on the comparison results;

[0079] Step 2: Determine the data transmission verification result based on the verification results of each message;

[0080] In this context, the data to be verified in a message to be verified consists of at least one byte of binary data. When the data to be verified contains two or more bytes of binary data, the binary data corresponding to each byte is the same. The binary data corresponding to each byte in the data to be verified in each message to be verified within the same preset communication period is the same, while the binary data corresponding to each byte in the data to be verified in each message to be verified between different preset communication periods is different.

[0081] For ease of description, the above steps can be combined for explanation.

[0082] A communication cycle is pre-set, and message verification results are statistically analyzed according to the preset communication cycle. The data to be verified in a message consists of at least one byte of binary data. When the data to be verified contains two or more bytes of binary data, the corresponding binary numbers of each byte are the same. Within the same preset communication cycle, the corresponding binary numbers of each byte in the data to be verified in messages to be verified are the same; however, the corresponding binary numbers of each byte in the data to be verified in messages to be verified differ between different preset communication cycles. The Ethernet device on the test bench receives the messages to be verified sent by the train network communication device under test to each multicast address within each preset communication cycle. The comparison results between the first and second verification results corresponding to each multicast address are obtained. Based on these comparison results, the message verification results corresponding to the train network communication device under test within each preset communication cycle are determined, and the data transmission verification results are determined based on these message verification results. By statistically analyzing the message verification results according to the preset communication cycle, an orderly and reliable reference basis is provided for determining the data transmission verification results, improving the accuracy of the determined data transmission verification results.

[0083] In one specific embodiment of this application, receiving the verification messages sent by the train network communication device under test to each multicast address within each preset communication period may include the following steps:

[0084] The system receives verification messages sent by the train network communication device under test to each multicast address within each preset communication cycle, wherein the bytes of data contained in each preset communication cycle are arranged in a preset order.

[0085] The bytes of data in each preset communication cycle are arranged in a preset order. For example, the byte data between adjacent preset communication cycles can be set to differ by 1. The binary numbers corresponding to 0-255 are iterated through, and the resulting binary numbers are used as the byte data for each preset communication cycle. Alternatively, a random order strategy can be used to set the byte data for each preset communication cycle. For instance, within a fixed duration, messages are sent with increasing sequence numbers for the first half of the fixed duration, and decreasing sequence numbers for the second half. Assuming a fixed duration of 1 second and a preset communication cycle of 100 milliseconds, messages are sent with increasing sequence numbers (1-5) for the first 0.5 seconds, and decreasing sequence numbers (10-6) for the last 0.5 seconds. By setting the verification messages for each preset communication cycle in a preset order, the scope of data transmission verification for the train network communication equipment under test is expanded.

[0086] In one specific embodiment of this application, determining the data transmission verification result based on the verification results of each message may include the following steps:

[0087] Step 1: Calculate the percentage of message verification results that are inconsistent within a preset time period; where the preset time period includes multiple preset communication cycles.

[0088] Step 2: Obtain the start and end times of the preset duration;

[0089] Step 3: Retrieve the target ratio value from the preset ratio table based on the start and end times;

[0090] Step 4: When the proportion of message verification results is greater than the target proportion, the data transmission verification result is determined to be a data transmission anomaly;

[0091] Step 5: When the proportion of message verification results is less than or equal to the target proportion, the data transmission verification result is determined to be normal data transmission.

[0092] For ease of description, the five steps mentioned above can be combined for explanation.

[0093] Data transmission verification can be performed using a preset duration as the verification cycle, which includes multiple preset communication cycles. A pre-set ratio table stores the ratio values ​​corresponding to each preset duration. For example, since the temperature of components in the train network communication equipment under test may increase with the duration of operation, potentially causing fluctuations in network stability, the ratio value corresponding to preset durations closer to the start time of the train network communication equipment under test can be set to be smaller. The percentage of message verification results showing inconsistencies within the preset duration is statistically analyzed. The start and end times of the preset duration are obtained, and a target ratio value is retrieved from the preset ratio table based on these times. When the percentage of message verification results is greater than the target ratio value, the data transmission verification result is determined to be abnormal; when the percentage is less than or equal to the target ratio value, the data transmission verification result is determined to be normal. By using the preset ratio table as a reference standard for verifying the percentage of message verification results, the efficiency of data transmission verification is improved. Long-term continuous verification improves the reliability of the verification results, providing strong technical support for ensuring the stable operation of the train network communication equipment under test in the TRDP network.

[0094] In one specific embodiment of this application, after determining the data transmission verification result of the train network communication device under test based on the obtained comparison results, the method may further include the following steps:

[0095] Step 1: When the data transmission verification result is determined to be abnormal, obtain the second verification result that is inconsistent with the comparison result and the preset abnormality type check table;

[0096] Step 2: Determine the anomaly type based on the second verification result where the comparison results are inconsistent and the anomaly type checklist.

[0097] For ease of description, the two steps above can be combined for explanation.

[0098] An anomaly type checklist is pre-created, storing the correspondence between inconsistent verification results and anomaly types. After determining the data transmission verification result of the train's network communication equipment under test based on the obtained comparison results, when the data transmission verification result is determined to be an anomaly, a second inconsistent verification result and the pre-created anomaly type checklist are obtained. The anomaly type is then determined based on the second inconsistent verification result and the anomaly type checklist. By pre-creating the anomaly type checklist, the anomaly type can be quickly determined when the data transmission verification result is an anomaly.

[0099] In one specific embodiment of this application, step S102 may include the following steps:

[0100] Read the data to be verified and the first parity check result corresponding to each data from each message to be verified.

[0101] And step S103 may include the following steps:

[0102] Perform parity checks on each piece of data to be checked to obtain the second parity check results.

[0103] And comparing the first and second verification results corresponding to each multicast address can include the following steps:

[0104] Compare the first parity check result and the second parity check result corresponding to each multicast address.

[0105] For ease of description, the above steps can be combined for explanation.

[0106] Before transmission, the data to be verified is checked using parity checking on the network communication equipment of the train under test, yielding a first parity check result. After receiving the verification packets sent by the train under test's network communication equipment to each multicast address, the Ethernet device on the test bench reads the data to be verified and the corresponding first parity check result from each packet. It then performs parity checking on each data packet to obtain a second parity check result. The first and second parity check results for each multicast address are compared to obtain the comparison result for each multicast address. This fully utilizes the simplicity, low cost, and high speed of parity checking, achieving rapid and accurate verification of the data to be verified.

[0107] See Figure 2 , Figure 2 This is another implementation flowchart of the data transmission verification method for train network communication equipment in this application. The method may include the following steps:

[0108] S201: Send a message encapsulation command containing the message length corresponding to each multicast address to the network communication equipment of the train under test.

[0109] When data transmission verification is required for the train network communication equipment under test, the test bench Ethernet device generates a message encapsulation command. This command contains the message length corresponding to each multicast address. The message lengths for each multicast address can be set to be the same or different, simulating complex real-world application scenarios. The test bench Ethernet device then sends the message encapsulation command, containing the message lengths corresponding to each multicast address, to the train network communication equipment under test.

[0110] S202: Receive the verification messages to be encapsulated and sent to each multicast address by the train network communication device under test in accordance with the message encapsulation instructions.

[0111] After receiving a message encapsulation instruction from the test bench's Ethernet device, containing the message lengths corresponding to each multicast address, the train-to-be-tested (STB) network communication device encapsulates a verification message of the corresponding length according to the instruction and sends the encapsulated message to each multicast address. The test bench's Ethernet device receives the verification messages encapsulated and sent to each multicast address by the STB network communication device according to the message encapsulation instruction. By encapsulating messages according to the message length in the instruction, the message lengths corresponding to each multicast address can be set to be the same or different, simulating complex real-world application scenarios and further improving the comprehensiveness of data transmission stability verification for the STB network communication device.

[0112] S203: Obtain the transmission duration from sending to receiving for each of the message to be verified with the same message length.

[0113] Monitor the transmission time of each message to be verified from sending to receiving, and obtain the transmission time from sending to receiving for messages with the same message length.

[0114] S204: Calculate the average transmission time difference based on each transmission duration.

[0115] After obtaining the transmission times from sender to receiver for each verification message of the same length, the average transmission time difference is calculated based on each transmission time. A large average transmission time difference indicates that the transmission time of the verification message fluctuates significantly, and the state stability of the train network communication equipment under test is low.

[0116] S205: Read the data to be verified and the first cyclic redundancy check result corresponding to each data from each message to be verified.

[0117] Before transmission, the data to be verified is verified using cyclic redundancy check (CR) on the network communication equipment of the train under test (TBT) to obtain the first CR result. After receiving the verification packets sent by the TBT network communication equipment to each multicast address, the Ethernet device on the test bench reads the data to be verified and the corresponding first CR result from each verification packet.

[0118] S206: Perform cyclic redundancy check on each data to be checked to obtain the results of each second cyclic redundancy check.

[0119] After reading the data to be verified and the first cyclic redundancy check result corresponding to each data from each message to be verified, cyclic redundancy check is performed on each data to be verified at the Ethernet device end of the test bench to obtain the second cyclic redundancy check result.

[0120] S207: Compare the first cyclic redundancy check result and the second cyclic redundancy check result corresponding to each multicast address, and determine the data transmission verification result based on the comparison results and the average transmission time difference.

[0121] After performing cyclic redundancy check (CRC) on each piece of data to be verified and obtaining the results of the second CRC check, the results of the first and second CRC checks corresponding to each multicast address are compared. The data transmission verification result is determined based on the comparison results and the average transmission time difference. For example, it can be set that if the data transmission verification result is determined to be abnormal based on the comparison results or the average transmission time difference, then the data transmission verification result is determined to be abnormal. By employing CRC, data integrity is ensured. By combining the comparison results and the average transmission time difference to verify the data transmission of the train network communication equipment under test, the comprehensiveness of the stable data transmission capability of the train network communication equipment under test is improved.

[0122] Corresponding to the above method embodiments, this application also provides a train network communication equipment data transmission verification device. The train network communication equipment data transmission verification device described below and the train network communication equipment data transmission verification method described above can be referred to each other.

[0123] See Figure 3 , Figure 3 This is a structural block diagram of a data transmission verification device for train network communication equipment according to an embodiment of this application. The device may include:

[0124] The verification message receiving module 31 is used to receive the verification messages sent by the train network communication equipment under test to each multicast address.

[0125] The verification result reading module 32 is used to read the data to be verified and the first verification result corresponding to each data from each message to be verified.

[0126] The verification result acquisition module 33 is used to verify each piece of data to be verified and obtain each second verification result.

[0127] The data transmission verification result determination module 34 is used to compare the first verification result and the second verification result corresponding to each multicast address, and determine the data transmission verification result of the train network communication device under test based on the obtained comparison results.

[0128] As described in the above technical solution, by setting multiple multicast addresses, the train-to-be-tested network communication device sends verification messages to each multicast address and receives the verification messages sent to each multicast address. Each verification message contains verification data and a first verification result. The verification data and the corresponding first verification result are read from each verification message, and each piece of verification data is verified to obtain a second verification result. By comparing the first and second verification results corresponding to each multicast address, the data transmission verification result of the train-to-be-tested network communication device is determined through statistical analysis of the comparison results. The introduction of the verification mechanism ensures data integrity and effectively verifies the stability and accuracy of data transmission of the train communication device in complex environments.

[0129] In one specific embodiment of this application, the message receiving module to be verified may include:

[0130] The instruction sending submodule is used to send a message encapsulation instruction containing the message length corresponding to each multicast address to the network communication equipment of the train under test;

[0131] The message to be verified receiving submodule is used to receive the message to be verified messages that the train network communication equipment under test encapsulates and sends to each multicast address according to the message encapsulation instruction.

[0132] In one specific embodiment of this application, the device may further include:

[0133] The transmission duration acquisition module is used to acquire the transmission duration from sending to receiving for each verification message with the same message length.

[0134] The time difference calculation submodule is used to calculate the average transmission time difference based on each transmission duration.

[0135] The data transmission verification result determination module is specifically designed to determine the data transmission verification result based on the comparison results and the average transmission time difference.

[0136] In one specific embodiment of this application, the message receiving module is specifically a module that receives the message to be verified sent by the train network communication device under test to each multicast address in each preset communication cycle;

[0137] The data transmission verification result determination module may include:

[0138] The message verification result determination submodule is used to determine the message verification result of the train network communication device under test in each preset communication cycle based on the comparison results.

[0139] The data transmission verification result determination submodule is used to determine the data transmission verification result based on the verification results of each message.

[0140] In this context, the data to be verified in a message to be verified consists of at least one byte of binary data. When the data to be verified contains two or more bytes of binary data, the binary data corresponding to each byte is the same. The binary data corresponding to each byte in the data to be verified in each message to be verified within the same preset communication period is the same, while the binary data corresponding to each byte in the data to be verified in each message to be verified between different preset communication periods is different.

[0141] In one specific embodiment of this application, the message receiving module is specifically a module that receives the message to be verified sent by the train network communication device under test to each multicast address in each preset communication period, wherein the bytes of data contained in each preset communication period are arranged in a preset order.

[0142] In one specific embodiment of this application, the data transmission verification result determination submodule may include:

[0143] The proportion statistics unit is used to count the proportion of message verification results that are inconsistent within a preset time period; the preset time period includes multiple preset communication cycles.

[0144] The time point acquisition unit is used to acquire the start and end points of a preset duration.

[0145] The ratio value retrieval unit is used to retrieve the target ratio value from a preset ratio table based on the start and end times of the time.

[0146] The data transmission anomaly determination unit is used to determine that the data transmission verification result is a data transmission anomaly when the proportion of message verification results is greater than the target proportion value.

[0147] The data transmission normal determination unit is used to determine that the data transmission verification result is normal when the proportion of message verification results is less than or equal to the target proportion value.

[0148] In one specific embodiment of this application, the device may further include:

[0149] The verification result and checklist acquisition module is used to obtain a second verification result with inconsistent comparison results and a preset abnormality type checklist when the data transmission verification result is determined to be abnormal after determining the data transmission verification result of the network communication equipment of the train under test based on the obtained comparison results.

[0150] The anomaly type determination module is used to determine the anomaly type based on the second verification result, which shows that the comparison result is inconsistent, and the anomaly type check table.

[0151] In one specific embodiment of this application, the verification result reading module is specifically a module that reads the data to be verified and the first cyclic redundancy check result corresponding to each data from each message to be verified.

[0152] The verification result acquisition module specifically performs cyclic redundancy check on each piece of data to be verified to obtain each second cyclic redundancy check result.

[0153] The data transmission verification result determination module is specifically a module that compares the first cyclic redundancy check result and the second cyclic redundancy check result corresponding to each multicast address.

[0154] In one specific embodiment of this application, the verification result reading module is specifically a module that reads the data to be verified and the first parity check result corresponding to each data from each message to be verified.

[0155] The module for obtaining the verification result is specifically a module that performs parity checks on each piece of data to be verified and obtains the second parity check result.

[0156] The data transmission verification result determination module is specifically a module that compares the first parity check result and the second parity check result corresponding to each multicast address.

[0157] For the method embodiments described above, see [link to relevant documentation]. Figure 4 , Figure 4 This is a schematic diagram of the data transmission verification device for train network communication equipment provided in this application. The device may include:

[0158] Memory 332 is used to store computer programs;

[0159] The processor 322 is used to execute a computer program to implement the steps of the train network communication device data transmission verification method of the above method embodiment.

[0160] For details, please refer to Figure 5 , Figure 5 This is a schematic diagram illustrating the specific structure of a train network communication equipment data transmission verification device provided in this embodiment. This device can vary significantly depending on its configuration or performance. It may include a processor (central processing unit, CPU) 322 (e.g., one or more processors) and a memory 332. The memory 332 stores one or more computer programs 342 or data 344. The memory 332 can be either temporary or permanent storage. The program stored in the memory 332 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the data processing device. Furthermore, the processor 322 may be configured to communicate with the memory 332 and execute the series of instruction operations stored in the memory 332 on the train network communication equipment data transmission verification device 301.

[0161] The train network communication equipment data transmission verification device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341.

[0162] The steps in the train network communication equipment data transmission verification method described above can be implemented by the structure of the train network communication equipment data transmission verification device.

[0163] Corresponding to the above method embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:

[0164] The system receives verification messages sent by the train network communication device under test to each multicast address; reads the verification data and the first verification result corresponding to each verification data from each verification message; verifies each verification data to obtain a second verification result; compares the first verification result and the second verification result corresponding to each multicast address, and determines the data transmission verification result of the train network communication device under test based on the comparison results.

[0165] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0166] For a description of the computer-readable storage medium provided in this application, please refer to the above method embodiments; further details will not be repeated here.

[0167] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses, devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0168] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of this application.

Claims

1. A method for verifying data transmission in train network communication equipment, characterized in that, include: Receive the verification messages sent by the network communication equipment of the train under test to each multicast address; Read the data to be verified and the first verification result corresponding to each data from each message to be verified. Each piece of data to be verified is verified separately to obtain the second verification result. The first and second verification results corresponding to each multicast address are compared, and the data transmission verification result of the train network communication device under test is determined based on the obtained comparison results.

2. The data transmission verification method for train network communication equipment according to claim 1, characterized in that, Receive the verification messages sent by the network communication equipment of the train under test to each multicast address, including: Send a message encapsulation command containing the message length corresponding to each multicast address to the train network communication device under test; The test train network communication device receives the verification messages, which are encapsulated and sent to each multicast address according to the message encapsulation instruction.

3. The data transmission verification method for train network communication equipment according to claim 2, characterized in that, After receiving the verification message encapsulated and sent to each multicast address by the train-to-be-tested network communication device according to the message encapsulation instruction, the method further includes: Obtain the transmission time from sending to receiving for each of the same message length to be verified; Calculate the average transmission time difference based on each transmission duration; The data transmission verification results of the train network communication equipment under test are determined based on the obtained comparison results, including: The data transmission verification result is determined based on the comparison results and the average transmission time difference.

4. The data transmission verification method for train network communication equipment according to any one of claims 1 to 3, characterized in that, The system receives verification messages sent by the train network communication device under test to each multicast address, and determines the data transmission verification result of the train network communication device under test based on the obtained comparison results, including: Receive the verification messages sent by the train network communication device under test to each multicast address in each preset communication cycle; And based on the comparison results, determine the message verification results of the train network communication device under test in each preset communication cycle; The data transmission verification result is determined based on the verification results of each message. In this context, the data to be verified in a message to be verified consists of at least one byte of binary data. When the data to be verified contains two or more bytes of binary data, the binary data corresponding to each byte is the same. The binary data corresponding to each byte in the data to be verified in each message to be verified within the same preset communication period is the same, while the binary data corresponding to each byte in the data to be verified in each message to be verified between different preset communication periods is different.

5. The data transmission verification method for train network communication equipment according to claim 4, characterized in that, Receive the verification messages sent by the train network communication device under test to each multicast address within each preset communication period, including: The system receives the verification message sent by the train network communication device under test to each multicast address within each preset communication period, wherein the bytes of data contained in each preset communication period are arranged in a preset order.

6. The data transmission verification method for train network communication equipment according to claim 4, characterized in that, The data transmission verification result is determined based on the verification results of each message, including: The percentage of message verification results that are inconsistent within a preset time period is counted; wherein, the preset time period includes multiple preset communication cycles; Obtain the start and end times of the preset duration; The target ratio value is retrieved from the preset ratio table based on the time start point and the time end point; When the proportion of the number of message verification results is greater than the target proportion value, the data transmission verification result is determined to be a data transmission anomaly. When the proportion of the number of message verification results is less than or equal to the target proportion value, the data transmission verification result is determined to be normal data transmission.

7. The data transmission verification method for train network communication equipment according to claim 1, characterized in that, After determining the data transmission verification results of the train network communication device under test based on the obtained comparison results, the process also includes: When the data transmission verification result is determined to be abnormal, a second verification result with inconsistent comparison results and a preset abnormality type check table are obtained. The anomaly type is determined based on the second verification result, which shows inconsistency, and the anomaly type checklist.

8. The data transmission verification method for train network communication equipment according to claim 1, characterized in that, The process involves reading the data to be verified and the corresponding first verification result from each message to be verified, verifying each message to be verified to obtain a second verification result, and comparing the first and second verification results corresponding to each multicast address. Read the data to be verified and the first cyclic redundancy check result corresponding to each data from each message to be verified. And perform cyclic redundancy check on each data to be checked to obtain the results of each second cyclic redundancy check; And compare the first cyclic redundancy check results and the second cyclic redundancy check results corresponding to each multicast address.

9. The data transmission verification method for train network communication equipment according to claim 1, characterized in that, The process involves reading the data to be verified and the corresponding first verification result from each message to be verified, verifying each message to be verified to obtain a second verification result, and comparing the first and second verification results corresponding to each multicast address. Read the data to be verified and the first parity check result corresponding to each data from each message to be verified. And perform parity checks on each piece of data to be checked to obtain the second parity check results; And compare the first parity check result and the second parity check result corresponding to each multicast address.

10. A data transmission verification device for train network communication equipment, characterized in that, include: The verification message receiving module is used to receive the verification messages sent by the network communication equipment of the train under test to each multicast address. The verification result reading module is used to read the data to be verified and the first verification result corresponding to each data from each message to be verified. The verification result acquisition module is used to verify each piece of data to be verified and obtain each second verification result. The data transmission verification result determination module is used to compare the first verification result and the second verification result corresponding to each multicast address, and determine the data transmission verification result of the train network communication device under test based on the obtained comparison results.

11. A data transmission verification device for train network communication equipment, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the data transmission verification method for train network communication equipment as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the data transmission verification method for train network communication equipment as described in any one of claims 1 to 9.