A transponder message parsing method, system, storage medium and device

Through the transponder message analysis method based on the standard message protocol, the transponder type and message type are identified and resolved, and the problem of low transponder message resolution in the existing technology is solved, and fast and accurate message type judgment is achieved. and analysis improve work efficiency.

CN118433276BActive Publication Date: 2024-11-01CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410881368.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-11-01
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

In the urban rail train control CBTC system, the existing transponder message analysis tool cannot effectively distinguish the default message types of the active transponder, resulting in manual comparison of protocols one by one, which is cumbersome and time-consuming, affecting the information processing efficiency.

Method used

The input data is identified and filtered based on the preset standard message protocol, verify the validity of the message data, identify the transponder type and message type, and parse the message data based on the type, saving judgment and analysis time.

Benefits of technology

It improves the efficiency of on-site operations, reduces the time for manual judgment and analysis, accurately distinguishes the default message types of the active transponder, and simplifies the problem-solving process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118433276B_ABST
    Figure CN118433276B_ABST
Patent Text Reader

Abstract

The present invention provides a transponder message parsing method, system, storage medium and device. The method comprises: identifying and screening input data based on a preset standard message protocol to obtain message data; verifying whether the message data is valid message data; if the message data is valid message data, identifying the transponder type and message type corresponding to the message data; parsing the message data according to the transponder type and message type. The transponder message parsing method of the present invention improves the message parsing efficiency and on-site operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and in particular relates to a transponder message parsing method, system, storage medium and device. Background Art

[0002] In the urban rail train control CBTC system, the ATP train automatic protection system is an important equipment to ensure the safety of train operation, providing train running interval control and overspeed protection. The ATP subsystem adopts a continuous speed curve control mode. Obtaining accurate position information and calculating the train's movement authorization is the basis for the ATP subsystem to ensure the safe operation of the train. The on-board ATP subsystem communicates with the ground-mounted transponder through the BTM antenna to obtain the current location information of the train. When the train passes the ground transponder, the on-board transponder antenna activates the ground transponder and receives the transponder message sent by the transponder in a cycle. When analyzing and processing information such as the operating status of the CBTC train control system, it is often necessary to read and parse the transponder message information. The standard transponder message contains a lot of byte information, and manual analysis is time-consuming, which affects the efficiency of information processing.

[0003] Current transponder message parsing tools can only identify the difference between passive and active transponders, but do not make a detailed distinction between the default message types in active transponder messages. When troubleshooting message problems, the only way to determine is to manually compare protocols one by one. This is a cumbersome process that consumes a lot of time and energy, and results in low work efficiency. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a transponder message parsing method, system, storage medium and device, which identify and filter message data from input data based on a preset standard message protocol, and judge the transponder type and message type corresponding to the message data; parse the message data according to the transponder type and the message type, which can save time in judging the message type and parsing the message content during on-site operations, and improve on-site operation efficiency.

[0005] The present invention is achieved through the following technical solutions:

[0006] Identify and filter input data based on a preset standard message protocol to obtain message data;

[0007] Verifying whether the message data is valid message data;

[0008] If the message data is valid message data, identifying the transponder type and message type corresponding to the message data;

[0009] The message data is parsed according to the transponder type and the message type.

[0010] Optional,

[0011] The identifying and screening the data based on the preset standard message protocol to obtain the message data includes:

[0012] Based on a preset standard message protocol, identifying frame flag bit data that matches in the data;

[0013] According to the identified frame flag data, the transponder message data in the data is extracted.

[0014] Optional,

[0015] The verifying whether the message data is valid message data includes:

[0016] The message data is compared and verified with the standard message protocol. If the message data is consistent with the standard message protocol, it is confirmed as valid message data.

[0017] Optional,

[0018] The identifying the transponder type corresponding to the message data includes:

[0019] Identify the application packages included in the message data, and identify the transponder type according to the combination of the application packages;

[0020] The transponder types include: active transponders and passive transponders;

[0021] Optional,

[0022] The method further comprises:

[0023] If the transponder type is an active transponder, determining whether the message type is a default message, and identifying the default message type;

[0024] The default message types include: transponder default message, LEU default message and interlocking default message.

[0025] Optional,

[0026] The determining whether the message type is a default message and identifying the default message type includes:

[0027] Obtain the value of the message counter data bit in the message data to determine whether the received message is a default message;

