CN112298288A - Method and device for updating and generating carriage sequence information in train management system - Google Patents

Method and device for updating and generating carriage sequence information in train management system Download PDF

Info

Publication number
CN112298288A
CN112298288A CN201910701330.6A CN201910701330A CN112298288A CN 112298288 A CN112298288 A CN 112298288A CN 201910701330 A CN201910701330 A CN 201910701330A CN 112298288 A CN112298288 A CN 112298288A
Authority
CN
China
Prior art keywords
list
train
carriage
car
sequence
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.)
Granted
Application number
CN201910701330.6A
Other languages
Chinese (zh)
Other versions
CN112298288B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology Co 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201910701330.6A priority Critical patent/CN112298288B/en
Publication of CN112298288A publication Critical patent/CN112298288A/en
Application granted granted Critical
Publication of CN112298288B publication Critical patent/CN112298288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L25/00Recording or indicating positions or identities of vehicles or trains or setting of track apparatus
    • B61L25/02Indicating or recording positions or identities of vehicles or trains
    • B61L25/028Determination of vehicle position and orientation within a train consist, e.g. serialisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The embodiment of the invention discloses a method and a device for updating and generating carriage sequence information in a train management system, wherein the method for updating the carriage sequence information comprises the following steps: determining an insertion carriage list in the insertion command; marking the carriages inserted into the carriage list according to the current train running carriage list; determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list; and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list. In the process of generating and updating the carriage and the marshalling sequence, a comprehensive data structure of information such as the running direction of the train, the carriage, the marshalling direction and the sequence is integrated. And then, the marshalling and carriage sequences are extracted at one time according to the marshalling arrangement sequence. The technical scheme provided by the embodiment of the invention can quickly and efficiently carry out the policy conformity inspection and calculate the marshalling and carriage sequence at one time, thereby improving the inspection and calculation efficiency.

Description

