Method and device for determining distance between railway private network base stations

By determining the projected position points of base stations in the railway private network and performing clustering processing, the problem of ignoring distance differences between stations in the existing technology is solved, achieving more accurate station spacing calculations and reasonable base station location settings, and avoiding resource waste. .

CN118803835APending Publication Date: 2024-10-18XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410335465.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

When the existing technology uses the average station spacing to characterize the distance between base stations of a railway private network, it ignores the difference in distance between different stations, resulting in inaccurate calculations and an inability to accurately determine the rationality of base station location settings.

Method used

By obtaining the base station coordinate information in the railway private network, the projected position points of the base stations on the railway line are determined, and clustering is performed based on the projected position points to obtain the base station sequence information and base station spacing on the railway line, taking into account the distance between the projected position points distance and angle to achieve more accurate station spacing calculations.

Benefits of technology

It achieves more accurate calculation of station spacing along the line, avoids waste of resources caused by setting too few or too many base stations, and improves the rationality and coverage efficiency of base station location settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803835A_ABST
    Figure CN118803835A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for determining the distance between railway private network base stations, and relates to the technical field of data processing and wireless communication. N base stations in a railway private network are obtained, and N is a natural number greater than or equal to 2; determining a projection position point of the base station on the railway line; according to the projection position points, clustering processing is carried out on the N base stations, base station sequence information corresponding to the railway line is obtained, and the base station sequence information comprises target base stations which belong to the railway line and are sequenced and base station intervals of the target base stations. According to the method, a more accurate calculation method is considered, the accurate projection position of the base station coordinate on the coverage line linear area and the correlation between the front sequence and the back sequence of the line base station are determined, so that more accurate line station spacing calculation is realized, the rationality of base station site position setting can be accurately judged, and accurate station spacing calculation is realized. And the situation that effective coverage cannot be formed by setting too few base stations or resource waste is caused by setting too many base stations is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of data processing and wireless communication technology, and in particular to a method and device for determining the distance between base stations of a railway private network. Background Art

[0002] In the railway private network scenario, the coverage of wireless base stations and the condition of the rails need to be considered. In order to determine the spacing between adjacent base stations on the railway line, a common method is to use the formula for average station spacing, that is, to divide the distance from the starting station to the terminal station by the total number of stations minus 1. This will simplify the railway line into a straight line, and the actual distance error on the curved section will be large. In addition, when the average station spacing is used to characterize the distance between all stations, the differences in the distances between different stations will be ignored. Summary of the invention

[0003] The present disclosure provides a method and device for determining the distance between base stations of a railway private network, so as to at least solve the problem in the related art that when the distance between all stations is characterized by the average station distance, the difference in distance between different stations is ignored.

[0004] The first aspect of the present application proposes a method for determining the spacing between base stations in a railway private network, including: obtaining N base stations in the railway private network, where N is a natural number greater than or equal to 2; determining the projection position points of the base stations on the railway line; clustering the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, the base station sequence information including target base stations belonging to the railway line and sorted and the base station spacing between the target base stations.

[0005] According to one embodiment of the present application, determining the projection position point of a base station on a railway line includes: obtaining geographic information system GIS data of a railway dedicated network; for each base station, obtaining the railway line corresponding to the base station based on the first coordinate information and GIS data of the base station; drawing a vertical line to the railway line to determine the vertical point corresponding to the base station; and determining the projection position point of the base station on the railway line based on the vertical point corresponding to the base station.

[0006] According to one embodiment of the present application, the projection position point of the base station on the railway line is determined according to the vertical point corresponding to the base station, including: determining the direction of the railway line according to the vertical point corresponding to the base station and the base station; marking candidate position points on the railway line according to a first set interval along the direction of the railway line, and determining a first distance between the base station and the candidate position points; selecting the candidate position point with the smallest first distance as the projection position point of the base station.

[0007] According to one embodiment of the present application, the direction of the railway line is determined according to the vertical point corresponding to the base station and the base station, including: taking the vertical point as the center point, taking position points on both sides of the railway line according to the second set interval as the first reference point and the second reference point; determining the second distances between the base station and the vertical point, the first reference point and the second reference point respectively; sorting the second distances to determine the direction in which the second distance gradually decreases, and determining the direction in which the second distance gradually decreases as the direction of the railway line.

[0008] According to one embodiment of the present application, N base stations are clustered according to the projection position points to obtain base station sequence information corresponding to the railway line, including: determining a third distance between the projection position points, and determining the two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively; determining a reference line according to the starting projection position point and the ending projection position point; starting from the starting projection point, clustering and sorting the remaining projection position points except the ending projection position point according to the third distance and the reference line to obtain the base station sequence information corresponding to the railway line.

[0009] According to an embodiment of the present application, determining a reference line according to a starting projection position point and an ending projection position point includes: connecting the starting projection position point and the ending projection position point to obtain a reference line.

[0010] According to one embodiment of the present application, starting from the starting projection point, the remaining projection position points except the ending projection position point are clustered and sorted according to the third distance and the reference line to obtain the base station sequence information corresponding to the railway line, including: for the projection position point i, according to the third distance between the projection position point i and the other projection position points, determine the first adjacent projection position point and the second adjacent projection position point that are closest to the projection position point i, wherein the fourth distance between the projection position point i and the first adjacent projection position point is less than the fifth distance between the projection position point i and the second adjacent projection position point; i is a natural number, and 1≤i≤N; based on the reference line, determine the subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection point; take the subsequent projection position point of the projection position point i as the projection position point i+1, and repeat the above process until the traversal of the projection position points of N base stations is completed, and the base station sequence information corresponding to the railway line is obtained.