[0028] If it is determined to be a default message, the specific values ​​of the two data bits of the communication status between the interlocking and LEU device and the communication status between the LEU device and the transponder are obtained, and the default message type is identified through logical judgment.

[0029] Optional,

[0030] The parsing of the message data according to the transponder type includes:

[0031] Based on the transponder type and the message data type, combined with the corresponding standard message protocol, confirm the corresponding interpretation of each data bit in the message data one by one;

[0032] The interpretation of each data bit is recorded and output to the visual interface for display.

[0033] The present invention also provides a transponder message parsing system for implementing the above method, the system comprising:

[0034] A message identification module is used to identify and filter input data based on a preset standard message protocol to obtain message data;

[0035] A message verification module, used to verify whether the message data is valid message data;

[0036] A type identification module, used for identifying the transponder type and message type corresponding to the message data if the message data is valid message data;

[0037] The message parsing module is used to parse the message data according to the transponder type and the message type.

[0038] Optional,

[0039] The message identification module is further configured to:

[0040] Based on a preset standard message protocol, identifying frame flag bit data that matches in the data;

[0041] According to the identified frame flag data, the transponder message data in the data is extracted.

[0042] Optionally, the transponder type identification module is further configured to:

[0043] Identify the application packages included in the message data, and identify the transponder type according to the combination of the application packages;

[0044] The transponder types include: active transponders and passive transponders.

[0045] Optional,

[0046] The system is also configured to:

[0047] If the transponder type is an active transponder, determining whether the message type is a default message, and identifying the default message type;

[0048] The default message types include: transponder default message, LEU default message and interlocking default message.

[0049] Optional,

[0050] The message parsing module is also configured to:

[0051] Based on the transponder type and the message data type, combined with the corresponding standard message protocol, confirm the corresponding interpretation of each data bit in the message data one by one;

[0052] The interpretation of each data bit is recorded and output to the visual interface for display.

[0053] The present invention also provides a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned transponder message parsing method.

[0054] The present invention also provides a device, comprising a processor, a communication interface, a computer-readable storage medium and a communication bus; wherein the processor, the communication interface and the computer-readable storage medium communicate with each other via the communication bus;

[0055] The processor is configured to execute a program stored in a computer-readable storage medium.

[0056] Compared with the prior art, the present invention has the following advantages:

[0057] 1. The transponder message parsing method proposed in the present invention identifies the transponder type according to the application package contained in the message data, and further distinguishes the default message type according to the actual values ​​of multiple related information bits in the active transponder message, thereby eliminating the process of manual search, comparison, calculation and logical judgment, and improving work efficiency.

[0058] 2. At the same time, the transponder message data is parsed using the standard message protocol and output to a visual interface, saving time for real-time parsing of transponder messages during on-site operations and improving on-site operation efficiency.

[0059] 3. Develop and build an application using the Java language to apply the transponder message parsing method, which can be run on a PC or mobile device during on-site parsing operations, covering complex and changeable on-site operation environments and improving applicability.

[0060] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0062] Figure 1 A schematic diagram of the process of the transponder message parsing method is shown;

[0063] Figure 2 A schematic structural block diagram of a transponder message parsing system is shown;

[0064] Figure 3 It is a structural schematic diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0066] See attached Figure 1 , the method of the present invention comprises:

[0067] S1. Identify and filter input data based on a preset standard message protocol to obtain message data;

[0068] wherein, based on a preset standard message protocol, matching frame flag bit data in the data is identified;

[0069] According to the identified frame flag data, the transponder message data in the data is extracted.

[0070] S2. Verify whether the message data is valid message data;

[0071] The message data is compared and verified with the standard message protocol. If the message data is consistent with the standard message protocol, it is confirmed as valid message data.

[0072] S3. If the message data is valid message data, identifying the transponder type and message type corresponding to the message data;

[0073] wherein, identifying the application package contained in the message data, and identifying the transponder type according to the combination of the application package;

[0074] The transponder types include: active transponder and passive transponder,

[0075] Wherein, if the transponder type is an active transponder, determining whether the message type is a default message, and identifying the default message type;

[0076] The default message types include: transponder default message, LEU default message and interlocking default message.

[0077] Wherein, the value of the message counter data bit in the message data is obtained to determine whether the received message is a default message;

[0078] If it is determined to be a default message, the specific values ​​of the two data bits of the communication status between the interlocking and LEU device and the communication status between the LEU device and the transponder are obtained, and the default message type is identified through logical judgment.

[0079] S4. Parse the message data according to the transponder type.

[0080] Wherein, based on the transponder type and the message data type, in combination with the corresponding standard message protocol, the interpretation corresponding to each data bit in the message data is confirmed one by one;

[0081] The interpretation of each data bit is recorded and output to the visual interface for display.

[0082] Specifically,

[0083] 1. Transponder message input and screening.

[0084] 1. Get input data.

[0085] The user can manually enter the exact transponder message, or copy a piece of data containing the transponder message.

[0086] 2. Identify and filter to obtain message data.

[0087] Identify and filter input data based on pre-set standard message protocols.

[0088] Frame flag data is acquired according to a preset standard message protocol, and matching frame flag data in the input data is identified; and transponder message data in the data is extracted according to the identified frame flag data.

[0089] Assuming that the transponder message protocol uses 50-bit frame flag data, read the first 50 bits of data one by one and compare them with the frame flag data value. When it is detected that a certain 50-bit data segment in the input data is consistent with the frame flag data in the standard message protocol, it is determined that valid transponder message data is identified, and the transponder message data is filtered out based on the position of the segment of data.

[0090] 2. Analysis of message data accuracy.

[0091] The screened transponder message data is compared and verified with the preset standard message protocol, including comparing whether the structure, field content, data type and other information of the message data are consistent; if the transponder message data is consistent with the standard message protocol, the message data is judged to be valid message data.

[0092] 3. Identification of transponder type and default message type.

[0093] 1. Identify the transponder type and message type.

[0094] There are two types of transponders: active and passive, which can be distinguished by identifying the application package information contained in the transponder message data.

[0095] According to the different combinations of application packages in the transponder message data, the type of transponder can be identified. In actual troubleshooting work, identifying the transponder type can achieve the effect of simplifying the troubleshooting steps.

[0096] According to the standard message protocol, the transponder message data usually contains multiple application packages. Each application package has a unique identifier for identifying the type of the application package; different transponder message types can be identified according to different combinations of application packages in the transponder message data.

[0097] The transponder message information includes a variety of application packages containing different information, such as a map version information application package, a public information application package, a manufacturer-defined information application package, a city-defined information application package, and the like.

[0098] Passive balises usually only have positioning functions, so the passive balise message only contains map version information application packages; active balises need to send operating instructions to the train in real time, so the active balise message contains multiple information application packages, such as: location report application package, speed report application package, response confirmation application package, status report application package, etc.

[0099] The transponder type can be identified based on the different application package combinations contained in the transponder message data.

[0100] 2. Identify the message type.

[0101] Further, if the transponder type is identified as an active transponder, it is determined whether the message data type is a normal message or a default message.

[0102] If there is a communication failure between the active balise and the trackside electronic unit - LEU, or a communication failure between the LEU and the interlocking device, the message in the active balise will become three different types of default messages, namely the balise default message, the LEU default message and the interlocking default message.

[0103] Currently, existing analysis tools can only identify the difference between passive and active transponders, but there is no detailed distinction between the default message types in active transponder messages. When troubleshooting message problems, the only way to judge is to manually compare the protocols one by one, which is cumbersome and consumes a lot of time and energy.

[0104] In this embodiment, a logical judgment can be performed based on the actual values ​​of multiple related information bits in the active transponder message to distinguish the default message type, including:

[0105] Obtain the specific value of the message counter data bit in the message data to determine whether the received message is a normal message or a default message;

[0106] If it is determined to be a default message, the specific values ​​of the two data bits of the communication status between the interlocking and LEU device and the communication status between the LEU device and the transponder are obtained, and the default message type is identified through logical judgment.

[0107] In the active transponder message, the specific value of the "message counter" data bit can be used to determine whether the received message is a normal message or a default message. For example, the message counter value of a normal message is 0; the message counter value of a default message is 1.

[0108] If it is determined to be a default message, two data bits showing the communication status of the transponder link are further obtained in the message data: the communication status between the interlock and the LEU device, and the communication status between the LEU device and the transponder. In the signal system, the communication link from the interlock to the transponder is: interlock-LEU-transponder. When it is detected that the message status in the message data is a default message, the values ​​of the two data bits of the communication status between the interlock and the LEU device and the communication status between the LEU device and the transponder are obtained, and a logical judgment is performed:

