Method for quickly generating information of train set and related product

By acquiring and judging the basic data of EMU train number information, a new version of train number information is generated using a pathfinding algorithm, which solves the problems of low efficiency and low accuracy in the existing technology and realizes fast and accurate train number information generation.

CN120975057BActive Publication Date: 2026-06-23CHINA RAILWAY XIAN GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA RAILWAY XIAN GRP CO LTD
Filing Date
2025-08-13
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing technologies for generating EMU train number information are inefficient and inaccurate, leading to data matching errors and logical detection omissions, making it difficult to meet the high-frequency and high-density operational needs of railway transportation.

Method used

By acquiring the train schedule, train number list, and old version train number information of EMU passenger trains, basic data is generated, and it is determined whether it meets the preset standards. The pathfinding algorithm is used to solve the optimal path, output the new version train number information, and automatically correct data that does not meet the standards.

Benefits of technology

It enables the rapid and highly accurate generation of EMU train number information files, reduces manual operations, improves data accuracy and production efficiency, and ensures the reliability of train scheduling and passenger travel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120975057B_ABST
    Figure CN120975057B_ABST
Patent Text Reader

Abstract

The application discloses a method for quickly generating motor train unit train number information and related products, and belongs to the technical field of motor train unit train number information generation. The method for quickly generating motor train unit train number information provided by the application generates basic data by acquiring a motor train unit passenger train operation diagram, a motor train unit train number list and old version motor train unit train number information, then detects whether the basic data meets preset standards, automatically calculates and solves new version motor train unit train number information for the basic data meeting the preset standards, and outputs abnormal conditions and modifies the basic data not meeting the preset standards, so that the correctness of input data is ensured. The method can automatically generate a new version motor train unit train number information file according to the basic data, and greatly improves the efficiency and accuracy of train number information file production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of EMU train number information generation technology, specifically to a method for rapidly generating EMU train number information and related products. Background Technology

[0002] With the rapid expansion of the railway network and the popularization of high-speed rail, the operating density of EMU trains has increased significantly, and the organization of train operations faces unprecedented complexity. As the core data carrier for train operation scheduling, ticketing management, passenger services and emergency response, the efficiency and accuracy of the compilation of EMU train number information files directly affect the overall efficiency of the railway transportation system.

[0003] However, the train number information of high-speed trains consists of three parts: station data, line data, and train number data. The generation of train number information files in the existing technology is highly dependent on manual operation, which has the following drawbacks: On the one hand, the manual processing of a large amount of data results in a huge workload, and the data detection, route calculation and other links rely on manual judgment, which is inefficient and difficult to meet the high-frequency and high-density operation needs of railway transportation; on the other hand, manual operation is prone to problems such as data matching errors and logical detection omissions, such as inconsistencies between the stopping station and the originating / terminating station, and missing train number, which makes it difficult to guarantee the quality of the generated train number information files, and has an adverse impact on train scheduling and passenger travel.

[0004] Therefore, how to improve the efficiency and accuracy of generating EMU train number information has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a method and related products for rapidly generating EMU train number information, so as to overcome the problems of low efficiency and low accuracy in the generation of EMU train number information in the prior art.

[0006] The present invention solves the above-mentioned technical problems through the following technical solution:

[0007] A method for rapidly generating EMU train number information includes the following steps:

[0008] Step 1: Based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database, obtain the basic data of EMU train numbers;

[0009] Step 2: Determine whether the basic data meets the preset standard. If the result is yes, proceed to Step 3; if the result is no, output the reason and basic data for not meeting the preset standard, and proceed to Step 4.

[0010] Step 3: Based on the basic data that meets the preset standards, the optimal path from the originating station to the destination station is solved by the routing algorithm. The optimal path includes the running line data, the information of the stops and the information of the non-stops. If the solution fails, the reason for the failure and the basic data are output, and step 4 is executed. If the solution succeeds, the solution result is output as the new version of the EMU train number information.

[0011] Step 4: Correct the basic data according to the reason, update it to the current database, and then return to Step 1.

[0012] A further improvement of the present invention is that the basic data includes train schedule data, train number data, station data, and line data of the EMU train number information to be generated;

[0013] The process of obtaining basic data for high-speed train numbers based on the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information includes the following steps: obtaining the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information; and obtaining the total number of train numbers and the first train number based on the high-speed train number list to be generated.

