Train new graph data generation method and device based on consistency mutual control
By establishing a multi-dimensional train data identification and processing model in the railway passenger ticket system, and automatically processing the train operation diagram information of the passenger map system, the inefficiency and error of map adjustment caused by the independence of the passenger ticket system and the passenger map system are solved, data sharing and integration are realized, and the efficiency of railway passenger transportation management is improved.
Patent Information
- Application Number
- CN202510600218.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-12
AI Technical Summary
The railway ticket system is independent of the railway passenger map system, resulting in low efficiency and error-prone operation of map adjustment, affecting passenger travel experience and railway passenger transportation management efficiency.
Establish a multi-dimensional train data identification and processing model, establish a mapping relationship between the ticket system and the passenger map system through a matching algorithm, automatically process the train operation diagram information, generate the diagram adjustment information and output it, and generate the train operation diagram in response to the diagram adjustment request.
It realizes the in-depth sharing and integration of the railway ticket system and the passenger map system, improves the efficiency and accuracy of map adjustment, simplifies the operation process, and improves the overall efficiency of railway passenger transportation management.
Smart Images

Figure CN120470263A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of railway transportation, and in particular to a method, device, electronic device and computer-readable storage medium for generating new train map data based on consistent mutual control. Background Art
[0002] With the rapid development of railway transportation, the railway ticketing system plays an increasingly important role in passenger travel. Railway ticketing systems not only need to provide real-time ticketing information but also provide passengers with accurate train schedules and itineraries based on the train timetable information provided by the railway passenger map system.
[0003] However, the railway ticketing system and the railway passenger map system are two independent systems. When performing map adjustments for the railway ticketing system, personnel still rely on paper telegrams or faxes, combined with data from the map system, to manually perform operations. This method is not only inefficient but also prone to map adjustment errors, affecting the accuracy of ticketing information and, in turn, the overall effectiveness of railway passenger transport management. Summary of the Invention
[0004] In order to solve one or more defects in the prior art, the present invention provides a method, device, electronic device and computer-readable storage medium for generating new train map data based on consistent mutual control.
[0005] A method for generating new train map data based on consistency mutual control, applied to a railway passenger ticket system, comprises:
[0006] Establish a multi-dimensional train data recognition and processing model;
[0007] Receiving train timetable information sent by the railway passenger map system, and performing data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data that can be recognized by the railway passenger ticket system;
[0008] Generate corresponding map adjustment information according to the business data and output it;
[0009] In response to the input first timetable adjustment request, a first train operation diagram is generated.
[0010] Optionally, the establishing of a multi-dimensional train data recognition and processing model includes:
[0011] Obtaining train information from the railway passenger map system; the train information includes at least one of basic train information, detailed train operation information, train formation information, train model information, and train responsible company information;
[0012] Establishing a mapping relationship between the train information of the railway passenger map system and the train information of the railway passenger ticket system through a matching algorithm;
[0013] The mapping relationship is verified based on the production environment of the railway passenger ticket system, and the multi-dimensional train data recognition and processing model is constructed according to the verification result.
[0014] Optionally, generating and outputting corresponding map adjustment information according to the business data includes:
[0015] Obtaining original business data corresponding to the original train operation diagram in the railway passenger ticket system;
[0016] Comparing the business data with the original business data to obtain corresponding data comparison results; the categories of the data comparison results include at least one of the following: consistent train information, train cancellation, new train, cutting the original map to create a new map, and changing the point and the responsibility;
[0017] The corresponding timetable adjustment information is generated according to the data comparison result; the categories of the timetable adjustment information include at least one of the information to be verified, the train effective expiration date, the new information of the train operation diagram, the original diagram expiration and the new diagram matching information, and the change of point and responsibility information.
[0018] Optionally, the comparing the business data with the original business data to obtain a corresponding data comparison result includes:
[0019] Comparing the train number information between the business data and the original business data to see if they are consistent; the train number information includes at least one of the originating train number, the departure station, and the arrival station;
[0020] If the train number information is inconsistent, generate train number addition information or train number cancellation information, and determine the category of the data comparison result as train addition when generating the train number addition information, and determine the category of the data comparison result as train cancellation when generating the train number cancellation information;
[0021] If the train number information is consistent, then compare the stop information between the business data and the original business data to see if they are consistent; the stop information includes at least one of the number of train stops, station sequence, station name, station number, arrival point, departure point, and day;
[0022] If the stop information is inconsistent, train addition and deletion information and / or train point change information are generated, and when generating the train addition and deletion information, the category of the data comparison result is determined to be cutting the original image to generate a new image, and when generating the train point change information, the category of the data comparison result is determined to be changing the point and the responsibility;
[0023] If the stop station information is consistent, then comparing the train formation information between the business data and the original business data to see if they are consistent;
[0024] If the train formation information is inconsistent, train formation change information is generated, and the category of the data comparison result is determined to be cutting the original image to generate a new image;
[0025] If the train formation information is consistent, then compare the train responsible enterprise information between the business data and the original business data to see if they are consistent;
[0026] If the train responsible enterprise information is inconsistent, then generate responsible enterprise information, and determine the category of the data comparison result as changed point and changed responsibility;
[0027] If the information of the company in charge of the train is consistent, the category of the data comparison result is confirmed to be consistent train information.
[0028] Optionally, generating a first train operation diagram in response to the input first diagram adjustment request includes:
[0029] Determining a first map adjustment operation according to the first map adjustment request; wherein the operation category of the first map adjustment operation includes at least one of a check operation, a map cancellation operation, a map addition operation, a screenshot of an original map and a new map addition operation, and a point change and responsibility change operation;
[0030] The first train timetable adjustment operation is performed on the original train timetable to obtain the first train timetable.
[0031] Optionally, after generating the first train operation diagram in response to the input first diagram adjustment request, the method further includes:
[0032] Sending a prompt message that the first train operation diagram has been generated to the railway passenger diagram system.
[0033] Optionally, after obtaining the business data recognizable by the railway ticket system, the method further includes:
[0034] Performing data analysis on the business data based on a preset shared business unit, and generating and outputting corresponding new and old alternating views according to the data analysis results;
[0035] In response to the input second train timetable adjustment request, a second train timetable is generated based on the original train timetable in the railway ticket system.
[0036] A device for generating new train map data based on consistent mutual control, applied to a railway passenger ticket system, comprising:
[0037] Model building module, used to build multi-dimensional train data recognition and processing models;
[0038] a data processing module, configured to receive train timetable information sent by the railway passenger map system, and perform data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data recognizable by the railway passenger ticket system;
[0039] A map adjustment information generation module is used to generate corresponding map adjustment information according to the business data and output it;
[0040] The diagram adjustment operation module is used to generate a first train operation diagram in response to an input first diagram adjustment request.
[0041] An electronic device, comprising:
[0042] A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, it realizes the method for generating new train map data based on consistent mutual control as described in any one of the above.
[0043] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for generating new train map data based on consistent mutual control as described in any one of the above.
[0044] The method for generating new train diagram data based on consistent mutual control provided by an embodiment of the present invention establishes a multi-dimensional train data recognition and processing model; receives train operation diagram information sent by a railway passenger diagram system, and uses the multi-dimensional train data recognition and processing model to perform data recognition and processing on the train operation diagram information to obtain business data that can be identified by the railway ticket system; generates corresponding diagram adjustment information based on the business data and outputs it; and generates a first train diagram based on the original train diagram in the railway ticket system in response to an input first diagram adjustment operation. The present invention realizes the automatic recognition and processing of the train operation diagram information received by the railway passenger diagram system by establishing a multi-dimensional train data recognition and processing model in the railway ticket system, converts it into business data that can be identified by the ticket system, and quickly generates and outputs diagram adjustment information based on these data. On the premise of ensuring data consistency, it realizes deep data sharing and integration between the railway ticket system and the railway passenger diagram system, and expands the scope of data sharing. At the same time, it ensures that when the train timetable changes, it can respond quickly and generate a new train timetable. This not only improves the efficiency and accuracy of timetable adjustment, but also simplifies the timetable adjustment process, allowing non-professionals to operate conveniently, thereby promoting cross-professional and cross-system integration and innovation in railway passenger business, greatly improving the overall efficiency of railway passenger management, and providing support for data consistency management. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 A flow chart of a method for generating new train map data based on consistent mutual control provided by an embodiment of the present invention;
[0047] Figure 2 for Figure 1 A flowchart of a practical expression of S01 in a method for generating new train map data based on consistent mutual control is provided;
[0048] Figure 3 for Figure 1 A flowchart of a practical expression of S03 in a method for generating new train map data based on consistent mutual control is provided;
[0049] Figure 4 for Figure 3 A flowchart of a practical expression of step S32;
[0050] Figure 5 A schematic structural diagram of a device for generating new train map data based on consistent mutual control provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0052] It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work are within the scope of protection of the present invention.
[0053] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "an", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0054] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0055] With the rapid development of railway transportation, the coordinated operation of railway ticketing systems and railway map systems has become increasingly important. However, these two systems currently remain independent and fail to fully automate operations. When performing map adjustments, operators still rely on paper telegrams or faxes, combined with data from the map system, to manually perform operations. This approach is not only inefficient but also prone to errors, impacting the passenger experience.
[0056] Although the train details maintained by the passenger map system can be shared with the ticket system in a semi-automatic manner, reducing the workload of business personnel in maintaining train stop and route information, manual intervention is still required to complete data sharing processing and verification. This situation limits the information sharing method and scope between the two systems, especially when dealing with complex business scenarios such as train operating companies, marshaling, point changes, and the replacement of old and new trains. Manual maintenance is still required, and automatic generation of map adjustment data cannot be achieved. Therefore, the present invention provides a method for generating new train map data based on consistent mutual control to solve the above problems.
[0057] Please refer to Figure 1 , which is a flow chart of a method for generating new train map data based on consistent mutual control provided by an embodiment of the present invention, and is applied to a railway ticketing system, comprising the following steps:
[0058] Step S01: Establish a multi-dimensional train data recognition and processing model.
[0059] In this embodiment, the multi-dimensional train data identification and processing model automatically processes train timetable information from the railway passenger map system by integrating and analyzing multi-source data provided by the system, such as train numbers, timetables, stops, and other key information. This model not only improves the efficiency of business linkage between the railway ticketing system and the passenger map system, but also reduces reliance on manual intervention, thereby ensuring data accuracy and real-time availability. Through this automated and intelligent data management approach, the railway ticketing system can more quickly respond to changes in train timetables and promptly update ticketing information, ensuring that passengers have access to accurate train schedules and other ticketing data.
[0060] Please refer to Figure 2 ,for Figure 1 A flowchart of a practical expression of S01 in a method for generating new train map data based on consistent mutual control is provided. In some embodiments, the establishment of a multi-dimensional train data recognition and processing model mentioned in step S01 can be specifically as follows: Figure 2 Steps shown:
[0061] Step S11, obtaining train information from the railway passenger map system.
[0062] In this embodiment, the train information of the railway passenger map system is obtained in order to enable the constructed multi-dimensional train data recognition and processing model to accurately capture and understand the key data of train operation, thereby providing a basis for subsequent data processing and analysis.
[0063] In this embodiment, the train information may include at least one of basic train information, detailed train operation information, train formation information, train model information, and train responsible enterprise information, wherein:
[0064] Basic train information includes key data such as train number, departure and arrival stations, marshaling information, and running time, and is the core parameter for railway operations and scheduling.
[0065] Train operation details are detailed data about train operation, including but not limited to train operation status, timetable, route map, etc.
[0066] The train model information is the type of EMU train, such as the CRH1A EMU model, which includes 8 carriages and a seating capacity of 645; the CRH380B EMU model, which includes 8 carriages and a seating capacity of 556;
[0067] Train marshaling information includes detailed information about the sequence of all train vehicles, their number, gross weight, and length, including the vehicle floor marshaling of long-distance and short-distance passenger trains, such as hard-seat cars, hard sleeper cars, soft sleeper cars, dining cars, luggage cars, and postal cars.
[0068] Train operating company information refers to relevant information about the railway company responsible for train operation, such as which railway bureau group company or professional transportation company is responsible for operating and managing the train.
[0069] Step S12: establishing a mapping relationship between the train information in the railway passenger map system and the train information in the railway passenger ticket system through a matching algorithm.
[0070] In this embodiment, train information from the railway passenger map system and the railway ticket system are compared and matched to ensure data consistency and accuracy. By establishing this mapping relationship, information processing can be effectively automated, reducing manual intervention and improving data processing efficiency and accuracy.
[0071] In some embodiments, the matching algorithm may include string matching, pattern recognition, machine learning classifiers, and other tools to identify similarities and consistency between corresponding train information in the two systems. This matching algorithm automatically matches train data in the passenger map system with train data in the ticket system, establishing a corresponding relationship between them. This process involves preprocessing steps such as data cleaning, format standardization, and outlier handling to ensure matching accuracy. Finally, based on the matching results, a mapping table or database is constructed to store and manage these mapping relationships, thereby achieving seamless data integration and information sharing between the two systems.
[0072] Step S13: Verify the mapping relationship based on the production environment of the railway passenger ticket system, and build a multi-dimensional train data recognition and processing model based on the verification result.
[0073] In this embodiment, the established mapping relationship is tested in the actual production environment of the railway passenger ticket system to check the consistency and accuracy of the data, and the anomalies or mismatches found in the test are checked and adjusted to correct the mapping relationship, and finally the multi-dimensional train data identification and processing model is obtained. By verifying the mapping relationship in the production environment, it is possible to discover and correct possible errors or omissions in the data mapping process, such as station correspondence errors, EMU model information mismatch, and other problems. The verification processing results will be directly used to construct and optimize the multi-dimensional train data identification and processing model. This model can automatically process and identify train timetable information, improve the business linkage efficiency between the railway passenger ticket system and the passenger map system, reduce manual intervention, and ensure the accuracy and real-time nature of the data.
[0074] In some embodiments, the process of establishing a multi-dimensional train data recognition and processing model may specifically be:
[0075] 1) Based on the definition of EMU models in the passenger map system, a mapping relationship is established with the EMU models in the ticket system through a matching algorithm. Based on the application of train model information in the production environment of the ticket system, a system verification is performed with the passenger map system to build a passenger map-to-ticket model converter, laying the foundation for automatic train formation generation.
[0076] 2) According to the corresponding vehicle type of the EMU train formation in the passenger map system, the EMU train model generator of the passenger ticket system and the passenger map system, and the vehicle model definition information of the passenger ticket system, the conversion of the EMU train formation information in the passenger map system to the formation information in the passenger ticket system is realized.
[0077] Among them, for ordinary speed trains, the passenger car capacity of the passenger map system is compared and matched with the passenger ticket system, and combined with the application of ordinary speed trains in the production environment, the conversion of ordinary speed train formation information in the passenger map system to the passenger ticket system formation information is realized.
[0078] 3) Extract the responsible railway bureau and responsible passenger section information from the passenger map system, establish a mapping relationship with the responsible information from the ticket system through a matching algorithm, verify the responsible train information and the passenger map system based on the production environment, and build a passenger map-passenger ticket responsible converter to prepare data for the automatic generation of responsible information.
[0079] 4) Construct an information analyzer for the alternation of old and new trains. Through algorithms, it analyzes the combination application rules of the original running diagram time, new running diagram time, original diagram formation, and new diagram formation of the passenger system train under different operation patterns, and converts them into business data that can be recognized by the passenger ticket system.
[0080] Based on the above technical solution, this embodiment establishes a multi-dimensional train data recognition and processing model, uses a matching algorithm to establish a mapping relationship between the passenger map system and the passenger ticket system, and constructs a model after verification processing, thereby realizing automatic data processing and efficient business linkage, reducing manual intervention, and improving the accuracy and real-time performance of data processing.
[0081] Step S02: Receive the train timetable information sent by the railway passenger map system, and use the multi-dimensional train data recognition and processing model to perform data recognition and processing on the train timetable information to obtain business data that can be recognized by the railway passenger ticket system.
[0082] In this embodiment, a multi-dimensional train data recognition and processing model is used to convert complex train diagram information from the passenger map system into business data recognizable by the ticketing system. This conversion not only ensures data accuracy and consistency, but also improves the efficiency of information sharing between the railway ticketing system and the railway passenger map system, reduces the need for manual intervention, and thus optimizes train scheduling and ticketing management.
[0083] In some embodiments, since the existing railway ticket system and railway map system are two independent systems, business personnel still need to rely on paper documents such as telegrams or faxes to manually operate when performing map adjustment services in the railway ticket system. Therefore, after obtaining business data that can be recognized by the railway ticket system, new and old alternating views consistent with the paper document format can be generated based on the business data to facilitate business personnel to perform corresponding map adjustment services. That is, after executing step S02, the following steps can also be performed:
[0084] Step S21 : performing data analysis on the business data based on the preset shared business unit, and generating and outputting corresponding old and new alternating views according to the data analysis results.
[0085] In this embodiment, by utilizing predefined business logic units to conduct in-depth analysis of business data, the railway ticketing system can identify differences between the old and new timetables, including changes in train numbers, schedules, stops, and other information. The resulting alternating views not only provide clear visual information, helping staff quickly understand and process timetable adjustments, but also reduce reliance on traditional paper documents, improving work efficiency and accuracy.
[0086] In some embodiments, as mentioned in step S21, data analysis is performed on the business data based on the preset shared business unit, and corresponding new and old alternating views are generated and output according to the data analysis results, which may be specifically:
[0087] 1) Based on the domain model design pattern, a shared business unit is constructed to integrate the old and new alternating train schedule rules, timetable rules, operation patterns, suspension rules, and other rules shared by the passenger map system. Based on the business decoupling design principle, business and data overlap is avoided to ensure data security and business independence.
[0088] 2) Adopting information analysis mode based on data characteristics, model algorithms and intelligent decision-making level, the data shared from the railway passenger map system to the railway passenger ticket system is compared, processed, integrated and stored, and converted into new and old alternating views consistent with the paper file format for data release.
[0089] Step S22: In response to the input second train timetable adjustment request, a second train timetable is generated based on the original train timetable in the railway ticket system.
[0090] The original train schedule in this embodiment is an existing train schedule in the railway ticket system, which refers to the business information that already exists in the railway ticket system and records the operation of each train in each section of the railway and the arrival, departure or passing time at the station.
[0091] In this embodiment, business personnel can use the old and new alternate views to obtain a timetable adjustment task that has been fused with the system and is consistent with the dimensions of the received paper document. This facilitates business personnel to interpret the document and enter a second timetable adjustment request through the railway ticketing system. In response to the input second timetable adjustment request, the system generates a second train timetable based on the original train timetable in the railway ticketing system.
[0092] Based on the above technical solution, this embodiment generates new and old alternating views consistent with the paper file format based on business data, which facilitates business personnel to perform corresponding map adjustment business.
[0093] Step S03: Generate corresponding map adjustment information based on business data and output it.
[0094] In this embodiment, by analyzing and processing business data received from the railway passenger map system, the railway ticket system can automatically generate train timetable adjustment information to ensure its accuracy. This information is then output to relevant modules to facilitate subsequent operations and decision-making by business personnel. This automated information generation mechanism significantly improves the efficiency of railway passenger transport management, allowing business personnel to simply make decisions, thereby enhancing the flexibility and reliability of overall operations.
[0095] Please refer to Figure 3 ,for Figure 1 A flowchart of an actual performance of S03 in a method for generating new train map data based on consistent mutual control is provided. In some embodiments, the step S03 mentioned above generates and outputs corresponding map adjustment information based on business data, which can be specifically as follows: Figure 3 Steps shown:
[0096] Step S31, obtaining original business data corresponding to the original train timetable in the railway ticket system.
[0097] In this embodiment, raw business data corresponding to the original train timetable is extracted from the railway ticketing system's historical records or current database. This serves to provide benchmark data for subsequent data comparison and the generation of timetable adjustment information, enabling the railway ticketing system to accurately identify and process changes to the train timetable, such as train cancellations, additions, and schedule adjustments. This data acquisition allows railway authorities to ensure the accuracy and timeliness of timetable adjustment information, thereby improving operational efficiency and optimizing passenger service.
[0098] Step S32: compare the business data with the original business data to obtain corresponding data comparison results.
[0099] In this embodiment, by comparing business data with original business data, the train timetable information obtained through identification and processing by the passenger map system can be compared and analyzed with the original train timetable information stored in the railway ticket system. This is done to detect whether train information has changed, thereby generating accurate timetable information and ensuring that the railway ticket system can generate accurate train timetables.
[0100] In this embodiment, the category of the data comparison result may include at least one of the following: consistent train information, train cancellation, new train, cutting the original map to create a new map, and changing the point and responsibility.
[0101] Step S33: Generate corresponding map adjustment information based on the data comparison result.
[0102] In this embodiment, the category of the timetable adjustment information can correspond to the category of the data comparison result, which can specifically include at least one of the information to be verified, the train effective expiration date, the new information of the train timetable, the matching information of the original timetable expiration and the new timetable, and the information of the changed points and responsibilities.
[0103] In this embodiment, after comparing the business data with the original business data, the system automatically generates timetable adjustment information related to the train timetable to promptly reflect changes in train operation status, such as additions, cancellations, and train formation changes, ensuring that the information in the railway ticketing system is consistent with actual operation. By generating accurate timetable adjustment information, business personnel can quickly adjust train scheduling and ticketing management.
[0104] Based on the above technical solution, this embodiment can automatically identify and respond to changes in train timetables, generating timetable adjustment information including information to be verified, train expiration dates, new train timetable information, information on the original timetable expiration and new timetable compatibility, and information on point and route changes. This automated processing not only improves the efficiency and accuracy of timetable adjustment information generation, but also reduces manual errors and workload, ensuring the continuity and reliability of railway passenger transport management, thereby enhancing the overall efficiency of railway transportation and the passenger travel experience.
[0105] Step S04: generating a first train operation diagram in response to the input first diagram adjustment request.
[0106] In this embodiment, after the railway ticketing system outputs the timetable adjustment information, operators can input a corresponding first timetable adjustment request based on the information. The railway ticketing system then automatically generates a new train timetable based on the first timetable adjustment request. This automated process reduces the complexity and error rate of manual operations and improves timetable adjustment efficiency. This ensures that railway operations can quickly adapt to changes in the train timetable and promptly update the train timetable, providing passengers with accurate travel information, optimizing their travel experience, and enhancing railway transportation's flexibility and ability to respond to market changes.
[0107] Based on the above embodiment, in some embodiments, in response to the input first diagram adjustment request mentioned in step S04, the first train operation diagram is generated, which may be specifically:
[0108] Determining a first map adjustment operation according to the first map adjustment request; wherein the operation category of the first map adjustment operation includes at least one of a check operation, a map cancellation operation, a map addition operation, a screenshot of an original map and a new map addition operation, and a point change and responsibility change operation;
[0109] A first train operation diagram is performed on the original train operation diagram to obtain a first train operation diagram.
[0110] In this embodiment, by determining the first map adjustment operation based on the first map adjustment request, determining the type of the first map adjustment operation based on the type of map adjustment information, and executing the corresponding map adjustment operation on the original train timetable, the first train timetable can be ensured to accurately reflect changes in train operations. These map adjustment operations are all automatically processed by the railway passenger ticketing system, reducing the workload previously required by staff to hours to seconds, while also improving data maintenance accuracy and reducing manual verification workload.
[0111] In some embodiments, after executing step S02, the train timetable information sent by the railway passenger map system is received, and the train timetable information is identified and processed using a multi-dimensional train data identification and processing model to obtain business data recognizable by the railway passenger ticket system. A prompt message indicating that the train timetable information has been received can also be sent to the railway passenger map system. The purpose of this is to confirm that the train timetable information has been successfully received and processed, ensuring the accuracy and real-time nature of the data, thereby ensuring communication and data synchronization between the two systems. This step helps improve system reliability and reduce problems caused by data transmission errors or delays. It also provides feedback to the railway passenger map system, enabling it to track the status of information transmission and make corresponding adjustments or updates as needed.
[0112] Based on the above technical solution, the embodiment of the present invention provides a method for generating new train diagram data based on consistent mutual control, which establishes a multi-dimensional train data recognition and processing model; receives the train operation diagram information sent by the railway passenger diagram system, and uses the multi-dimensional train data recognition and processing model to perform data recognition and processing on the train operation diagram information to obtain business data that can be identified by the railway ticket system; generates corresponding diagram adjustment information according to the business data and outputs it; in response to the input first diagram adjustment operation, generates a first train operation diagram based on the original train operation diagram in the railway ticket system. The present invention realizes the automatic recognition and processing of the train operation diagram information received by the railway passenger diagram system by establishing a multi-dimensional train data recognition and processing model in the railway ticket system, converts it into business data that can be identified by the ticket system, and quickly generates and outputs diagram adjustment information based on these data. Under the premise of ensuring data consistency, it realizes the deep sharing and integration of data between the railway ticket system and the railway passenger diagram system, and expands the scope of data sharing. At the same time, it ensures that when the train timetable changes, it can respond quickly and generate a new train timetable. This not only improves the efficiency and accuracy of timetable adjustment, but also simplifies the timetable adjustment process, allowing non-professionals to operate conveniently, thereby promoting cross-professional and cross-system integration and innovation in railway passenger business, greatly improving the overall efficiency of railway passenger management, and providing support for data consistency management.
[0113] Please refer to Figure 4 ,for Figure 3Flowchart of a practical expression of step S32 in the above embodiment. Based on the above embodiment, in some embodiments, the business data is compared with the original business data in step S32 to obtain the corresponding data comparison result, which can be specifically as follows: Figure 4 Steps shown:
[0114] Step S41: Compare the service data with the original service data to see if the train number information is consistent.
[0115] If the train number information is inconsistent, execute step S42; if the train number information is consistent, execute step S43.
[0116] In this embodiment, the train information may include at least one of the originating train number, the departure station, and the arrival station. This embodiment compares the service data converted from the train timetable information sent by the railway passenger map system with the original service data converted from the original train timetable information stored in the railway passenger ticket system to check whether there are any changes in the train information and identify the addition or cancellation of trains.
[0117] Step S42, generating train number addition information or train number cancellation information, and determining the category of the data comparison result as train addition when generating train number addition information, and determining the category of the data comparison result as train cancellation when generating train number cancellation information.
[0118] In this embodiment, when train information is inconsistent, the system automatically generates new train information or train cancellation information. This process is designed to identify and respond to new changes in the train timetable. When generating new train information, the system classifies the data comparison results as "new train," meaning that a new train has been added to the timetable; when generating train cancellation information, the system classifies the data comparison results as "cancelled train," meaning that certain trains are no longer running. This process enables timely identification of changes in the train timetable sent by the railway passenger map system compared to the original train timetable of the railway passenger ticket system, providing an accurate basis for the subsequent generation of timetable adjustment information.
[0119] In some embodiments, the generation of new train information represents the presence of new trains in this timetable adjustment business. At this time, the railway passenger ticket system can automatically generate basic train information, stop station information, route information, marshalling information, and responsible enterprise information based on the data provided by the railway passenger map system, and automatically convert it into new map data for the railway passenger ticket system after data recognition and processing model processing.
[0120] In some embodiments, the generation of train cancellation information represents that the train is cancelled in this timetable adjustment business. At this time, the railway passenger ticket system can automatically generate a new valid expiration date for the train so that business personnel can complete the cancellation operation in batches.
[0121] Step S43: comparing the stop information between the service data and the original service data to see if they are consistent.
[0122] If the stop information is inconsistent, execute step S44; if the stop information is consistent, execute step S45.
[0123] In this embodiment, when the train number information is consistent, the service data is compared with the original service data to determine whether the stop information is consistent. The stop information may include at least one of the following: the number of train stops, the station sequence, the station name, the train number, the arrival point, the departure point, and the day of the train. If the stop information is consistent, step S45 is executed to compare the subsequent information.
[0124] Step S44, generate train addition and deletion station information and / or train point change information, and when generating train addition and deletion station information, determine the category of the data comparison result as cutting the original image to create a new image, and when generating train point change information, determine the category of the data comparison result as changing the point and changing the responsibility.
[0125] In this embodiment, when stop information is inconsistent, the railway ticketing system generates train station addition and deletion information and / or train schedule change information based on the differences between the two. When a train adds or cancels a stop, the data comparison result is categorized as "Cut the original diagram to create a new one," meaning the original diagram needs to be truncated and a new operation diagram generated based on the new business data. When a train schedule is changed, the data comparison result is categorized as "Change the point and the operator," indicating that the train's scheduling plan has changed. This categorization of the data comparison results allows the railway ticketing system to subsequently generate corresponding schedule adjustment information based on the data comparison result category.
[0126] In the existing technology, cutting off the original map and adding a new map in the railway passenger ticket system is the most complicated business in the map adjustment business. In some embodiments, the railway passenger ticket system can pre-generate the original map cutoff information and the new map supporting information based on the data comparison results. The business personnel no longer need to go through the complicated operations of the original two business links, but can conveniently complete the cutting off the old map and adding the new map based on the original map cutoff information and the new map supporting information.
[0127] Step S45: Compare the train formation information between the business data and the original business data to see if they are consistent.
[0128] If the train composition information is inconsistent, execute step S46; if the train composition information is consistent, execute step S47.
[0129] In this embodiment, when the stop information is consistent, the train marshaling information between the business data and the original business data is compared to see if it is consistent. If the train marshaling information is inconsistent, the system will execute step S46 to generate train marshaling change information and classify this change as "generating a new map from the original map," indicating that the train operation diagram needs to be updated based on the new marshaling information. This step ensures that the train marshaling information in the railway passenger ticket system is synchronized with the business data for the map adjustment, thereby promptly and accurately reflecting the actual train marshaling status and supporting subsequent scheduling decisions and passenger information services.
[0130] Step S46: Generate train formation change information and determine the category of the data comparison result as cutting the original image to generate a new image.
[0131] Step S47: Compare the business data with the original business data to see if the train responsible enterprise information is consistent.
[0132] If the train company information is inconsistent, execute step S48; if the train company information is consistent, execute step S49.
[0133] In this embodiment, if the train formation information is found to be consistent, the system then compares the train's responsible company information to see if it is consistent. If not, the system proceeds to step S48, generates change information, and categorizes the data comparison result as "Change of point, change of company," indicating a change in the responsible company. If the train's responsible company information is consistent, the system proceeds to step S49, confirming the data comparison result as "Train information consistent," indicating that the train's responsible company has not changed. The purpose of this process is to automatically identify and process changes in train's responsible company information, ensuring the accuracy and timely updating of railway operational information, thereby improving the reliability and efficiency of railway passenger transport management.
[0134] Step S48: Generate change of responsibility information and determine the category of the data comparison result as change of point and change of responsibility.
[0135] In some embodiments, the point change and operator change categories include train point change situations and train operator change information situations, which means that the timetable-adjusted train has point changes or operator changes, and other information remains consistent. In such cases, there is no need to generate a new timetable. The railway passenger ticket system provides business personnel with a convenient mechanism for automatic generation of dispatching commands, batch modification of train arrival and departure points, and batch modification of train operator information.
[0136] Step S49: confirm that the category of the data comparison result is that the train information is consistent.
[0137] Based on the above technical solution, this embodiment identifies changes in train timetables through a series of comparison steps and generates corresponding timetable adjustment information based on these changes. Each step involves comparing specific information (train number, stop, marshaling, and responsible company) and generating specific types of timetable adjustment information based on the comparison results. This process helps automate and optimize timetable adjustment operations, reduce human errors, and improve the efficiency and accuracy of railway operations.
[0138] Please refer to Figure 5 , which is a schematic structural diagram of a device for generating new train map data based on consistent mutual control according to an embodiment of the present invention, and is applied to a railway ticketing system. The device for generating new train map data based on consistent mutual control may include:
[0139] Model building module 100, used to build a multi-dimensional train data recognition and processing model;
[0140] The data processing module 200 is used to receive the train timetable information sent by the railway passenger map system and perform data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data that can be recognized by the railway passenger ticket system;
[0141] A map adjustment information generation module 300 is used to generate and output corresponding map adjustment information based on business data;
[0142] The timetable adjustment operation module 400 is configured to generate a first train operation diagram in response to an input first timetable adjustment request.
[0143] Based on the above embodiment, in a specific embodiment, the model building module 100 can be used to:
[0144] Obtaining train information from a railway passenger map system; the train information includes at least one of basic train information, detailed train operation information, train formation information, train model information, and train responsible company information;
[0145] Establishing a mapping relationship between the train information of the railway passenger map system and the train information of the railway passenger ticket system through a matching algorithm;
[0146] The mapping relationship is verified based on the production environment of the railway passenger ticket system, and a multi-dimensional train data recognition and processing model is constructed according to the verification results.
[0147] Based on the above embodiment, in a specific embodiment, the map adjustment information generation module 300 can be specifically used to:
[0148] Obtain the original business data corresponding to the original train timetable in the railway ticket system;
[0149] Compare the business data with the original business data to obtain corresponding data comparison results; the categories of the data comparison results include at least one of the following: consistent train information, train cancellation, new train, cutting the original map to create a new map, and changing the point and responsibility;
[0150] The corresponding timetable adjustment information is generated according to the data comparison result; the categories of timetable adjustment information include at least one of the information to be verified, the effective expiration date of the train, the new information of the train operation diagram, the matching information of the original diagram expiration and the new diagram, and the information of the changed points and responsibilities.
[0151] Based on the above embodiment, in a specific embodiment, the map adjustment information generation module 300 can be specifically used to:
[0152] Compare the train number information between the business data and the original business data to see if they are consistent; the train number information includes at least one of the originating train number, departure station, and arrival station;
[0153] If the train number information is inconsistent, then generate train number new information or train number cancellation information, and when generating train number new information, determine the category of the data comparison result as train new information, and when generating train number cancellation information, determine the category of the data comparison result as train cancellation;
[0154] If the train information is consistent, then compare the stop information between the business data and the original business data to see if they are consistent; the stop information includes at least one of the number of train stops, station sequence, station name, station number, arrival point, departure point, and day number;
[0155] If the stop information is inconsistent, then generate train stop addition and deletion information and / or train point change information, and when generating the train stop addition and deletion information, determine the data comparison result category as cutting the original image to generate a new image, and when generating the train point change information, determine the data comparison result category as changing the point and the responsibility;
[0156] If the stop station information is consistent, compare the train formation information between the business data and the original business data to see if they are consistent;
[0157] If the train formation information is inconsistent, the train formation change information is generated, and the data comparison result category is determined to be cutting the original image to generate a new image;
[0158] If the train formation information is consistent, then compare the train responsible enterprise information between the business data and the original business data to see if they are consistent;
[0159] If the train responsible enterprise information is inconsistent, then the responsible enterprise information will be generated, and the data comparison result category will be determined as changed point and changed responsibility;
[0160] If the information of the company in charge of the train is consistent, the category of the data comparison result is confirmed as consistent train information.
[0161] Based on the above embodiment, in a specific embodiment, the map adjustment operation module 400 can be specifically used to:
[0162] Determining a first map adjustment operation according to the first map adjustment request; wherein the operation category of the first map adjustment operation includes at least one of a check operation, a map cancellation operation, a map addition operation, a screenshot of an original map and a new map addition operation, and a point change and responsibility change operation;
[0163] A first train operation diagram is performed on the original train operation diagram to obtain a first train operation diagram.
[0164] Based on the above embodiment, in a specific embodiment, the map adjustment operation module 400 can also be used to:
[0165] Send a prompt message to the railway passenger map system indicating that the train timetable information has been received.
[0166] Based on the above embodiment, in a specific embodiment, the data processing module 200 may also be used to:
[0167] Perform data analysis on business data based on preset shared business units, and generate and output corresponding new and old alternating views based on the data analysis results;
[0168] In response to the input second train timetable adjustment request, a second train timetable is generated based on the original train timetable in the railway passenger ticket system.
[0169] This embodiment provides an electronic device, including a processor and a memory, wherein the memory is used to store at least one instruction. When the instruction is loaded and executed by the processor, it implements the above-mentioned method for generating new train map data based on consistent mutual control. Its execution method and beneficial effects are similar and will not be repeated here.
[0170] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for generating new train map data based on consistent mutual control is implemented. Its execution method and beneficial effects are similar and will not be repeated here.
[0171] It should be noted that although the above describes the various steps in a specific order, it does not mean that the steps must be performed in the above specific order. In fact, some of these steps can be executed concurrently or even in a different order as long as the required functions can be achieved.
[0172] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for generating new train map data based on consistent mutual control, characterized in that: Applied to a railway passenger ticket system, the method includes: Establish a multi-dimensional train data recognition and processing model; Receiving train timetable information sent by the railway passenger map system, and performing data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data that can be recognized by the railway passenger ticket system; Generate corresponding map adjustment information according to the business data and output it; In response to the input first timetable adjustment request, a first train operation diagram is generated.
2. The method according to claim 1, characterized in that The establishment of a multi-dimensional train data recognition and processing model includes: Obtaining train information from the railway passenger map system; the train information includes at least one of basic train information, detailed train operation information, train formation information, train model information, and train responsible company information; Establishing a mapping relationship between the train information of the railway passenger map system and the train information of the railway passenger ticket system through a matching algorithm; The mapping relationship is verified based on the production environment of the railway passenger ticket system, and the multi-dimensional train data recognition and processing model is constructed according to the verification result.
3. The method according to claim 2, characterized in that Generating and outputting corresponding map adjustment information according to the business data includes: Obtaining original business data corresponding to the original train operation diagram in the railway passenger ticket system; Comparing the business data with the original business data to obtain corresponding data comparison results; the categories of the data comparison results include at least one of the following: consistent train information, train cancellation, new train, cutting the original map to create a new map, and changing the point and the responsibility; The corresponding timetable adjustment information is generated according to the data comparison result; the categories of the timetable adjustment information include at least one of the information to be verified, the train effective expiration date, the new information of the train operation diagram, the original diagram expiration and the new diagram matching information, and the change of point and responsibility information.
4. The method according to claim 3, characterized in that The comparing the business data with the original business data to obtain a corresponding data comparison result includes: Comparing the train number information between the business data and the original business data to see if they are consistent; the train number information includes at least one of the originating train number, the departure station, and the arrival station; If the train number information is inconsistent, generate train number addition information or train number cancellation information, and determine the category of the data comparison result as train addition when generating the train number addition information, and determine the category of the data comparison result as train cancellation when generating the train number cancellation information; If the train number information is consistent, then compare the stop information between the business data and the original business data to see if they are consistent; the stop information includes at least one of the number of train stops, station sequence, station name, station number, arrival point, departure point, and day; If the stop information is inconsistent, train addition and deletion information and / or train point change information are generated, and when generating the train addition and deletion information, the category of the data comparison result is determined to be cutting the original image to generate a new image, and when generating the train point change information, the category of the data comparison result is determined to be changing the point and the responsibility; If the stop station information is consistent, then comparing the train formation information between the business data and the original business data to see if they are consistent; If the train formation information is inconsistent, train formation change information is generated, and the category of the data comparison result is determined to be cutting the original image to generate a new image; If the train formation information is consistent, then compare the train responsible enterprise information between the business data and the original business data to see if they are consistent; If the train responsible enterprise information is inconsistent, then generate responsible enterprise information, and determine the category of the data comparison result as changed point and changed responsibility; If the information of the company in charge of the train is consistent, the category of the data comparison result is confirmed to be consistent train information.
5. The method according to claim 3, characterized in that The step of generating a first train operation diagram in response to the input first diagram adjustment request includes: Determining a first map adjustment operation according to the first map adjustment request; wherein the operation category of the first map adjustment operation includes at least one of a check operation, a map cancellation operation, a map addition operation, a screenshot of an original map and a new map addition operation, and a point change and responsibility change operation; The first train timetable adjustment operation is performed on the original train timetable to obtain the first train timetable.
6. The method according to claim 1, characterized in that After receiving train timetable information sent by the railway passenger map system and performing data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data recognizable by the railway passenger ticket system, the method further includes: Send a prompt message indicating that the train operation diagram information reception is completed to the railway passenger map system.
7. The method according to any one of claims 1 to 6, characterized in that After obtaining the business data identifiable by the railway ticket system, the method further includes: Performing data analysis on the business data based on a preset shared business unit, and generating and outputting corresponding new and old alternating views according to the data analysis results; In response to the input second train timetable adjustment request, a second train timetable is generated based on the original train timetable in the railway ticket system.
8. A device for generating new train map data based on consistent mutual control, characterized in that: Applied to a railway passenger ticket system, the device comprises: Model building module, used to build multi-dimensional train data recognition and processing models; a data processing module, configured to receive train timetable information sent by the railway passenger map system, and perform data recognition and processing on the train timetable information using the multi-dimensional train data recognition and processing model to obtain business data recognizable by the railway passenger ticket system; A map adjustment information generation module is used to generate corresponding map adjustment information according to the business data and output it; The diagram adjustment operation module is used to generate a first train operation diagram in response to an input first diagram adjustment request.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, it implements the method for generating new train map data based on consistent mutual control as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating new train map data based on consistent mutual control as described in any one of claims 1 to 7 is implemented.