[0109] 1) If the interlocking and LEU communicate normally, and the LEU and the transponder communicate normally, then the default message is judged to be the interlocking default message;

[0110] 2) If the interlocking and LEU communication fails and the LEU and the transponder communicate normally, the default message is judged to be the LEU default message;

[0111] 3) If the communication between the interlock and LEU fails, the communication between the LEU and the transponder fails, or the communication between the interlock and LEU is normal, and the communication between the LEU and the transponder fails, then the default message is determined to be the transponder default message.

[0112] In this embodiment, a decision tree algorithm or a neural network model may be used for logical judgment, which is prior art and will not be described in detail here.

[0113] Furthermore, the identified transponder type and default message type can be output to a visual interface and displayed to users, which can save the process of manual search, comparison, calculation and logical judgment, thereby improving work efficiency.

[0114] 4. Message data analysis

[0115] According to the identified transponder type and message data type, the corresponding interpretation of each data bit in the message data is confirmed one by one by comparing with the standard message protocol, including:

[0116] Based on the transponder type and message data type, combined with the corresponding standard message protocol, obtain the definition of message structure, fields and encoding methods, as well as the meaning and explanation of each field;

[0117] Analyze the message structure and obtain the position and length of each field in the message;

[0118] Find the meaning of each field according to the definition in the standard message protocol;

[0119] Compare each field in the message data with the standard message protocol to confirm the specific meaning of each field;

[0120] The interpretation of each data bit or field is recorded and output to a visual interface for display.

[0121] In this embodiment, it also includes: if it is identified during the parsing process that there is an error in the format or content of the message data, an error reminder carrying the error information is generated and output to the visual interface for display.

[0122] The error information includes but is not limited to: the overall length of the message, whether each bit of data complies with the provisions of the standard message protocol; whether the content of the data bit is legal, whether it complies with the value range specified in the standard message protocol, etc.

[0123] In this embodiment, based on the standard 830-byte message specification, combined with CRC cyclic redundancy check technology, the transponder message data comparison, verification, analysis and error correction functions can be realized. The introduction of CRC check technology can greatly improve the security and accuracy of the transponder message analysis results.

[0124] In this embodiment, an application program that applies the transponder message method can be developed based on the Java language and run on a PC or mobile terminal during on-site analysis operations. This can cover complex and changeable on-site operation environments and improve applicability.

[0125] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0126] See attached Figure 2 , shows the structure of a transponder message parsing system for implementing the above method, including a message identification module, a message verification module, a type identification module, and a message parsing module.

[0127] The message identification module is used to identify and filter input data based on a preset standard message protocol to obtain message data;

[0128] The message verification module is used to verify whether the message data is valid message data;

[0129] The type identification module is used to identify the transponder type and message type corresponding to the message data if the message data is valid message data;

[0130] The message parsing module is used to parse the message data according to the transponder type.

[0131] In addition, an embodiment of the present invention further provides a transponder message parsing device, including:

[0132] The message identification module identifies and filters the message data based on a preset standard message protocol and verifies the validity of the message data; wherein the identification and filtering of the message data is performed by identifying the matching frame flag bit data in the data.

[0133] The type identification module identifies the transponder type and the message type corresponding to the message data. If the transponder type is an active transponder, the default message type is further identified; wherein the default message type includes: transponder default message, LEU default message and interlocking default message.

[0134] The message parsing module parses the message data according to the transponder type; wherein, in combination with the corresponding standard message protocol, the interpretation corresponding to each data bit in the message data is confirmed one by one, the interpretation of each data bit is recorded, and output to the visual interface for display.

[0135] Based on the same inventive concept, the present invention also provides a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned transponder message parsing method.

[0136] like Figure 3 As shown, an embodiment of the present invention further provides a device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus.

[0137] The memory is a computer-readable storage medium for storing one or more programs.

[0138] The processor is used to execute the program stored in the computer-readable storage medium.

[0139] The computer-readable storage medium may be included in the device / apparatus described in the above embodiments; or may exist independently without being assembled into the device / apparatus.

