CN116142253B - Code bit table generation method and device - Google Patents

Code bit table generation method and device Download PDF

Info

Publication number
CN116142253B
CN116142253B CN202310437872.3A CN202310437872A CN116142253B CN 116142253 B CN116142253 B CN 116142253B CN 202310437872 A CN202310437872 A CN 202310437872A CN 116142253 B CN116142253 B CN 116142253B
Authority
CN
China
Prior art keywords
code bit
name
interlocking
target
target code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310437872.3A
Other languages
Chinese (zh)
Other versions
CN116142253A (en
Inventor
胡欢
夏振东
白依宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casco Signal Beijing Ltd
Original Assignee
Casco Signal Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casco Signal Beijing Ltd filed Critical Casco Signal Beijing Ltd
Priority to CN202310437872.3A priority Critical patent/CN116142253B/en
Publication of CN116142253A publication Critical patent/CN116142253A/en
Application granted granted Critical
Publication of CN116142253B publication Critical patent/CN116142253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L1/00Devices along the route controlled by interaction with the vehicle or train
    • B61L1/18Railway track circuits
    • B61L1/181Details
    • B61L1/188Use of coded current
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L19/00Arrangements for interlocking between points and signals by means of a single interlocking device, e.g. central control
    • B61L19/06Interlocking devices having electrical operation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L19/00Arrangements for interlocking between points and signals by means of a single interlocking device, e.g. central control
    • B61L19/06Interlocking devices having electrical operation
    • B61L2019/065Interlocking devices having electrical operation with electronic means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The application discloses a code bit table generation method and device, relates to the technical field of rail transit, and mainly aims to quickly generate a code bit table used by a wireless shunting locomotive signal and a monitoring system; the main technical scheme comprises the following steps: acquiring a target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names; based on the interlocking model of the station computer interlocking system, converting each interlocking code bit name into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and converting an interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system; and generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value.

Description

Code bit table generation method and device
Technical Field
The present disclosure relates to the field of rail transit technologies, and in particular, to a code bit table generating method and apparatus.
Background
The wireless shunting locomotive signal and monitoring system (Shunting Train Protecting, STP) is an important driving safety device for ensuring the shunting operation safety of the station. STP needs to interface with station computer interlock systems (Computer Based Interlocking, CBI). In order for the STP to be able to use the CBI provided code bit table, it is necessary to convert the CBI provided code bit table into the STP available code bit table for the STP to implement display of traffic signals, switches, track sections and access states on the vehicle, ground, terminal equipment and perform related shunting operations.
Currently, the conversion of the code bit table into the code bit table used by STP is entirely performed manually. The code bit table provided by the CBI is needed to be manually analyzed and written one by one in combination with specific attributes of the train annunciators, the shunting annunciators, the turnouts and the track sections, so that the workload is high, time and labor are consumed, and the code bit table used by the STP is difficult to be quickly generated.
Disclosure of Invention
In view of this, the present application provides a code bit table generating method and device, which is mainly aimed at quickly generating a code bit table used by a wireless shunting locomotive signal and a monitoring system.
In order to achieve the above purpose, the present application mainly provides the following technical solutions:
In a first aspect, the present application provides a code bit table generating method, including:
acquiring a target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names;
based on the interlocking model of the station computer interlocking system, converting each interlocking code bit name into a target code bit name identifiable by the wireless shunting locomotive signal and the monitoring system and converting an interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value identifiable by the wireless shunting locomotive signal and the monitoring system;
and generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value.
In some embodiments of the present application, based on the interlocking model of the station computer interlocking system, converting each of the interlocking code bit names into a target code bit name identifiable by the wireless shunting locomotive signal and the monitoring system includes: acquiring a name sample table matched with the interlocking model; the name sample table records the corresponding relation between the name of the interlocking code bit and the name of the target code bit; and converting each interlocking code bit name in the target code bit table into a corresponding target code bit name based on the corresponding relation recorded in the name sample table.
In some embodiments of the present application, converting each of the interlocking code bit names in the target code bit table into a corresponding target code bit name based on a correspondence recorded in the name sample table includes: determining the name of an interlocking code bit belonging to the same group in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining a corresponding relation of element names corresponding to the groups matched in the name sample table; and converting each interlocking code bit name in the group into a corresponding target code bit name based on the matched corresponding relation.
In some embodiments of the present application, based on the interlocking model of the station computer interlocking system, converting the interlocking code bit sequence number corresponding to each interlocking code bit name into a code bit value identifiable by the wireless shunting locomotive signal and the monitoring system, including: obtaining a conversion logic table matched with the interlocking model, wherein the conversion logic table is recorded with the corresponding relation between the name of the interlocking code bit and the conversion logic; and converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the target code bit table into a corresponding code bit value based on the corresponding relation recorded in the conversion logic table.
In some embodiments of the present application, converting, based on the correspondence recorded in the conversion logic table, an interlocking code bit sequence number corresponding to each of the interlocking code bit names in the target code bit table into a corresponding code bit value includes: determining the name of an interlocking code bit belonging to the same group in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining the corresponding relation of element names corresponding to the groups matched in the conversion logic table; and converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the group into a corresponding code bit value based on the matched corresponding relation.
In some embodiments of the present application, generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value includes: checking the converted target code bit name and code bit value; if the converted target code bit name and the code bit value are confirmed to pass through verification, generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the corresponding relation among the element name, the target code bit name and the code bit value; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
In some embodiments of the present application, verifying the converted target code bit name includes: and performing at least one of the following checks on the converted target code bit name: and checking whether the target code bit names obtained by conversion are repeated or not, and checking whether the target code bit names obtained by conversion are consistent with the number of names in the name set and the name expression or not.
In some embodiments of the present application, verifying the converted code bit value includes: and (3) performing at least one of the following checks on the converted code bit value: checking whether the converted code bit values are repeated or not, checking whether the converted code bit values are in a threshold range or not, sequencing each target code bit name for the target code bit names corresponding to the same element name, sequentially determining the difference value between the code bit value corresponding to each target code bit name and the target value according to sequencing, and checking whether the difference value corresponding to each target code bit name meets the value requirement corresponding to each sequencing position.
In some embodiments of the present application, the code bit table generation further includes: for each interlocked code bit name in the target code bit table: if the interlocking code bit name is successfully converted into the target code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name is successfully converted into the code bit value, generating a conversion result corresponding to the interlocking code bit name based on the element name, the target code bit name and the code bit value, and outputting the conversion result to a first storage position for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
In some embodiments of the present application, the code bit table generation further includes: for each interlocked code bit name in the target code bit table: if the interlocking code bit name is not successfully converted into the target code bit name and/or the interlocking code bit sequence number corresponding to the interlocking code bit name is not successfully converted into the code bit value, generating conversion failure prompt data corresponding to the interlocking code bit name based on the element name, the interlocking code bit name and the interlocking code bit sequence number, and outputting the conversion failure prompt data to a second storage position.
In some embodiments of the present application, the code bit table generation further includes: determining a corresponding target column of the element name in the target code bit table; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; determining a column with a first position relation with the target column as an interlocking code bit name column; determining a column with a second position relation with the target column as an interlocking code bit sequence number column; and determining the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name included in the target code bit table from the interlocking code bit name column and the interlocking code bit sequence number column row by row.
In a second aspect, the present application provides a code bit table generating apparatus, including:
the acquisition module is used for acquiring the target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names;
the conversion module is used for converting each interlocking code bit name into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system and converting an interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system based on the interlocking model of the station computer interlocking system;
and the generation module is used for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value.
In a third aspect, the present application provides a computer readable storage medium, where the storage medium includes a stored program, where when the program runs, the device where the storage medium is controlled to execute the above-mentioned code bit table generating method.
The code bit table generation method and the code bit table generation device acquire the target code bit table provided by the station computer interlocking system in butt joint with the wireless shunting locomotive signal and the monitoring system when the code bit table used by the wireless shunting locomotive signal and the monitoring system is required to be generated. Based on the interlocking model of the station computer interlocking system, each interlocking code bit name in the target code bit table is converted into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and an interlocking code bit serial number corresponding to each interlocking code bit name in the target code bit table is converted into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system. And generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value. Therefore, the code bit table provided by the CBI can be automatically converted into the code bit table used by the STP without completely relying on manpower, the code bit table used by the wireless shunting locomotive signal and the monitoring system can be rapidly generated, and data errors caused by manpower can be avoided.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a code bit table generation method according to an embodiment of the present application;
FIG. 2 illustrates a schematic diagram of an interface provided by one embodiment of the present application;
fig. 3 is a schematic structural diagram of a code bit table generating device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a code bit table generating device according to another embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Currently, the conversion of the code bit table provided by CBI into the code bit table used by STP is entirely performed manually. The code bit table provided by the CBI is needed to be manually analyzed and written one by one in combination with specific attributes of the train annunciators, the shunting annunciators, the turnouts and the track sections, so that the workload is high, time and labor are consumed, and the code bit table used by the STP is difficult to be quickly generated. And because the data volume is large in manual writing, errors are easy to occur in the code bit table used for generating the STP, and once the code bit data is wrong, the safety of shunting operation is directly affected.
The inventor finds that the CBI in butt joint with the STP has a corresponding interlocking model, and after the target code bit table provided by the CBI in butt joint with the STP is obtained, the interlocking code bit name in the target code bit table and the interlocking code bit serial number corresponding to the interlocking code bit name can be directly converted according to the code bit conversion rule matched with the CBI interlocking model. And then generating a code bit table used by STP based on the converted target code bit name and the code bit value. Therefore, the code bit table provided by the CBI can be automatically converted into the code bit table used by the STP without completely relying on manpower, the code bit table used by the wireless shunting locomotive signal and the monitoring system can be rapidly generated, and data errors caused by manpower can be avoided.
Based on the above consideration, the embodiment of the application provides a technical scheme for generating a code bit table, which specifically includes: and acquiring a target code bit table provided by a station computer interlocking system in butt joint with the wireless shunting locomotive signal and the monitoring system. Based on the interlocking model of the station computer interlocking system, each interlocking code bit name in the target code bit table is converted into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and an interlocking code bit serial number corresponding to each interlocking code bit name in the target code bit table is converted into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system. And generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value. In this way, the interlocking code bit names in the target code bit table and the interlocking code bit serial numbers corresponding to the interlocking code bit names can be converted based on the code bit conversion rule matched with the interlocking model of the station computer interlocking system, and the code bit table used by the STP can be generated based on the conversion result. The code bit table of STP does not need to depend on manpower completely, so that the code bit table used by the wireless shunting locomotive signal and the monitoring system can be generated rapidly, and data errors caused by manpower can be avoided.
According to the technical scheme of code bit table generation provided by the embodiment of the application, a code bit table generation method and device are provided. The method and the device for generating the code bit table provided in the embodiment of the application are specifically described below.
As shown in fig. 1, an embodiment of the present application provides a code bit table generating method, which mainly includes steps 101 to 103 as follows:
101. acquiring a target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names.
The target code bit table is the code bit table provided by the CBI interfacing with the STP. The target code bit table comprises a plurality of interlocking code bit names, and interlocking code bit serial numbers and element names corresponding to the interlocking code bit names. The element name is the name of the element affecting train safety.
Illustratively, the CBI corresponding to STP is "CBI01" and the target code bit table provided by "CBI01" is shown in Table-1. A plurality of interlock bit names are shown in table-1, together with an element name and an interlock bit number corresponding to each of the interlock bit names. It should be noted that, the number of the interlocking code bit in the table-1 does not give a specific numerical value, but is only an example, and the number of the interlocking code bit corresponding to each interlocking code bit name can be flexibly set according to specific service requirements.
TABLE-1
After the target code bit table is obtained, the included interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name can be extracted from the target code bit table for subsequent conversion. The specific process of extracting the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name from the target code bit table may be: determining a corresponding target column of the element name in a target code bit table; the element names exist in the target code bit table, and the element names are names of elements affecting the safety of the train; determining a column with a first position relation with the target column as an interlocking code bit name column; determining a column with a second position relation with the target column as an interlocking code bit sequence number column; and determining the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name included in the target code bit table from the interlocking code bit name column and the interlocking code bit sequence number column row by row.
In order to quickly extract the interlocking code bit names and the interlocking code bit serial numbers corresponding to the interlocking code bit names, in the embodiment of the application, a target column corresponding to the element names in the target code bit table is used as a reference column. Based on the relative position relation of the interlocking code bit name column, the interlocking code bit name column and the target column, the interlocking code bit name column and the interlocking code bit name column are rapidly positioned, and the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name contained in the target code bit table are extracted from the interlocking code bit name column and the interlocking code bit name column.
Illustratively, the target code bit table is a data table shown in table-1, and a target column corresponding to the element name in the target code bit table is determined. The column to the right of the target column is determined as the interlocking code bit name column, and the column to the left of the target column is determined as the interlocking code bit sequence number column. And then determining the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name included in the target code bit table from the interlocking code bit name column and the interlocking code bit sequence number column row by row.
102. Based on the interlocking model of the station computer interlocking system, each interlocking code bit name is converted into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and the interlocking code bit serial number corresponding to each interlocking code bit name is converted into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system.
The coding rules of the target code bit table provided by different CBI providers are different, so that in order to accurately convert the target code bit table, the interlocking model of the CBI needs to be determined, so that the target code bit table is converted by using the code bit conversion rule matched with the interlocking model. The interlocking model is the basis for determining the code bit conversion rule.
After determining the interlocking model of the CBI, based on the interlocking model of the station computer interlocking system, converting each interlocking code bit name into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and converting the interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system.
The following describes a specific process for converting each of the interlocking code bit names into a target code bit name identifiable by the wireless shunting signal and the monitoring system based on the interlocking model of the station computer interlocking system, and the process may include the following steps 102A to 102B:
102A, acquiring a name sample table matched with the interlocking model; the name sample table records the corresponding relation between the name of the interlocking code bit and the name of the target code bit.
The name sample table matching the interlock model is an integral part of the code bit conversion rule matching the interlock model. The name sample table records the correspondence between the interlocking code bit names and the target code bit names. The name of the interlocking code bit in the name sample table is the name of the interlocking code bit matched with the interlocking signal. The target code bit name in the name sample table is the code bit name that can be identified and used by STP.
The corresponding relation between the interlocking code bit names and the target code bit names recorded in the name sample table is the basis for converting the interlocking code bit names in the target code bit table into code bit names identifiable by STP.
Illustratively, the correspondence between the interlocking bit names and the target bit names and element names for different interlocking models is shown in Table-2.
TABLE-2
After determining that the interlocking model of the CBI interfacing with the STP is the interlocking model a, a corresponding name sample table is obtained as shown in table-3 below.
TABLE-3
102B, converting each interlocking code bit name in the target code bit table into a corresponding target code bit name based on the corresponding relation recorded in the name sample table.
Based on the correspondence recorded in the name sample table, the specific process of converting each interlocking code bit name in the target code bit table into a corresponding target code bit name may include the following steps 102B1 to 102B2:
102B1, determining the name of an interlocking code bit belonging to the same group in a target code bit table; the interlocking code bit names of the same group correspond to the same element names, the element names exist in the target code bit table, and the element names are names of elements affecting train safety.
In order to avoid confusion of code bit name conversion, the interlocking code bit names corresponding to the same element name in the target code bit table are divided into a group, so that the code bit name conversion can be carried out in a group by group.
Illustratively, the interlocking code bit names of the corresponding train signaling devices in the target code bit table are grouped. And classifying the interlocking code bit names of the corresponding shunting annunciators in the target code bit table into a group. And classifying the interlocking code bit names of the corresponding turnouts in the target code bit table into a group. The interlocking code bit names of the corresponding track sections in the target code bit table are divided into a group.
102B2, sequentially for each packet based on the conversion order of the packets: determining a corresponding relation of element names corresponding to the groups matched in a name sample table; and converting each interlocking code bit name in the group into a corresponding target code bit name based on the matched corresponding relation.
After each packet is determined, the conversion order of each packet is determined. The conversion order can be determined by two methods: firstly, sorting each group according to the importance degree of the element described by the element name corresponding to each group to form a conversion sequence. And secondly, sorting the groups according to a sorting instruction to form a conversion sequence, wherein the sorting instruction designates sorting among element names.
After determining the conversion sequence, the interlocking code bit names in each group are sequentially converted according to the conversion sequence. For the currently traversed packet: and determining the corresponding relation of the element names corresponding to the group matched in the name sample table. All interlocking code bit names within the packet to which the correspondence matched herein relates. And then converting each interlocking code bit name in the group into a corresponding target code bit name based on the matched corresponding relation, thereby completing the conversion of the interlocking code bit names in the group.
The following describes a specific process for converting the serial number of the interlocking code bit corresponding to each interlocking code bit name into the code bit value identifiable by the wireless shunting signal and the monitoring system based on the interlocking model of the station computer interlocking system, and the process may include the following steps 102C to 102D:
102C, acquiring a conversion logic table matched with the interlocking model, wherein the conversion logic table is recorded with the corresponding relation between the name of the interlocking code bit and the conversion logic.
The conversion logic table matched with the interlocking model is a component part of the code bit conversion rule matched with the interlocking model. The conversion logic table records the corresponding relation between the interlocking code bit names and the conversion logic. And converting the interlocking code bit name in the logic table into the interlocking code bit name matched with the interlocking model. The conversion logic in the conversion logic table is business logic for converting the interlocking code bit sequence number of the corresponding interlocking code name into the code bit value identifiable by STP.
The corresponding relation between the interlocking code bit names recorded in the conversion logic table and the conversion logic is the basis for converting the interlocking code bit serial numbers corresponding to the interlocking code bit names in the target code bit table into code bit values identifiable by STP.
Illustratively, the correspondence between the interlock bit names and the conversion logic and element names for different interlock models is shown in Table-4.
TABLE-4
And obtaining a corresponding conversion logic table as shown in table-5 after determining that the interlocking model of the CBI in butt joint with the STP is the interlocking model A.
TABLE-5
102D, converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the target code bit table into a corresponding code bit value based on the corresponding relation recorded in the conversion logic table.
Based on the correspondence recorded in the conversion logic table, the specific process of converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the target code bit table into the corresponding code bit value may include the following steps 102D1 to 102D2:
102D1, determining the name of an interlocking code bit belonging to the same group in a target code bit table; the interlocking code bit names of the same group correspond to the same element names, the element names exist in the target code bit table, and the element names are names of elements affecting train safety.
In order to avoid the confusion of the serial number conversion of the interlocking code bits, the remote interlocking code bit names corresponding to the same element name in the target code bit table are divided into a group, so that the serial number conversion of the interlocking code bits can be carried out in a group by group.
Illustratively, the interlocking code bit names of the corresponding train signaling devices in the target code bit table are grouped. And classifying the interlocking code bit names of the corresponding shunting annunciators in the target code bit table into a group. And classifying the interlocking code bit names of the corresponding turnouts in the target code bit table into a group. The interlocking code bit names of the corresponding track sections in the target code bit table are divided into a group.
102D2, sequentially performing, for each packet, based on the conversion order of the packets: determining a corresponding relation of element names corresponding to the groups matched in a conversion logic table; and converting the interlocking code bit serial numbers corresponding to the interlocking code bit names in the groups into corresponding code bit values based on the matched corresponding relations.
After each packet is determined, the conversion order of each packet is determined. The conversion order can be determined by two methods: firstly, sorting each group according to the importance degree of the element described by the element name corresponding to each group to form a conversion sequence. And secondly, sorting the groups according to a sorting instruction to form a conversion sequence, wherein the sorting instruction designates sorting among element names.
After determining the conversion sequence, the interlocking code bit sequence numbers in each group are sequentially converted according to the conversion sequence. For the currently traversed packet: and determining the corresponding relation of element names corresponding to the group matched in the conversion logic table. And then converting the interlocking code bit sequence numbers corresponding to the interlocking code bit names in the groups into corresponding code bit values based on the matched corresponding relations. The correspondence matched here relates to all interlocking code bit names within the packet. And then converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the packet into a corresponding code bit value based on the matched corresponding relation, thereby completing the conversion of the interlocking code bit sequence number corresponding to the interlocking code bit name in the packet.
Further, for better maintenance and explicit conversion results, then for each interlocked code bit name in the target code bit table: if the interlocking code bit name is successfully converted into the target code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name is successfully converted into the code bit value, generating a conversion result corresponding to the interlocking code bit name based on the element name, the target code bit name and the code bit value, and outputting the conversion result to a first storage position for generating a wireless shunting locomotive signal and a code bit table used by a monitoring system; the element names exist in the target code bit table, and the element names are names of elements affecting train safety.
For one interlocking code bit name in the target code bit table, if the interlocking code bit name is successfully converted into the target code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name is successfully converted into the code bit value, a corresponding conversion result is generated according to the output format of 'element name_target code bit name_code bit value', and the conversion result is output to the first storage position so as to be used for generating the code bit table used by STP later.
Further, for each interlocked code bit name in the target code bit table: if the interlocking code bit name is not successfully converted into the target code bit name and/or the interlocking code bit sequence number corresponding to the interlocking code bit name is not successfully converted into the code bit value, conversion failure prompt data corresponding to the interlocking code bit name are generated based on the element name, the interlocking code bit name and the interlocking code bit sequence number, and the conversion failure prompt data are output to the second storage position.
For one interlocking code bit name in the target code bit table, if the interlocking code bit name is not successfully converted into the target code bit name and/or the interlocking code bit sequence number corresponding to the interlocking code bit name is not successfully converted into the code bit value, the conversion is described to have a problem, and manual intervention is needed to be eliminated, so that conversion failure prompt data corresponding to the interlocking code bit name is generated based on the element name, the interlocking code bit name and the interlocking code bit sequence number, and service personnel can manually convert the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name based on the identification prompt data.
After the manual conversion is completed, a corresponding conversion result can be generated according to an output format of 'element name_target code bit name code bit value', and the conversion result is output to a first storage position so as to be used for generating a code bit table used by STP later.
It should be noted that the above-mentioned interlocking code bit names and the conversion sequence of the interlocking code bit serial numbers can be determined based on the service requirements, and there are several kinds of following: firstly, after all the interlocking code bit sequence numbers are converted, all the interlocking code bit sequence numbers are correspondingly converted. Secondly, after the serial numbers of all the interlocking code bits are converted, all the interlocking code bit names are converted correspondingly. Thirdly, the interlocking code bit names and the corresponding interlocking code bit serial numbers are sequentially converted one by one.
103. And generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value.
After all the interlocking code bit names and the interlocking code bit serial numbers in the target code bit table are converted, a code bit table used by the STP is generated based on the converted target code bit names and code bit values so as to enable the STP to carry out corresponding shunting operation based on the code bit table.
Based on the converted target code bit name and code bit value, the specific process of generating the code bit table used by the wireless shunting signal and the monitoring system may include the following steps 103A to 103B:
103A, checking the converted target code bit name and code bit value.
If there is an error in the code bit table used by STP, the security of the shunting operation will be directly affected, so in order to ensure the security of the shunting operation, when the code bit table used by STP is generated, the target code bit name and the code bit value corresponding to the target code bit name obtained by conversion need to be checked, so that when there is no error in the target code bit name and the code bit value, the code bit table used by STP is generated by using the target code bit name and the code bit value obtained by conversion.
The following describes the target code bit name obtained by checking and converting, and the specific technical scheme of the target code bit name obtained by checking and converting may include: and performing at least one of the following checks on the converted target code bit name: and checking whether the target code bit names obtained by conversion are repeated or not, and checking whether the target code bit names obtained by conversion are consistent with the number of names in the name set and the name expression or not.
The specific process of verifying whether the converted target code bit name is repeated can comprise the following two steps: one is to divide the target bit names corresponding to the same element name into a group. And checking whether the target code bit names in each group are duplicated. Alternatively, it is checked whether there are duplicate code bit names among all the obtained target code bit names.
If the target code bit name obtained by the verification conversion does not have repetition, the target code bit name obtained by the verification conversion is free from the repetition, and the target code bit name is determined to pass the verification in the dimension of the repetition. If the target code bit names obtained through verification conversion are repeated, the fact that the target code bit names obtained through conversion are repeated is indicated, the fact that the target code bit names are in the dimension of the repeatability is determined, verification is not passed, at the moment, the repeated target code bit names and the interlocking code bit names in the target code bit table corresponding to the target code bit names are correspondingly output to the appointed position, and therefore error elimination is conducted by service personnel based on the corresponding relation of the appointed position.
The specific process of verifying whether the converted target code bit names are consistent with the number and the name expression of the names in the name set can comprise the following steps: and acquiring station yard basic data, wherein the station yard basic data comprises all code bit names related to the shunting operation executed by the STP. And extracting the code bit names in the station yard basic data to form a name set. And checking the consistency of the converted target code bit names and the code bit names in the name set. The specific consistency check comprises the following steps: checking whether the number of the target code bit names obtained by conversion is the same as the number of the code bit names in the name set, and checking whether the target code bit names obtained by conversion have a code bit name with consistent name expression in the name set. If the number and the name expression are not problematic, the converted target code bit name is verified in the dimension of consistency. If the number and the name expression are checked to be problematic, it is determined that the check is failed in the dimension that the target code bit name is consistent, and at this time, the code bit name with the consistency problem and the interlocking code bit name in the target code bit table corresponding to the code bit name are correspondingly output to the designated position, so that the business personnel can perform error elimination based on the corresponding relation of the designated position.
The code bit value obtained by the check conversion is described below, and a specific technical scheme of the code bit value obtained by the check conversion may include: checking whether the converted code bit values are repeated or not, checking whether the converted code bit values are in a threshold range or not, sequencing each target code bit name for the target code bit names corresponding to the same element name, sequentially determining the difference value between the code bit value corresponding to each target code bit name and the target value according to sequencing, and checking whether the difference value corresponding to each target code bit name meets the value requirement corresponding to each sequencing position.
The specific process of verifying whether the converted code bit value has repetition can comprise the following two steps: one is to divide the target bit names corresponding to the same element name into a group. And checking whether the code bit value corresponding to the target code bit name in each group is repeated. And the other is to check whether repeated code bit values exist in the code bit values corresponding to all the obtained target code bit names.
If the code bit value obtained by the verification conversion does not have repetition, the code bit value obtained by the verification conversion is free from the repetition, and the code bit value is determined to pass the verification in the dimension of the repetition. If the code bit value obtained by the verification conversion is repeated, the fact that the code bit value obtained by the conversion is repeated is indicated, the fact that the code bit value is in the dimension of the repeatability is determined, verification is not passed, at the moment, the target code bit name corresponding to the repeated code bit value and the interlocking code bit name in the target code bit table corresponding to the target code bit name are output to the appointed position correspondingly, and therefore error elimination is conducted by service personnel based on the corresponding relation of the appointed position.
The specific process of checking whether the converted code bit values are all within the threshold value range may include: a threshold range is obtained, the threshold range being set based on specific traffic demands. Illustratively, the threshold range is 0 < code bit value +.2400. If all the code bit values obtained by the test conversion are in the threshold range, the code bit value is proved to pass the test in the dimension of the value. If the code bit value which is not in the threshold value range exists in the code bit value obtained through the detection and conversion, the target code bit name corresponding to the code bit value and the interlocking code bit name in the target code bit table corresponding to the target code bit name, the interlocking code bit serial number corresponding to the interlocking code bit name are correspondingly output to the appointed position, so that service personnel can perform error elimination based on the corresponding relation of the appointed position.
And sequencing the target code bit names corresponding to the same element name, sequentially determining the difference value between the code bit value corresponding to each target code bit name and the target value according to sequencing, and checking whether the difference value corresponding to each target code bit name meets the value requirement corresponding to each sequencing position. The target value may be determined based on the traffic demand, for example, the target value is a code bit value that is first in the order. It should be noted that the checking method can be applied to the situation of taking the code bit value with the rule of difference.
The value requirements corresponding to the ranking positions can be determined based on specific business requirements. Exemplary, as shown in table-6, table-6 shows the value requirement of the target code bit names located at different positions corresponding to each element name, where the value requirement is a specific numerical value, and the target values are all selected from the code bit values corresponding to the target code bit names located at the first position in the same element name.
TABLE-6
If the difference value corresponding to each target code bit name accords with the value requirement corresponding to each sorting position, the code bit value is explained to pass the verification in the dimension. If the target code bit names which do not meet the value requirement are detected, the target code bit names and the interlocking code bit names in the target code bit table corresponding to the target code bit names, the interlocking code bit serial numbers corresponding to the interlocking code bit names are correspondingly output to the appointed positions, so that the service personnel can conveniently conduct error elimination based on the corresponding relation of the appointed positions.
103B, if the converted target code bit name and the code bit value are determined to pass through verification, generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the corresponding relation among the element name, the target code bit name and the code bit value; wherein the element names exist in the target code bit table, and the element names are names of elements affecting the safety of the train.
If the converted target code bit name and code bit value are confirmed to pass through verification, corresponding relations among the element name, the target code bit name and the code bit value are established, and then the corresponding relations are combined together according to the arrangement sequence of the element name and the code bit name, so that a code bit table usable by the STP is formed.
The code bit table used by STP is generated based on the target code bit name and the code bit value which pass the verification, so that erroneous data used by STP can be avoided, and the safety of shunting operation can be ensured.
According to the code bit table generation method, when the code bit table used by the wireless shunting locomotive signal and the monitoring system needs to be generated, the target code bit table provided by the station computer interlocking system in butt joint with the wireless shunting locomotive signal and the monitoring system is obtained. Based on the interlocking model of the station computer interlocking system, each interlocking code bit name in the target code bit table is converted into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and an interlocking code bit serial number corresponding to each interlocking code bit name in the target code bit table is converted into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system. And generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value. Therefore, the code bit table provided by the CBI can be automatically converted into the code bit table used by the STP without completely relying on manpower, the code bit table used by the wireless shunting locomotive signal and the monitoring system can be rapidly generated, and data errors caused by manpower can be avoided.
In some embodiments of the present application, a code bit table used for generating STP for an AA station is taken as an example to specifically describe a code bit table generating method provided in the embodiments of the present application.
In order to facilitate operation of service personnel, a code bit table provided by the CBI corresponding to the STP and an interlocking model corresponding to the CBI providing the code bit table may be obtained through an interface as shown in fig. 2. The interlock model in fig. 2 is selected to set the interlock model corresponding to the CBI providing the code bit table. The read CBI interface code bit table in fig. 2 is used to obtain the code bit table provided by the CBI corresponding to STP.
After the setting of the target code position table and the interlocking model in fig. 2 is completed, if the "start code position conversion" button is triggered, the process of "based on the interlocking model of the station computer interlocking system, converting each interlocking code position name into a target code position name identifiable by the wireless shunting locomotive signal and the monitoring system and converting the interlocking code position serial number corresponding to each interlocking code position name into a code position value identifiable by the wireless shunting locomotive signal and the monitoring system" is started.
After the target code bit name and the interlocking code bit sequence number corresponding to each interlocking code bit name are converted, and after a button for starting code bit verification in fig. 2 is triggered and station basic data is read through reading STP basic data in fig. 2, the converted target code bit name and code bit value are verified; after the target code bit name and the code bit value obtained through conversion are confirmed to pass through verification, generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the corresponding relation among the element name, the target code bit name and the code bit value; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
Further, an embodiment of the present application further provides a code bit table generating device, as shown in fig. 3, where the code bit table generating device includes:
an obtaining module 31, configured to obtain a target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names;
the conversion module 32 is configured to convert each of the interlocking code bit names into a target code bit name identifiable by the wireless shunting locomotive signal and the monitoring system and convert an interlocking code bit serial number corresponding to each of the interlocking code bit names into a code bit value identifiable by the wireless shunting locomotive signal and the monitoring system based on an interlocking model of the station computer interlocking system;
and the generating module 33 is used for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value.
The code bit table generating device provided by the embodiment of the application acquires the target code bit table provided by the station computer interlocking system in butt joint with the wireless shunting locomotive signal and the monitoring system when the code bit table used by the wireless shunting locomotive signal and the monitoring system is required to be generated. Based on the interlocking model of the station computer interlocking system, each interlocking code bit name in the target code bit table is converted into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system, and an interlocking code bit serial number corresponding to each interlocking code bit name in the target code bit table is converted into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system. And generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value. Therefore, the code bit table provided by the CBI can be automatically converted into the code bit table used by the STP without completely relying on manpower, the code bit table used by the wireless shunting locomotive signal and the monitoring system can be rapidly generated, and data errors caused by manpower can be avoided.
In some embodiments of the present application, as shown in fig. 4, the conversion module 32 includes:
a first obtaining unit 321, configured to obtain a name sample table matched with the interlocking model; the name sample table records the corresponding relation between the name of the interlocking code bit and the name of the target code bit;
a first conversion unit 322, configured to convert each of the interlocking code bit names in the target code bit table into a corresponding target code bit name based on the correspondence recorded in the name sample table.
In some embodiments of the present application, as shown in fig. 4, the first conversion unit 322 is specifically configured to determine the name of the interlocked code bits belonging to the same packet in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining a corresponding relation of element names corresponding to the groups matched in the name sample table; and converting each interlocking code bit name in the group into a corresponding target code bit name based on the matched corresponding relation.
In some embodiments of the present application, as shown in fig. 4, the conversion module 32 includes:
a second obtaining unit 323, configured to obtain a conversion logic table matched with the interlocking model, where a correspondence between an interlocking code bit name and a conversion logic is recorded in the conversion logic table;
and a second conversion unit 324, configured to convert the interlocking code bit sequence number corresponding to each of the interlocking code bit names in the target code bit table into a corresponding code bit value based on the correspondence relationship recorded in the conversion logic table.
In some embodiments of the present application, as shown in fig. 4, the second converting unit 324 is specifically configured to determine the name of the interlocked code bits belonging to the same packet in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining the corresponding relation of element names corresponding to the groups matched in the conversion logic table; and converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the group into a corresponding code bit value based on the matched corresponding relation.
In some embodiments of the present application, as shown in fig. 4, the generating module 33 includes:
a verification unit 331, configured to verify the converted target code bit name and code bit value;
the generating unit 332 is configured to generate a code bit table used by the wireless shunting locomotive signal and the monitoring system based on a correspondence relationship among the element name, the target code bit name and the code bit value if it is determined that both the converted target code bit name and the code bit value pass verification; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
In some embodiments of the present application, as shown in fig. 4, the verification unit 331 is specifically configured to perform at least one of the following verification on the converted target code bit name: and checking whether the target code bit names obtained by conversion are repeated or not, and checking whether the target code bit names obtained by conversion are consistent with the number of names in the name set and the name expression or not.
In some embodiments of the present application, as shown in fig. 4, the verification unit 331 is specifically configured to perform at least one of the following verification on the converted code bit value: checking whether the converted code bit values are repeated or not, checking whether the converted code bit values are in a threshold range or not, sequencing each target code bit name for the target code bit names corresponding to the same element name, sequentially determining the difference value between the code bit value corresponding to each target code bit name and the target value according to sequencing, and checking whether the difference value corresponding to each target code bit name meets the value requirement corresponding to each sequencing position.
In some embodiments of the present application, as shown in fig. 4, the code bit table generating apparatus further includes:
a first output module 34, configured to, for each interlocked code bit name in the target code bit table: if the interlocking code bit name is successfully converted into the target code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name is successfully converted into the code bit value, generating a conversion result corresponding to the interlocking code bit name based on the element name, the target code bit name and the code bit value, and outputting the conversion result to a first storage position for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
In some embodiments of the present application, as shown in fig. 4, the code bit table generating apparatus further includes:
a second output module 35, configured to, for each interlocked code bit name in the target code bit table: if the interlocking code bit name is not successfully converted into the target code bit name and/or the interlocking code bit sequence number corresponding to the interlocking code bit name is not successfully converted into the code bit value, generating conversion failure prompt data corresponding to the interlocking code bit name based on the element name, the interlocking code bit name and the interlocking code bit sequence number, and outputting the conversion failure prompt data to a second storage position.
In some embodiments of the present application, as shown in fig. 4, the code bit table generating apparatus further includes:
a determining module 36, configured to determine a target column corresponding to the element name in the target code bit table; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; determining a column with a first position relation with the target column as an interlocking code bit name column; determining a column with a second position relation with the target column as an interlocking code bit sequence number column; and determining the interlocking code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name included in the target code bit table from the interlocking code bit name column and the interlocking code bit sequence number column row by row.
In the code bit table generating device provided in the embodiment of the present application, a detailed description of a method adopted in the operation process of each functional module may be referred to a detailed description of a corresponding method of the above code bit table generating method embodiment, which is not repeated herein.
Further, an embodiment of the present application further provides a computer readable storage medium, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is controlled to execute the code bit table generating method described above.
Further, an embodiment of the present application further provides an electronic device, including: a memory for storing a program; and the processor is coupled to the memory and is used for running the program to execute the code bit table generating method.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the methods and apparatus described above may be referenced to one another. In addition, the "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent the merits and merits of the embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present application is not directed to any particular programming language. It should be appreciated that the contents of the present application described herein can be implemented using a variety of programming languages, and that the above description of specific languages is provided for disclosure of preferred embodiments of the present application.
Furthermore, the memory may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), in a computer readable medium, the memory including at least one memory chip.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data tapping device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data tapping device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data cutting apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data-cutting apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (7)