[0011] According to one embodiment of the present application, based on a reference line, a subsequent projection point of a projection position point i is determined from a first adjacent projection position point and a second adjacent projection point, including: obtaining a first connecting line between the projection position point i and the first adjacent projection position point, and obtaining a first angle between the first connecting line and the reference line; obtaining a second connecting line between the projection position point i and the second adjacent projection position point, and obtaining a second angle between the second connecting line and the reference line; and determining a subsequent projection point of the projection position point i from the first adjacent projection position point and the second adjacent projection point based on the first angle and the second angle.

[0012] According to one embodiment of the present application, based on the first angle and the second angle, the subsequent projection position point of the projection position point i is determined from the first adjacent projection position point and the second adjacent projection point, including: obtaining the first cosine value of the first angle and the second cosine value of the second angle; based on the first cosine value and the second cosine value, determining the subsequent projection position point of the projection position point i.

[0013] According to one embodiment of the present application, a subsequent projection position point of projection position point i is determined based on a first cosine value and a second cosine value, including: comparing the first cosine value and the second cosine value to determine the minimum cosine value therefrom; and determining an adjacent projection position point corresponding to the minimum cosine value as a subsequent projection position point of projection position point i.

[0014] According to one embodiment of the present application, the method for determining the spacing between base stations of a railway dedicated network also includes: for any cosine value among the first cosine value and the second cosine value corresponding to the projection position point i, determining any cosine value according to the starting projection position point and the ending projection position point, and the adjacent projection position point on the line corresponding to the projection position point i and any cosine value.

[0015] According to one embodiment of the present application, after clustering N base stations according to the projection position points and obtaining the base station sequence information corresponding to the railway line, it also includes: obtaining the remaining M base stations that are not classified as railway lines among the N base stations, and continuing to cluster the remaining M base stations in a loop until all base stations are classified, thereby obtaining the base station sequence information corresponding to each railway line in the railway private network.

[0016] According to one embodiment of the present application, the method for determining the spacing between base stations of a railway private network also includes: determining a preceding target base station and a subsequent target base station of a target base station based on base station sequence information; obtaining a first base station spacing between the target base station and the preceding target base station, and a second base station spacing between the target base station and the subsequent target base station; and determining the base station spacing of the target base station based on the first base station spacing and the second base station spacing.

[0017] According to one embodiment of the present application, the method for determining the distance between base stations of a railway private network also includes: determining the number of the target base station according to the order of the target base station in the base station sequence of the railway line; determining the first description information of the target base station according to the name, number, location information and base station distance of the target base station; determining the second description information of the target base station according to the name of the previous target base station and the first base station distance, and the name of the subsequent target base station and the second base station distance; generating the target description information of the target base station according to the first description information and the second description information.

[0018] The second aspect of the present application proposes a device for determining the spacing between base stations in a railway private network, including: a first acquisition module, used to acquire N base stations in the railway private network, where N is a natural number greater than or equal to 2; a determination module, used to determine the projection position points of the base stations on the railway line; a second acquisition module, used to cluster the N base stations according to the projection position points, and acquire base station sequence information corresponding to the railway line, wherein the base station sequence information includes a target base station belonging to the railway line and being sorted and the base station spacing between the target base stations.

[0019] According to one embodiment of the present application, the determination module is also used to: obtain the geographic information system GIS data of the railway dedicated network; for each base station, obtain the railway line corresponding to the base station based on the first coordinate information and GIS data of the base station; draw a perpendicular line to the railway line to determine the perpendicular point corresponding to the base station; and determine the projection position point of the base station on the railway line based on the perpendicular point corresponding to the base station.

[0020] According to one embodiment of the present application, the determination module is also used to: determine the direction of the railway line based on the vertical point corresponding to the base station and the base station; mark candidate position points on the railway line according to a first set interval along the direction of the railway line, and determine a first distance between the base station and the candidate position points; select the candidate position point with the smallest first distance as the projection position point of the base station.

[0021] According to one embodiment of the present application, the determination module is also used to: take the vertical point as the center point and take position points on both sides of the railway line according to the second set interval as the first reference point and the second reference point; determine the second distances between the base station and the vertical point, the first reference point and the second reference point respectively; sort the second distances to determine the direction in which the second distance gradually decreases, and determine the direction in which the second distance gradually decreases as the direction of the railway line.

[0022] According to one embodiment of the present application, the second acquisition module is also used to: determine the third distance between any two projection position points, and determine the two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively; determine the reference line according to the starting projection position point and the ending projection position point; starting from the starting projection point, cluster and sort the remaining projection position points except the ending projection position point according to the third distance and the reference line, so as to obtain the base station sequence information corresponding to the railway line.

[0023] According to an embodiment of the present application, the second acquisition module is further used to: connect the starting projection position point and the ending projection position point to obtain a reference line.