Method and device for updating and generating carriage sequence information in train management system
Technical Field
The embodiment of the invention relates to the technical field of train communication networks, in particular to a method and a device for updating and generating carriage sequence information in a train management system.
Background
The train is made up of a plurality of consists, each consisting of one or more cars, and the train configuration may be as shown in figure 1 a. The Train Control Management System (TCMS) can be used as the brain of a train and undertakes the functions of train instruction transmission, equipment state monitoring, fault diagnosis, information management, event recording and the like, thereby realizing the distributed control of the train and improving the operation reliability of the train.
The topology discovery protocol of the train is a protocol in a train control management system, a compartment of a train formation can send communication information through an Ethernet backbone network (ETB), and the train control management system can obtain formation information of the train through the topology discovery protocol; the train control management system can obtain the information of each marshalling carriage by receiving the message information sent by the train carriages, thereby obtaining the train running carriage sequence. However, when the topology of the cars changes, if the train cannot send the communication information and the messages through the ethernet backbone network (ETB), the train control management system cannot obtain the information of the cars, so that the car information cannot be updated, and a train driver needs to send an insertion instruction to update the cars after comparing the obtained train operation car sequence.
The standard IEC61375-2-3 protocol defined by the international electrotechnical commission is a protocol in a train control management system that defines the format of train car (vehicle gap) insert commands that allow for inserted policies but does not define how policy compliance checks are performed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for updating and generating carriage sequence information in a train management system, which can improve the strategy conformity check quickly and efficiently, improve the check efficiency, greatly improve the speed and efficiency of a train running carriage sequence calculation process and greatly simplify the whole calculation algorithm process.
In a first aspect, an embodiment of the present invention provides a method for updating car sequence information in a train management system, including:
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
In a second aspect, an embodiment of the present invention further provides a method for generating car sequence information in a train management system, where the method includes:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and using the train operation compartment sequence as a current train operation compartment list.
In a third aspect, an embodiment of the present invention further provides a method for updating train car sequence information in a train management system, including:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and forming a train operation compartment list;
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
In a fifth aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a car sequence information updating method in the train management system provided by the embodiment of the invention, or a car sequence information generating method in the train management system provided by the embodiment of the invention.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a car sequence information updating method in a train management system provided by an embodiment of the present invention or a car sequence information generating method in a train management system provided by an embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the train inserted into the train compartment list is marked through the current train running train compartment list, whether the inserted train compartment list accords with the set insertion strategy or not is determined according to the marking result, the strategy conformity inspection can be rapidly and efficiently carried out, and the inspection efficiency is improved. The embodiment of the invention integrates the marshalling information into the marshalling data structure, wherein the integrated marshalling information is the marshalling information which is sequentially sequenced according to the running direction of the train, and the train running carriage sequence is calculated on the basis of the marshalling information in the data structure to form the current train running carriage list, namely, the marshalling information which is sequentially arranged is firstly integrated to be used as transition data, then the train running carriage sequence is calculated on the basis of the marshalling information which is sequentially arranged to form the current train running carriage list, so that the speed and the efficiency of the calculation process can be greatly improved, and the whole algorithm flow is greatly simplified.
Drawings
FIG. 1a is a schematic diagram of a train configuration;
fig. 1b is a flowchart of a method for updating train car sequence information in a train management system according to an embodiment of the present invention;
fig. 2a is a flowchart of a method for updating train car sequence information in a train management system according to an embodiment of the present invention;
FIG. 2b is a flow chart of a method for marking a car to be inserted into a car list according to an embodiment of the present invention;
FIG. 2c is a flow chart of a method for determining whether an inserted car list meets a set insertion policy according to an embodiment of the present invention;
fig. 3a is a flowchart of a method for generating car sequence information in a train management system according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of Train direction provided by the embodiment of the present invention;
fig. 3c is a diagram illustrating grouping information provided by an embodiment of the present invention;
FIG. 3d is a diagram illustrating a marshalling data structure according to an embodiment of the present invention;
fig. 4a is a flowchart of a method for updating train car sequence information in a train management system according to an embodiment of the present invention;
fig. 4b is a flowchart of a method for updating information of a train car and a train formation sequence in a train management system according to an embodiment of the present invention;
fig. 5 is a block diagram of a device for updating train car sequence information in a train management system according to an embodiment of the present invention;
FIG. 6 is a block diagram of a car sequence information generating apparatus in a train management system according to an embodiment of the present invention
Fig. 7 is a block diagram of a device for updating train car sequence information in a train management system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1b is a flowchart of a car sequence information updating method in a train management system according to an embodiment of the present invention, where the device may be implemented by a car sequence information updating device in the train management system, where the device may be implemented by software and/or hardware, the device may be configured in a Train Control Management System (TCMS), and the train control management system may be configured in each car of a train, and the method is applied in a scenario of calculating a variable-consist car sequence.
As shown in fig. 1b, the technical solution provided by the embodiment of the present invention includes:
s110: an inserted car list in the insertion order is determined.
In the embodiment of the invention, the insertion instruction can be triggered by the control of a train driver, the train driver can determine the insertion carriage list according to the initial running carriage list of the train and the actual carriage of the train and trigger the insertion instruction, and the insertion instruction comprises the insertion carriage list. The train initial operation compartment list may be a train operation compartment list obtained by last operation of the current train, or may be understood as a train operation compartment list previous to the current train operation compartment list. The current train operation compartment list can be understood as a train operation compartment list obtained after the train operates again. The inserted carriage list comprises the carriages with IDs respectively being carriage identifications and the carriage with the set inserted identifier. Wherein the setting insertion identifier may be "-".
S120: and marking the carriage inserted into the carriage list according to the current train running carriage list.
In an embodiment of the present invention, the current train operating car list may be obtained from a database. The database may be a train topology database, which is an important part of a train control management system and defines the train consist, the cars, the equipment and the interactive interfaces between these components. The current train operating car list in the database may be determined by: the sequence of the formation of the train is determined by a topology discovery protocol (TTDP), wherein the connection order of the individual formations of the train can be determined by the topology discovery protocol. Each marshalling of the train can send a message, and the message carries the compartment information of each marshalling, the marshalling direction and the like. The train control management system can sequentially arrange the marshalling sequence according to the running direction of the train and the reference direction of the train, integrate the information of each marshalling direction and the sequence of the carriages in the marshalling into a marshalling data structure, sequentially extract the carriage information from the marshalling data structure, generate a train running carriage sequence, form a current train running carriage list and store the train running carriage list into a database.
In the embodiment of the present invention, the car inserted into the car list, which has the same ID as the current train operation car list, may be marked, and the consist identifier of the car in the current train operation car list, which has the same ID as the inserted car list, may be used as the consist identifier of the corresponding car in the inserted car list. Wherein the current train operation car list is a car list formed when there is a newly found car in the train or there is a car disappearance.
In the embodiment of the invention, newly found cars in the current train operation car list can be determined, the cars with the IDs corresponding to the newly found cars in the inserted car list as the set identifiers are marked, and the marshalling identifiers of the newly found cars are assigned to the corresponding cars in the inserted car list. Namely, the car which is inserted into the car list and has the same position as the newly found car and the ID of the newly found car is set as the identifier is marked, and the marshalling identifier of the newly found car is assigned to the car which is inserted into the car list and has the same position as the newly found car.
S130: and determining whether the inserted carriage list conforms to a set insertion strategy according to the marking result of the inserted carriage list.
In the embodiment of the present invention, it can be determined whether the cars inserted into the car list are between the consists of the trains according to the marking result of the inserted car list, and it can also be determined whether the number of car gaps gap in the inserted car list is the same as the number of corresponding newly found cars after the trains are re-operated (the trains are currently in operation), wherein the unmarked cars in the inserted car list are used as gaps. For example, if two cars with ID as car ID in the car list have three cars with ID as set identifier, that is, if the number of gaps between cars with ID as car ID in the car list is three, the number of newly found cars in the current train running car list is also three.
In the embodiment of the invention, whether the train running at present is a complete marshalling relative to the train running at last time can be judged according to the marking result, and whether the train running at present is a complete marshalling relative to the train running at last time can be understood as whether the train running at present is a complete marshalling relative to the train running at last time, namely whether the train running at present is a complete marshalling relative to the train running at last time. Specific judgment can be found in the following description of the embodiments.
In the embodiment of the present invention, when it is judged that the car inserted in the inserted car list is between the consists by the marking result of the inserted car list, and the newly found car and the car inserted in the car list are the same in number of gaps, and the current train operation (rerun) is one complete consist with respect to the car which has disappeared from the previous operation, it is judged that the inserted car list conforms to the set insertion policy.
S140: and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
In the embodiment of the invention, the car information inserted into the car list can be updated into the current train operation car list to form a new train operation car list. Specifically, the train running car list may be searched for a car with the same ID as that in the current train running car list, and the car with the different ID from that in the current train running car list, which is inserted in the car list, is updated to the corresponding position of the current train running car list, so as to form a new train running car list.
According to the technical scheme provided by the embodiment of the invention, the train inserted into the train compartment list is marked through the current train running train compartment list, whether the inserted train compartment list accords with the set insertion strategy or not is determined according to the marking result, the strategy conformity inspection can be rapidly and efficiently carried out, and the inspection efficiency is improved.
Fig. 2a is a flowchart of a method for updating train car sequence information in a train management system according to an embodiment of the present invention, which may be combined with the alternatives in one or more of the above embodiments. In the present embodiment, it is possible, alternatively,
the marking of the cars inserted into the car list according to the current train operation car list comprises:
marking the carriage which is inserted into the carriage list and has the same ID as the current train running carriage list; the inserted carriage list comprises a carriage identifier and a carriage with the set inserted identifier, wherein the ID is respectively the carriage identifier and the carriage with the set inserted identifier;
taking the formation identifier of the carriage in the current train operation carriage list, which is the same as the ID of the inserted carriage list, as the formation identifier of the corresponding carriage in the inserted carriage list;
determining a carriage with different ID in the current train running carriage list and the last train running carriage list as a newly found carriage;
marking the compartment with the ID corresponding to the newly found compartment as a set identifier in the inserted compartment list, and taking the group identifier where the newly found compartment is located as the group identifier where the corresponding ID in the inserted compartment list is the compartment with the set identifier.
Optionally, the determining whether the inserted car list conforms to a set insertion policy according to the marking result of the inserted car list includes:
sequentially acquiring each compartment from the insertion instruction list, and taking the compartment with the ID as the set insertion identifier as a compartment gap;
determining that the list of inserted cars meets a set insertion policy if the cars in the list of inserted cars meet the following conditions:
when a target car in the inserted car list is marked and has N consecutive gaps before the target car, the consist identification of the target car is not the same as the consist identification of the last marked non-gap car of the target car;
when the ID of a target car in the inserted car list is a set insertion identifier and the target car is marked, then the ID of a car that is consecutively arranged after the target car is a set insertion identifier and the consecutively arranged cars are marked;
when the ID of a target car in the insert car list is not a set insert identifier and the target car is not marked, then the consist consecutively arranged after the target car identifies that the same car is not marked.
As shown in fig. 2a, the technical solution provided by the embodiment of the present invention includes:
s210: an inserted car list in the insertion order is determined.
S220: marking the carriage which is inserted into the carriage list and has the same ID as the current train running carriage list; the inserted carriage list comprises a carriage ID which is a carriage identification and a carriage with an inserted identifier.
In the embodiment of the present invention, the car list includes cars with IDs respectively being car identifications and set insertion identifiers, where the set insertion identifiers may be "-", or may also be other insertion identifiers. For example, the list of inserted cars may be illustrated as "A-D-E", where A, D and E are the actual car identifications and "-" is the set insertion identifier, respectively.
In the embodiment of the present invention, the current train operation car list may be specifically obtained from the database, the train operation car list is sequentially traversed, a car with the same ID as that in the current train operation car list is searched from the inserted car list, and the car with the same ID as that in the current train operation car list is marked in the inserted car list.
S230: and taking the formation identifier of the carriage in the current train operation carriage list, which is the same as the inserted carriage list ID, as the formation identifier of the corresponding carriage in the inserted carriage list.
In the embodiment of the invention, after the train with the same ID as that in the current train operation train compartment list is inserted into the train compartment list, the grouping identification of each train in the current train operation train compartment list is respectively assigned to the train with the same ID as that in the inserted train compartment list. For example, the list of inserted cars may be denoted as "A-D-E" and the list of current train running cars may be denoted as "A B C D E", where the cars with the same ID in the list of current train running cars and the list of inserted cars are "A", "D", and "E", respectively. Then the marshalling identifications in which the 'AD E' in the current train operation carriage list are respectively positioned are sequentially assigned to the 'AD E' inserted into the carriage list.
S240: and determining the carriage with the different ID in the current train running carriage list and the last train running carriage list according to the last train running carriage list, and taking the carriage as a newly found carriage.
In the embodiment of the invention, the train running carriage list corresponding to the last running of the train can be obtained from the database, namely the last train running carriage list, the last train running carriage list is compared with the current train running carriage list, and the carriages with different IDs are determined to be newly found carriages. For example, the current train operating car list may be denoted as "a B C D E", the last train operating car list may be denoted as "a D E", and "B" and "C" are newly found cars in the current train operating car list.
S250: and marking the compartment of which the ID corresponding to the specific compartment in the inserted compartment list is a set identifier, and taking the group identifier of the newly found compartment as the group identifier of the compartment of which the corresponding ID in the inserted compartment list is the set identifier.
In the embodiment of the present invention, when there is a newly found car in the current train operation car list, the car inserted into the car list corresponding to the newly found car is: the ID is the car for which the insertion identifier is set. Wherein, newly found carriage and the carriage inserted into the carriage list are corresponding carriages: and inserting the compartment with the same position as the newly found compartment in the compartment list, and taking the grouping identification of the newly found compartment as the grouping identification of the compartment with the same position and the ID set as the insertion identifier in the compartment list. For example, if the list of inserted cars may be denoted as "A-D-E," the list of current train operating cars may be denoted as "A B C D E," and the list of last train operating cars may be denoted as "A D E," then "B" and "C" are the newly found cars in the list of current train operating cars. The grouping identifications of the 'B' and 'C' are respectively used as the grouping identifications of the 'A' and 'D' which are inserted between the 'A' and the 'D' in the carriage list, and the ID is 'minus' carriage.
In the embodiment of the present invention, optionally, a process of specifically marking the car may refer to fig. 2 b. Optionally, when the insertion identifier may be set to be "-", a specific process of marking the car inserted into the car list may be:
the method comprises the following steps: the first car in the current train operating car list in the database is taken out. Wherein the ID of each car in the current train operating car list and the consist number where it is located are known. The consist number of each car in the inserted car list in the insertion instruction is unknown, and the ID of the car in the inserted car list includes a car identification (car actual ID) and a set insertion identifier "-".
Step two: and finding the carriage with the same ID as the carriage taken out from the current train running carriage list in the inserted carriage list, marking the carriage with the same ID as the taken-out carriage in the inserted carriage list if the carriage is found, and recording the position of the current carriage in the inserted carriage list.
Step three: if the car with the same ID as the car extracted in the second step is not found, the first ID of the unmarked car with the "-" is found from the position of the last recorded car, and the marshalling number of the car extracted from the current train running car list is assigned to the unmarked car with the first ID of the inserted car list with the "-", so that the newly found car can be corresponding to the gap inserted in the car list in the insertion command.
Step four: and if the position of the carriage in the inserted carriage list cannot be determined in the second step and the third step, the inserted carriage list in the insertion command does not accord with the set insertion strategy, the insertion command is rejected, and the processing is finished.
Step five: and taking out the next carriage in the current train running carriage list in the database, repeating the step two, the step three and the step four until each carriage in the current train running carriage list in the database is processed, and finishing the processing.
Therefore, the method marks the carriage inserted into the instruction list, and the marking of the carriage can be accurately and quickly realized.
S260: each car is sequentially retrieved from the insertion order list, and the unmarked car is taken as a car gap.
S270: determining that the list of inserted cars meets a set insertion policy if the cars in the list of inserted cars meet the following conditions:
when a target car in the inserted car list is marked and has N consecutive gaps before the target car, the consist identification of the target car is not the same as the consist identification of the last marked non-gap car of the target car;
when the ID of a target car in the inserted car list is a set insertion identifier and the target car is marked, the ID of a car that is consecutively arranged after the target car is a set insertion identifier and the consecutively arranged cars are marked;
when the ID of a target car in the insert car list is not a set insert identifier and the target car is not marked, then the consist consecutively arranged after the target car identifies that the same car is not marked.
In the embodiment of the invention, when the target car inserted into the car list is marked and has N consecutive gaps in front of the target car, the group identification of the target car is different from the group identification of the last marked non-gap car of the target car, which indicates that the car to be inserted (the car with the ID set as the insertion identifier) in the inserted car list is inserted between two different groups. For example, if the list of inserted cars is indicated as "a-D-E," D "in the list of inserted cars is marked and the last marked non-gap car that preceded" D "has 2 consecutive gaps, D is a, if the consist identifications of D and a are not the same, indicating that the car to be inserted is inserted between two different consists.
In the embodiment of the present invention, when the ID of the target car inserted in the car list is the set insertion identifier and the target car is marked, the ID of the car arranged consecutively after the target car is the set insertion identifier and the consecutively arranged cars are marked. If the ID of the target compartment is the set insertion identifier and the target compartment is marked, indicating that the target compartment corresponds to the newly discovered compartment; if the ID of the cars consecutively arranged behind the target car is the set insertion identifier and is marked, it indicates that the number of target cars in the inserted car list is the same as the number of newly found cars, i.e., the number of gaps in the inserted car list is the same as the number of newly found cars corresponding to the gaps.
In the embodiment of the present invention, when the ID of the target car inserted into the car list is not the set insertion identifier and the target car is not marked, it indicates that there is no car corresponding to the target car in the current train running car list and also indicates that the target car is the car that disappears in the current train running car list. When the cars in the consist that are consecutively arranged behind the target car and identify the same car are not marked, it indicates that the car that disappears from the current train running car list is a complete consist.
The method flow of specifically inserting whether the car list conforms to the set insertion policy may also refer to fig. 2c, and specifically may be divided into two parts:
the first partial flow may be as follows:
step one, setting hasGap as 0; the values of both preCstNo and currstno are set to 0, and the car inserted in the car list is taken out.
Step two, if the target car is marked and the consist number of the car is recorded into currCstNo, the consist number of the last marked non-gap car of the car is recorded into PRECstNo. If the hasGap flag has been set to 1 (N gap cars ahead of the car) and the values of PRECstNo and CurCstNo are the same, this indicates that a car was inserted within the same consist, and the prescribed policy is not met, exiting, and the process ends. If the values of PRECstNo and CurCstNo are different, the prescribed policy is met and the process continues. The hasGap (here gap) flag is set to 0.
And step three, if the target compartment is not marked, setting the hasGap (gap in the case of the target compartment) mark as 1.
And step four, taking out the next carriage inserted into the carriage list, and performing the same processing from the step 1.
Through the above-described procedure, it is necessary to determine whether the formation numbers of the front and rear cars of each gap are the same. If the two are the same, a new car is inserted inside the consist, and the specified strategy is not met.
The second part of the process may be as follows:
the method comprises the following steps: and taking out each marked carriage inserted into the carriage list.
Step two: if the target car ID is "-" and marked, the following consecutively arranged cars whose IDs are "-" are checked in order from the target car. If there is a car with an ID of "-", but the car is not marked, the check fails, and the set insertion policy is not met.
Step three; if the ID of the target car is not "-" and is marked, the following cars having the same consecutive consist number are checked in sequence from the target car. If there is a marked car, the check fails and the set insertion strategy is not met.
Thus, by performing the check on the marked inserted car list, if there is a car disappearance, the whole cars in the consist disappear. If a gap car is found between two non-gap cars, all intervening gap cars between the two non-gap cars are found. Otherwise, the set insertion strategy is not met.
In the embodiment of the present invention, the method may further include: and when the head carriage in the last train running carriage list is the same as the head carriage in the current train running carriage list and the tail carriage in the last train running carriage list is the same as the tail carriage in the current train running carriage list, judging that the inserted carriage list conforms to the set insertion strategy. That is, when the car inserted into the car list satisfies the three conditions described in S270, and "the head car in the last train operation car list is the same as the head car in the current train operation car list, and the end car in the last train operation car list is the same as the end car in the current train operation car list, it is determined that the inserted car list satisfies the set insertion policy", it is determined that the inserted car list satisfies the set insertion policy.
S280: and updating the train re-running list according to the inserted carriage list to form a new train running carriage list.
Therefore, by marking the cars inserted into the car list and judging whether the inserted car list conforms to the set insertion strategy or not according to the marking result, the strategy conformance check can be quickly, efficiently, stably and reliably carried out, and the method is an important supplement and refinement for the IEC61375-2-3 train topology database protocol.
On the basis of the above embodiment, it may further include updating the train operation marshalling sequence according to the new train operation car list. Each carriage in the new train operation carriage list has a marshalling identifier, a newly inserted carriage in the new train operation carriage list can have an independent marshalling, the marshalling identifier of each carriage in the new train operation carriage list is determined, and the train operation marshalling sequence is updated to form a new train operation marshalling sequence.
Fig. 3a is a flowchart of a method for generating car sequence information in a train management system according to an embodiment of the present invention, where the device may be implemented by a car sequence information generating device in the train management system, where the device may be implemented by software and/or hardware, the device may be configured in a train control management system, and the train control management system may be configured in each car of a train.
As shown in fig. 3a, the technical solution provided by the embodiment of the present invention includes:
s310: determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist.
In the embodiment of the invention, the connection sequence of each train can be determined through a topology discovery protocol (TTDP). Each marshalling of the train can send a message, and the message carries the compartment information of each marshalling, the marshalling direction and the like.
In the embodiment of the invention, according to the IEC61375-2-3 protocol standard, a Train marshalling directory (Train direction) and marshalling information (Train information) can be obtained through a Train target computing state machine (Train direction computing state machine) in a Train control management system. The Train direction is a Train formation sequence physically connected in a reference direction, and is used as a first Train formation sequence. The reference direction may be determined according to a set rule, or may also need to be determined. The Train direction can be determined by the Train target computer state machine according to the received message of each marshalling. The Train direction includes attribute information of each consist in a Train, and the attribute information includes a direction of the consist and car sequence information in the consist. The schematic diagram of Train direction can be as shown in fig. 3b, and the schematic diagram of relationship information can be as shown in fig. 3 c.
In the embodiment of the invention, the train running direction is specified by a train driver by sending a Lead instruction, and the train running direction may be the same as or opposite to the train reference direction.
S320: and sequentially arranging each group in the first train group sequence according to the train running direction based on the reference direction and the running direction to obtain a second train group sequence, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure.
In the embodiment of the present invention, if the reference direction and the traveling direction of the train are the same, the arrangement order of each train in the first train formation sequence and the second train formation sequence is the same, and if the reference direction and the traveling direction of the train are opposite, the arrangement order of each train in the first train formation sequence and the second train formation sequence is opposite.
In the embodiment of the present invention, for example, if the reference direction and the operation direction are opposite, the order of the groups in the second grouping sequence and the first grouping sequence is opposite. When the direction of each consist in the second train consist sequence and the car sequence information within the consist are integrated into a consist data structure, the consist data structure includes the car sequence information within each consist and each consist, and may also include the direction of the consist. For example, a schematic diagram of integrating the respective consist directions in fig. 3b and 3c in S310 and the car sequence information of the consist into a consist data structure with reference to the opposite direction and the opposite running direction is shown in fig. 3 d.
S330: and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and using the train operation compartment sequence as a current train operation compartment list.
In the embodiment of the present invention, the extracted car information may include ID information of cars extracted in sequence, and may further include other information, and each piece of car information is sorted according to the sequence extracted in sequence, so as to generate a train operation car sequence, and the train operation car sequence is used as a current train operation car list. For example, from the car information extracted from the consist data structure shown in fig. 3d, the current train operating car sequence generated may be the sequence shown in table 1.
TABLE 1
Figure BDA0002150886430000111
Figure BDA0002150886430000121
According to the technical scheme provided by the embodiment of the invention, the marshalling information is integrated into the marshalling data structure, wherein the marshalling information is the marshalling information which is sequentially sequenced according to the running direction, the train running carriage sequence is calculated on the basis of the marshalling information in the data structure, and the current train running carriage list is formed, namely, the marshalling information which is sequentially arranged is integrated as transition data, then the train running carriage sequence is calculated on the basis of the marshalling information which is sequentially arranged, and the current train running carriage list is formed, so that the speed and the efficiency of the calculation process can be greatly improved, and the whole algorithm flow is greatly simplified.
On the basis of the foregoing embodiment, the method provided in the embodiment of the present invention may further include: and sequentially extracting marshalling information from the marshalling data structure, generating a train operation marshalling sequence and forming a current train operation marshalling list. The grouping information may include a grouping identifier, and may also include other grouping information. For example, generating a list run grouping sequence by extracting grouping information from the grouping data structure shown in fig. 3d may be as shown in fig. 2.
TABLE 2
Index Consist UUID opCstNo opCstOrient trnCstNo
0 1015 1 Is just 4
1 1012 2 Is just 3
2 1013 3 Inverse direction 2
3 1011 4 Is just 1
Wherein, opsstno (operational control number in train) is train operation group number; the constituent orientation is the train formation direction, and trnCstNo (sequence number of constituent in train) is the train formation serial number.
It should be noted that the train operation car sequence may also be referred to as a train operation directory car sequence, and the train operation formation sequence may also be referred to as a train operation directory formation sequence. The operation directory (operational Train directory) calculation is to apply an insertion command input by a driver to the contents of the Train directory and the continest information, integrate the content information and calculate the operation directory of the Train. The train operation catalog mainly comprises a train operation catalog compartment sequence and a train operation catalog marshalling sequence which are arranged according to the train operation direction.
Fig. 4a is a flowchart of a car sequence information updating method in a train management system according to an embodiment of the present invention, where the device may be implemented by a car sequence information updating device in the train management system, where the device may be implemented by software and/or hardware, the device may be configured in a Train Control Management System (TCMS), and the train control management system may be configured in each car of a train, and the method is applied in a scenario of calculating a variable-consist car sequence.
As shown in fig. 4a, the technical solution provided by the embodiment of the present invention includes:
s410: determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist.
S420: and sequentially arranging each group in the first train group sequence according to the train running direction based on the reference direction and the running direction to obtain a second train group sequence, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure.
S430: and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence and forming a train operation compartment list.
S440: an inserted car list in the insertion order is determined.
S450: and marking the carriage inserted into the carriage list according to the current train running carriage list.
S460: and determining whether the inserted carriage list conforms to a set insertion strategy according to the marking result of the inserted carriage list.
S470: and if so, updating the train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
The method provided by the embodiment of the invention can also comprise the following steps: and updating the train operation marshalling sequence according to the new train operation compartment list to form a new train operation marshalling sequence.
The descriptions of S410-S470 refer to the descriptions of the above embodiments, and are not repeated.
For example, if a car is inserted after each of the consist 1015 and the consist 1013 shown in fig. 3b and 3c, the resulting new train operation consist sequence is shown in table 3, and the resulting new train operation car list is shown in table 4.
TABLE 3
Index Consist UUID opCstNo opCstOrient trnCstNo
0 1015 1 Is just 4
1 - 2 - -
2 1012 3 Is just 3
3 1013 4 Inverse direction 2
4 - 5 - -
5 1011 6 Inverse direction 1
TABLE 4
Index vehId opVehNo isLead leadDir trnVehNo vehOrient ownOpCstNo
0 3427 1 Is that Is just 8 Is just 1
1 - 2 Whether or not Is irrelevant 0 - 2
2 3424 3 Whether or not Is irrelevant 7 Is just 3
3 3425 4 Whether or not Is irrelevant 6 Is just 3
4 3426 5 Whether or not Is irrelevant 5 Is just 4
5 3422 6 Whether or not Is irrelevant 4 Inverse direction 4
6 3420 7 Whether or not Is irrelevant 3 Is just 4
7 - 8 Whether or not Is irrelevant 0 - 5
8 3423 9 Whether or not Is irrelevant 2 Is just 6
9 3421 10 Whether or not Is irrelevant 1 Is just 6
Fig. 4b may also be referred to for a method provided in an embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the train inserted into the train compartment list is marked through the current train running train compartment list, whether the inserted train compartment list accords with the set insertion strategy or not is determined according to the marking result, the strategy conformity inspection can be rapidly and efficiently carried out, and the inspection efficiency is improved. The embodiment of the invention integrates the marshalling information into the marshalling data structure, wherein the integrated marshalling information is the marshalling information which is sequentially sequenced according to the running direction of the train, and the train running carriage sequence is calculated on the basis of the marshalling information in the data structure to form the current train running carriage list, namely, the marshalling information which is sequentially arranged is firstly integrated to be used as transition data, then the train running carriage sequence is calculated on the basis of the marshalling information which is sequentially arranged to form the current train running carriage list, so that the speed and the efficiency of the calculation process can be greatly improved, and the whole algorithm flow is greatly simplified.
Fig. 5 is a block diagram illustrating a structure of a car sequence information updating apparatus in a train management system according to an embodiment of the present invention, and as shown in fig. 5, the apparatus according to the embodiment of the present invention includes a first determining module 510, a marking module 520, a second determining module 530, and an updating module 540.
A first determining module 510 for determining a list of inserted cars in the insertion order;
a marking module 520, configured to mark the car inserted in the car list according to the current train operation car list;
a second determining module 530, configured to determine whether the list of inserted cars meets a set insertion policy according to the marking result of the list of inserted cars;
and if so, updating the current train operating compartment list according to the inserted compartment list to form a new train operating compartment list.
Optionally, the marking module 520 is configured to:
marking the carriage which is inserted into the carriage list and has the same ID as the current train running carriage list; the inserted carriage list comprises a carriage identifier and a carriage with the set inserted identifier, wherein the ID is respectively the carriage identifier and the carriage with the set inserted identifier;
taking the formation identifier of the carriage in the current train operation carriage list, which is the same as the ID of the inserted carriage list, as the formation identifier of the corresponding carriage in the inserted carriage list;
determining a carriage with different ID in the current train running carriage list and the last train running carriage list as a newly found carriage;
marking the compartment with the ID corresponding to the newly found compartment as a set identifier in the inserted compartment list, and taking the group identifier where the newly found compartment is located as the group identifier where the corresponding ID in the inserted compartment list is the compartment with the set identifier.
Optionally, the second determining module 530 is configured to:
sequentially acquiring each compartment from the insertion instruction list, and taking the compartment with the ID as the set insertion identifier as a compartment gap;
determining that the list of inserted cars meets a set insertion policy if the cars in the list of inserted cars meet the following conditions:
when a target car in the inserted car list is marked and has N consecutive gaps before the target car, the consist identification of the target car is not the same as the consist identification of the last marked non-gap car of the target car;
when the ID of a target car in the inserted car list is a set insertion identifier and the target car is marked, then the ID of a car that is consecutively arranged after the target car is a set insertion identifier and the consecutively arranged cars are marked;
when the ID of a target car in the insert car list is not a set insert identifier and the target car is not marked, then the consist consecutively arranged after the target car identifies that the same car is not marked.
Optionally, the second determining module 530 is further configured to:
and when the head carriage in the last train running carriage list is the same as the head carriage in the current train running carriage list and the tail carriage in the last train running carriage list is the same as the tail carriage in the current train running carriage list, determining that the inserted carriage list conforms to the set insertion strategy.
And the updating module 540 is further configured to update the train operation marshalling sequence according to the new train operation compartment list.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a block diagram of a car sequence information generating device in a train management system according to an embodiment of the present invention, and as shown in fig. 6, the device according to the embodiment of the present invention includes: a determination module 610, an integration module 620, and a generation module 630.
A determining module 610, configured to determine a running direction of a train, and determine a first train formation sequence physically connected according to a reference direction and attribute information of each formation; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
an integrating module 620, configured to sequentially arrange each consist in the first train consist sequence according to the running direction of the train based on the reference direction and the running direction to obtain a second train consist sequence, and integrate the direction of each consist in the second train consist sequence and the train sequence information in the consist into a consist data structure;
a generating module 630, configured to sequentially extract car information from the formation data structure, generate a train operation car sequence, and use the train operation car sequence as a current train operation car list.
Optionally, the generating module 630 is further configured to:
and sequentially extracting marshalling information from the marshalling data structure, generating a train operation marshalling sequence and forming a current train operation marshalling list.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a block diagram of a structure of a car sequence information updating apparatus in a train management system according to an embodiment of the present invention, and as shown in fig. 7, the apparatus according to the embodiment of the present invention includes: a determination module 710, an integration module 720, a generation module 730, a first determination module 740, a marking module 750, a second determination module 760, and an update module 770.
A determining module 710, configured to determine a running direction of a train, and determine a first train formation sequence physically connected according to a reference direction and attribute information of each formation; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
an integrating module 720, configured to sequentially arrange each consist in the first train consist sequence according to the running direction of the train based on the reference direction and the running direction to obtain a second train consist sequence, and integrate the direction of each consist in the second train consist sequence and the train sequence information in the consist into a consist data structure;
a generating module 730, configured to sequentially extract car information from the formation data structure, generate a train operation car sequence, and form a train operation car list;
a first determining module 740 for determining a list of inserted cars in the insertion order;
a marking module 750, configured to mark the car inserted in the car list according to the current train operation car list;
a second determining module 760, configured to determine whether the inserted car list conforms to a set insertion policy according to the marking result of the inserted car list;
and an updating module 770, configured to update the train operating car list according to the inserted car list if yes, so as to form a new train operating car list.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention, and as shown in fig. 8, the apparatus may be a train, and may include:
one or more processors 810, one processor 810 being illustrated in FIG. 8;
a memory 820;
the apparatus may further include: an input device 830 and an output device 840.
The processor 810, the memory 820, the input device 830 and the output device 840 of the apparatus may be connected by a bus or other means, for example, in fig. 8.
The memory 820 is a non-transitory computer-readable storage medium and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a car sequence information updating method in a train management system in an embodiment of the present invention (for example, the determining module 510, the marking module 520, the second determining module 530, and the updating module 540 shown in fig. 5, or the determining module 710, the integrating module 720, the generating module 730, the first determining module 740, the marking module 750, the second determining module 760, and the updating module 770 shown in fig. 7), or program instructions/modules corresponding to a car sequence information generating method in a train management system in an embodiment of the present invention (the determining module 610, the integrating module 620, and the generating module 630 shown in fig. 6). The processor 810 executes various functional applications and data processing of a computer device by running software programs, instructions and modules stored in the memory 820, so as to implement the train sequence information updating method in the train management system of the above-mentioned method embodiment, that is:
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
Or the method for generating the carriage sequence information in the train management system, which realizes the embodiment of the method, comprises the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and using the train operation compartment sequence as a current train operation compartment list.
Or the method for updating the train compartment sequence information in the train management system, which realizes the embodiment of the method, comprises the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and forming a train operation compartment list;
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 820 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 820 may optionally include memory located remotely from processor 810, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 840 may include a display device such as a display screen.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a car sequence information updating method in a train management system, according to an embodiment of the present invention:
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
Or the method for generating the carriage sequence information in the train management system, which realizes the embodiment of the method, comprises the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and using the train operation compartment sequence as a current train operation compartment list.
Or the method for updating the train compartment sequence information in the train management system, which realizes the embodiment of the method, comprises the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and forming a train operation compartment list;
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for updating carriage sequence information in a train management system is characterized by comprising the following steps:
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the current train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
2. The method of claim 1, wherein said marking the cars inserted in the list of cars according to the current train operating car list comprises:
marking the carriage which is inserted into the carriage list and has the same ID as the current train running carriage list; the inserted carriage list comprises a carriage identifier and a carriage with the set inserted identifier, wherein the ID is respectively the carriage identifier and the carriage with the set inserted identifier;
taking the formation identifier of the carriage in the current train operation carriage list, which is the same as the ID of the inserted carriage list, as the formation identifier of the corresponding carriage in the inserted carriage list;
determining a carriage with different ID in the current train running carriage list and the last train running carriage list as a newly found carriage;
marking the compartment with the ID corresponding to the newly found compartment as a set identifier in the inserted compartment list, and taking the group identifier where the newly found compartment is located as the group identifier where the corresponding ID in the inserted compartment list is the compartment with the set identifier.
3. The method of claim 2, wherein said determining whether the list of inserted cars complies with a set insertion policy based on the tagged result of the list of inserted cars comprises:
sequentially acquiring each compartment from the insertion instruction list, and taking the compartment with the ID as the set insertion identifier as a compartment gap;
determining that the list of inserted cars meets a set insertion policy if the cars in the list of inserted cars meet the following conditions:
when a target car in the inserted car list is marked and has N consecutive gaps before the target car, the consist identification of the target car is not the same as the consist identification of the last marked non-gap car of the target car;
when the ID of a target car in the inserted car list is a set insertion identifier and the target car is marked, then the ID of a car that is consecutively arranged after the target car is a set insertion identifier and the consecutively arranged cars are marked;
when the ID of a target car in the insert car list is not a set insert identifier and the target car is not marked, then the consist consecutively arranged after the target car identifies that the same car is not marked.
4. The method of claim 3, further comprising:
and when the head carriage in the last train running carriage list is the same as the head carriage in the current train running carriage list and the tail carriage in the last train running carriage list is the same as the tail carriage in the current train running carriage list, determining that the inserted carriage list conforms to the set insertion strategy.
5. The method of claim 1, further comprising:
and updating the train operation marshalling sequence according to the new train operation compartment list.
6. A method for generating train car sequence information in a train management system is characterized by comprising the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
and sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and using the train operation compartment sequence as a current train operation compartment list.
7. The method of claim 6, further comprising:
and sequentially extracting marshalling information from the marshalling data structure, generating a train operation marshalling sequence and forming a current train operation marshalling list.
8. A method for updating carriage sequence information in a train management system is characterized by comprising the following steps:
determining the running direction of a train, and determining a first train marshalling sequence which is physically connected according to a reference direction and attribute information of each marshalling; wherein the attribute information includes a direction of the consist and car sequence information within the consist;
sequentially arranging each group in the first train group sequence according to the running direction of the train to obtain a second train group sequence based on the reference direction and the running direction, and integrating the direction of each group in the second train group sequence and the train sequence information in the group into a group data structure;
sequentially extracting compartment information from the marshalling data structure, generating a train operation compartment sequence, and forming a train operation compartment list;
determining an insertion carriage list in the insertion command;
marking the carriages inserted into the carriage list according to the current train running carriage list;
determining whether the inserted carriage list accords with a set insertion strategy according to the marking result of the inserted carriage list;
and if so, updating the train operation compartment list according to the inserted compartment list to form a new train operation compartment list.
9. An apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for updating sequence information of cars in a train management system according to any one of claims 1 to 5, the method for generating sequence information of cars in a train management system according to claim 6 or 7, or the method for updating sequence information of cars in a train management system according to claim 8.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the car sequence information updating method according to any one of claims 1 to 5, or the car sequence information generating method in a train management system according to claim 6 or 7, or the car sequence information updating method in a train management system according to claim 8.
CN201910701330.6A 2019-07-31 2019-07-31 Method and device for updating and generating carriage sequence information in train management system Active CN112298288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910701330.6A CN112298288B (en) 2019-07-31 2019-07-31 Method and device for updating and generating carriage sequence information in train management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910701330.6A CN112298288B (en) 2019-07-31 2019-07-31 Method and device for updating and generating carriage sequence information in train management system