1. A code bit table generation method, the method comprising:
acquiring a target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names;
Based on the interlocking model of the station computer interlocking system, converting each interlocking code bit name into a target code bit name identifiable by the wireless shunting locomotive signal and the monitoring system and converting an interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value identifiable by the wireless shunting locomotive signal and the monitoring system;
generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and the code bit value;
based on the interlocking model of the station computer interlocking system, converting each interlocking code bit name into a target code bit name identifiable by the wireless shunting locomotive signal and the monitoring system, wherein the method comprises the following steps of: acquiring a name sample table matched with the interlocking model; the name sample table records the corresponding relation between the name of the interlocking code bit and the name of the target code bit; converting each interlocking code bit name in the target code bit table into a corresponding target code bit name based on the corresponding relation recorded in the name sample table;
based on the interlocking model of the station computer interlocking system, converting the interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value identifiable by the wireless shunting locomotive signal and the monitoring system, wherein the method comprises the following steps of: obtaining a conversion logic table matched with the interlocking model, wherein the conversion logic table is recorded with the corresponding relation between the name of the interlocking code bit and the conversion logic; converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the target code bit table into a corresponding code bit value based on the corresponding relation recorded in the conversion logic table;
Based on the corresponding relation recorded in the conversion logic table, converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the target code bit table into a corresponding code bit value, including: determining the name of an interlocking code bit belonging to the same group in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining the corresponding relation of element names corresponding to the groups matched in the conversion logic table; and converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the group into a corresponding code bit value based on the matched corresponding relation.
2. The method of claim 1, wherein converting each of the interlocked bit names in the target bit table to a corresponding target bit name based on a correspondence recorded in the name sample table, comprises:
determining the name of an interlocking code bit belonging to the same group in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety;
Sequentially performing, for each packet, based on the conversion order of the packets: determining a corresponding relation of element names corresponding to the groups matched in the name sample table; and converting each interlocking code bit name in the group into a corresponding target code bit name based on the matched corresponding relation.
3. The method of any of claims 1-2, wherein generating a code bit table for use by the wireless shunting cab signal and monitoring system based on the converted target code bit name and code bit value comprises:
checking the converted target code bit name and code bit value;
if the converted target code bit name and the code bit value are confirmed to pass through verification, generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the corresponding relation among the element name, the target code bit name and the code bit value; wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
4. A method according to claim 3, wherein verifying the converted target code bit name comprises:
and performing at least one of the following checks on the converted target code bit name: checking whether the target code bit names obtained by conversion are repeated or not, and checking whether the target code bit names obtained by conversion are consistent with the number of names in the name set and the name expression or not;
And/or the number of the groups of groups,
checking the converted code bit value, comprising:
and (3) performing at least one of the following checks on the converted code bit value: checking whether the converted code bit values are repeated or not, checking whether the converted code bit values are in a threshold range or not, sequencing each target code bit name for the target code bit names corresponding to the same element name, sequentially determining the difference value between the code bit value corresponding to each target code bit name and the target value according to sequencing, and checking whether the difference value corresponding to each target code bit name meets the value requirement corresponding to each sequencing position.
5. The method according to any one of claims 1-2, wherein the method further comprises: for each interlocked code bit name in the target code bit table: if the interlocking code bit name is successfully converted into the target code bit name and the interlocking code bit sequence number corresponding to the interlocking code bit name is successfully converted into the code bit value, generating a conversion result corresponding to the interlocking code bit name based on the element name, the target code bit name and the code bit value, and outputting the conversion result to a first storage position for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system;
And/or the number of the groups of groups,
the method further comprises the steps of: for each interlocked code bit name in the target code bit table: if the interlocking code bit name is not successfully converted into the target code bit name and/or the interlocking code bit sequence number corresponding to the interlocking code bit name is not successfully converted into the code bit value, generating conversion failure prompt data corresponding to the interlocking code bit name based on the element name, the interlocking code bit name and the interlocking code bit sequence number, and outputting the conversion failure prompt data to a second storage position;
and/or the number of the groups of groups,
the method further comprises the steps of:
determining a corresponding target column of the element name in the target code bit table;
determining a column with a first position relation with the target column as an interlocking code bit name column;
determining a column with a second position relation with the target column as an interlocking code bit sequence number column;
determining an interlocking code bit name and an interlocking code bit sequence number corresponding to the interlocking code bit name included in the target code bit table from the interlocking code bit name column and the interlocking code bit sequence number column row by row;
wherein the element name exists in the target code bit table, and the element name is the name of an element affecting train safety.
6. A code bit table generation apparatus, the apparatus comprising:
the acquisition module is used for acquiring the target code bit table; the target code bit table is provided by a station computer interlocking system which is in butt joint with the wireless shunting locomotive signal and the monitoring system, and comprises a plurality of interlocking code bit names and interlocking code bit serial numbers corresponding to the interlocking code bit names;
the conversion module is used for converting each interlocking code bit name into a target code bit name which can be identified by the wireless shunting locomotive signal and the monitoring system and converting an interlocking code bit serial number corresponding to each interlocking code bit name into a code bit value which can be identified by the wireless shunting locomotive signal and the monitoring system based on the interlocking model of the station computer interlocking system;
the generation module is used for generating a code bit table used by the wireless shunting locomotive signal and the monitoring system based on the converted target code bit name and code bit value;
the conversion module includes: the first acquisition unit is used for acquiring a name sample table matched with the interlocking model; the name sample table records the corresponding relation between the name of the interlocking code bit and the name of the target code bit; a first conversion unit, configured to convert each of the interlocking code bit names in the target code bit table into a corresponding target code bit name based on a correspondence recorded in the name sample table;
The conversion module includes: the second acquisition unit is used for acquiring a conversion logic table matched with the interlocking model, wherein the conversion logic table is recorded with the corresponding relation between the name of the interlocking code bit and the conversion logic; the second conversion unit is used for converting the interlocking code bit serial numbers corresponding to the interlocking code bit names in the target code bit table into corresponding code bit values based on the corresponding relations recorded in the conversion logic table;
the second conversion unit is specifically configured to determine an interlocking code bit name belonging to the same group in the target code bit table; the interlocking code bit names of the same group correspond to the same element name, the element name exists in the target code bit table, and the element name is the name of an element affecting train safety; sequentially performing, for each packet, based on the conversion order of the packets: determining the corresponding relation of element names corresponding to the groups matched in the conversion logic table; and converting the interlocking code bit sequence number corresponding to each interlocking code bit name in the group into a corresponding code bit value based on the matched corresponding relation.
7. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the code bit table generation method of any one of claims 1 to 5.
CN202310437872.3A 2023-04-23 2023-04-23 Code bit table generation method and device Active CN116142253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310437872.3A CN116142253B (en) 2023-04-23 2023-04-23 Code bit table generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310437872.3A CN116142253B (en) 2023-04-23 2023-04-23 Code bit table generation method and device