[0014] Based on the EMU passenger train operation schedule, obtain the operation schedule train number data, which includes the second train number, a list of stops, the originating station and the destination station;

[0015] Based on the old version of EMU train number information, station data and line data are obtained. The station data includes station number, station Chinese name, station Chinese abbreviation and station English name; the line data includes line number, line Chinese name, line English name and a list of stations to which the line belongs. The list of stations to which the line belongs includes the station number of the line and the mileage of the station to which the line belongs.

[0016] A further improvement of the present invention is that the preset standard specifically includes a first preset standard based on the total number of train numbers and the first train number of the EMU train number information to be generated, a second preset standard based on the train number data of the timetable, and a third preset standard based on station data and line data.

[0017] A further improvement of the present invention is that determining whether the basic data meets the first preset standard specifically includes:

[0018] Determine whether the total number of train numbers in the train number information to be generated is between 1 and 255. If it is, it meets the preset standard. If it is, it does not meet the preset standard. Output the reason for not meeting the preset standard and the first train number greater than 255, as well as the corresponding originating or terminating station type and name.

[0019] Determine whether the first train number in the train number information to be generated exists in the second train number in the train number data of the timetable. If it is determined to be yes, it meets the preset standard. If it is determined to be no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the abnormal first train number.

[0020] A further improvement of this invention is that determining whether the basic data meets the second preset standard specifically includes:

[0021] Determine whether the first stop in the stop list of the train schedule data is the same as the originating station and the last stop is the same as the terminating station. If the determination is yes, it meets the preset standard. If the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the second train number of the exception, as well as the corresponding originating station or terminating station type and name.

[0022] A further improvement of this invention is that determining whether basic data meets a third preset standard specifically includes:

[0023] Determine if the total number of station numbers in the station data is between 1 and 255. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the station numbers greater than 255, along with the corresponding Chinese name, Chinese abbreviation, and English name of the station.

[0024] Determine whether there are any duplicate station numbers, Chinese station names, Chinese station abbreviations, and English station names in the station data. If the determination is yes, it meets the preset standard; if the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate station numbers and their corresponding Chinese station names, Chinese station abbreviations, and English station names.

[0025] Determine if the total number of line numbers in the line data is between 1 and 15. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the line numbers greater than 15, along with the corresponding Chinese name, English name, and list of stations to which the line belongs.

[0026] Determine whether the line number, Chinese name, and English name in the line data are duplicated. If yes, it meets the preset standard; if no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate line number and the corresponding Chinese name and English name of the line.

[0027] Determine whether the station numbers of the line in the station list are unique and whether the mileage of the stations is monotonically increasing. If yes, it meets the preset criteria; if no, it does not meet the preset criteria. Output the reason for not meeting the preset criteria and the line number, Chinese name, and English name of the line corresponding to the station numbers of the lines whose mileage is not monotonically increasing and duplicated.

[0028] This invention also provides a system for rapidly generating EMU train number information, comprising:

[0029] The first module is used to obtain basic data of EMU train numbers based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database.

[0030] The second module is used to acquire basic data that meets the preset standards and output basic data that does not meet the preset standards and the reasons therefor.

[0031] The third module is used to solve the optimal path from the originating station to the destination station based on basic data that meets the preset standards and through a pathfinding algorithm. The optimal path includes the running line data, the information of the stations that stop and the information of the stations that do not stop. The successful solution is output as the new version of the EMU train number information, and the basic data and reasons for the failure are output.

[0032] The fourth module is used to correct the basic data based on the reason and update it to the current database.

[0033] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for rapidly generating EMU train number information as described above.

[0034] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for rapidly generating EMU train number information as described above.

[0035] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method for rapidly generating EMU train number information as described above.

[0036] Compared with the prior art, the positive and progressive effects of the present invention are as follows:

[0037] The method for rapidly generating EMU (Electric Multiple Unit) train number information provided by this invention generates basic data by acquiring EMU passenger train timetables, EMU train number lists, and old versions of EMU train number information. Then, it checks whether the basic data meets preset standards. For basic data that meets the preset standards, the method automatically calculates and solves for the new version of EMU train number information; for basic data that does not meet the preset standards, it outputs anomalies and makes corrections, thereby ensuring the correctness of the input data. This method can automatically generate new versions of EMU train number information files based on basic data, greatly improving the efficiency and accuracy of train number information file creation. Attached Figure Description

