A CTC and CBI interface optimization method

By optimizing the representation information frame, change representation information frame and code bit definition table of the CTC and CBI interfaces, the existing interface has high complexity, low bandwidth utilization and difficult verification work, and a simpler data production, more efficient information transmission and more efficient verification process are achieved.

CN115632744BActive Publication Date: 2025-05-02SIGNAL & COMM RES INST OF CHINA ACAD OF RAILWAY SCI +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211151408.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2025-05-02
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

The existing code bit definition tables of CTC and CBI interfaces are complex, resulting in the large workload of converting data from CTC production interfaces, high processing complexity, low bandwidth utilization, and high verification workload and high difficulty.

Method used

By optimizing the representation information frame, change representation information frame and code bit definition table, the encoding value composed of multiple bits is used to represent the object state, multiple bytes are used to represent the change in the object state, and the object type and name are recorded in the code bit definition table.

Benefits of technology

The content of the code bit definition table is simplified, the workload of CTC production interface conversion data is reduced, the effective utilization rate of bandwidth is improved, the task volume and difficulty of verification work is reduced, and the efficiency and accuracy of verification is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115632744B_ABST
    Figure CN115632744B_ABST
Patent Text Reader

Abstract

The present invention discloses a CTC and CBI interface optimization method. By optimizing a code position definition table, the content of the code position definition table can be simplified, and the workload of converting data in a CTC interface can be reduced; by optimizing the data content of a representation information frame and a change representation information frame, the processing complexity can be reduced, which is more conducive to the correct and stable operation of the interface, while improving the effective utilization rate of bandwidth and increasing the transmission efficiency of useful information; in addition, after realizing a one-to-one mapping between an object state and a corresponding code in a representation information frame, when verifying the representation consistency of CTC and CBI in an application, it is no longer necessary to verify each state of each object one by one, so that the verification workload is significantly reduced, and the work difficulty is also greatly reduced. It is no longer necessary to make corresponding conditions for each state, which not only means a reduction in the experience requirement for the verification personnel, but also avoids the occurrence of missed individual state detection due to negligence or lack of experience, thereby ensuring the efficiency and accuracy of the verification work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a CTC and CBI interface optimization method. Background Art

[0002] The interface between the centralized dispatching (CTC) and computer interlocking (CBI) is mainly used to complete the communication function between CTC and CBI. The information sent by CBI to CTC is the important basic information of the CTC system.

[0003] According to the requirements of existing specifications, in the representation information frame (SDI) transmitted by the interface, the representation information is transmitted in the form of a bit stream, and each bit can only represent a certain state of a certain object. Since the whole station representation information is sent in the form of a bit stream, the change representation information frame (SDCI) can only be defined by specifying the position of the changed bit in the whole station representation bit stream and whether the bit becomes 1 or 0. The format and data definition diagrams of the existing representation information frame and the change representation information frame are shown in the following figure. Figure 1 and Figure 2 shown.

[0004] As mentioned before, the information is sent in the form of a bit stream, and one bit can only represent a certain representation of a certain signal device in the station. For example, a signal light has 16 representation states, namely red, yellow, green-yellow, green, double yellow, double green, yellow flashing yellow, red and white, white, broken wire, light off, 15-second delay sign, 30-second delay sign, 60-second delay sign, 180-second delay sign and 240-second delay sign. In the transmitted representation information bit stream, there will be 16 bits corresponding to these 16 representation states. When a state is valid, the corresponding bit is set to 1, and when a state is invalid, the corresponding bit is set to 0.

[0005] After receiving the representation information frame sent by CBI, CTC needs to parse it and then convert it into the representation information inside CTC. Since each bit in the data part of the representation information frame has a unique corresponding representation state, CTC needs to understand the meaning of each bit to complete the parsing. At this time, CBI needs to provide a code point definition table to explain the meaning of each bit in the bit stream of the representation information frame in order.

