Communication data determination method and device
By receiving and comparing the serial number values in the message of multi-channel data in train communication, determining the latest communication data as the target data, the problem of channel interrupt determination delay in the prior art is solved, and communication efficiency is improved.
Patent Information
- Application Number
- CN202510129235.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-05-13
AI Technical Summary
During train communication, the prior art needs to determine which channels or channels are interrupted first, and then transmit communication data, resulting in a decrease in communication efficiency.
By receiving the multi-channel data sent by the second host, obtaining the serial number values in the message of the communication data of all channels, and comparing their sizes, it is determined that the communication data with the largest serial number value in the message is the target communication data, thereby avoiding the process of determining the channel interrupt first.
Improve communication efficiency, avoid delay in channel interrupt determination process, and ensure normal transmission of communication data.
Smart Images

Figure CN119996540A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of train communication technology, and in particular to a method and device for determining communication data. Background Art
[0002] With the rapid development of train communication technology, more and more problems have arisen in the process of train communication. In the process of train communication, multi-channel communication is an important part. Multi-channel communication can ensure the normal transmission of communication data when one or several channels are interrupted. In the prior art, it is necessary to first determine which one or several channels are interrupted, and then use the uninterrupted channels to transmit communication data, which will greatly reduce the communication efficiency.
[0003] In summary, how to improve communication efficiency is an urgent problem that those skilled in the art need to solve. Summary of the invention
[0004] In view of this, the present application provides a communication data determination method and device, aiming to improve communication efficiency.
[0005] In a first aspect, the present application provides a communication data determination method, applied to a first host, comprising:
[0006] receiving multi-channel data sent by a second host;
[0007] Acquire the message sequence number value of the communication data of all channels in the multi-channel data; the message sequence number value is related to the sending time of the communication data;
[0008] Comparing the values of the sequence numbers in the messages of the communication data of all the channels with each other;
[0009] The communication data having the largest sequence number value in the message among the communication data of all the channels is determined as the target communication data.
[0010] Optionally, determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data includes:
[0011] Determine whether the serial number values in the messages of the communication data of all the channels are the same;
[0012] If not, the communication data with the largest sequence number value in the message among the communication data of all the channels is determined as the target communication data.
[0013] Optionally, after determining whether the serial number values in the messages of the communication data of all the channels are the same, the method further includes:
[0014] If so, the communication data received first is determined as the target communication data.
[0015] Optionally, determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data includes:
[0016] Obtain the communication data with the largest sequence number value in the message from the communication data of all the channels;
[0017] Determine whether the communication data with the largest sequence number value in the message among the communication data of all the channels is unique;
[0018] If so, the communication data with the largest sequence number value in the message is determined as the target communication data;
[0019] If not, the communication data with the largest sequence number value in the message received first is determined as the target communication data.
[0020] Optionally, the receiving multi-channel data sent by the second host includes:
[0021] Receive n-channel data sent by the second host through n switches; n is a positive integer greater than 1.
[0022] Optionally, after determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data, the method further includes:
[0023] Train control is performed using the target communication data.
[0024] Optionally, after determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data, the method further includes:
[0025] The communication data with a non-maximum sequence number in the message is discarded.
[0026] In a second aspect, the present application provides a communication data determination device, applied to a first host, comprising:
[0027] A receiving module, used for receiving multi-channel data sent by a second host;
[0028] An acquisition module, used for acquiring a message serial number value of the communication data of all channels in the multi-channel data; the message serial number value is related to the sending time of the communication data;
[0029] A comparison module, used for comparing the numerical values of the sequence numbers in the messages of the communication data of all the channels with each other;
[0030] The determination module is used to determine the communication data with the largest sequence number value in the message among the communication data of all the channels as the target communication data.
[0031] In a third aspect, the present application provides a communication data determination method, applied to a second host, comprising:
[0032] Send multi-channel data to a first host; enable the first host to obtain the message sequence number value of the communication data of all channels in the multi-channel data, the message sequence number value is related to the sending time of the communication data, compare the message sequence number values of the communication data of all channels with each other, and determine the communication data with the largest message sequence number value among the communication data of all channels as the target communication data.
[0033] In a fourth aspect, the present application provides a communication data determination device, applied to a second host, comprising:
[0034] A sending module is used to send multi-channel data to a first host; so that the first host obtains the message sequence number value of the communication data of all channels in the multi-channel data, the message sequence number value is related to the sending time of the communication data, the message sequence number values of the communication data of all channels are compared with each other, and the communication data with the largest message sequence number value among the communication data of all channels is determined as the target communication data.
[0035] The present application provides a method for determining communication data. The method is applied to a first host. When executing the method, multi-channel data sent by a second host is first received, and then the message sequence number value of the communication data of all channels in the multi-channel data is obtained, wherein the message sequence number value is related to the sending time of the communication data, and then the message sequence number values of the communication data of all channels are compared with each other, and finally, the communication data with the largest message sequence number value among the communication data of all channels is determined as the target communication data. In this way, the latest communication data is determined by the message sequence number value, and the communication data is determined as the target communication data, avoiding the need to first determine which one or several channels are interrupted, thereby improving communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1A flowchart of a communication data determination method provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of a dual-channel structure between a first host and a second host provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of the structure of n channels between a first host and a second host provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of the structure of a dual channel between host A and host B provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of a structure when a channel is disconnected in a dual channel between host A and host B provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of the structure of three channels between host A and host B provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of a structure when one of the three channels between host A and host B is disconnected provided in an embodiment of the present application;
[0044] Figure 8 A schematic diagram of a structure when two of the three channels between host A and host B are disconnected according to an embodiment of the present application;
[0045] Fig. 9 A schematic diagram of the structure of a communication data determination device applied to a first host provided in an embodiment of the present application;
[0046] Fig.10 A schematic diagram of the structure of a communication data determination device applied to a second host provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. The present application provides a communication data determination method and device for use in the field of train communication technology. The above is only an example and does not limit the application field of the method and device name provided by the present application.
[0048] With the rapid development of train communication technology, more and more problems have arisen in the process of train communication. In the process of train communication, multi-channel communication is an important part. Multi-channel communication can ensure the normal transmission of communication data when one or several channels are interrupted. In the prior art, it is necessary to first determine which one or several channels are interrupted, and then use the uninterrupted channels to transmit communication data, which will greatly reduce the communication efficiency.
[0049] After research, the inventor proposed the technical solution of the present application. The method is applied to the first host. When executing the method, the multi-channel data sent by the second host is first received, and then the message sequence number value of the communication data of all channels in the multi-channel data is obtained, wherein the message sequence number value is related to the sending time of the communication data, and then the message sequence number values of the communication data of all channels are compared with each other. Finally, the communication data with the largest message sequence number value among the communication data of all channels is determined as the target communication data. In this way, the latest communication data is determined by the message sequence number value, and the communication data is determined as the target communication data, avoiding the need to first determine which one or several channels are interrupted, thereby improving communication efficiency.
[0050] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. It should be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
[0051] See also Figure 1 , Figure 1 A flow chart of a communication data determination method provided in an embodiment of the present application includes:
[0052] S101: Send multi-channel data to a first host.
[0053] The second host sends multi-channel data to the first host, such as Figure 3 As shown, Figure 3 The present invention provides a schematic diagram of a structure of n channels between a first host and a second host, wherein the multi-channel data is n-channel data, where n is a positive integer greater than 1 and n is the number of channels between the first host and the second host. Figure 2 As shown, Figure 2A structural diagram of a dual channel between a first host and a second host provided in an embodiment of the present application, host A is the second host, host B is the first host, and there are two channels between host A and host B, namely channel 1 and channel 2. Channel 1 is composed of switch a and the communication lines between switch a and host A and host B respectively, and channel 2 is composed of switch b and the communication lines between switch b and host A and host B respectively, that is, n-channel data sent by host A to host B is dual-channel data.
[0054] S102: Receive multi-channel data sent by the second host.
[0055] The first host receives the multi-channel data sent by the second host.
[0056] S103: Obtaining the serial number values in the messages of the communication data of all channels in the multi-channel data.
[0057] The communication data of all channels in the multi-channel data all include an intra-message sequence number. For example, the second host sends a communication data to the first host through channel 1, channel 2 and channel 3, and the value of the intra-message sequence number of the communication data is "384". Then the values of the intra-message sequence numbers included in the communication data received by the first host from channel 1, channel 2 and channel 3 are all "384"; the second host sends another communication data to the first host through channel 1, channel 2 and channel 3, then the value of the intra-message sequence number of the communication data is "385", and the values of the intra-message sequence numbers included in the communication data received by the first host from channel 1, channel 2 and channel 3 are all "385". In other words, the value of the intra-message sequence number of the communication data is related to the time when the communication data is sent. The earlier the communication data is sent, the smaller the value of the intra-message sequence number is, and the later the communication data is sent, the larger the value of the intra-message sequence number is.
[0058] S104: Compare the values of the sequence numbers in the messages of the communication data of all channels.
[0059] The numerical values of the serial numbers in each communication data message received by the first host are compared with each other. The larger the numerical value of the serial number in the message, the later the communication data is sent, and the later the data is sent, the newer the communication data is.
[0060] S105: Determine the communication data with the largest sequence number value in the message among the communication data of all channels as the target communication data.
[0061] The communication data with the largest sequence number value in the message, that is, the latest communication data, is determined as the target communication data.
[0062] In some embodiments, if the number of channels is 2, it can be determined whether the serial number values in the messages of the communication data of all channels are the same. If they are not the same, the communication data with the largest serial number value in the message among the communication data of all channels is determined as the target communication data; if they are the same, the communication data received first is determined as the target communication data.
[0063] In some embodiments, if the number of channels is greater than 2, the communication data with the largest sequence number value in the message is obtained; if the communication data with the largest sequence number value in the message is unique, the communication data with the largest sequence number value in the message is determined as the target communication data; if the communication data with the largest sequence number value in the message is not unique, the communication data with the largest sequence number value in the message received first is determined as the target communication data.
[0064] After the target communication data is determined, other communication data that is not the target communication data can be deleted to reduce the system load. The target communication data finally obtained is used for train control.
[0065] In the embodiment provided by the present application, the first host first receives the multi-channel data sent by the second host, and then obtains the message sequence number value of the communication data of all channels in the multi-channel data, wherein the message sequence number value is related to the sending time of the communication data, and then the message sequence number values of the communication data of all channels are compared with each other, and finally, the communication data with the largest message sequence number value among the communication data of all channels is determined as the target communication data. In this way, the latest communication data is determined by the message sequence number value, and the communication data is determined as the target communication data, avoiding the need to first determine which one or several channels are interrupted, thereby improving communication efficiency.
[0066] The communication data determination method provided in the embodiment of the present application is introduced above. The communication data determination method is exemplarily described below in combination with a specific application scenario.
[0067] like Figure 4 As shown, Figure 4A schematic diagram of the structure of the dual channels between host A and host B provided in the embodiment of the present application, host A sends dual channel data to host B, the dual channels are channel 1 and channel 2 respectively, for example, host A sends a communication data to host B through channel 1 and channel 2, the serial number value in the message of the communication data is "18", then host B can receive two communication data with the serial number value "18" in the message, and the two communication data come from channel 1 and channel 2 respectively. At this time, host B can compare the serial number values in the messages of the received communication data to determine that the serial number values in the messages of the two communication data are the same and host B has not received the communication data with a larger serial number value in the message, which can indicate that the two communication data are the latest communication data, and one of the two communication data can be used as the target communication data.
[0068] Optionally, host B can obtain the serial number value in the message of communication data in real time when receiving communication data. If a communication data with a serial number value in a message larger than the previous one is received, the communication data is determined as the target communication data, that is, the latest communication data is determined as the target communication data. For example, the serial number value in the message of communication data previously received by host B is "50", if the serial number value in the message of communication data received by host B at this time is "51", then the communication data with the serial number value "51" in the message is determined as the target communication data.
[0069] If channel 1 of the dual channels between host A and host B is suddenly interrupted, such as Figure 5 As shown, Figure 5 The structural diagram provided in the embodiment of the present application shows that there is a channel disconnection in the dual channels between host A and host B. Host A sends a communication data to host B through channel 1 and channel 2. The serial number value in the message of the communication data is "19", but due to the interruption of channel 1, host B only receives a communication data with a serial number value of "19" in the message. At this time, the communication data with a serial number value of "19" in the message is the communication data with the largest serial number value in the message received by host B. That is, the communication data with a serial number value of "19" in the message can be determined as the latest communication data, and the communication data can be determined as the target communication data. In this way, the target communication data can be accurately determined, avoiding the need to first determine which one or several channels are interrupted, thereby improving communication efficiency.
[0070] like Figure 6 As shown, Figure 6A schematic diagram of the structure of three channels between host A and host B provided in an embodiment of the present application, host A sends three-channel data to host B, the three channels are channel 1, channel 2 and channel 3, for example, host A sends a communication data to host B through channel 1, channel 2 and channel 3, the serial number value in the message of the communication data is "6", then host B can receive three communication data with the serial number value of "6" in the message, and these three communication data come from channel 1, channel 2 and channel 3 respectively. At this time, host B can compare the serial number values in the messages of the received communication data to determine that the serial number values in the messages of the three communication data are the same and host B has not received the communication data with a larger serial number value in the message, which can indicate that the three communication data are the latest communication data, and one of the three communication data can be used as the target communication data. Host A sends a communication data to host B through channel 1, channel 2 and channel 3. The serial number value in the message of the communication data is "7". At this time, the serial number value in the message of the communication data received by host B becomes "7", that is, the communication data with the serial number value "7" in the message becomes the latest communication data. The communication data with the serial number value "7" in the message can be determined as the target communication data.
[0071] If channel 1 of the three channels between host A and host B is suddenly interrupted, such as Figure 7 As shown, Figure 7 The structural diagram provided in the embodiment of the present application shows that one of the three channels between host A and host B is disconnected. At this time, host A sends a communication data to host B through channel 1, channel 2 and channel 3. The serial number value in the message of the communication data is "8", but due to the interruption of channel 1, host B only receives two communication data with the serial number value "8" in the message. At this time, the communication data with the serial number value "8" in the message is the communication data with the largest serial number value in the message received by host B, that is, the communication data with the serial number value "8" in the message can be determined as the latest communication data, and the communication data is determined as the target communication data.
[0072] Furthermore, among the three channels between host A and host B, when channel 1 is interrupted, channel 2 is also suddenly interrupted, such as Figure 8 As shown, Figure 8The structural diagram provided in the embodiment of the present application shows that two of the three channels between host A and host B are disconnected. At this time, host A sends a communication data to host B through channel 1, channel 2 and channel 3. The message sequence number value of the communication data is "9". However, due to the interruption of channel 1 and channel 1, host B only receives a communication data with a message sequence number value of "9". At this time, the communication data with a message sequence number value of "9" is the communication data with the largest message sequence number value received by host B. That is, the communication data with a message sequence number value of "9" can be determined as the latest communication data, and the communication data can be determined as the target communication data. That is, through the above method, in the case of channel interruption, it is not necessary to first determine which one or several channels are interrupted, and the latest communication data can be directly determined, thereby improving communication efficiency.
[0073] The above are some specific implementations of the communication data determination method provided in the embodiments of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiments of the present application will be introduced from the perspective of functional modularization.
[0074] See also Fig. 9 , Fig. 9 A schematic diagram of a communication data determination device applied to a first host provided in an embodiment of the present application is provided. The communication data determination device 900 includes:
[0075] The receiving module 910 is used to receive the multi-channel data sent by the second host;
[0076] An acquisition module 920 is used to acquire a message sequence number value of the communication data of all channels in the multi-channel data; the message sequence number value is related to the sending time of the communication data;
[0077] A comparison module 930 is used to compare the values of the sequence numbers in the messages of the communication data of all the channels with each other;
[0078] The determination module 940 is used to determine the communication data with the largest sequence number value in the message among the communication data of all the channels as the target communication data.
[0079] Optionally, the determining module 940 includes:
[0080] A first judgment unit, used to judge whether the serial number values in the messages of the communication data of all the channels are the same;
[0081] The first determining unit is configured to, if not, determine the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data.
[0082] Optionally, the device 900 further includes:
[0083] The second determining unit is configured to determine the communication data received first as the target communication data if yes.
[0084] Optionally, the determining module 940 includes:
[0085] An acquisition unit, used for acquiring the communication data with the largest sequence number value in the message from the communication data of all the channels;
[0086] A second judgment unit is used to judge whether the communication data with the largest sequence number value in the message among the communication data of all the channels is unique;
[0087] A third determining unit is used to determine the communication data with the largest sequence number value in the message as the target communication data;
[0088] The fourth determining unit is used to, if not, determine the communication data with the largest sequence number value in the message received first as the target communication data.
[0089] Optionally, the receiving module 910 includes:
[0090] The receiving unit is used to receive n-channel data sent by the second host through n switches; n is a positive integer greater than 1.
[0091] Optionally, the device 900 further includes:
[0092] A control module is used to perform train control using the target communication data.
[0093] Optionally, the device 900 further includes:
[0094] The discard module is used to discard the communication data whose sequence number value in the message is not the largest.
[0095] See also Fig.10 , Fig.10 A schematic diagram of a communication data determination device applied to a second host provided in an embodiment of the present application is provided. The communication data determination device 1000 includes:
[0096] The sending module 1010 is used to send multi-channel data to the first host; so that the first host obtains the serial number value in the message of the communication data of all channels in the multi-channel data, the serial number value in the message is related to the sending time of the communication data, compares the magnitude of the serial number values in the message of the communication data of all channels with each other, determines the communication data with the largest serial number value in the message of the communication data of all channels as the target communication data, uses the target communication data to perform train control, and discards the communication data with a non-largest serial number value in the message.
[0097] Optionally, determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data includes:
[0098] Determine whether the serial number values in the messages of the communication data of all the channels are the same;
[0099] If not, the communication data with the largest sequence number value in the message among the communication data of all the channels is determined as the target communication data.
[0100] Optionally, after determining whether the serial number values in the messages of the communication data of all the channels are the same, the method further includes:
[0101] If so, the communication data received first is determined as the target communication data.
[0102] Optionally, determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data includes:
[0103] Obtain the communication data with the largest sequence number value in the message from the communication data of all the channels;
[0104] Determine whether the communication data with the largest sequence number value in the message among the communication data of all the channels is unique;
[0105] If so, the communication data with the largest sequence number value in the message is determined as the target communication data;
[0106] If not, the communication data with the largest sequence number value in the message received first is determined as the target communication data.
[0107] Optionally, the receiving multi-channel data sent by the second host includes:
[0108] Receive n-channel data sent by the second host through n switches; n is a positive integer greater than 1.
[0109] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0110] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the method described in any embodiment of the present application.
[0111] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the method described in any embodiment of the present application.
[0112] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0113] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0114] It should also be noted that the various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can refer to each other, and all embodiments focus on the differences from other embodiments. In particular, for the equipment and device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The device embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components prompted as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0115] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining communication data, characterized in that: Applied to the first host, including: receiving multi-channel data sent by a second host; Acquire the message sequence number value of the communication data of all channels in the multi-channel data; the message sequence number value is related to the sending time of the communication data; Compare the values of the serial numbers in the messages of the communication data of all channels with each other; The communication data having the largest sequence number value in the message among the communication data of all the channels is determined as the target communication data.
2. The method according to claim 1, characterized in that: The step of determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data comprises: Determine whether the serial number values in the messages of the communication data of all the channels are the same; If not, the communication data with the largest sequence number value in the message among the communication data of all the channels is determined as the target communication data.
3. The method according to claim 2, characterized in that After determining whether the values of the sequence numbers in the messages of the communication data of all the channels are the same, the method further comprises: If so, the communication data received first is determined as the target communication data.
4. The method according to claim 1, characterized in that: The step of determining the communication data having the largest sequence number value in the message among the communication data of all the channels as the target communication data comprises: Obtain the communication data with the largest sequence number value in the message from the communication data of all the channels; Determine whether the communication data with the largest sequence number value in the message among the communication data of all the channels is unique; If so, the communication data with the largest sequence number value in the message is determined as the target communication data; If not, the communication data with the largest sequence number value in the message received first is determined as the target communication data.
5. The method according to claim 1, characterized in that The receiving of multi-channel data sent by the second host comprises: Receive n-channel data sent by the second host through n switches; n is a positive integer greater than 1.
6. The method according to claim 1, characterized in that After determining the communication data with the largest sequence number value in the message among the communication data of all the channels as the target communication data, the method further includes: Train control is performed using the target communication data.
7. The method according to claim 1, characterized in that After determining the communication data with the largest sequence number value in the message among the communication data of all the channels as the target communication data, the method further includes: The communication data with a non-maximum sequence number in the message is discarded.
8. A communication data determination device, characterized in that: Applied to the first host, including: A receiving module, used for receiving multi-channel data sent by a second host; An acquisition module, used for acquiring a message serial number value of the communication data of all channels in the multi-channel data; the message serial number value is related to the sending time of the communication data; A comparison module, used for comparing the numerical values of the sequence numbers in the messages of the communication data of all the channels with each other; The determination module is used to determine the communication data with the largest sequence number value in the message among the communication data of all the channels as the target communication data.
9. A method for determining communication data, characterized in that: Applied to the second host, including: Send multi-channel data to a first host; enable the first host to obtain the message sequence number value of the communication data of all channels in the multi-channel data, the message sequence number value is related to the sending time of the communication data, compare the message sequence number values of the communication data of all channels with each other, and determine the communication data with the largest message sequence number value among the communication data of all channels as the target communication data.
10. A communication data determination device, characterized in that: Applied to the second host, including: A sending module is used to send multi-channel data to a first host; so that the first host obtains the message sequence number value of the communication data of all channels in the multi-channel data, the message sequence number value is related to the sending time of the communication data, the message sequence number values of the communication data of all channels are compared with each other, and the communication data with the largest message sequence number value among the communication data of all channels is determined as the target communication data.