[0024] According to one embodiment of the present application, the second acquisition module is also used to: for projection position point i, determine the first adjacent projection position point and the second adjacent projection position point that are closest to projection position point i according to the third distance between projection position point i and other projection position points, wherein the fourth distance between projection position point i and the first adjacent projection position point is less than the fifth distance between projection position point i and the second adjacent projection position point; i is a natural number, and 1≤i≤N; based on the reference line, determine the subsequent projection position point of projection position point i from the first adjacent projection position point and the second adjacent projection point; take the subsequent projection position point of projection position point i as projection position point i+1, and repeat the above process until the traversal of the projection position points of N base stations is completed, and the base station sequence information corresponding to the railway line is obtained.

[0025] According to one embodiment of the present application, the second acquisition module is also used to: obtain a first connecting line between the projection position point i and the first adjacent projection position point, and obtain a first angle between the first connecting line and the reference line; obtain a second connecting line between the projection position point i and the second adjacent projection position point, and obtain a second angle between the second connecting line and the reference line; determine the subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point based on the first angle and the second angle.

[0026] According to one embodiment of the present application, the second acquisition module is also used to: obtain a first cosine value of the first angle and a second cosine value of the second angle; and determine a subsequent projection position point of the projection position point i based on the first cosine value and the second cosine value.

[0027] According to one embodiment of the present application, the second acquisition module is further used to: compare the first cosine value and the second cosine value to determine the minimum cosine value; and determine the adjacent projection position point corresponding to the minimum cosine value as the subsequent projection position point of the projection position point i.

[0028] According to one embodiment of the present application, the second acquisition module is also used to: for any cosine value of the first cosine value and the second cosine value corresponding to the projection position point i, determine any cosine value according to the starting projection position point and the ending projection position point, and the adjacent projection position points on the line corresponding to the projection position point i and any cosine value.

[0029] According to one embodiment of the present application, the second acquisition module is also used to: obtain the remaining M base stations among the N base stations that are not classified as railway lines, and continue to perform clustering processing on the remaining M base stations in a loop until all base stations are classified, thereby obtaining the base station sequence information corresponding to each railway line in the railway private network.

[0030] According to one embodiment of the present application, the second acquisition module is also used to: determine the preceding target base station and the subsequent target base station of the target base station based on the base station sequence information; obtain the first base station distance between the target base station and the preceding target base station, and the second base station distance between the target base station and the subsequent target base station; determine the base station distance of the target base station based on the first base station distance and the second base station distance.

[0031] According to one embodiment of the present application, the second acquisition module is also used to: determine the number of the target base station according to the order of the target base station in the base station sequence of the railway line; determine the first description information of the target base station according to the name, number, location information and base station distance of the target base station; determine the second description information of the target base station according to the name of the previous target base station and the first base station distance, and the name of the subsequent target base station and the second base station distance; generate the target description information of the target base station according to the first description information and the second description information.

[0032] The third aspect embodiment of the present application proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the method for determining the spacing between base stations of a railway private network as described in the first aspect embodiment of the present application.

[0033] The fourth aspect embodiment of the present application proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the method for determining the spacing between base stations of a railway private network as described in the first aspect embodiment of the present application.

[0034] The fifth aspect embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the method for determining the spacing between base stations of a railway private network as described in the first aspect embodiment of the present application.

[0035] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: the present application considers a more accurate calculation method to determine the accurate projection position of the base station coordinates on the linear area along the coverage line, and the correlation between the front and back order of the base stations along the line, thereby achieving more accurate calculation of the station spacing along the line, and can accurately determine the rationality of the base station site location setting. Accurate station spacing calculation avoids setting too few base stations to fail to form effective coverage, or setting too many base stations to cause waste of resources.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0038] Figure 1 It is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in an embodiment of the present application.

[0039] Figure 2 It is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in an embodiment of the present application.

[0040] Figure 3 It is a schematic diagram showing an embodiment of the present application for determining the direction of a railway line based on a vertical point corresponding to a base station and the base station.

[0041] Figure 4 It is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in an embodiment of the present application.

[0042] Figure 5 It is a schematic diagram of obtaining base station sequence information corresponding to a railway line shown in an embodiment of the present application.

[0043] Figure 6 It is an overall flow chart of a method for determining the distance between base stations of a railway private network shown in an embodiment of the present application.

[0044] Figure 7 It is a schematic diagram of a device for determining the distance between base stations of a railway private network shown in an embodiment of the present application.

[0045] Figure 8 It is a schematic diagram of an electronic device shown in one embodiment of the present application. DETAILED DESCRIPTION

[0046] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0047] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0048] In related technologies, the method of calculating the distance between point-to-point stations cannot take into account that in linear networking scenarios, the base station antenna coverage area is concentrated in a narrow strip along the line, and the selected antenna type is a narrow lobe antenna with more concentrated energy; this scenario characteristic is fundamentally different from the public network environment, which tries to form a planar and seamless coverage area as much as possible. The point-to-point calculation of the distance between two stations also lacks consideration of the need to arrange the base stations in a certain order under specific mobile characteristics.

[0049] To solve the above problems, Figure 1 is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in the present application, such as Figure 1 As shown, the method for determining the distance between base stations of a railway private network comprises the following steps:

[0050] S101, obtaining N base stations in a railway private network, where N is a natural number greater than or equal to 2.