Publications (2)

Publication Number Publication Date
CN116142253A CN116142253A (en) 2023-05-23
CN116142253B true CN116142253B (en) 2023-08-01

Family

ID=86354747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310437872.3A Active CN116142253B (en) 2023-04-23 2023-04-23 Code bit table generation method and device

Country Status (1)

Country Link
CN (1) CN116142253B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102275598A (en) * 2011-05-16 2011-12-14 北京全路通信信号研究设计院有限公司 Computer interlocking system capable of supporting C3 system and interlocking control method
CN108082213A (en) * 2017-11-10 2018-05-29 北京全路通信信号研究设计院集团有限公司 Static interlocking table-based route control method and device and computer storage medium
CN109774744A (en) * 2018-12-18 2019-05-21 浙江众合科技股份有限公司 Interlocking code bit test tool
CN111824211A (en) * 2020-06-04 2020-10-27 卡斯柯信号有限公司 Computer interlocking simulation system based on LabVIEW
CN112164272A (en) * 2020-11-06 2021-01-01 卡斯柯信号(成都)有限公司 Signal simulation system and simulation method of tramcar signal system
CN112198815A (en) * 2020-12-04 2021-01-08 卡斯柯信号(北京)有限公司 Interlocking function simulation automatic test method and system
CN112208586A (en) * 2020-09-08 2021-01-12 通号城市轨道交通技术有限公司 Interlocking table generation method and device and readable storage medium
CN113268455A (en) * 2021-04-26 2021-08-17 卡斯柯信号(成都)有限公司 Boolean logic-based automatic configuration method and system for interlocking data
CN115892147A (en) * 2022-12-08 2023-04-04 通号万全信号设备有限公司 Computer automatic control testing method based on interlocking route and interlocking function angle
CN115892146A (en) * 2022-11-18 2023-04-04 卡斯柯信号有限公司 Automatic test method for interactive code bits of interlocking system and external system interface

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102275598A (en) * 2011-05-16 2011-12-14 北京全路通信信号研究设计院有限公司 Computer interlocking system capable of supporting C3 system and interlocking control method
CN108082213A (en) * 2017-11-10 2018-05-29 北京全路通信信号研究设计院集团有限公司 Static interlocking table-based route control method and device and computer storage medium
CN109774744A (en) * 2018-12-18 2019-05-21 浙江众合科技股份有限公司 Interlocking code bit test tool
CN111824211A (en) * 2020-06-04 2020-10-27 卡斯柯信号有限公司 Computer interlocking simulation system based on LabVIEW
CN112208586A (en) * 2020-09-08 2021-01-12 通号城市轨道交通技术有限公司 Interlocking table generation method and device and readable storage medium
CN112164272A (en) * 2020-11-06 2021-01-01 卡斯柯信号(成都)有限公司 Signal simulation system and simulation method of tramcar signal system
CN112198815A (en) * 2020-12-04 2021-01-08 卡斯柯信号(北京)有限公司 Interlocking function simulation automatic test method and system
CN113268455A (en) * 2021-04-26 2021-08-17 卡斯柯信号(成都)有限公司 Boolean logic-based automatic configuration method and system for interlocking data
CN115892146A (en) * 2022-11-18 2023-04-04 卡斯柯信号有限公司 Automatic test method for interactive code bits of interlocking system and external system interface
CN115892147A (en) * 2022-12-08 2023-04-04 通号万全信号设备有限公司 Computer automatic control testing method based on interlocking route and interlocking function angle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
编组站机车综合控制仿真与测试平台的研究与应用;曹桂均;《铁道通信信号》;第47卷(第3期);第42-46页 *