[0006] When only the status of individual objects changes, CBI will send a change indication information frame, using two bytes to represent the change of a certain bit. The highest bit of the two bytes is used to indicate the value of the bit after the change, and the remaining bits indicate the order of the bit in the bit stream of the information frame. For example, a certain bit represents the track IG occupancy, and the order in the bit stream of the information frame is 1000 (starting from 1). The bit changes from 1 to 0, which means that the IG occupancy is cleared. At this time, if a change indication information frame is sent, the two bytes corresponding to the data content should be 0xe8 and 0x03 respectively, 0xe8 is the low byte, 0x03 is the high byte, the highest bit is 0, indicating that the bit changes to 0, and the remaining bits are 0x3e8 in hexadecimal, which is 1000 in decimal, indicating that the bit is the 1000th bit in the bit stream of the information frame.

[0007] The above technical solutions mainly have the following technical problems:

[0008] (1) The code definition table provided by computer interlocking is complex and requires explanation of the meaning of each bit in the bit stream representing the information frame. The workload of CTC in making interface conversion data based on the code definition table is large.

[0009] (2) Some of the states of some objects will not appear at the same time, but the sender must send all the bits representing the state of the object each time it sends a frame representing information. For example, one of the red, yellow, green-yellow, green, double yellow, double green, yellow flashing yellow, red-white, white, and broken wire of a traffic light must be valid, but conflicts between the states do not allow them to be valid at the same time. This increases the complexity of sending and receiving, and both parties need to take additional precautions against the situation where conflicting states are valid at the same time.

[0010] (3) For objects that represent more states, such as traffic lights, in the information frame, the multiple bits that represent their states contain very little valid information. It may take 16 bits to define a traffic light, but only three bits are truly valid: one for the light color state, one for the light on / off state, and one for the delay state. This results in low bandwidth utilization.

[0011] (4) The verification of interface data is a heavy and difficult task. Before the decentralized autonomous function is opened at a station, it is necessary to check the consistency of the CTC and CBI displays, that is, to verify the interface data. In order to ensure that the information conversion is accurate, it is necessary to test each bit one by one, make conditions on the CBI side, and then check whether the CTC is consistent with the CBI. The workload is large, extremely labor-intensive, and has high requirements for the skills and experience of the testers. When encountering a complex station type and a large number of objects in the station, there are thousands or even tens of thousands of verification items, which may take an experienced tester 5 to 10 working days to complete. Summary of the invention

[0012] The purpose of the present invention is to provide a CTC and CBI interface optimization method, which can simplify the content of the code definition table, reduce the workload of interface data production, improve the effective utilization of bandwidth, and reduce the workload and difficulty of verification work.

[0013] The objective of the present invention is achieved through the following technical solutions:

[0014] A CTC and CBI interface optimization method, comprising:

[0015] The representation information frame, change representation information frame, and code point definition table transmitted by the CTC and CBI interfaces are optimized, wherein: the optimized code point definition table records the corresponding object type and object name in order; the optimized representation information frame contains a coding value composed of multiple bits to represent the state of each object, and the bit length corresponding to each type of object is different, and for each type of object, each coding value corresponds to a unique object state one by one; the optimized change representation information frame uses multiple bytes to represent the change of each object state, a part of the bytes represents the new state of the object after the change, and the other part of the bytes represents the order of the object in the code point definition table;

[0016] After receiving the optimized representation information frame and / or the optimized change representation information frame transmitted by the CBI, the CTC performs content parsing according to the optimized code point definition table provided by the CBI.

[0017] It can be seen from the technical solution provided by the present invention that by optimizing the code position definition table, the content of the code position definition table can be simplified and the workload of converting data in the CTC production interface can be reduced; by optimizing the data content of the representation information frame and the change representation information frame, the processing complexity can be reduced, which is more conducive to the correct and stable operation of the interface, while improving the effective utilization of bandwidth and increasing the transmission efficiency of useful information; in addition, after realizing the one-to-one mapping between the object state and the corresponding encoding in the representation information frame, when verifying the representation consistency of CTC and CBI in the application, it is no longer necessary to verify each state of each object one by one, so that the verification workload is significantly reduced, and the work difficulty is also greatly reduced. It is no longer necessary to make corresponding conditions for each state, which not only means a reduction in the experience requirements for the verification personnel, but also avoids the occurrence of missed individual states due to negligence or lack of experience, thereby ensuring the efficiency and accuracy of the verification work. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0019] Figure 1 A schematic diagram of the format and data definition of an existing information frame provided as the background technology of the present invention;

[0020] Figure 2 A schematic diagram of the format and data definition of an existing change representation information frame provided as the background technology of the present invention;

[0021] Figure 3 A flowchart of a CTC and CBI interface optimization method provided by an embodiment of the present invention;

[0022] Figure 4 A schematic diagram comparing the formats of the existing and optimized code position definition tables provided in an embodiment of the present invention;

[0023] Figure 5 A schematic diagram showing the optimized information frame format and data content definition provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of a signal state representation method provided by an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of a turnout state representation method provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of a segment status representation method provided by an embodiment of the present invention;

[0027] Fig. 9 A schematic diagram of a method for representing the status of a routing button provided in an embodiment of the present invention;

[0028] Fig.10 A schematic diagram of a function button status representation method provided by an embodiment of the present invention;

[0029] Fig.11 A schematic diagram of a light status representation method provided by an embodiment of the present invention;

[0030] Fig.12 A schematic diagram of an alarm status representation method provided by an embodiment of the present invention;

[0031] Fig.13 A schematic diagram of an extended object state representation method provided by an embodiment of the present invention;

[0032] Fig.14 A schematic diagram of the optimized change representation information frame format and data content definition provided by an embodiment of the present invention;

[0033] Fig.15A schematic diagram of an example of filling in a single object in the data content of an optimized change representation information frame provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 protection scope of the present invention.

[0035] First, the terms that may be used in this article are explained as follows:

[0036] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.

[0037] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.

[0038] The following is a detailed description of a CTC and CBI interface optimization solution provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professionals in the field. If no specific conditions are specified in the embodiments of the present invention, the conventional conditions in the field or the conditions recommended by the manufacturer shall be followed.

[0039] The embodiment of the present invention provides a CTC and CBI interface optimization method, such as Figure 3 As shown, it mainly includes the following:

[0040] 1. Optimize the representation information frame, change representation information frame, and code point definition table transmitted by the CTC and CBI interfaces.

[0041] Specifically: the optimized code point definition table records the corresponding object types and object names in order; the optimized representation information frame contains a coding value composed of multiple bits to represent the state of each object, each type of object corresponds to a different bit length, and for each type of object, each coding value corresponds to a unique object state one by one; the optimized change representation information frame uses multiple bytes to represent the change of each object state, one part of the bytes represents the new state of the object after the change, and the other part of the bytes represents the order of the object in the code point definition table.

[0042] In the embodiment of the present invention, the object mainly refers to the station field object, which represents the object constituting the station field display.

[0043] In an embodiment of the present invention, for each type of object, each coding value corresponds one-to-one to a unique object state, which means that each state of an object of the same type has a unique coding value; the coding values ​​of objects of different types may be the same, but the meaning can only be the meaning corresponding to the coding value of the respective type of object.

[0044] 2. After receiving the optimized representation information frame and / or the optimized change representation information frame transmitted by the CBI, the CTC performs content parsing according to the optimized code point definition table provided by the CBI.

[0045] After optimizing the representation information frame, the change representation information frame, and the code position definition table based on the above method, the CBI provides the optimized code position definition table to the CTC. The CBI generates the optimized representation information frame and / or the optimized change representation information frame according to the actual situation, and then transmits it to the CTC. The CTC parses the received optimized representation information frame and / or the optimized change representation information frame in combination with the optimized code position definition table. The process involved in this part can refer to conventional technology and will not be elaborated in the present invention.

[0046] In order to more clearly demonstrate the technical solution and the technical effects provided by the present invention, the solutions for optimizing the representation information frame, the change representation information frame, and the code position definition table are respectively introduced in detail below.

[0047] 1. Optimization plan for code point definition table.

[0048] The code point definition table is not clearly defined in the standard specification, but can be determined by negotiation between the two parties. In current applications, it is basically given in large queue bit order.

[0049] In the embodiment of the present invention, the format of the code position definition table is redefined, and the corresponding object types and object names are recorded in the order of each object in the optimized representation information frame. There is no need to give the meaning of each bit in order. The objects in each station are clear at a glance, the content is clear, and the key points are highlighted, which is conducive to the interaction between the communicating parties, thereby making the CTC interface data conversion production simpler.

[0050] like Figure 4 As shown, a schematic diagram comparing the existing and optimized code point definition table formats is provided.

[0051] 2. Optimization scheme for representing information frames.

[0052] The optimized data part of the information frame records the state of each object in order, and all states are uniformly coded; for each type of object, each state corresponds to its code one by one, and the correspondence is unique and unambiguous. The problem of several bits representing conflicting states being valid at the same time, which may occur in the existing definition method, will not occur. The sender (CBI) and the receiver (CTC) no longer need to consider the problem of state conflicts, thereby reducing processing complexity and being more conducive to the correct and stable operation of the interface. Specifically:

[0053] The data content in the information frame is still transmitted in the form of code bits, but it is no longer required to use each bit in the code bit byte to represent a single state of an object. Instead, a coded value (hexadecimal) composed of multiple bits is used to represent the state of the object. The meaning of each coded value is unique and unambiguous. In the embodiment of the present invention, in the optimization scheme for representing the information frame, the data content is mainly optimized, and the remaining parts (for example, the frame header and head, data length, tail and frame tail) are the same as the existing scheme and are not repeated.

[0054] The optimized information frame format and data content definition diagram is as follows Figure 5 As shown, the object types include: signal machines, switches, sections, routing buttons, function buttons, indicator lights, alarms, and extended objects. The status of the above types of objects is recorded in order in the data content representing the information frame. CBI fills the multiple bits representing the status of each object into the data part in sequence according to the order of the objects in the code definition table, and fills the part at the end of the data content that is less than one byte with 0 to make up a byte; CTC obtains the multiple bits representing the status of each object from the data part according to the order of the objects in the code definition table and the optimized coding definition of each type of object status, and then parses and converts them. No additional analysis and judgment is required, and the 0 added at the end of the data content to make up a byte will not be processed. The end of the data content described here is also the rear position of the extended object, which means that the number of bits of the entire data content needs to be an integer multiple of 8.

[0055] Figure 5 In the figure, n represents the number of objects of each type. The symbol n is a general term and does not mean that the number of objects of all types is the same. For example, for a signal, n can be 10, and for a section, n can be 5. m is the bit length of the extended object status negotiated by both parties. The symbol m is also a general term and both parties may extend multiple types of objects. It does not mean that the bit length of the status of all extended type objects is m. For example, if the derailer object is extended, m can be negotiated to 4; if the crossing object is extended at the same time, m can be negotiated to 8.

[0056] Based on the above optimization, since the state codes of various objects are clearly defined, if CTC receives an undefined code value, it can directly direct it to the security side and update the local object state to the security side representation state. The security strategy is simple and effective, ensuring the security of the system. In addition, the use of multiple bits to uniformly encode and carry valid information together can not only include various state information in the current application, but also reserve enough code bits for subsequent expansion, with high bandwidth utilization.

[0057] The following is an introduction to the state representation of each object.

[0058] 1. Signal status indication method.

[0059] In the embodiment of the present invention, the state of the signal is represented by a plurality of bits, a part of the bits are used to represent the display state of the signal, and another part of the bits are used to represent the delay flag of the corresponding display state of the signal.

[0060] like Figure 6 As shown, a schematic diagram of the signal state representation method is provided, in which the signal state is defined as 16 bits, with the low byte in front and the high byte in the back. For example, if the current state of a traffic light is a single blue light, which is on and has a 30-second delay mark, the code representing its state is 0x10 (low byte) and 0x04 (high byte). Specifically, the low byte represents the light color display of the traffic light. If it is a single blue light, it should be 0x10. The high byte consists of three parts. The reserved bits 15 to 12 are all 0, which is 0000 in binary. The hexadecimal representation of these four bits is 0x0. The delay mark bits 11 to 9 are 010 in binary if there is a 30-second delay mark, and the hexadecimal representation of these three bits is 0x2. The on-off state bit 8 is 0 in binary if it is on, and the hexadecimal representation of this one bit is 0x0. Finally, the high byte representing the state of the traffic light is 0000 010 0 in binary, and the hexadecimal representation of these eight bits is 0x04.