[0051] Considering that in the railway scenario, the railway line passes through an open area and the propagation environment is simple, mainly based on line of sight; and the distance between base stations is short, usually not more than 1 kilometer. Therefore, in this application, the influence of the earth's curvature on the distance calculation can be ignored, and the distance calculation in this scenario is characterized by a two-dimensional coordinate system and the Euclidean distance formula.

[0052] In this application, the coordinate information of each of N base stations in the railway dedicated network is obtained.

[0053] S102, determining the projection position point of the base station on the railway line.

[0054] In this application, the line coordinate data of the railway private network is obtained, and the projection position point of the base station on the railway line is determined.

[0055] The projection position point can be determined by vertical projection or nearest point projection to ensure the shortest distance between the base station and the railway line.

[0056] S103, clustering the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, where the base station sequence information includes the sorted target base stations belonging to the railway line and the base station spacings between the target base stations.

[0057] According to the projection position points, the starting projection position point and the ending projection position point are determined, and a clustering algorithm is used to cluster the projection position points with the conditions of the shortest distance and the smallest angle between the two projection position points as clustering parameters to determine the base station sequence information on the railway line.

[0058] After clustering, a sequence composed of different base stations can be obtained, which represents the arrangement order of base stations on the railway line.

[0059] The base station sequence information also includes the distance between base stations, which can be obtained by calculating the distance between adjacent base stations.

[0060] The embodiment of the present application considers a more accurate calculation method to determine the exact projection position of the base station coordinates on the linear area along the coverage line, and the correlation between the front and back order of the base stations along the line, thereby achieving more accurate calculation of the station spacing along the line, and can accurately determine the rationality of the base station site location setting. Accurate station spacing calculation avoids setting too few base stations to form effective coverage, or setting too many base stations to cause waste of resources.

[0061] Furthermore, based on this solution, the Internet Geographic Information Science (GIS) map can be introduced to provide an intuitive and visual display of the high-speed rail station site, including information such as the station location and the distance between adjacent stations, so that railway special network plan designers and reviewers can quickly and clearly complete the design of the entire line and review its rationality, effectively improving the efficiency and quality of high-speed rail design plan review.

[0062] Figure 2 is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in the present application, such as Figure 2 As shown, the method for determining the distance between base stations of a railway private network comprises the following steps:

[0063] S201, obtaining N base stations in the railway private network, where N is a natural number greater than or equal to 2.

[0064] Exemplarily, a data collection system is established, and relevant parameter information of N base stations is loaded, including base station name, base station number, base station longitude and base station latitude. Table 1 is an example table of relevant parameter information.

[0065] Table 1

[0066]

[0067] S202, obtaining geographic information system GIS data of the railway dedicated network.

[0068] For example, the longitude and latitude coordinate data set of the road network information table is shown as follows:

[0069] {(117.111058,31.113089),(117.123093,31.113805),(117.127964,31.114938),

[0070] (117.129866,31.114952), (117.134502,31.113922), (117.133551,31.124096),

[0071] (117.136695,31.125767), (117.135098,31.125859), (117.136925,31.125938)......}

[0072] S203: For each base station, obtain the railway line corresponding to the base station according to the first coordinate information of the base station and the GIS data.

[0073] For each base station, the spatial relationship calculation is performed using its first coordinate information and the GIS data of the railway line. Through the spatial relationship calculation, the railway line closest to each base station can be found as the railway line corresponding to the base station.

[0074] Exemplarily, a spatial geometric calculation method, such as calculating the distance between a point and a line, whether a point is near a line, etc., may be used to determine the relationship between the base station location and the railway line.

[0075] S204, draw a vertical line to the railway line to determine the vertical point corresponding to the base station.

[0076] Based on the longitude and latitude of each base station, draw a perpendicular line to the coordinate axis corresponding to the railway line to determine the vertical point corresponding to the base station.

[0077] S205: Determine the projection position point of the base station on the railway line according to the vertical point corresponding to the base station.

[0078] As a feasible method, firstly, the direction of the railway line is determined according to the vertical point corresponding to the base station and the base station. Figure 3 This is a schematic diagram of determining the direction of a railway line according to the vertical point corresponding to the base station and the base station shown in the present application, such as Figure 3 As shown, base station A(x A ,y A ) is a(x a ,y a ), with the vertical point a(xa ,y a ) as the center point, and take position points on both sides of the railway line according to the second set interval (set according to actual conditions, for example, it can be set to 5 meters) as the first reference point a ’ (x a ’ ,y a ’ ) and the second reference point a”(x a ”,y a ”); determine the second distances between the base station and the vertical point, the first reference point and the second reference point respectively; sort the second distances to determine the direction in which the second distances gradually decrease, and determine the direction in which the second distances gradually decrease as the direction of the railway line. Along the direction of the railway line, mark the candidate position points on the railway line according to a first set interval (set according to actual conditions, for example, it can be set to 5 meters), and determine the first distance between the base station and the candidate position points; select the candidate position point with the smallest first distance as the projection position point of the base station.

[0079] S206, clustering the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, where the base station sequence information includes the sorted target base stations belonging to the railway line and the base station spacings between the target base stations.

[0080] According to the projection position points, the starting projection position point and the ending projection position point are determined, and a clustering algorithm is used to cluster the projection position points with the conditions of the shortest distance and the smallest angle between the two projection position points as clustering parameters to determine the base station sequence information on the railway line.