Publications (2)

Publication Number Publication Date
CN112298288A true CN112298288A (en) 2021-02-02
CN112298288B CN112298288B (en) 2023-03-24

Family

ID=74486252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910701330.6A Active CN112298288B (en) 2019-07-31 2019-07-31 Method and device for updating and generating carriage sequence information in train management system

Country Status (1)

Country Link
CN (1) CN112298288B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683441A (en) * 2015-01-09 2015-06-03 北京纵横机电技术开发公司 Communication method of railway vehicle network system
CN107878468A (en) * 2016-12-27 2018-04-06 比亚迪股份有限公司 Train, train marshalling list runtime and method
CN108600018A (en) * 2018-04-27 2018-09-28 北京东土军悦科技有限公司 A kind of discovery method, apparatus, train apparatus and the storage medium of train topology
CN108928352A (en) * 2017-05-25 2018-12-04 比亚迪股份有限公司 Train weight linked method, system and device
CN109305200A (en) * 2017-07-28 2019-02-05 比亚迪股份有限公司 Train sequence, the calculation method of train mobile authorization, device and its equipment
CN109383527A (en) * 2017-08-03 2019-02-26 比亚迪股份有限公司 Train marshalling list method, marshalling controller and train
CN109587283A (en) * 2018-11-20 2019-04-05 北京东土科技股份有限公司 A kind of communication means of vehicle marshalling, vehicle gateway and system
CN109600247A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Train topological management method and system
CN109600244A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Train topological management method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683441A (en) * 2015-01-09 2015-06-03 北京纵横机电技术开发公司 Communication method of railway vehicle network system
CN107878468A (en) * 2016-12-27 2018-04-06 比亚迪股份有限公司 Train, train marshalling list runtime and method
CN108928352A (en) * 2017-05-25 2018-12-04 比亚迪股份有限公司 Train weight linked method, system and device
CN109305200A (en) * 2017-07-28 2019-02-05 比亚迪股份有限公司 Train sequence, the calculation method of train mobile authorization, device and its equipment
CN109383527A (en) * 2017-08-03 2019-02-26 比亚迪股份有限公司 Train marshalling list method, marshalling controller and train
CN109600247A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Train topological management method and system
CN109600244A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Train topological management method and system
CN108600018A (en) * 2018-04-27 2018-09-28 北京东土军悦科技有限公司 A kind of discovery method, apparatus, train apparatus and the storage medium of train topology
CN109587283A (en) * 2018-11-20 2019-04-05 北京东土科技股份有限公司 A kind of communication means of vehicle marshalling, vehicle gateway and system