[0061] 2. How to indicate the turnout status.

[0062] In the embodiment of the present invention, the switch status is represented by multiple bits, which are divided into four parts: a switch fixed reverse position representation part, a single lock representation part, a block representation part, and a reserved expandable part.

[0063] like Figure 7 As shown, a schematic diagram of the turnout status representation method is provided, in which the turnout status is defined as 8 bits. For example, if the current status of a turnout is positioning, no single lock, and blocked, the encoding value representing its status is 0x09; specifically: the turnout status is displayed with 8 bits, the reserved bit7-bit4 are all 0, the binary is 0000, and the hexadecimal representation of these four bits is 0x0; the blocking flag bit3, if there is blocking, the binary is 1, and the hexadecimal representation of this 1 bit is 0x1; the single lock flag bit2, if there is no single lock, the binary is 0, and the hexadecimal representation of this 1 bit is 0x0; the positioning inversion bit state bit1-bit0, the binary is 01, and the hexadecimal representation of these 2 bits is 0x1; the 8 bits representing the turnout in the end are: 0000 1 0 01 in binary, and the hexadecimal representation of these 8 bits is 0x09.

[0064] 3. Segment status representation method.

[0065] In the embodiment of the present invention, the segment status is represented by multiple bits, one part is used to represent the segment occupation, locking and idle status, and the other part is reserved for expansion.

[0066] like Figure 8 As shown, a schematic diagram of a segment status representation method is provided. In the schematic diagram, the segment status is defined as 8 bits. For example, if the current status of a segment is locked, the encoding value representing its status is 0x02.

[0067] 4. How to indicate the status of routing buttons.

[0068] In the embodiment of the present invention, the state of the routing button is represented by multiple bits, which are divided into three parts: a part representing whether the routing button is blocked, a part representing whether the routing button is pressed, and a reserved expandable part.

[0069] like Fig. 9 As shown, a schematic diagram of the routing button status representation method is provided, in which the routing button status is defined as being represented by 4 bits.

[0070] For example, if the current state of a routing button is blocked and not pressed, the encoding value representing its state is 0x2; specifically: the routing button state is displayed with 4 bits, the reserved bit3-bit2 are all 0, the binary is 00, and the hexadecimal representation of these 2 bits is 0x0; whether it is blocked flag bit1, if blocked, the binary is 1, and the hexadecimal representation of this 1 bit is 0x1; whether it is pressed flag bit0, if not pressed, the binary is 0, and the hexadecimal representation of this 1 bit is 0x0; finally, the 4 bits representing the routing button are: 00 1 0 in binary, and the hexadecimal representation of these 4 bits is 0x2.

[0071] 5. Function button status indication.

[0072] In the embodiment of the present invention, the function button state is represented by multiple bits, one part is used to represent whether the function button is pressed, and the other part is a reserved expandable part.

[0073] like Fig.10 As shown, a schematic diagram of a function button status representation method is provided. In the schematic diagram, it is defined that the function button status is represented by 4 bits. For example, if the current status of a function button is pressed, the encoding value representing its status is 0x1.

[0074] 6. Indicator light status indication method.

[0075] In the embodiment of the present invention, a plurality of bits are used to represent the state of the light, one part of which is used to represent the light color state, and the other part of which is used to represent whether the light is flashing.

[0076] like Fig.11 As shown, a schematic diagram of the light status representation is provided, in which the light status is defined to be represented by 4 bits. For example, if the current status of a light is green flashing, the encoding value representing its status is 0xb; specifically: the light status is displayed by 4 bits, whether it is flashing status bit3, if it is flashing, the binary is 1, and the hexadecimal representation of this 1 bit is 0x1; the light color status bit2-bit0, green is 011 in binary, and the hexadecimal representation of these 3 bits is 0x3; finally, the 4 bits representing the light are: 1 011 in binary, and the hexadecimal representation of these 4 bits is 0xb.

[0077] 7. Alarm status indication method.

[0078] In the embodiment of the present invention, the alarm state is represented by multiple bits, one part is used to represent the light color state, and the other part is used to represent whether the light is flashing.

[0079] like Fig.12As shown, a schematic diagram of the alarm status representation method is provided. In the schematic diagram, the alarm status is defined as 4 bits. For example, if a certain alarm has a corresponding alarm light and the current state is red, the encoding value representing its state is 0x1.

[0080] 8. Expand the object status representation method.

[0081] In the embodiment of the present invention, in addition to the above seven types of objects, other types of object representation states need to be interacted through interfaces. The CTC and CBI negotiate to determine the bit length representing the object state (generally not more than 16 bits), the code value corresponding to each state, and the order of the objects in the code point definition table, such as Fig.13 As shown, a schematic diagram of the extended object state representation is provided.

[0082] 3. Optimization scheme for changing the representation information frame.

[0083] Similarly, in the optimization scheme for the change representation information frame, the data content is mainly optimized, and the rest (for example, the frame header and head, data length, tail and frame tail) are the same as the existing scheme, so they are not repeated.

[0084] In the embodiment of the present invention, the optimized change representation information frame uses a uniform number of bytes (for example, four bytes) to represent the change of each object state; for multiple bytes representing a certain object information in the data content, the number of bytes is divided into a low byte part and a high byte part, with the low byte part in front and the high byte part in the back; the low byte part represents the order of the object in the code point definition table, which is used to determine the type of the object; the high byte part represents the new state of the object after the change. Fig.14 As shown, a schematic diagram of an optimized change representation information frame is provided. Fig.14 In the figure, the symbol n is also a general term, indicating the number of objects. Assuming n=5, it means that the change information frame contains information of 5 objects, and the data length is 4*5 bytes.

[0085] As mentioned above, in the embodiment of the present invention, for different types of objects, the number of bits representing their status is different, and the change of each object state is represented by a unified number of bytes. The sender and the receiver need to process as follows: When the sender sends, fill in the two bytes representing the new state of the object in the change information frame, and fill in all other bits not involved with 0; when the receiver receives, first determine the type of the object according to the order of the object in the code definition table, and then, according to the type, intercept the bits of the corresponding length from the two bytes representing the changed state, and do not read or use the other bits not involved. The optimized change represents that the data content of a single object is filled in as follows: Fig.15 shown.

[0086] Based on the above optimization, the logic of sending and receiving change representation information frames is simpler. When the object state changes, the sender only needs to send the new state code, and the receiver only needs to translate the received code and then update the local object state.

[0087] The above solution provided by the embodiment of the present invention mainly achieves the following beneficial effects:

[0088] (1) The optimized code definition table is more concise, and the objects in the entire station are clear at a glance, which is conducive to communication and interaction between the two parties of the interface, and can make the CTC interface conversion data production simpler, and improve data production efficiency and accuracy.

[0089] (2) After the data content of the information frame is redefined, the state of each object corresponds to its code uniquely and without ambiguity. The sender and receiver no longer need to consider the problem of state conflict, thereby reducing processing complexity and being more conducive to the correct and stable operation of the interface.

[0090] (3) Since the status codes of various objects are clearly defined, if CTC receives an undefined code value, it can directly direct it to the security side and update the local object status to the security side representation status. The security policy is simple and effective, ensuring system security.

[0091] (4) Multiple bits representing the status of various objects are uniformly encoded. Each bit no longer has a separate meaning. Multiple bits carry effective information together. They not only include various status information in the current application, but also reserve enough code bits for subsequent expansion. The effective utilization rate of bandwidth is significantly improved.

[0092] (5) The logic of sending and receiving change representation information frames is simpler. When the state of an object changes, there is no need to first send the old state invalid and then send the new state valid according to the existing implementation method. The sender only needs to use the change representation information frame to send the code corresponding to the changed state, and the receiver only needs to translate and convert the received code and then update the local object state.