[0081] After clustering, a sequence composed of different base stations can be obtained, which represents the arrangement order of base stations on the railway line.

[0082] The base station sequence information also includes the distance between base stations, which can be obtained by calculating the distance between adjacent base stations.

[0083] The embodiment of the present application considers a more accurate calculation method to determine the exact projection position of the base station coordinates on the linear area along the coverage line, and the correlation between the front and back order of the base stations along the line, thereby achieving more accurate calculation of the station spacing along the line, and can accurately determine the rationality of the base station site location setting. Accurate station spacing calculation avoids setting too few base stations to form effective coverage, or setting too many base stations to cause waste of resources.

[0084] Figure 4 is a schematic diagram of an exemplary implementation of a method for determining the distance between base stations of a railway private network shown in the present application, such as Figure 4 As shown, the method for determining the distance between base stations of a railway private network comprises the following steps:

[0085] S401, obtaining N base stations in the railway private network, where N is a natural number greater than or equal to 2.

[0086] S402, determining the projection position point of the base station on the railway line.

[0087] Regarding the specific implementation of steps S401 to S402, reference may be made to the specific introduction of the relevant parts in the above embodiments, which will not be elaborated here.

[0088] S403, determining a third distance between any two projection position points, and determining two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively.

[0089] Figure 5 This is a schematic diagram of obtaining base station sequence information corresponding to a railway line shown in the present application, such as Figure 5 As shown in the figure, S, A, B, C, D, E, R, T represent base stations respectively, and s, a, b, c, d, e, r, t represent their corresponding projection position points respectively. After determining the projection position point of each base station on the railway line as above, the third distance between the two projection position points is determined by the Euclidean distance calculation method, and the two projection position points with the farthest distance are determined according to the third distance, which are respectively used as the starting projection position point and the ending projection position point. Figure 5 As shown, the starting projection position point s and the ending projection position point e are determined.

[0090] S404: Determine a reference line according to the starting projection position point and the ending projection position point.

[0091] Connect the starting projection position point s and the ending projection position point e to obtain a reference line.

[0092] S405, starting from the starting projection point, clustering and sorting the remaining projection position points except the ending projection position point according to the third distance and the reference line to obtain base station sequence information corresponding to the railway line, wherein the base station sequence information includes the target base stations belonging to the railway line and being sorted and the base station spacing of the target base stations.

[0093] Specifically, there are three steps, S4051 to S4053, which are described in detail below.

[0094] S4051, for projection position point i, determine the first adjacent projection position point and the second adjacent projection position point that are closest to the projection position point i according to the third distance between the projection position point i and the other projection position points, wherein the fourth distance between the projection position point i and the first adjacent projection position point is less than the fifth distance between the projection position point i and the second adjacent projection position point; i is a natural number, and 1≤i≤N.

[0095] To put it simply, the first neighboring projection position point is the closest point to the projection position point i, and the second neighboring projection position point is the second closest point to the projection position point i.

[0096] S4052: Determine a subsequent projection point of the projection point i from the first adjacent projection point and the second adjacent projection point based on the reference line.

[0097] Obtain a first connecting line between the projection position point i and the first adjacent projection position point, and obtain a first angle between the first connecting line and the reference line. Obtain a second connecting line between the projection position point i and the second adjacent projection position point, and obtain a second angle between the second connecting line and the reference line. According to the first angle and the second angle, determine the subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point.

[0098] Specifically, the first cosine value of the first angle and the second cosine value of the second angle are obtained, and the first cosine value and the second cosine value are compared to determine the minimum cosine value; the adjacent projection position point corresponding to the minimum cosine value is determined as the subsequent projection position point of the projection position point i. If the first cosine value is equal to the second cosine value, that is, it means that the first adjacent projection position point and the second adjacent projection point are on a straight line, then the first adjacent projection position point with the closest distance is used as the subsequent projection position point of the projection position point i.

[0099] Since the coordinates of each projection position point can be obtained in the present application, for any cosine value among the first cosine value and the second cosine value corresponding to the projection position point i, any cosine value is determined according to the starting projection position point and the ending projection position point, and the adjacent projection position point on the line corresponding to the projection position point i and any cosine value.

[0100] like Figure 5As shown, taking the determination of the subsequent projection position point of the starting projection position point s as an example, the first adjacent projection position point a and the second adjacent projection point b of the starting projection position point s are determined. The starting projection position point s and the ending projection position point e are connected to obtain a reference line, and then the starting projection position point s and the first adjacent projection position point a are connected to obtain a line segment sa, and the cosine value of the angle between the straight line where the line segment sa is located and the reference line is obtained as the first cosine value; then the starting projection position point s and the second adjacent projection position point b are connected to obtain a line segment sb, and the cosine value of the angle between the straight line where the line segment sb is located and the reference line is obtained as the second cosine value, and the first cosine value and the second cosine value are compared to determine the minimum cosine value; the adjacent projection position point corresponding to the minimum cosine value is determined as the subsequent projection position point of the starting projection position point s. That is, if the first cosine value is the minimum cosine value, the subsequent projection point of the starting projection position point s is determined to be the first adjacent projection position point a; if the second cosine value is the minimum cosine value, the subsequent projection point of the starting projection position point s is determined to be the second adjacent projection position point b.

[0101] Taking the calculation of the first cosine value as an example, obtain the starting projection position point s(x s ,y s ), the end projection position point e(x e ,y e ), the first adjacent projection position point a(x a ,y a ).