Also Published As

Publication number Publication date
CN116142253A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN109649447B (en) Automatic test method and system for distributed autonomous dispatching centralized station autonomous machine data
CN111003030B (en) Method and device for generating temporary speed limit message test case of train control system
CN112429049B (en) Method and device for generating code sequence table of railway line
CN110377682B (en) Track type determination method and device, computing equipment and storage medium
CN104360940A (en) DSU (Data Service Unit) test method and device
CN112329277B (en) Indoor roadster test sequence compiling method and device based on CTCS-2
CN110688243A (en) Inspection method of automatic inspection tool for train control center engineering data sheet
CN116142253B (en) Code bit table generation method and device
CN113642307B (en) Python-based automatic verification method and system for rail transit vehicle-mounted safety parameters
CN114666009A (en) Automatic responder message generation method based on pattern matching
CN110688823A (en) XML file verification method and device
CN113704135B (en) Demand coverage verification method and device
CN110427221B (en) Method and system for configuring ATO software and vehicle control parameters separately
CN115892147A (en) Computer automatic control testing method based on interlocking route and interlocking function angle
CN111949008A (en) Method and device for testing zone controller, electronic equipment and storage medium
CN114435433B (en) Method and device for verifying automatic trigger route conflict
CN115858349A (en) Data verification method and device
CN110667654B (en) Indoor test method and device for information consistency of CBTC system transponder
CN113553117A (en) Method and device for automatically generating configuration data of automatic train supervision system
CN112632200A (en) Method and system for generating urban rail transit electronic map
CN113886268A (en) TESTBED platform-based trackside controller automatic testing method
CN110228508B (en) Train passing message abnormity detection method and detection device
El Rashidy et al. Automated train driver competency performance indicators using real train driving data
CN116155769B (en) Temporary speed limiting server testing method and device
CN115782993B (en) Method and device for verifying derailment protection range of automatic triggering obstacle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant