Implementation method of train line selection centralized system
Through the train line selection centralized system, the UDP protocol of line selection server and CIR equipment is used to realize automated line selection, which solves the problems of traditional manual dependence and functional dispersion, improves the automation level and maintenance efficiency of line selection, and reduces costs and human factors. The impact of
Patent Information
- Application Number
- CN202411650978.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2024-12-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional train line selection method relies on manual judgment and is easily affected by factors such as environment, fatigue and experience, resulting in line selection errors and delays. The line selection function is scattered in various train CIR equipment, which has high maintenance costs and low efficiency, making it difficult to meet real-time performance. Require.
Adopt the train line selection system, through the UDP protocol communication between the train CIR equipment and the line selection server, real-time processing and automatic line determination of the line selection program on the line selection server, automatic line switching, centralized management of line selection functions, and reduce maintenance. Complexity and cost.
It improves the automation level and accuracy of line selection, reduces manual intervention, reduces maintenance costs, simplifies system maintenance, and improves line selection efficiency and safety.
Smart Images

Figure CN119142388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of train line selection, and in particular to a method for realizing a centralized train line selection system. Background Art
[0002] With the rapid development of the global economy and the acceleration of urbanization, railway transportation, as an important public transportation tool, has received increasing attention for its efficiency and safety. With the continuous expansion of the railway transportation system and the continuous increase in train operation density, the train line selection problem has gradually become one of the key factors affecting the overall efficiency and safety of the railway transportation system.
[0003] Traditional train line selection methods mainly rely on train drivers or dispatchers to make judgments based on on-site conditions and experience, which has significant limitations. First, human judgment is easily affected by multiple factors such as environment, fatigue level, and experience level, which increases the possibility of line selection errors and delays. Second, with the increase in the number of trains and the complexity of the transportation network, relying on manual line selection is not only inefficient, but also difficult to meet real-time requirements.
[0004] In addition, the existing train line selection function is often scattered in the CIR devices of each train. This decentralized layout not only increases the complexity of system maintenance, but also increases maintenance costs. Whenever the line selection function needs to be updated or upgraded, maintenance personnel need to check and update the CIR devices of each train one by one. This process is time-consuming, labor-intensive, and prone to errors. Summary of the invention
[0005] In view of the technical problems that the line selection function in the prior art is dispersed in the CIR equipment of each train, resulting in high maintenance cost, low efficiency, and susceptibility to human factors, the present invention discloses a method for realizing a centralized train line selection system, which solves the limitation that the existing line selection function exists in the CIR equipment of each train, reduces the maintenance cost of the train CIR equipment, improves the efficiency of line selection, and realizes the automation and centralized management of line selection.
[0006] The technical solution adopted by the present invention is: a method for implementing a train line selection centralized system, which is implemented based on a train CIR device and a line selection server, and the steps are as follows: Step 1: There is a line selection program on the line selection server; Step 2: When the train runs to the area where line selection is required, the train CIR device sends train data information to the line selection server through the UDP protocol; Step 3: After the line selection server receives the train data information, when the program determines a line, the line selection server returns the line data information determined by the train CIR device, otherwise it returns an empty line data information; Step 4: The train CIR equipment obtains line data information and automatically switches the line when the train number in the line information is the same as the current train number. When the line information is empty, the driver is prompted to select the line manually.
[0007] In step 1, the line selection server is provided with a line selection program that performs the following operations: 1) Install the environment and dependencies required for the installation program to run, switch the directory to / usr / local, download the program compressed package and the auto_install.sh script file into the / usr / local directory, and grant all permissions to the auto_install.sh script file; 2) Use the sh command to run the auto_install.sh script file. After the program is installed, configure the IP address and data port in the configuration file, and set the program to start automatically.
[0008] In step 2, the process of the train CIR device sending train data information to the line selection server through the UDP protocol includes: 1) The train number is manually registered by the driver before driving; 2) The longitude and latitude information is obtained in real time by the satellite positioning unit module in the train CIR equipment; 3) After the acquisition is completed, the data unit module in the train CIR device is used to send the train data information to the line selection server.
[0009] In step 3, the process of determining a route by the program performs the following operations: The program searches for the current train number based on the train number and longitude and latitude data in the obtained train data information, and obtains the longitude and latitude areas corresponding to the train number. It then traverses each longitude and latitude area to determine which longitude and latitude area the current train longitude and latitude information is in, and returns the line data information corresponding to the longitude and latitude area.
[0010] In step three, the line selection server returns the determined line data information including the train number, line name and line mode.
[0011] In step 4, the method for automatically switching routes when the train number in the route information is the same as the current train number is: 1) The data unit module in the train CIR device receives the line data information returned by the server; 2) Compare the train number in the line data information with the current train number to see if they correspond. If they correspond, the line name and line mode in the CIR device of the train will be automatically modified to the line name and line mode in the line data information. If they do not correspond, the driver will be prompted to select the line manually.
[0012] The beneficial effects of the present invention are as follows: 1) Improvement of the automation level: Through real-time data interaction between the train CIR device and the line selection server, the system can automatically and quickly determine and return the line information that the train should select. This process does not require any human intervention at all, thereby significantly improving the automation level of train line selection. This automation not only reduces the workload of train drivers and dispatchers, but also avoids line selection errors and delays that may be caused by human factors, and improves the accuracy and efficiency of line selection.
[0013] 2) Reduced maintenance costs: The line selection function is centralized from the CIR devices of each train to the line selection server, realizing unified management of the line selection function. This method greatly simplifies the complexity of system maintenance. Maintenance personnel only need to maintain and upgrade the line selection server, without having to check the CIR devices of each train one by one, thus significantly reducing the overall maintenance cost of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a system connection block diagram of the present invention; Figure 2 This is a flow chart of the line selection server program of the present invention. DETAILED DESCRIPTION
[0015] In order to more clearly understand the present invention, the following is a detailed description with reference to the accompanying drawings.
[0016] like Figure 1 As shown, a train line selection centralized system is composed of multiple train CIR devices and a line selection server, and the line selection server communicates with the multiple train CIR devices through the UDP protocol; The line selection server is pre-installed with a line selection program, which is used to receive train data information and return a line data information after processing; the train CIR device is used to send train data information to the line selection server in the line selection area; and the line is automatically switched after receiving the line data information.
[0017] When the train runs to the area where the line selection is required, the train CIR device sends train data containing the train number and longitude and latitude information to the line selection server through the UDP protocol. After receiving this data, the line selection server quickly processes it through the line selection program deployed internally, determines and returns the most suitable line information to the train CIR device; in the workflow of the line selection program, the corresponding longitude and latitude area range will be first found according to the train number, and then the specific location of the train will be determined by combining the longitude and latitude information of the train received in real time. By traversing all possible longitude and latitude areas, the line selection program can accurately determine the line that the train should choose, and return the line data information including the train number, line name and line mode to the train CIR device; after receiving the line data information returned by the line selection server, the train CIR device will automatically switch the line without the manual intervention of the driver, thus realizing the automation of line selection. If the line data is empty (that is, the train number in the line information received by the train CIR device is different from the current train number), the line selection server cannot determine the specific line information, and the train CIR device will prompt the driver to manually select the line.
[0018] Embodiment 1, a method for implementing a centralized train line selection system, comprises the following steps: S1: Set up a line selection server in the ground machine room and deploy a program on the server that supports returning line data based on train data transmitted by the train CIR equipment; Deploying the program on the selected server includes the following specific steps: S1-1, install the environment and dependencies required for the installation program to run, switch the directory to / usr / local, download the program compressed package and the auto_install.sh script file into the / usr / local directory, and grant all permissions to the auto_install.sh script file; S1-2, use the sh command to run the auto_install.sh file. After the program is installed, configure the IP address to 192.168.8.76, the data port to 80 in the configuration file, and set the program to auto-start; S2: There are multiple trains running on the line, and each train is equipped with a train CIR device at the front of the train. When the train runs to the area where line selection is required, the train CIR device sends train data information to the line selection server through the UDP protocol. The sent train data information includes the train number and longitude and latitude information; Taking one of the trains as an example, the process of the train CIR device sending train data information to the line selection server through the UDP protocol includes: S2-1, before driving, the driver manually registers the current train number as 8342; S2-2, when the train reaches the line selection area, the latitude and longitude information of the current position obtained by the satellite positioning unit module of the train CIR equipment is 114.364592,30.718487; S2-3, after the acquisition is completed, the current train number and the longitude and latitude information form the train data information, which is sent to the line selection server using the data unit module in the train CIR device.
[0019] S3: After the line selection server receives the train data information, the program can determine a line, and the line selection server returns the line data information confirmed by the train CIR device, wherein the line data information returned by the line selection server includes the train number 8342, the line name ET45, and the line mode 101; like Figure 2 As shown in the figure, the process of determining a line by the program on the line selection server includes: S3-1, the program parses the train number 8342 and the longitude and latitude information 114.364592, 30.718487 according to the obtained train data information; S3-2, traverse all train numbers in the database, and the train number 8342 in the current database is the same as the current train number; S3-3, traverse all longitude and latitude areas corresponding to the train number 8342. The current longitude and latitude 114.364592,30.718487 is in the rectangular line selection area formed by the points 114.36434,30.718805 and 114.364763,30.718347. Get the line name and line mode corresponding to the area, and form the line data information together with the train number, and return the composed line data information.
[0020] S4: The train CIR device automatically switches the line based on the line data information obtained and the train number in the line information is the same as the current train number.
[0021] The process of automatic line switching by the train CIR equipment includes: S4-1, the data unit module in the train CIR device receives the line data information returned by the server; S4-2, parse the line data information to obtain the train number 8342, line name ET45, and line mode 101; S4-3, compare the train number in the line data information with the current train number 8342, and if the train numbers are the same, the line name of the current train is automatically changed to ET45, and the line mode is automatically changed to 101; Through the above steps, the automation of line selection is achieved and the maintenance cost is reduced.
[0022] Embodiment 2, a method for implementing a centralized train line selection system, comprising the following steps: S1: Set up a line selection server in the ground machine room and deploy a program on the server that supports returning line data based on train data transmitted by the train CIR equipment; Deploying the program on the selected server includes the following specific steps: S1-1, install the environment and dependencies required for the installation program to run, switch the directory to / usr / local, download the program compressed package and the auto_install.sh script file into the / usr / local directory, and grant all permissions to the auto_install.sh script file; S1-2, use the sh command to run the auto_install.sh file. After the program is installed, configure the IP address to 192.168.8.76, the data port to 80 in the configuration file, and set the program to auto-start.
[0023] S2: There are multiple trains running on the line, and each train is equipped with a train CIR device at the front of the train. When the train runs to the area where line selection is required, the train CIR device sends train data information to the line selection server through the UDP protocol. The sent train data information includes the train number and longitude and latitude information; Taking one of the trains as an example, the process of the train CIR device sending train data information to the line selection server through the UDP protocol includes: S2-1, before driving, the driver manually registers the current train number as 08344; S2-2, when the train reaches the line selection area, the latitude and longitude information of the current position obtained by the satellite positioning unit module of the train CIR equipment is 114.375896,30.954824; S2-3, after the acquisition is completed, the current train number and the longitude and latitude information form the train data information, which is sent to the line selection server using the data unit module in the train CIR device; S3: After the line selection server receives the train data information, the program cannot determine the line and returns an empty line data information, wherein the train number, line name, and line mode in the line data information returned by the line selection server are all empty values; The process in which the program on the line selection server cannot determine the line includes: S3-1, the program parses the train number 08344 and the longitude and latitude information 114.375896, 30.954824 according to the obtained train data information; S3-2, traverse all train numbers in the database to determine whether there is a train number 08344. If there is no train number 08344 in the current database, directly return an empty line data information.
[0024] S4: The train CIR equipment obtains line data information, and the line data information is empty, so it prompts the driver to select the line manually.
[0025] Through the above steps, the system's exception handling mechanism is reflected and the robustness of the program is verified.
Claims
1. A method for implementing a centralized train line selection system, based on a train CIR device and a line selection server, characterized in that: Here are the steps: Step 1: There is a line selection program on the line selection server; Step 2: When the train runs to the area where line selection is required, the train CIR device sends train data information to the line selection server through the UDP protocol; Step 3: After the line selection server receives the train data information, when the program determines a line, the line selection server returns the line data information determined by the train CIR device, otherwise it returns an empty line data information; Step 4: The train CIR equipment obtains line data information and automatically switches the line when the train number in the line information is the same as the current train number. When the line information is empty, the driver is prompted to select the line manually.
2. The method for implementing a centralized train line selection system according to claim 1, characterized in that: In step 1, the line selection server is provided with a line selection program that performs the following operations: 1) Install the environment and dependencies required for the installation program to run, switch the directory to / usr / local, download the program compressed package and the auto_install.sh script file into the / usr / local directory, and grant all permissions to the auto_install.sh script file; 2) Use the sh command to run the auto_install.sh script file. After the program is installed, configure the IP address and data port in the configuration file, and set the program to start automatically.
3. The method for implementing a centralized train line selection system according to claim 1, characterized in that: In step 2, the process of the train CIR device sending train data information to the line selection server through the UDP protocol includes: 1) The train number is manually registered by the driver before driving; 2) The longitude and latitude information is obtained in real time by the satellite positioning unit module in the train CIR equipment; 3) After the acquisition is completed, the data unit module in the train CIR device is used to send the train data information to the line selection server.
4. The method for implementing a centralized train line selection system according to claim 1, characterized in that: In step 3, the process of determining a route by the program performs the following operations: The program searches for the current train number based on the train number and longitude and latitude data in the obtained train data information, and obtains the longitude and latitude areas corresponding to the train number. It then traverses each longitude and latitude area to determine which longitude and latitude area the current train longitude and latitude information is in, and returns the line data information corresponding to the longitude and latitude area.
5. The method for implementing a centralized train line selection system according to claim 1, characterized in that: In step three, the line selection server returns the determined line data information including the train number, line name and line mode.
6. The method for implementing a centralized train line selection system according to claim 1, characterized in that: In step 4, the method for automatically switching routes when the train number in the route information is the same as the current train number is: 1) The data unit module in the train CIR device receives the line data information returned by the server; 2) Compare the train number in the line data information with the current train number to see if they correspond. If they correspond, the line name and line mode in the CIR device of the train will be automatically modified to the line name and line mode in the line data information. If they do not correspond, the driver will be prompted to select the line manually.
7. The method for implementing a centralized train line selection system according to claim 1, characterized in that: The train line selection centralized system is composed of multiple train CIR devices and a line selection server, and the line selection server communicates with multiple train CIR devices through the UDP protocol respectively; The line selection server is used to receive train data information and return a line data information after processing; The train CIR device is used to send train data information to the line selection server in the line selection area; Automatically switches lines after receiving line data information.
Citation Information
Patent Citations
Centralized railway CIR line positioning system based on network and implementation method
CN116980855A
Implementation method of remote preset train route system
CN117657260A
Knowledge graph-driven karst area railway intelligent line selection method, medium and equipment
CN118469309A