[0102] In this application, obtain Get Vector

[0103] calculate and The dot product of:

[0104]

[0105] calculate and Module length:

[0106]

[0107]

[0108] Then use and The dot product of and The modulus length is calculated to obtain the first cosine value.

[0109]

[0110] S4053, taking the subsequent projection position point of projection position point i as projection position point i+1, and repeating the above process until the traversal of the projection position points of N base stations is completed, and obtaining the base station sequence information corresponding to the railway line.

[0111] Furthermore, the remaining M base stations that are not classified into railway lines among the N base stations are obtained, and the remaining M base stations are clustered in a loop until all base stations are classified, thereby obtaining the base station sequence information corresponding to each railway line in the railway private network.

[0112] Figure 6 This is an overall flow chart of a method for determining the distance between base stations of a railway private network shown in the present application, such as Figure 6 As shown, the method for determining the distance between base stations of a railway private network comprises the following steps:

[0113] S601, obtaining N base stations in the railway private network, where N is a natural number greater than or equal to 2.

[0114] S602, obtaining geographic information system GIS data of the railway dedicated network.

[0115] S603: For each base station, obtain the railway line corresponding to the base station according to the first coordinate information of the base station and the GIS data.

[0116] S604, draw a vertical line to the railway line to determine the vertical point corresponding to the base station.

[0117] S605: Determine the projection position point of the base station on the railway line according to the vertical point corresponding to the base station.

[0118] Regarding the specific implementation of steps S601 to S605, reference may be made to the specific introduction of the relevant parts in the above embodiments, which will not be elaborated here.

[0119] S606, determining a third distance between any two projection position points, and determining two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively.

[0120] S607: Determine a reference line according to the starting projection position point and the ending projection position point.

[0121] S608, starting from the starting projection point, clustering and sorting the remaining projection position points except the ending projection position point according to the third distance and the reference line to obtain base station sequence information corresponding to the railway line.

[0122] Regarding the specific implementation of steps S606 to S608, reference may be made to the specific introduction of the relevant parts in the above embodiments, which will not be elaborated here.

[0123] S609: Determine a preceding target base station and a subsequent target base station of the target base station according to the base station sequence information.

[0124] Exemplarily, if the target base station is A, its preceding target base station is S, and its subsequent target base station is B.

[0125] S610: Obtain a first base station distance between a target base station and a previous target base station, and a second base station distance between a target base station and a subsequent target base station.

[0126] Based on the projection position points of the target base station A, the preceding target base station S and the subsequent target base station B, a first base station distance between the target base station A and the preceding target base station S, and a second base station distance between the target base station A and the subsequent target base station B are obtained.

[0127] S611: Determine a base station distance of a target base station according to the first base station distance and the second base station distance.

[0128] The first base station distance and the second base station distance are averaged, and the average value is used as the base station distance of the target base station.

[0129] Further, according to the order of the target base station in the base station sequence of the railway line, the number of the target base station is determined; according to the name, number, location information of the target base station and the base station distance of the target base station, the first description information of the target base station is determined; according to the name of the previous target base station and the first base station distance, and the name of the subsequent target base station and the second base station distance, the second description information of the target base station is determined; according to the first description information and the second description information, the target description information of the target base station is generated. Table 2 is a schematic table of the target description information of the target base station.

[0130] Table 2

[0131]

[0132] Figure 7 is a schematic diagram of a device for determining the distance between base stations of a railway private network shown in the present application, such as Figure 7 As shown, the device 700 for determining the distance between base stations in a railway private network includes a first acquisition module 701, a determination module 702, and a second acquisition module 703, wherein:

[0133] The first acquisition module 701 is used to acquire N base stations in the railway private network, where N is a natural number greater than or equal to 2.

[0134] The determination module 702 is used to determine the projection position point of the base station on the railway line.

[0135] The second acquisition module 703 is used to cluster the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, where the base station sequence information includes the sorted target base stations belonging to the railway line and the base station spacings of the target base stations.

[0136] This device takes into account a more accurate calculation method to determine the exact projection position of the base station coordinates on the linear area along the coverage line, and the correlation between the front and back order of the base stations along the line, thereby achieving more accurate calculation of the station spacing along the line, and can accurately determine the rationality of the base station site location setting. Accurate station spacing calculation avoids setting too few base stations to form effective coverage, or setting too many base stations to cause waste of resources.

[0137] According to one embodiment of the present application, the determination module 702 is also used to: obtain the geographic information system GIS data of the railway dedicated network; for each base station, obtain the railway line corresponding to the base station based on the first coordinate information and GIS data of the base station; draw a vertical line to the railway line to determine the vertical point corresponding to the base station; and determine the projection position point of the base station on the railway line based on the vertical point corresponding to the base station.

[0138] According to one embodiment of the present application, the determination module 702 is also used to: determine the direction of the railway line based on the vertical point corresponding to the base station and the base station; mark the candidate position points on the railway line according to the first set interval along the direction of the railway line, and determine the first distance between the base station and the candidate position points; select the candidate position point with the smallest first distance as the projection position point of the base station.

[0139] According to one embodiment of the present application, the determination module 702 is also used to: take the vertical point as the center point and take position points on both sides of the railway line according to the second set interval as the first reference point and the second reference point; determine the second distances between the base station and the vertical point, the first reference point and the second reference point respectively; sort the second distances to determine the direction in which the second distance gradually decreases, and determine the direction in which the second distance gradually decreases as the direction of the railway line.

[0140] According to one embodiment of the present application, the second acquisition module 703 is also used to: determine the third distance between any two projection position points, and determine the two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively; determine the reference line according to the starting projection position point and the ending projection position point; starting from the starting projection point, cluster and sort the remaining projection position points except the ending projection position point according to the third distance and the reference line, so as to obtain the base station sequence information corresponding to the railway line.

[0141] According to an embodiment of the present application, the second acquisition module 703 is further used to: connect the starting projection position point and the ending projection position point to obtain a reference line.

[0142] According to one embodiment of the present application, the second acquisition module 703 is also used to: for the projection position point i, determine the first adjacent projection position point and the second adjacent projection position point that are closest to the projection position point i according to the third distance between the projection position point i and the other projection position points, wherein the fourth distance between the projection position point i and the first adjacent projection position point is less than the fifth distance between the projection position point i and the second adjacent projection position point; i is a natural number, and 1≤i≤N; based on the reference line, determine the subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection point; take the subsequent projection position point of the projection position point i as the projection position point i+1, and repeat the above process until the traversal of the projection position points of N base stations is completed, and the base station sequence information corresponding to the railway line is obtained.

[0143] According to one embodiment of the present application, the second acquisition module 703 is also used to: obtain a first connecting line between the projection position point i and the first adjacent projection position point, and obtain a first angle between the first connecting line and the reference line; obtain a second connecting line between the projection position point i and the second adjacent projection position point, and obtain a second angle between the second connecting line and the reference line; determine the subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point according to the first angle and the second angle.

[0144] According to one embodiment of the present application, the second acquisition module 703 is also used to: obtain a first cosine value of the first angle and a second cosine value of the second angle; and determine a subsequent projection position point of the projection position point i based on the first cosine value and the second cosine value.

[0145] According to one embodiment of the present application, the second acquisition module 703 is further used to: compare the first cosine value and the second cosine value to determine the minimum cosine value; and determine the adjacent projection position point corresponding to the minimum cosine value as the subsequent projection position point of the projection position point i.

[0146] According to one embodiment of the present application, the second acquisition module 703 is also used to: for any cosine value of the first cosine value and the second cosine value corresponding to the projection position point i, determine any cosine value according to the starting projection position point and the ending projection position point, and the adjacent projection position points on the line corresponding to the projection position point i and any cosine value.

[0147] According to one embodiment of the present application, the second acquisition module 703 is also used to: obtain the remaining M base stations among the N base stations that are not classified as railway lines, and continue to perform clustering processing on the remaining M base stations in a loop until all base stations are classified, thereby obtaining the base station sequence information corresponding to each railway line in the railway dedicated network.

[0148] According to one embodiment of the present application, the second acquisition module 703 is also used to: determine the preceding target base station and the subsequent target base station of the target base station based on the base station sequence information; obtain the first base station distance between the target base station and the preceding target base station, and the second base station distance between the target base station and the subsequent target base station; determine the base station distance of the target base station based on the first base station distance and the second base station distance.

[0149] According to one embodiment of the present application, the second acquisition module 703 is also used to: determine the number of the target base station according to the order of the target base station in the base station sequence of the railway line; determine the first description information of the target base station according to the name, number, location information and base station distance of the target base station; determine the second description information of the target base station according to the name of the previous target base station and the first base station distance, and the name of the subsequent target base station and the second base station distance; generate the target description information of the target base station according to the first description information and the second description information.

[0150] In order to implement the above embodiment, the present application embodiment also proposes an electronic device 800, such as Figure 8 As shown, the electronic device 800 includes: a processor 801 and a memory 802 communicatively connected to the processor, the memory 802 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 801 to implement the method for determining the spacing between base stations of a railway private network as shown in the above embodiment.

[0151] In order to implement the above embodiments, the embodiments of the present application also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the method for determining the spacing between base stations of a railway private network as shown in the above embodiments.

[0152] In order to implement the above embodiments, the embodiments of the present application also propose a computer program product, including a computer program, which, when executed by a processor, implements the method for determining the distance between base stations of a railway private network as shown in the above embodiments.

[0153] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0154] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0155] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0156] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for determining the distance between base stations of a railway private network, characterized in that: The method comprises: Obtain N base stations in the railway private network, where N is a natural number greater than or equal to 2; Determine the projection location of the base station on the railway line; The N base stations are clustered according to the projection position points to obtain base station sequence information corresponding to the railway line, wherein the base station sequence information includes a sorted target base station belonging to the railway line and a base station distance between the target base stations.

2. The method according to claim 1, characterized in that The step of determining the projection position of the base station on the railway line comprises: Obtain the GIS data of the railway network; For each base station, obtaining a railway line corresponding to the base station according to the first coordinate information of the base station and the GIS data; Draw a vertical line to the railway line to determine the vertical point corresponding to the base station; According to the vertical point corresponding to the base station, a projection position point of the base station on the railway line is determined.