[0038] The accompanying drawings are provided to further understand the invention and constitute a part of this invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0039] Figure 1 This is a logic diagram of a method for rapidly generating EMU train number information according to the present invention;

[0040] Figure 2 This is a schematic diagram of a method for rapidly generating EMU train number information according to the present invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] In the description of this invention, it should be understood that the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0043] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0044] It should be understood that although terms such as first, second, third, etc., may be used in the embodiments of the present invention to describe the preset range, these preset ranges should not be limited to these terms. These terms are only used to distinguish the preset ranges from one another. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0045] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."

[0046] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. This is an explanation of the present invention and not a limitation thereof.

[0047] See Figure 1 A method for quickly generating EMU train number information includes the following steps:

[0048] Step 1: Based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database, obtain the basic data of EMU train numbers;

[0049] Step 2: Determine whether the basic data meets the preset standard. If the result is yes, proceed to Step 3; if the result is no, output the reason and basic data for not meeting the preset standard, and proceed to Step 4.

[0050] Step 3: Based on the basic data that meets the preset standards, the optimal path from the originating station to the destination station is solved by the routing algorithm. The optimal path includes the running line data, the information of the stops and the information of the non-stops. If the solution fails, the reason for the failure and the basic data are output, and step 4 is executed. If the solution succeeds, the solution result is output as the new version of the EMU train number information.

[0051] Step 4: Correct the basic data according to the reason, update it to the current database, and then return to Step 1.

[0052] The method for rapidly generating EMU (Electric Multiple Unit) train number information provided by this invention generates basic data by acquiring EMU passenger train timetables, EMU train number lists, and old versions of EMU train number information. Then, it checks whether the basic data meets preset standards. For basic data that meets the preset standards, the method automatically calculates and solves for the new version of EMU train number information; for basic data that does not meet the preset standards, it outputs anomalies and makes corrections, thereby ensuring the correctness of the input data. This method can automatically generate new versions of EMU train number information files based on basic data, greatly improving the efficiency and accuracy of train number information file creation.

[0053] Specifically, the basic data includes train schedule data, train number data for which EMU train number information to be generated, station data, and route data;

[0054] The process of obtaining basic data for high-speed train numbers based on the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information includes the following steps: obtaining the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information; and obtaining the total number of train numbers and the first train number based on the high-speed train number list to be generated.

[0055] Based on the EMU passenger train operation schedule, obtain the operation schedule train number data, which includes the second train number, a list of stops, the originating station and the destination station;

[0056] Based on the old version of EMU train number information, station data and line data are obtained. The station data includes station number, station Chinese name, station Chinese abbreviation and station English name; the line data includes line number, line Chinese name, line English name and a list of stations to which the line belongs. The list of stations to which the line belongs includes the station number of the line and the mileage of the station to which the line belongs.

[0057] Specifically, the preset standards include a first preset standard based on the total number of trains and the first train number of the EMU train number information to be generated, a second preset standard based on the train number data of the timetable, and a third preset standard based on station data and line data.

[0058] Specifically, determining whether basic data meets the first preset standard includes:

[0059] Determine whether the total number of train numbers in the train number information to be generated is between 1 and 255. If it is, it meets the preset standard. If it is, it does not meet the preset standard. Output the reason for not meeting the preset standard and the first train number greater than 255, as well as the corresponding originating or terminating station type and name.

[0060] Determine whether the first train number in the train number information to be generated exists in the second train number in the train number data of the timetable. If it is determined to be yes, it meets the preset standard. If it is determined to be no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the abnormal first train number.

[0061] Specifically, determining whether the basic data meets the second preset standard includes:

[0062] Determine whether the first stop in the stop list of the train schedule data is the same as the originating station and the last stop is the same as the terminating station. If the determination is yes, it meets the preset standard. If the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the second train number of the exception, as well as the corresponding originating station or terminating station type and name.

[0063] Specifically, determining whether basic data meets the third preset standard includes:

[0064] Determine if the total number of station numbers in the station data is between 1 and 255. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the station numbers greater than 255, along with the corresponding Chinese name, Chinese abbreviation, and English name of the station.

[0065] Determine whether there are any duplicate station numbers, Chinese station names, Chinese station abbreviations, and English station names in the station data. If the determination is yes, it meets the preset standard; if the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate station numbers and their corresponding Chinese station names, Chinese station abbreviations, and English station names.

[0066] Determine if the total number of line numbers in the line data is between 1 and 15. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the line numbers greater than 15, along with the corresponding Chinese name, English name, and list of stations to which the line belongs.

[0067] Determine whether the line number, Chinese name, and English name in the line data are duplicated. If yes, it meets the preset standard; if no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate line number and the corresponding Chinese name and English name of the line.

[0068] Determine whether the station numbers of the line in the station list are unique and whether the mileage of the stations is monotonically increasing. If yes, it meets the preset criteria; if no, it does not meet the preset criteria. Output the reason for not meeting the preset criteria and the line number, Chinese name, and English name of the line corresponding to the station numbers of the lines whose mileage is not monotonically increasing and duplicated.

[0069] Specifically, the process of finding the optimal path from the originating station to the destination station using a pathfinding algorithm includes:

[0070] The list of stops for each train is obtained by matching the first train number with the second train number in sequence, and the route to which each stop is located is marked according to the route data.

[0071] The operation section is formed by combining two adjacent stations in sequence. The intersection of the lines where two adjacent stations are located is the set of feasible lines for that section. If the set of feasible lines is empty, the section is decomposed according to the intersection of the lines where the two stations are located, so that the set of feasible lines for each section is not empty.

[0072] The intersection of the feasible route sets for each segment is calculated sequentially. If the intersection is not empty, the result is retained. The intersection of this result with the feasible route set of the next adjacent segment is then calculated. If the intersection is empty, the route is switched. This yields the longest continuous segment that can be run on the first segment, including the route, the starting point of the segment, and the ending point of the segment. This process is iteratively applied to subsequent segments to obtain the longest continuous segment that can be run on subsequent routes. Finally, the longest continuous segments of all routes are combined to obtain the route data for this train service and the optimal path.

[0073] Based on the same inventive concept, the present invention also provides a system for rapidly generating EMU train number information, comprising:

[0074] The first module is used to obtain basic data of EMU train numbers based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database.

[0075] The second module is used to acquire basic data that meets the preset standards and output basic data that does not meet the preset standards and the reasons therefor.

[0076] The third module is used to solve the optimal path from the originating station to the destination station based on basic data that meets the preset standards and through a pathfinding algorithm. The optimal path includes the running line data, the information of the stations that stop and the information of the stations that do not stop. The successful solution is output as the new version of the EMU train number information, and the basic data and reasons for the failure are output.

[0077] The fourth module is used to correct the basic data based on the reason and update it to the current database.

[0078] Example 1

[0079] See Figure 2 A method for quickly generating CRH2 series EMU train number information includes the following steps: S1, obtaining the EMU passenger train timetable file and obtaining the timetable train number data, specifically including the second train number and the list of all stops of the train number, the originating station and the destination station;

[0080] S2. Obtain the train number list file operated by CRH2 series EMUs, and obtain the total number of train numbers and the first train number of the EMU train number information to be generated;

[0081] S3. Obtain the old version of the CRH2 series EMU train number information file, and obtain station data and line data. The station data includes the station number, station Chinese name, station Chinese abbreviation and station English name. The line data includes the line number, line Chinese name, line English name and a list of stations to which the line belongs. The list of stations to which the line belongs includes the station number and the mileage of the station to which the line belongs.

[0082] The data obtained in steps S1, S2, and S3 are called the basic data for generating the CRH2 series EMU train number information file.

[0083] S4. Determine whether the basic data meets the preset standards for generating CRH2 series EMU train number information. If it meets the preset standards, proceed to S5; if it does not meet the preset standards, output the abnormal situation of the basic data that does not meet the preset standards, and proceed to S6. The abnormal situation of the basic data that does not meet the preset standards specifically includes:

[0084] S41: In the train number data of the operation diagram obtained in S1, the first station in the stop list should be the same as the originating station, and the last station in the stop list should be the same as the terminating station. If the standard is not met, output the abnormal train number and the originating or terminating station type and its station name.

[0085] S42: The number of train numbers in the train number data to be generated obtained in S2 should be within the range of [1,255], otherwise the output of too many train numbers will be abnormal;

[0086] S43: In the train number data to be generated obtained in S2, the train number should exist in the train number data of the timetable obtained in S1. If the standard is not met, output the abnormal train number.

[0087] S44: In the old version station data obtained in S3, the station number should be in the range of [1,255]. The station number, Chinese name, and Chinese abbreviation must not be repeated. If the standard is not met, output the station number, Chinese name, and Chinese abbreviation of the abnormal station.

