Railway station numbering system and method based on geographic coordinate data
By using the longitude and latitude information of railway stations to generate numbers, the existing numbering system has conflicts in coding principles and failed to provide geographical information, and the accuracy of numbers and statistical analysis of information is achieved.
Patent Information
- Application Number
- CN202411400256.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-02-07
AI Technical Summary
The existing railway station numbering system has contradictions in coding principles and has not been effectively implemented, and the numbering does not provide geographical information, making it difficult to conduct statistical analysis.
A numbering system based on geographic coordinate data is adopted to automatically generate numbers through the longitude and latitude information of railway stations, including time zone coded data and latitude coded data, to achieve the accuracy of numbers and statistical analysis of information.
It realizes the accuracy of railway station numbers, provides station geographical location information, facilitates statistical analysis, and avoids confusion and errors in numbers.
Smart Images

Figure FT_1 
Figure SMS_1 
Figure SMS_2
Abstract
Description
Technical Field
[0001] The invention belongs to the field of information technology, and in particular relates to a railway station numbering system and method based on geographic coordinate data. Background Art
[0002] China's national standard GB / T 10302-2010 "Railway Station Code of the People's Republic of China" (hereinafter referred to as "GB / T10302-2010") stipulates the numbering of national railway stations as follows:
[0003] “3 Station code compilation principles
[0004] 3.1 The station code is a decimal code consisting of 5 digits, ranging from 10000 to 89999.
[0005] 3.2 The station codes on the same line should be as continuous as possible, and the trunk lines should be used to divide the areas. The station codes within the areas should be arranged in the order of the running direction, increasing or decreasing.
[0006] 3.3 When coding sequentially, 3 codes are reserved between station codes, and 30 to 500 codes are reserved for new lines to meet the needs of adding stations.
[0007] 3.4 The station code is meaningless. Each station code is unique and remains unchanged. The station name change code remains unchanged, and the station closure code is sealed. "
[0008] The "Station Code Compilation Principles" determined by GB / T 10302-2010 have the following problems:
[0009] (1) The provisions that "station codes on the same line should be as continuous as possible" and "when coding sequentially, three codes should be reserved between station codes" are contradictory.
[0010] (2) The provision that “regions are divided according to trunk lines, and station codes within the region are arranged in the order of running direction, in ascending or descending order” was not implemented when station codes were actually compiled.
[0011] For example:
[0012] There are no enforcement regulations for station codes along the Beijing-Guangzhou Railway.
[0013] Not only are most of the station codes along the railway lines starting from Beijing not implemented in accordance with the regulations, but most of the stations along the railway lines that intersect with the railway lines starting from Beijing are also unable to implement the regulations.
[0014] (3) Since the station code is a meaningless code, it cannot provide any other information, such as the location of the railway station, the location and approximate distance between any two railway stations, etc. It is also impossible to conduct statistical analysis on the distribution of railway stations. Summary of the invention
[0015] In order to solve the above technical problems, the present invention discloses a railway station numbering system and method based on geographic coordinate data. The railway stations are automatically numbered according to the geographic coordinate information of the railway stations, and the location of the railway stations, the location between any two railway stations, the approximate distance and other information can be seen from the numbers, so that the railway station numbering rules are refined and the confusion of numbering and other errors are avoided. The railway station numbering disclosed by the present invention is also convenient for statistical analysis of information such as the distribution of railway stations, and provides data support for social and economic development.
[0016] To achieve this purpose, the technical solution adopted by the present invention is as follows:
[0017] A railway station numbering system based on geographic coordinate data, comprising an information input unit, an information conversion unit, a railway station numbering unit and a numbering information output unit;
[0018] The information input unit is used to input railway station information; the railway station information includes longitude information and latitude information of the railway station;
[0019] The information conversion unit is used to convert the longitude information of the railway station into time zone information, and take the first two significant digits and multiply by 10 as time zone coding data; and take the first two significant digits of the latitude information of the railway station as latitude coding data;
[0020] The railway station numbering unit is used to generate a railway station number of the railway station; the railway station number includes time zone coding data and latitude coding data of the geographical location of the railway station;
[0021] The numbering information output unit is used to output the railway station number generated by the railway station numbering unit.
[0022] As a further improvement, the railway stations include stations owned by China State Railway Group Co., Ltd. and its affiliated enterprises, and state-railway-controlled joint-venture railway companies.
[0023] As a further improvement, the railway stations include joint venture railways not controlled by the national railway, local railways, and other railway stations that handle direct transportation and networked ticket sales with the national railway.
[0024] As a further improvement, the railway station information also includes code information of the railway station. When the time zone coding data and latitude coding data of multiple railway stations are the same, the railway station numbering unit adds the code information of the railway station to distinguish them. The code information of the railway station includes but is not limited to telegraph codes.
[0025] As a further improvement, when the time zone boundary line passes through a railway station, the time zone where the geometric midpoint of the railway station is located is taken as the time zone information or the time zone where any point on the time zone boundary line is located is taken as the time zone information.
[0026] As a further improvement, the latitude information is rounded to two significant figures of the railway station as latitude encoding data.
[0027] A further improvement includes a statistical unit, which is used to count the number of railway stations within the area to be queried based on the railway station numbers.
[0028] A railway station numbering method based on geographic coordinate data comprises the following steps:
[0029] Step 1: Determine the longitude and latitude information of the railway station;
[0030] Step 2: Convert the longitude information of the railway station into time zone information, and take the first two significant digits and multiply by 10 as the time zone code data;
[0031] Step 3: Take the first two significant digits of the latitude information of the railway station as latitude coding data;
[0032] Step 4: Put the time zone code data and the latitude code data in parallel to obtain the railway station geographic number as the railway station number.
[0033] A further improvement also includes step five: if there are duplicate railway station geographical numbers, the code information of the railway station is added to the obtained railway station geographical number as a distinction to obtain the railway station number; or in order to maintain the uniformity of the number of data digits of the railway station comprehensive number, the code information of the corresponding railway station is added to all railway station geographical numbers to obtain the railway station number.
[0034] As a further improvement, the code information of the railway station includes but is not limited to telegraph code.
[0035] It should be noted that the present invention needs to convert the longitude information into integer data separated by 0.1 time zone, so the longitude value cannot be exactly equal to (1.5N±0.75) degrees (since China's longitude range is approximately 73.55 degrees to 135.08 degrees east longitude, N is an integer between 49 and 90), because (1.5N±0.75) degrees is a dividing line separated by 0.1 time zone.
[0036] In the appendix of the present invention, the accuracy of longitude data varies. The purpose of retaining multiple digits after the decimal point is, firstly, to maintain the state of the data when it is obtained from the Internet (its relative credibility is higher), and secondly, to avoid the data being exactly equal to (1.5N±0.75) degrees.
[0037] In China, the average ground length corresponding to a 0.1 time zone is about 129 kilometers, while the length of a railway station is usually less than 1 kilometer. For most railway stations, the area they belong to does not fall on the dividing line of the 0.1 time zone. In this case, taking any point in the area where the railway station belongs as the longitude data of the railway station will not affect the number of the railway station.
[0038] For the very few railway stations that fall on the 0.1 time zone dividing line, the point near the middle position can be taken as the longitude data of the railway station. The longitude accuracy of the current Internet map has reached the seventh decimal place, which is equivalent to an average ground length error of less than 1.3 cm. Therefore, it is easy to extract points near the middle position that do not fall on the 0.1 time zone dividing line as the longitude data of the railway station.
[0039] Similarly, the present invention needs to convert the latitude information into data separated by 1 degree, so the latitude value cannot be exactly equal to 0.5 degree, because 0.5 degree is the dividing line.
[0040] In the appendix of the present invention, the accuracy of the latitude data varies. The purpose of retaining multiple digits after the decimal point is, firstly, to maintain the state of the data when it is obtained from the Internet (its relative credibility is higher), and secondly, to avoid the data being exactly equal to 0.5 degrees.
[0041] The ground length corresponding to 1 degree of north latitude is about 111 kilometers, while the length of a railway station is usually less than 1 kilometer. For most railway stations, the area they belong to does not fall on the 0.5 degree dividing line. In this case, taking any point in the area where the railway station belongs as the latitude data of the railway station will not affect the number of the railway station.
[0042] For the very few railway stations that fall on the 0.5 degree dividing line, the point near the middle position can be taken as the latitude data of the railway station. The latitude accuracy of the current Internet map has reached the seventh decimal place, which is equivalent to an average ground length error of about 1.1 cm. Therefore, it is easy to extract points near the middle position that do not fall on the 0.5 degree dividing line as the latitude data of the railway station.
[0043] The method for numbering railway stations is as follows:
[0044] Convert the longitude information of the railway station into time zone information, take two valid digits and multiply by 10 as the time zone coding information; take two valid digits of the latitude information of the railway station as the latitude coding data (if it is less than two digits, add "0" in front of the digit).
[0045] The railway station number includes the time zone code data, latitude code data and the telegraph code of the railway station's geographical location, wherein the order in which the time zone code data (A), the latitude code data (B) and the telegraph code (C) of the railway station appear in the railway station number may be determined by the railway station code authority.
[0046] For example: ABC, ACB, BAC, BCA, CAB, CBA.
[0047] The telegraph code is the identification code of the telegraph system for all railway stations in China (excluding Hong Kong, Macao and Taiwan for the time being, the same below) determined by the railway station coding authority. Although there is no strict compilation rule, it can ensure that each railway station has a unique telegraph code. The telegraph code roughly divides China into 22 regions (there are overlaps within the regions). Each railway station consists of three uppercase English letters, of which the first two English letters are the pinyin initials of the Chinese name of the railway station or other letters (the two-letter combination must not be repeated within the region); the third English letter is the area code.
[0048] According to the numbering method disclosed in the present invention, 6562 railway stations listed in GB / T 10302-2010 are numbered. Among the 393 regions distributed, the largest number of railway stations reaches 76, so other codes must be added to distinguish each railway station. The present invention preferentially uses the railway station telegraph code (due to its uniqueness and relevance), but the railway station coding authority may also use other codes.
[0049] Compared with GB / T 10302-2010, the beneficial effects of the present invention are as follows:
[0050] (1) The geographical location of each railway station has been realized;
[0051] The geographical coordinates (time zone, latitude) of a railway station are very important practical data. Users can know the location of the railway station in China through the number.
[0052] For example, the number of Guangzhou Station can be set to "7623GZQ", where "76" means it is located in the 7.6 time zone and "23" means it is located at 23 degrees north latitude.
[0053] For example, the number of Shanghai Station can be set to "8131SHH", where "81" means it is located in the 8.1 time zone and "31" means it is located at 31 degrees north latitude.
[0054] (2) It realizes the comparison of the directions between any two railway stations;
[0055] From the numbers of the two railway stations, we can determine the relative positions and time difference between the two railway stations.
[0056] For example: the number of Guangzhou Station can be set to "7623GZQ" and the number of Shanghai Station can be set to "8131SHH". Since 76<81, it can be judged that Guangzhou Station is to the west of Shanghai Station (correspondingly, Shanghai Station is to the east of Guangzhou Station); since 23<31, it can be judged that Guangzhou Station is to the south of Shanghai Station (correspondingly, Shanghai Station is to the north of Guangzhou Station). Combining the above information, it can be determined that Guangzhou Station is to the southwest of Shanghai Station (correspondingly, Shanghai Station is to the northeast of Guangzhou Station). Moreover, it can be determined that the time difference between Guangzhou Station and Shanghai Station is 0.5 hours, that is, (81-76) / 10=0.5; it can be determined that the latitude difference between Guangzhou Station and Shanghai Station is 8 degrees, that is, 31-23=8.
[0057] For example, the number of Xinzhuang Station can be set to "8131XZH". Since its time zone and latitude are the same as those of Shanghai Station, Xinzhuang Station is near Shanghai Station. In addition, it can be determined that the time difference between Xinzhuang Station and Shanghai Station is less than 0.1 hours; it can be determined that the latitude difference between Xinzhuang Station and Shanghai Station is less than 1 degree.
[0058] (3) It helps users estimate the actual distance between any two railway stations;
[0059] ① For two railway stations in nearly north-south directions, the distance between the two stations can be estimated by multiplying the difference in their latitudes by 111.
[0060] Basic principle: The average circumference of the earth is about 40,000 kilometers, divided by 360 degrees, which is approximately equal to 111 kilometers per degree. That is, on the longitude, for every 1 degree difference in latitude, the actual distance is about 111 kilometers.
[0061] For example, the number of Beijing Station can be set to "7840BJP" and the number of Guangzhou Station can be set to "7623GZQ". Although the time zones of the two stations (7.8 and 7.6) are different, the difference is small and can be ignored when estimating the distance. The latitude values of the two stations differ by 40-23=17, multiplied by 111, and the estimated distance between the two stations is about 1887 kilometers, which is close to the actual distance of about 1893 kilometers.
[0062] ②For two railway stations in nearly east-west directions, the distance between the two stations can be estimated by multiplying the difference of "time zone × 10" by 129.
[0063] Basic principle: On the latitude, for every 1.5 degree difference in longitude (that is, a time zone difference of 0.1), the actual distance is about 111×1.5×cosθ kilometers (where θ represents the latitude of the latitude). Taking the latitude of Sanya City, Hainan Province at 18°, the actual distance of the latitude for a time zone difference of 0.1 is 111×1.5×cos18°=158 kilometers; taking the latitude of Mohe City, Heilongjiang Province at 53°, the actual distance of the latitude for a time zone difference of 0.1 is 111×1.5×cos53°=100 kilometers. The average value is 129, that is, on the latitude, for every 0.1 time zone difference, the average actual distance is about 129 kilometers.
[0064] For example, the number of Shanghai Station can be set as "8131SHH" and the number of Chongqing Station can be set as "7130CQW". Although the latitudes of the two stations are different, the difference is small and can be ignored when estimating the distance. The difference in the "time zone × 10" values of the two stations is 81-71 = 10, multiplied by 129, the estimated distance between the two stations is about 1290 kilometers, which is close to the actual distance of about 1440 kilometers. If necessary, substitute the average latitude of the two stations, 30.5°, into 10 × (111 × 1.5 × cosθ) to calculate, and the estimated distance between the two stations is about 1435 kilometers, which is closer to the actual distance.
[0065] ③ For two railway stations whose difference in "time zone × 10" and latitude are both large, the distance between the two stations can be estimated by adding the difference in "time zone × 10" and the difference in latitude, and then multiplying by 120.
[0066] Basic principle: The distance between two railway stations can be roughly regarded as the hypotenuse of a right triangle, with the right sides being the longitude distance and the average latitude distance. Combining the basic principles ① and ② above, further simplifying, take the average value of the longitude distance (111 km / degree) and the average latitude distance (129 km / 0.1 time zone) as 120, multiply it by the sum of the difference of "time zone × 10" and the difference of latitude between the two stations, as the estimated distance between the two stations.
[0067] For example, the number of Guangzhou Station can be set as "7623GZQ" and the number of Shanghai Station can be set as "8131SHH". The difference between the "time zone × 10" and the latitude of the two stations are both large. Add the difference between the "time zone × 10" and the latitude: (81-76) + (31-23) = 13, multiply by 120, and the actual distance between the two stations is about 1560 kilometers, which is close to the actual distance of 1207 kilometers.
[0068] If necessary, substitute the average latitude of the two stations, 27°, into (81-76)×(111×1.5×cosθ) to calculate the length of one right-angled side, and use the longitude length of the two stations, (31-23)×111, as the result of the calculation as the length of the other right-angled side. The estimated distance between the two stations is about 1,157 kilometers, which is closer to the actual distance.
[0069] ④For two railway stations in the same area, the average distance between the two stations, 60 kilometers, can be used as the estimated distance.
[0070] Basic principle: Based on the basic principles ① and ② above, the average latitude distance between two railway stations in the same area is about 0.5 degrees; the average distance of "time zone × 10" is about 0.5. Therefore, half of the average value of the longitude distance (111 km / degree) and the average latitude distance (129 km / 0.1 time zone) is taken as the estimated distance between the two stations.
[0071] For example: the number of Shanghai Station can be set to "8131SHH" and the number of Xinzhuang Station can be set to "8131XZH". Since the time zone and latitude values of the two stations are the same, the estimated distance between the two stations is about 60 kilometers.
[0072] (4) The railway station numbering rules have been made precise and simplified.
[0073] The railway station numbering rules have been simplified while eliminating confusing definitions such as "station codes on the same line should be as consecutive as possible", "three codes should be reserved between station codes when coding sequentially", and "regions are divided according to trunk lines, and station codes within the region are arranged in order of running direction, increasing or decreasing".
[0074] (5) Railway station numbers can be automatically created by computers to avoid errors caused by manual numbering.
[0075] For existing railway stations or newly planned railway stations, it is only necessary to input the longitude and latitude data of the location into a computer program, and the computer can automatically number them according to the rules determined by the present invention, without any human intervention, thus avoiding errors caused by manual numbering.
[0076] (6) The requirement of keeping the location of railway stations confidential was achieved;
[0077] Since the average distance of each region divided by the present invention is 129 kilometers in the east-west direction and about 111 kilometers in the north-south direction, the average area of each region can be calculated to be 14,319 square kilometers. Therefore, even if the location of a railway station needs to be kept confidential, an area of 14,319 square kilometers should be sufficient.
[0078] (7) The railway station numbers obtained by the method disclosed in the present invention are also convenient for statistical analysis of information such as the distribution of railway stations, providing data support for social and economic development.
[0079] For example, the 6562 railway stations listed in GB / T 10302-2010 can be divided into 393 areas according to the method disclosed in the present invention. Figure 1The number of railway stations in each area obtained by counting the railway station numbers generated by the method disclosed in the present invention is given.
[0080] For example: Among the 6,562 railway stations listed in GB / T 10302-2010, the area where Beijing Station is located has 76 stations, making it the most densely populated area of railway stations in the country, with a density of 54 stations per 10,000 square kilometers. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 The number of railway stations in each area is obtained by counting the railway station numbers generated by the method disclosed in the present invention. DETAILED DESCRIPTION
[0082] In order to better understand the present invention, the content of the present invention is further explained below.
[0083] China's latitude spans approximately from 3.85 degrees north latitude to 53.56 degrees north latitude (integers are 4 degrees to 54 degrees), and its longitude spans approximately from 73.55 degrees to 135.08 degrees east longitude (integers are 74 degrees to 135 degrees).
[0084] If the above integer data is directly used to number the railway stations, the latitude and longitude numbers of the railway stations will be partially 4-digit and partially 5-digit, which is difficult to implement.
[0085] In order to meet the conditions for using the geographical coordinates of a railway station as the railway station number, the longitude data mentioned above needs to be converted into a two-digit integer with a recognized geographical coordinate meaning, and the numerical range of the two-digit integer should not be confused with the numerical range of the latitude span integer mentioned above.
[0086] The world time zone value can be directly converted from the longitude value. For every 1 difference in the world time zone values between two places (i.e. a 15 degree difference in longitude), the time difference is 1 hour. Therefore, intuitively, the world time zone value is more practical than the longitude value.
[0087] The formula for converting longitude to world time zone is:
[0088] Time zone = longitude / 15
[0089] Substituting the longitude span data above, the time zone span of China is 4.9 to 9.0, and multiplying the time zone data by 10, the integer data is 49 to 90. After conversion, a two-digit integer with "time zone × 10" as the unit is obtained.
[0090] Due to the particularity of China's territory (for example, the integer value of latitude in the northwest region is not greater than 49; the integer value of "time zone × 10" in the northeast region is not less than 54), although the integer value of the latitude span and the integer value of the "time zone × 10" span are partially repeated (for example, 49, 50, 51, 52, 53, 54), there is no possibility of confusion in actual use. Because at any point in China, the value of "time zone × 10" is always greater than the latitude value, and the change in the order of the two values will not cause misunderstanding of their meanings.
[0091] Therefore, we can adopt technical means such as "converting longitude data into time zone data", take advantage of the natural law that "the integer value of China (time zone span × 10) and the integer value of latitude span are both two-digit integers and there is no possibility of confusion", and use the integer value of the longitude (converted into time zone × 10) and the integer value of latitude (when the latitude is rounded to a single digit, add "0" in front of it) of the railway station to number the railway stations.
[0092] The present invention is carried out on all 6562 railway stations listed in GB / T 10302-2010; due to space limitations, Appendix 1 only shows the numbers of some railway stations as specific embodiments to further illustrate the present invention.
[0093] In Appendix 1, "table sequence" refers to the order in which the railway stations appear in Table 1 of GB / T 10302-2010. Due to the limitations of Internet data sources, the geographical coordinates of some railway stations may be inaccurate, and the telegraph codes of some railway stations may be missing or inaccurate. Users should check them by themselves.
[0094] Schedule 1
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112]
[0113]
[0114]
[0115]
[0116]
[0117] The attached table is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the specification, drawings and attached table of the present invention, or directly or indirectly applied in other related technical fields, is also included in the patent protection scope of the present invention.
Claims
1. A railway station numbering system based on geographic coordinate data, characterized in that: It includes an information input unit, an information conversion unit, a railway station numbering unit and a numbering information output unit; The information input unit is used to input railway station information; the railway station information includes longitude information and latitude information of the railway station; The information conversion unit is used to convert the longitude information of the railway station into time zone information, and take the first two significant digits and multiply by 10 as time zone coding data; and take the first two significant digits of the latitude information of the railway station as latitude coding data; The railway station numbering unit is used to generate a railway station number of the railway station; the railway station number includes time zone coding data and latitude coding data of the geographical location of the railway station; The numbering information output unit is used to output the railway station number generated by the railway station numbering unit.
2. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: The railway stations mentioned include those owned by China State Railway Group Co., Ltd. and its affiliated enterprises, and state-railway-controlled joint-venture railway companies.
3. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: The railway stations mentioned include joint venture railways that are not controlled by the national railway, local railways, and other railway stations that handle direct transportation and networked ticket sales with the national railway.
4. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: The railway station information also includes code information of the railway station. When the time zone coding data and latitude coding data of multiple railway stations are the same, the railway station numbering unit adds the code information of the railway station to distinguish them. The code information of the railway station includes but is not limited to telegraph codes.
5. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: When the time zone boundary line passes through a railway station, the time zone where the geometric midpoint of the railway station is located is taken as the time zone information or the time zone where any point on the time zone boundary line is located is taken as the time zone information.
6. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: The latitude information is rounded to two significant figures of the railway station as latitude encoding data.
7. The railway station numbering system based on geographic coordinate data as claimed in claim 1, characterized in that: It also includes a statistical unit, which is used to count the number of railway stations within the area to be queried according to the railway station numbers.
8. A railway station numbering method based on geographic coordinate data, characterized in that: The steps include: Step 1: Determine the longitude and latitude information of the railway station; Step 2: Convert the longitude information of the railway station into time zone information, and take the first two significant digits and multiply by 10 as the time zone code data; Step 3: Take the first two significant digits of the latitude information of the railway station as latitude coding data; Step 4: Put the time zone code data and the latitude code data in parallel to obtain the railway station geographic number as the railway station number.
9. The method for numbering railway stations based on geographic coordinate data as claimed in claim 8, characterized in that: The method also includes step five: if there are duplicate railway station geographical numbers, the code information of the railway station is added to the obtained railway station geographical numbers as a distinction to obtain the railway station numbers; or, in order to keep the number of data digits of the railway station comprehensive numbers uniform, the code information of the corresponding railway station is added to all railway station geographical numbers to obtain the railway station numbers.
10. The method for numbering railway stations based on geographic coordinate data as claimed in claim 9, characterized in that: The code information of the railway station includes but is not limited to telegraph code.