3. The method according to claim 2, characterized in that The step of determining the projection position point of the base station on the railway line according to the vertical point corresponding to the base station comprises: Determining the direction of the railway line according to the vertical point corresponding to the base station and the base station; Marking candidate location points on the railway line at a first set interval along the direction of the railway line, and determining a first distance between the base station and the candidate location points; A candidate location point with the smallest first distance is selected as the projection location point of the base station.

4. The method according to claim 3, characterized in that The determining the direction of the railway line according to the vertical point corresponding to the base station and the base station comprises: Taking the vertical point as the center point, taking position points on both sides of the railway line at a second set interval as the first reference point and the second reference point; Determine second distances between the base station and the vertical point, the first reference point, and the second reference point respectively; The second distances are sorted to determine a direction in which the second distances gradually decrease, and the direction in which the second distances gradually decrease is determined as the direction of the railway line.

5. The method according to claim 1, characterized in that The clustering process of the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line includes: Determine a third distance between any two of the projection position points, and determine two projection position points with the farthest distance according to the third distance, as the starting projection position point and the ending projection position point, respectively; Determine a reference line according to the starting projection position point and the ending projection position point; Starting from the starting projection point, the remaining projection position points except the ending projection position point are clustered and sorted according to the third distance and the reference line to obtain base station sequence information corresponding to the railway line.

6. The method according to claim 5, characterized in that The step of determining a reference line according to the starting projection position point and the ending projection position point comprises: The starting projection position point and the ending projection position point are connected to obtain the reference line.

7. The method according to claim 5, characterized in that Starting from the starting projection point, clustering and sorting the remaining projection position points except the ending projection position point according to the third distance and the reference line to obtain the base station sequence information corresponding to the railway line, including: For a projection position point i, determine a first adjacent projection position point and a second adjacent projection position point that are closest to the projection position point i according to a third distance between the projection position point i and other projection position points, wherein a fourth distance between the projection position point i and the first adjacent projection position point is less than a fifth distance between the projection position point i and the second adjacent projection position point; i is a natural number, and 1≤i≤N; Based on the reference line, determining a subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point; The subsequent projection position point of the projection position point i is taken as the projection position point i+1, and the above process is repeated until the traversal of the projection position points of the N base stations is completed, so as to obtain the base station sequence information corresponding to the railway line.

8. The method according to claim 7, characterized in that The determining, based on the reference line, a subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point, comprises: Obtaining a first connecting line between the projection position point i and the first adjacent projection position point, and obtaining a first angle between the first connecting line and the reference line; Obtain a second connecting line between the projection position point i and the second adjacent projection position point, and obtain a second angle between the second connecting line and the reference line; According to the first angle and the second angle, a subsequent projection point of the projection point i is determined from the first adjacent projection point and the second adjacent projection point.

9. The method according to claim 8, characterized in that The determining, according to the first angle and the second angle, a subsequent projection position point of the projection position point i from the first adjacent projection position point and the second adjacent projection position point comprises: Obtaining a first cosine value of the first angle and a second cosine value of the second angle; A subsequent projection position point of the projection position point i is determined according to the first cosine value and the second cosine value.

10. The method according to claim 9, characterized in that The determining, according to the first cosine value and the second cosine value, a subsequent projection position point of the projection position point i comprises: comparing the first cosine value and the second cosine value to determine a minimum cosine value; The adjacent projection position point corresponding to the minimum cosine value is determined as the subsequent projection position point of the projection position point i.

11. The method according to claim 9, characterized in that The method further comprises: For any cosine value of the first cosine value and the second cosine value corresponding to the projection position point i, determine the any cosine value according to the starting projection position point and the ending projection position point, and the adjacent projection position point on the line corresponding to the projection position point i and the any cosine value.

12. The method according to claim 1, characterized in that After clustering the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, the method further includes: The remaining M base stations that are not classified into the railway line among the N base stations are obtained, and the remaining M base stations are clustered in a loop until all base stations are classified, so as to obtain the base station sequence information corresponding to each railway line in the railway private network.

13. The method according to claim 1, characterized in that The method further comprises: Determine, according to the base station sequence information, a preceding target base station and a subsequent target base station of the target base station; Acquire a first base station distance between the target base station and a previous target base station, and a second base station distance between the target base station and a subsequent target base station; The base station distance of the target base station is determined according to the first base station distance and the second base station distance.

14. The method according to claim 13, characterized in that The method further comprises: Determining the serial number of the target base station according to the order of the target base station in the base station sequence of the railway line; Determine first description information of the target base station according to the name, number, location information of the target base station and the base station distance of the target base station; Determine second description information of the target base station according to the name of the preceding target base station and the first base station distance, and the name of the subsequent target base station and the second base station distance; Generate target description information of the target base station according to the first description information and the second description information.

15. A device for determining the distance between base stations of a railway private network, characterized in that: The method comprises: A first acquisition module is used to acquire N base stations in the railway private network, where N is a natural number greater than or equal to 2; A determination module, used to determine the projection position point of the base station on the railway line; The second acquisition module is used to cluster the N base stations according to the projection position points to obtain base station sequence information corresponding to the railway line, wherein the base station sequence information includes a sorted target base station belonging to the railway line and a base station distance between the target base stations.

16. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 14.

17. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-14.

18. A computer program product comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 14.

Citation Information

Cited By

  • Road coverage optimization method and device, electronic equipment and storage medium

    CN121218193A

  • Method and device for determining distance between base stations in railway private network

    WO2025195520A1