[0088] S45: In the old version of the route data obtained in S3, the route number should be in the range of [1,15], the Chinese name of the route should not be repeated, the station number of the route in the station list should exist and should not be repeated, and the mileage of the station should increase monotonically. If the standard is not met, output the abnormal route number, route name, and station list.

[0089] S5. Based on the basic data that meets the standards after testing, calculate and solve the new version of CRH2 series EMU train number information. If the calculation is successful, output the solution as the required CRH2 series EMU train number information file and complete the generation. Otherwise, output the abnormal situation of the train number related basic data that cannot be calculated and solved, and proceed to S6.

[0090] The calculation and solution of the new version of CRH2 series EMU train number information based on the basic data that meets the standards after testing specifically includes the following steps:

[0091] S51: Use the train number obtained in S1 corresponding to the train number obtained in S2 as the train number data to be generated;

[0092] S52: Check whether the station data obtained in S3 contains all the stops of the train number data to be generated. If it is yes, then execute S53; if it is no, then output that a certain station is not defined in the station data of the EMU train number information file.

[0093] S53: Check whether the station corresponding to the line data obtained in S3 contains all the stops of the train number data to be generated. If it is yes, then execute S54; if it is no, then output that a certain station is not defined in the station list of the line data in the EMU train number information file.

[0094] S54: For each train route data to be generated, the list of stops is solved using a pathfinding algorithm based on the route data obtained in S3. The optimal path from the originating station to the destination station is found. If, during the search process, two adjacent stops cannot be connected, then output A. 线路 A 车站 With B 线路 B 车站 A pathway cannot be established between them.

[0095] S6: Modify the basic data according to the abnormal situation of the output basic data, and re-acquire and judge the basic data according to S1, S2, S3, and S4.

[0096] In a specific embodiment of the present invention, a train operation diagram file of an EMU passenger train is input, and train operation diagram train number data is obtained. The train operation diagram train number data includes a second train number, a list of stops, a departure station, and a terminal station; in a specific embodiment of the present invention, the train operation diagram train number data is as follows: “…, G9998: (Xi'an North, Weinan North, Xinxiang East, Shijiazhuang, Beijing West), Xi'an North, Beijing West; G9999: (Beijing West, Shijiazhuang, Xinxiang East, Weinan North, Xi'an North), Beijing West, Xi'an North; …”.

[0097] Based on the list of EMU train numbers, the total number of train numbers and the first train number for which EMU train number information is to be generated are obtained. In this embodiment, the first train numbers for which EMU train number information is to be generated are “…, G9998, G9999, …”.

[0098] Read the EMU train number information file of the old version of the CRH2 series. Based on the EMU train number information of the old version, station data and line data are obtained.

[0099] The station data in this embodiment includes the following information:

[0100] …; Station number: 1; Chinese station name: Xi'an North Station; Chinese station abbreviation: Xi'an North; English station name: Xi’anbei;

[0101] Station number: 2; Chinese station name: Weinan North Station; Chinese station abbreviation: Weinan North; English station name: Weinanbei; Station number: 3; Chinese station name: Xinxiang East Station; Chinese station abbreviation: Xinxiang East; English station name: Xinxiangdong;

[0102] Station number: 4; Chinese station name: Shijiazhuang Station; Chinese station abbreviation: Shijiazhuang; English station name: Shijiazhuang;

[0103] Station number: 5; Chinese station name: Beijing West Station; Chinese station abbreviation: Beijing West; English station name: Beijingxi; ….

[0104] The line data in this embodiment includes the following information:

[0105] …; Line number: 1; Chinese line name: Xulan High-Speed Railway; English line name: Xulan’gaotie; List of stations on the line: Xuzhou East, Shangqiu, Zhengzhou East, Luoyang Longmen, Weinan North, Xi'an North, Xianyang West, Baoji South, Tianshui South, Lanzhou West;

[0106] Line number: 2; Chinese line name: Jingguang High-Speed Railway; English line name: Jingguanggaotie; List of stations on the line: Beijing West, Shijiazhuang, Anyang East, Xinxiang East, Zhengzhou East, Wuhan, Changsha South, Guangzhou South;

[0107] Line number: 3; Chinese name of the line: Daxi High-speed Railway; English name of the line: Daxigaotie; List of stations along the line: Datong South, Taiyuan South, Yuncheng North, Dali North, Weinan North, Xi'an North; ...

[0108] Based on the descriptions in steps S41 to S45 above, check whether there is any basic data in the acquired basic data that does not meet the preset standards. After confirmation, the basic data acquired in this embodiment meets the preset requirements. Then, solve the corresponding train number in the first train number of the EMU train number information to be generated in sequence, and solve the optimal path from the originating station to the destination station through the pathfinding algorithm. Specifically, the following steps are included:

[0109] The solution is performed sequentially based on the first train number of the train set information to be generated, "..., G9998, G9999, ...".

[0110] Taking train number G9998 as an example, the second train number is matched, and the list of stops for G9998 is obtained as "Xi'an North, Weinan North, Xinxiang East, Shijiazhuang, Beijing West". The station data obtained above includes all the stops in the list of stops for G9998, which meets the requirements of S52, so S53 is executed.

[0111] Check that the station list of the line in the line data includes all the stops in the G9998 stop list, which meets the requirements of S53, and proceed to the next step.

[0112] The specific pathfinding algorithm of S54 is as follows:

[0113] The Chinese names of the lines to which the stops belong are obtained by referring to the list of stations to which the lines belong: "{Xu Lan High-speed Railway, Da Xi High-speed Railway}, {Xu Lan High-speed Railway, Da Xi High-speed Railway}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}.

[0114] The segments are formed by adjacent stops: “Xi’an North-Weinan North, Weinan North-Xinxiang East, Zhengzhou East-Shijiazhuang, Shijiazhuang-Beijing West”. The feasible routes for each segment are obtained by finding the intersection of the lines where the two stations are located: “{Xulan High-speed Railway, Datong-Xi’an High-speed Railway}, {}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}.

[0115] If there are sections with no feasible routes, they are decomposed. For example, the feasible route for the "Weinan North-Xinxiang East" section is empty. The section is decomposed based on the intersection of the lines where the two stations are located: the line where Weinan North is located is "{Xulan High-speed Railway, Datong-Xi'an High-speed Railway}", and the line where Xinxiang East is located is "{Beijing-Guangzhou High-speed Railway}". The intersection of Xulan High-speed Railway and Beijing-Guangzhou High-speed Railway is "Zhengzhou East", and Datong-Xi'an High-speed Railway and Beijing-Guangzhou High-speed Railway have no intersection. Therefore, the section is decomposed into "Weinan North-Zhengzhou East" and "Zhengzhou East-Xinxiang East". The feasible routes for the two sections are "{Xulan High-speed Railway}" and "{Beijing-Guangzhou High-speed Railway}" respectively. After recalculation and replacement, the feasible routes for each section are "{Xulan High-speed Railway, Datong-Xi'an High-speed Railway}, {Xulan High-speed Railway}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}, {Beijing-Guangzhou High-speed Railway}", and {Beijing-Guangzhou High-speed Railway}", completing the initial routing process.

[0116] The intersection of feasible routes is calculated according to the segment order. The first intersection is "Xi'an North - Weinan North: {Xulan High-speed Railway, Datong-Xi'an High-speed Railway}". The intersection of this result with the feasible route of the next segment is calculated. The second intersection is "Xi'an North - Zhengzhou East: {Xulan High-speed Railway}". The intersection is calculated again. The third intersection is "Xi'an North - Xinxiang East: {}" which is empty and the route needs to be changed. The first segment is "Xulan High-speed Railway: Xi'an North - Zhengzhou East". The subsequent routes are solved iteratively. The first intersection is "Zhengzhou East - Xinxiang East: {Beijing-Guangzhou High-speed Railway}". The intersection is calculated again. The second intersection is "Zhengzhou East - Beijing West: {Beijing-Guangzhou High-speed Railway}". Upon reaching the terminal station, the second segment is "Beijing-Guangzhou High-speed Railway: Zhengzhou East - Beijing West". The solution ends.

[0117] The combined train data shows the following routes: "Xuzhou-Lanzhou High-Speed ​​Railway: Xi'an North - Zhengzhou East; Beijing-Guangzhou High-Speed ​​Railway: Zhengzhou East - Beijing West". The optimal route is: "Xi'an North, Weinan North, Luoyang Longmen, Zhengzhou East, Xinxiang East, Shijiazhuang, Baoding East, Beijing West". Among these, the stations that stop on the optimal route are "Xi'an North, Weinan North, Xinxiang East, Shijiazhuang, Beijing West", and the stations that do not stop are "Luoyang Longmen, Zhengzhou East, Baoding East".