Also Published As

Publication number Publication date
CN112298288B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US10999248B2 (en) Information processing method, information processing system, and non-transitory computer-readable recording medium storing a program
CN110445719B (en) Routing table management method, device, equipment and storage medium
CN108327745B (en) Real-time train data analysis method and device
CN105684382A (en) Packet control method, switch and controller
EP3889783A1 (en) Vehicle log transmission device, vehicle log analysis system, and vehicle log transmission/reception method
CN106571942B (en) Configuration data updating method, client and server
CN114153980A (en) Knowledge graph construction method and device, inspection method and storage medium
CN110390082B (en) Communication matrix comparison method and system
CN108600018B (en) Train topology discovery method and device, train equipment and storage medium
CN111611290B (en) Address rapid positioning method and device, computer equipment and storage medium
CN105681199B (en) The processing method and processing device of message data in a kind of vehicle bus
CN113946546A (en) Abnormality detection method, computer storage medium, and program product
CN111901317A (en) Access control policy processing method, device and equipment
CN111464515A (en) Data conversion method, device, equipment and storage medium
CN108629124B (en) Method for automatically generating simulation parameter data based on active graph path
CN112298288B (en) Method and device for updating and generating carriage sequence information in train management system
CN107483508B (en) Message filtering method, device, equipment and storage medium
CN104219160A (en) Method and device for generating input parameter
CN105340227B (en) Method, controller, interchanger and the system that information is transmitted between open flows flow table
CN105929724A (en) OBD product identification method and system based on data request circulation
JP6992309B2 (en) Transmitter, receiver, and communication method
CN115167351A (en) Controller function updating method and system, vehicle and server
CN110674068B (en) Information interaction method between boards, distributed boards and storage medium
CN109558744B (en) Data processing method and system
CN113965408A (en) Method, device, medium and equipment for extracting HTTP (hyper text transport protocol) message

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