[0093] (5) After the one-to-one mapping between the object state and the corresponding code in the representation information frame is realized at the software level, when verifying the consistency of the representation of CTC and CBI in the application, it is no longer necessary to verify each state of each object one by one. It is only necessary to simply verify that 1 to 2 states are consistent to prove that the association between an object on the CTC side and an object on the CBI side is correct. Obviously, the verification workload is significantly reduced, and the difficulty of the work is greatly reduced. It also avoids the occurrence of missing individual states due to negligence or lack of experience, thereby ensuring the efficiency and accuracy of the verification work.

[0094] In summary, based on the interface optimization method provided by the present invention, the processing logic for both the sender and the receiver is simplified, and the meaning of each code is clearer when the two parties interact, and the transmission efficiency of effective information is higher, which is conducive to the stable, safe and efficient operation of the system. On the other hand, after the implementation of this solution, the workload of interface data verification can be greatly reduced, the difficulty of work can be reduced, the work efficiency can be effectively improved, and the investment cost can be reduced, which has practical significance.

[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiments can be implemented by software, or by means of software plus necessary general hardware platforms. Based on such understanding, the technical solutions of the above embodiments can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0096] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention 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 invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A CTC and CBI interface optimization method, characterized in that: include: The representation information frame, change representation information frame, and code position definition table transmitted by the CTC and CBI interfaces are optimized, wherein: the optimized code position definition table records the corresponding object types and object names in order, including: the optimized code position definition table records the corresponding object types and object names in the order of each object in the optimized representation information frame; the optimized representation information frame contains a coding value composed of multiple bits to represent the state of each object, each type of object corresponds to a different bit length, and for each type of object, each coding value corresponds to a unique object state one by one; the optimized change representation information frame uses multiple bytes to represent the change of each object state, a part of the bytes represents the new state of the object after the change, and the other part of the bytes represents the order of the object in the code position definition table; After receiving the optimized representation information frame and / or the optimized change representation information frame transmitted by the CBI, the CTC performs content parsing according to the optimized code point definition table provided by the CBI; The data part of the optimized representation information frame records the status of each object in order, and the object types include: signal, turnout, section, route button, function button, indicator light, alarm, and extended object; the CBI fills multiple bits representing the status of each object into the data part in order, and fills the part of the data content that is less than one byte with 0 to make it a byte; CTC obtains multiple bits representing the status of each object from the data part according to the order of the optimized code position definition table and the optimized definition of the status code of each object, and then performs parsing and conversion, and the 0 added at the end of the data content to make it a byte is not processed; The optimized change represents that a uniform number of bytes is used in the information frame to represent the change of each object state; for multiple bytes representing information of a certain object in the data content, the number of bytes is divided into a low-byte part and a high-byte part, with the low-byte part in front and the high-byte part in the back; the low-byte part represents the order of the object in the code point definition table, which is used to determine the type of the object; the high-byte part represents the new state of the object after the change.

2. A CTC and CBI interface optimization method according to claim 1, characterized in that: The optimized content representing the state of each object in the information frame includes: The signal state is represented by multiple bits, a part of the bits are used to represent the display state of the signal, and another part of the bits are used to represent the delay flag of the corresponding display state of the signal; The turnout status is represented by multiple bits and is divided into four parts: the turnout fixed and reverse position representation part, the single lock representation part, the block representation part, and the reserved expandable part; The segment status is represented by multiple bits, one part is used to represent the segment occupation, locked and idle status, and the other part is reserved for expansion; The status of the routing button is represented by multiple bits, which are divided into three parts: a part indicating whether the routing button is blocked, a part indicating whether the routing button is pressed, and a reserved expandable part; The function button status is represented by multiple bits, one part is used to indicate whether the function button is pressed, and the other part is reserved for expansion; The light status is represented by multiple bits, one part is used to represent the light color status, and the other part is used to represent whether it is flashing; The alarm status is represented by multiple bits, one part is used to represent the light color status, and the other part is used to represent whether it is flashing; The extended object state is represented by multiple bits. The CTC and CBI negotiate to determine the bit length representing the object state, the encoding value corresponding to each state, and the order of the object in the code point definition table.

Citation Information

Patent Citations

  • Computer interlocking system and interlocking control method supporting C3 system

    CN102275598A

  • General ATS-interlocking code bit table conversion method and device based on data configuration

    CN106896751A