[0118] Compared to existing technologies that require manual data editing and verification, this method automatically checks the input basic data by acquiring passenger train timetables, required train numbers, and existing train information files. It can quickly calculate train information and output usable train information files. This not only enables the automatic creation of train information files in a short time but also ensures data reliability, providing passengers with accurate and reliable train information services. Currently, over 2000 standard CRH2 series EMUs are deployed in dozens of EMU depots across the country. This method has extremely high application value and broad market prospects in the field of railway informatization.

[0119] Based on the same inventive concept, this application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement a method for rapidly generating train number information. The memory may include main memory, such as high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device. The processor, network interface, and memory are interconnected via an internal bus, which may be an industry-standard architecture bus, a peripheral component interconnection standard bus, an extended industry-standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory stores the program; specifically, the program may include program code, which includes computer operation instructions. The memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0120] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the steps of the method for rapidly generating EMU train number information. Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include RAM (Random Access Memory) and / or cache memory, etc. The non-volatile memory may include ROM (Read Only Memory), hard disk, flash memory, optical disk, magnetic disk, etc.

[0121] Based on the same inventive concept, this application provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer device, cause the computer device to perform the steps of the method for rapidly generating EMU train number information described above.

[0122] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can 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 (Compact Disc Read-Only Memory), optical storage, etc.) containing computer-usable program code.

[0123] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0124] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0125] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0126] Finally, it should be noted that the embodiments listed above are merely one or more specific manifestations of the technical solution of this invention. Their purpose is to clearly illustrate the concept, principle, and application of this invention through specific examples, and is by no means intended to limit the scope of protection of this invention to these specific embodiments. In fact, the true value of this invention lies in its proposed technical ideas and innovations, rather than its manifestations or implementation methods.

[0127] For those skilled in the art, after thoroughly reading and understanding the technical solution of this invention, they are fully capable of making various changes, modifications, or equivalent substitutions to the specific implementation of the invention based on their own professional knowledge and skills. These changes may include, but are not limited to: adjusting the range of technical parameters, optimizing the algorithm flow to improve efficiency, and replacing some technical components to achieve better compatibility or reduce costs. As long as these modified technical solutions substantially retain the technical features claimed by the original invention, that is, they can still achieve the core functions and effects of this invention, then these changes should be considered to fall within the scope of protection of the pending claims of this invention.

[0128] Furthermore, with the continuous progress and development of technology, new technical means and methods are constantly emerging, which provides ample space for further improvement and perfection of this invention. Therefore, the scope of protection of this invention should also include reasonable and foresightful improvements and extensions based on existing technology. As long as these improvements and extensions do not depart from the basic principles and core concepts of this invention, they should be considered equivalents of this invention and are equally protected by patent rights.

Claims

1. A method for rapidly generating EMU train number information, characterized in that, Includes the following steps: Step 1: Based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database, obtain the basic data of EMU train numbers; Step 2: Determine whether the basic data meets the preset standard. If the result is yes, proceed to Step 3; if the result is no, output the reason and basic data for not meeting the preset standard, and proceed to Step 4. Step 3: Based on the basic data that meets the preset standards, the optimal path from the originating station to the destination station is solved by the routing algorithm. The optimal path includes the running line data, the information of the stops and the information of the non-stops. If the solution fails, the reason for the failure and the basic data are output, and step 4 is executed. If the solution succeeds, the solution result is output as the new version of the EMU train number information. Step 4: Correct the basic data according to the reason, update it to the current database, and then return to Step 1; The basic data includes train schedule data, train number data for which EMU train number information is to be generated, station data, and route data. The process of obtaining basic data for high-speed train numbers based on the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information includes the following steps: obtaining the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information; and obtaining the total number of train numbers and the first train number based on the high-speed train number list to be generated. Based on the EMU passenger train operation schedule, obtain the operation schedule train number data, which includes the second train number, a list of stops, the originating station and the destination station; Based on the old version of EMU train number information, station data and line data are obtained. The station data includes station number, station Chinese name, station Chinese abbreviation and station English name; the line data includes line number, line Chinese name, line English name and a list of stations to which the line belongs. The list of stations to which the line belongs includes the station number and the mileage of the station to which the line belongs. The preset standards specifically include a first preset standard based on the total number of trains and the first train number of the EMU train number information to be generated, a second preset standard based on the train number data of the timetable, and a third preset standard based on station data and line data.