[0140] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A transponder message parsing method, It is characterized in that include: Identify and filter input data based on a preset standard message protocol to obtain message data; Verifying whether the message data is valid message data; If the message data is valid message data, then identify the transponder type and message type corresponding to the message data; wherein, the identifying the transponder type corresponding to the message data includes: identifying the application package contained in the message data, and identifying the transponder type according to the combination method of the application package; the transponder type includes: active transponder and passive transponder; if the transponder type is an active transponder, then determine whether the message type is a default message, and identify the default message type; the default message type includes: transponder default message, LEU default message and interlocking default message; the determining whether the message type is a default message and identifying the default message type includes: obtaining the value of the message counter data bit in the message data, Determine whether the received message is a default message; if it is determined to be a default message, obtain the specific values ​​of two data bits of the communication status between the interlock and the LEU device and the communication status between the LEU device and the transponder, and identify the default message type through logical judgment; the identification of the default message type through logical judgment includes: if the communication between the interlock and the LEU is normal, and the communication between the LEU and the transponder is normal, then determine that the default message is an interlock default message; if the communication between the interlock and the LEU fails, and the communication between the LEU and the transponder is normal, then determine that the default message is a LEU default message; if the communication between the interlock and the LEU fails, and the communication between the LEU and the transponder fails, or the communication between the interlock and the LEU is normal, and the communication between the LEU and the transponder fails, then determine that the default message is a transponder default message; The message data is parsed according to the transponder type and the message type.

2. The method according to claim 1, It is characterized in that The step of identifying and screening the data based on a preset standard message protocol to obtain message data includes: Based on a preset standard message protocol, identifying frame flag bit data that matches in the data; According to the identified frame flag data, the transponder message data in the data is extracted.

3. The method according to claim 1, It is characterized in that The verifying whether the message data is valid message data includes: The message data is compared and verified with the standard message protocol. If the message data is consistent with the standard message protocol, it is confirmed as valid message data.

4. The method according to any one of claims 1 to 3, It is characterized in that The parsing of the message data according to the transponder type includes: Based on the transponder type and the message data type, combined with the corresponding standard message protocol, confirm the interpretation corresponding to each data bit in the message data one by one; The interpretation of each data bit is recorded and output to the visual interface for display.

5. A transponder message parsing system, It is characterized in that The system comprises: A message identification module is used to identify and filter input data based on a preset standard message protocol to obtain message data; A message verification module, used to verify whether the message data is valid message data; A type identification module, for identifying the transponder type and message type corresponding to the message data if the message data is valid message data; wherein, identifying the application package contained in the message data, and identifying the transponder type according to the combination of the application package; the transponder type includes: active transponder and passive transponder; if the transponder type is an active transponder, determining whether the message type is a default message and identifying the default message type; the default message type includes: transponder default message, LEU default message and interlocking default message; determining whether the message type is a default message and identifying the default message type includes: obtaining the value of the message counter data bit in the message data, determining whether the received message is a default message, and identifying the default message type; whether the message is a default message; if it is determined to be a default message, the specific values ​​of the two data bits of the communication status between the interlock and the LEU device and the communication status between the LEU device and the transponder are obtained, and the default message type is identified by logical judgment; the identification of the default message type by logical judgment includes: if the communication between the interlock and the LEU is normal, and the communication between the LEU and the transponder is normal, then the default message is judged to be an interlock default message; if the communication between the interlock and the LEU fails, and the communication between the LEU and the transponder is normal, then the default message is judged to be an LEU default message; if the communication between the interlock and the LEU fails, and the communication between the LEU and the transponder fails, or the communication between the interlock and the LEU is normal, and the communication between the LEU and the transponder fails, then the default message is judged to be a transponder default message; The message parsing module is used to parse the message data according to the transponder type and the message type.

6. The system according to claim 5, It is characterized in that The message identification module is further configured to: Based on a preset standard message protocol, identifying frame flag bit data that matches in the data; According to the identified frame flag data, the transponder message data in the data is extracted.

7. A system according to any one of claims 5 to 6, It is characterized in that The message parsing module is also configured to: Based on the transponder type and the message data type, combined with the corresponding standard message protocol, confirm the interpretation corresponding to each data bit in the message data one by one; The interpretation of each data bit is recorded and output to the visual interface for display.

8. A computer-readable storage medium storing one or more programs, It is characterized in that When the one or more programs are executed, the transponder message parsing method described in any one of claims 1 to 4 can be implemented.

9. An electronic device comprising a processor, a communication interface, the computer-readable storage medium of claim 8, and a communication bus; in, The processor, the communication interface, and the computer-readable storage medium communicate electronically with each other via a communication bus; characterized in that: The processor is configured to execute a program stored in a computer-readable storage medium.