2. The method for rapidly generating EMU train number information according to claim 1, characterized in that, Determining whether basic data meets the first preset standard specifically includes: Determine whether the total number of train numbers in the train number information to be generated is between 1 and 255. If it is, it meets the preset standard. If it is, it does not meet the preset standard. Output the reason for not meeting the preset standard and the first train number greater than 255, as well as the corresponding originating or terminating station type and name. Determine whether the first train number in the train number information to be generated exists in the second train number in the train number data of the timetable. If it is determined to be yes, it meets the preset standard. If it is determined to be no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the abnormal first train number.

3. The method for rapidly generating EMU train number information according to claim 1, characterized in that, Determining whether the basic data meets the second preset standard specifically includes: Determine whether the first stop in the stop list of the train schedule data is the same as the originating station and the last stop is the same as the terminating station. If the determination is yes, it meets the preset standard. If the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the second train number of the exception, as well as the corresponding originating station or terminating station type and name.

4. The method for rapidly generating EMU train number information according to claim 1, characterized in that, Determining whether basic data meets the third preset standard specifically includes: Determine if the total number of station numbers in the station data is between 1 and 255. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the station numbers greater than 255, along with the corresponding Chinese name, Chinese abbreviation, and English name of the station. Determine whether there are any duplicate station numbers, Chinese station names, Chinese station abbreviations, and English station names in the station data. If the determination is yes, it meets the preset standard; if the determination is no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate station numbers and their corresponding Chinese station names, Chinese station abbreviations, and English station names. Determine if the total number of line numbers in the line data is between 1 and 15. If it is, it meets the preset standard; if it is not, it does not meet the preset standard. Output the reason for not meeting the preset standard and the line numbers greater than 15, along with the corresponding Chinese name, English name, and list of stations to which the line belongs. Determine whether the line number, Chinese name, and English name in the line data are duplicated. If yes, it meets the preset standard; if no, it does not meet the preset standard. Output the reason for not meeting the preset standard and the duplicate line number and the corresponding Chinese name and English name of the line. Determine whether the station numbers of the line in the station list are unique and whether the mileage of the stations is monotonically increasing. If yes, it meets the preset criteria; if no, it does not meet the preset criteria. Output the reason for not meeting the preset criteria and the line number, Chinese name, and English name of the line corresponding to the station numbers of the lines whose mileage is not monotonically increasing and duplicated.

5. A system for rapidly generating EMU (Electric Multiple Unit) train number information, characterized in that, include: The first module is used to obtain basic data of EMU train numbers based on the current EMU passenger train timetable, EMU train number list and old version EMU train number information in the database. The second module is used to acquire basic data that meets the preset standards and output basic data that does not meet the preset standards and the reasons therefor. The third module is used to solve the optimal path from the originating station to the destination station based on basic data that meets the preset standards and through a pathfinding algorithm. The optimal path includes the running line data, the information of the stations that stop and the information of the stations that do not stop. The successful solution is output as the new version of the EMU train number information, and the basic data and reasons for the failure are output. The fourth module is used to correct the basic data based on the reason and update it to the current database; The basic data includes train schedule data, train number data for which EMU train number information is to be generated, station data, and route data. The process of obtaining basic data for high-speed train numbers based on the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information includes the following steps: obtaining the current database of high-speed train schedules, high-speed train number lists, and old versions of high-speed train number information; and obtaining the total number of train numbers and the first train number based on the high-speed train number list to be generated. Based on the EMU passenger train operation schedule, obtain the operation schedule train number data, which includes the second train number, a list of stops, the originating station and the destination station; Based on the old version of EMU train number information, station data and line data are obtained. The station data includes station number, station Chinese name, station Chinese abbreviation and station English name; the line data includes line number, line Chinese name, line English name and a list of stations to which the line belongs. The list of stations to which the line belongs includes the station number and the mileage of the station to which the line belongs. The preset standards specifically include a first preset standard based on the total number of trains and the first train number of the EMU train number information to be generated, a second preset standard based on the train number data of the timetable, and a third preset standard based on station data and line data.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method for rapidly generating EMU train number information as described in any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for rapidly generating EMU train number information as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method for rapidly generating EMU train number information as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Train operation adjustment plan compilation method suitable for multi-level management and related device

    CN118536760A