Road plane line type dynamic linkage optimization method and device
Through the dynamic linkage optimization method and device, the position of the road design unit group is automatically adjusted, which solves the problem of complex and non-intuitive road design in the existing technology and realizes efficient and continuous road plane line design.
Patent Information
- Application Number
- CN202511054653.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2045-07-30
AI Technical Summary
In the existing technology, road design software is complex to operate and not intuitive enough, resulting in low design efficiency.
A method and device for dynamic linkage optimization of road plane line type are provided. By receiving the user's mobile input in the design interface, the position of the road design unit group is automatically adjusted, and the position of the connection unit group is linked to adjust, thereby realizing real-time optimization of the plane line type.
It improves the intuitiveness and efficiency of design, ensures the continuity of line types during adjustment, avoids line breakage or discontinuity, and reduces the workload of manual calculation and adjustment.
Smart Images

Figure CN120562030B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for dynamically linking optimization of road plane line shapes. Background Art
[0002] With the continuous development of engineering technology, complex and diversified road designs are becoming more and more common. However, in related technologies, when road design is performed through road design software, the operation is often complicated and not intuitive enough, resulting in low design efficiency.
[0003] Therefore, how to achieve more accurate and efficient road plan line design has become an urgent problem to be solved in the industry. Summary of the Invention
[0004] The present invention provides a method and device for dynamically linking and optimizing a road plane line type, so as to solve the problem of how to achieve more efficient road plane line type design in the prior art.
[0005] The present invention provides a method for dynamically linking and optimizing a road plan line, comprising:
[0006] receiving a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment consisting of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups;
[0007] In response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage.
[0008] According to a method for dynamic linkage optimization of road plane line type provided by the present invention, the step of receiving a first movement input of a user to a first target road design unit group in a road plane design interface includes:
[0009] During the process of moving the first target road design unit group by the first movement input, the display position of the first target road design unit group in the road plane design interface is adjusted in real time according to the moving position of the first movement input, and the display position of the second target road design unit group is adjusted accordingly.
[0010] According to a method for dynamic linkage optimization of road plane alignment provided by the present invention, in response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage, including:
[0011] In a case where the first movement input is a free translation movement input, in response to the first movement input, automatically calculating a new position of the first target road design unit group according to the translation direction and distance of the first movement input, so as to adjust the position of the first target road design unit group;
[0012] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated based on the adjusted position of the first target road design unit group, thereby correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group.
[0013] According to a method for dynamic linkage optimization of road plane alignment provided by the present invention, in response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage, including:
[0014] When the first movement input is a rotation input about a point, automatically calculating a new position of the first target road design unit group according to the rotation center and rotation angle of the first movement input to adjust the position of the first target road design unit group;
[0015] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group adjusted in the road plane design interface, so as to correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0016] According to a method for dynamic linkage optimization of road plane alignment provided by the present invention, in response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage, including:
[0017] When the first movement input is to change the circular curve radius, clothoid parameter, or length input, recalculate the clothoid parameter, clothoid length, or circular curve length according to the movement trajectory of the first movement input, and automatically adjust the geometric shape of the first target road design unit group;
[0018] Re-calculating the connection between the first target road design unit group and the second target road design unit group based on the adjusted geometric shape, to obtain the connection point between the first target road design unit group and the second target road design unit group after the adjusted geometric shape, and the position of the adjusted first target road design unit group;
[0019] The straight line length or circular curve length of the second target road design unit group is recalculated according to the connection point and the first target road design unit group after the geometric shape is adjusted.
[0020] According to a method for dynamic linkage optimization of road plane line type provided by the present invention, when the second target road design unit group is also connected to a third target road design unit group, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage, including:
[0021] Recalculating the coordinates and azimuth of the connection points between the second target road design unit group and the first target road design unit group and the third target road design unit group according to the adjusted position of the first target road design unit group and the position of the third target road design unit group;
[0022] According to the coordinates and azimuth of the connection points between the second target road design unit group and the connected first target road design unit group and the third target road design unit group, the position of the second target road design unit group is adjusted accordingly;
[0023] The position of the second target road design unit group after the position adjustment is performed, and the length of the straight line or circular curve of the third target road design unit group is changed. According to a road plane line dynamic linkage optimization method provided by the present invention, in response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted, including:
[0024] When the first movement input is a unit length change input and the first target road design unit group is a straight line unit group, updating the end point of the first target road design unit group according to the length change corresponding to the first movement input to adjust the position of the first target road design unit group;
[0025] When the first movement input is an input for changing a unit length, and the first target road design unit group is a flat curve unit group, updating the circular curve length of the first target road design unit group according to the movement distance corresponding to the first movement input to adjust the position of the first target road design unit group;
[0026] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group adjusted in the road plane design interface, so as to correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0027] According to a method for dynamic linkage optimization of road plan line type provided by the present invention, the method further includes:
[0028] Recalculate the coordinates of the connection points between the third target road design unit group, the second target road design unit group, and the fourth target road design unit group based on the adjusted position information of the second target road design unit group and the position of the fourth target road design unit group connected to the third target road design unit group;
[0029] adjusting the position of the third target road design unit group according to the coordinates and azimuth of the connection points between the third target road design unit group and the second target road design unit group and the fourth target road design unit group;
[0030] According to the position of the adjusted third target road design unit group, the connection point coordinates and tangent direction of the fourth target road design unit group connected to the third target road design unit group are recalculated, so as to correspondingly adjust the position of the fourth target road design unit group connected to the third target road design unit group.
[0031] The present invention also provides a road plan line dynamic linkage optimization device, comprising:
[0032] a receiving module, configured to receive a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups;
[0033] The adjustment module is used to adjust the position of the first target road design unit group in the road plane design interface in response to the first movement input, and correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for dynamic linkage optimization of road plane line type as described above is implemented.
[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for dynamically linking optimization of road plane lines.
[0036] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned methods for dynamically linking optimization of road plane lines.
[0037] The present invention provides a method and device for dynamically linked optimization of road planar alignments. Users can select any unit group for adjustment and change its position in real time through movement operations, providing a high degree of design flexibility. Furthermore, by linking and adjusting the positions of the connecting unit groups, the continuity of the road alignment during the adjustment process is ensured, avoiding line breakage or discontinuity. Real-time feedback from adjustment operations allows users to immediately see the effects of the adjustments, improving the intuitiveness and efficiency of the design. Through automated adjustment and real-time feedback, the planar design line can be translated, rotated, stretched, and parameterized while maintaining line continuity, eliminating numerous interruptions and continuity calculation operations and significantly improving modification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 This is a schematic flow chart of the road plan line dynamic linkage optimization method provided by the present invention;
[0040] Figure 2 This is one of the schematic diagrams for displaying the dynamic linkage optimization of the road plane line type provided by the present invention;
[0041] Figure 3 This is the second schematic diagram of the dynamic linkage optimization display of the road plane line type provided by the present invention;
[0042] Figure 4 This is the third schematic diagram of the dynamic linkage optimization display of the road plane line type provided by the present invention;
[0043] Figure 5 This is the fourth schematic diagram of the dynamic linkage optimization display of the road plane line type provided by the present invention;
[0044] Figure 6 A schematic structural diagram of a road plan line dynamic linkage optimization device provided by the present invention;
[0045] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0046] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0047] In the relevant technologies, existing mainstream software basically adopts three methods: "wire modification method", "curve modification method" and "parameter modification method" as the optimization and modification methods of road plane design.
[0048] The "wire modification method" achieves its purpose by modifying wires and intersections. Its advantage is that it maintains line continuity and allows for real-time visualization of the results during the modification process. However, modifying curves through tangents has significant limitations, and its optimization efficiency is very low on complex sections such as continuous curves.
[0049] The "curve modification method" offers greater flexibility. However, this method currently requires separating the design lines, modifying them, and then reconnecting them. The disadvantage is that the curve's position will change after the continuity calculation, requiring repeated attempts to achieve the desired result.
[0050] The "parameter modification method" directly modifies horizontal curve parameters. This method optimizes the line shape by modifying the intersection coordinates, curve radius, clothoid parameters, or length. This method is neither flexible nor intuitive and is generally only used when making minor adjustments to individual parameters.
[0051] The present invention proposes a flexible, real-time, and visible optimization and modification method that maintains line continuity, achieving fast, accurate, and efficient plane line optimization by completing line optimization and modification in a "what you see is what you get" manner.
[0052] Figure 1 This is a flow chart of the road plan line dynamic linkage optimization method provided by the present invention. Figure 1 As shown, the method includes:
[0053] Step 110: receiving a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups;
[0054] In the present invention, the road plane design interface is a visual tool for displaying and editing the plane layout of the road. It provides an environment for users to interact with road design data, allowing users to intuitively view and modify the linear design of the road.
[0055] The road plan design interface displays continuous design segments composed of multiple road design unit groups, including different line type combinations such as straight lines, circular curves, and clothoids. This display function provides users with a complete design view, allowing them to see the layout and direction of the entire road. Users can interact with the design segments through mouse movements and clicks, allowing users to select specific unit groups for adjustment. As users make adjustments, the results of the adjustments are displayed in real time, allowing users to immediately see the effects of the changes, improving design intuitiveness and efficiency.
[0056] In the present invention, the first target road design unit group is a specific unit group selected by the user from multiple road design unit groups for subsequent adjustment operations. These unit groups can be different line type combinations such as straight lines, circular curves, and clothoids.
[0057] The user selects one of multiple unit groups as the first target road design unit group by clicking the mouse or performing other selection operations. This selection mechanism makes the design process more targeted, allowing users to focus on the areas requiring optimization. Typically, the selected unit group is highlighted or otherwise identified in the interface, ensuring that users clearly understand the current target.
[0058] In the present invention, the first movement input refers to the user's input of moving the selected first target road design unit group through a mouse or other input device. This input method is intuitive and flexible and is one of the main ways for users to interact with the system.
[0059] The system needs to be able to accurately identify the user's motion input, including information such as the starting point, direction, and distance of the movement. This is the basis for implementing subsequent adjustment operations and ensures that the user's intention can be correctly understood and executed.
[0060] After the system recognizes the mobile input, it will respond immediately and start adjusting the operation, allowing users to see the immediate adjustment effect, improving the interactivity of the design and user experience.
[0061] Step 120 : In response to the first movement input, adjust the position of the first target road design unit group in the road plane design interface, and correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0062] In this invention, the system monitors and identifies the user's first movement input in the road plan design interface in real time—that is, the user's movement operation on the first target road design unit group. This includes accurately capturing key information such as the movement's starting position, direction, distance, and speed, providing an accurate basis for subsequent adjustments.
[0063] Based on the user's first movement input, the system automatically calculates the new position of the first target road design unit group. For straight line units, the coordinates of their start and end points are adjusted. For horizontal curve units, geometric parameters such as the center position and radius are recalculated. For clothoid units, parameters such as the start and end points and the curvature distribution are adjusted to reflect the new position after the user's movement operation.
[0064] In the road plane design interface, the system updates and displays the adjusted position of the first target road design unit group in real time, allowing users to intuitively see the adjustment effect and ensure the visualization and interactivity of the design process.
[0065] The system automatically identifies the second target road design unit group that is directly connected to the first target road design unit group. These unit groups may be of different types such as straight lines, circular curves or clothoids.
[0066] In the present invention, the connected second target road design unit group refers to the unit group adjacent to the first target road design unit group, generally one group on each side of the first target road design unit group. If the first target road design unit group is the starting point or end point unit group, then there is only one connected second target road design unit group.
[0067] Based on geometric constraints, such as tangent continuity and curvature continuity, the system recalculates the connection point coordinates and related geometric parameters of the second target road design unit group. For example, if the first target unit group is a straight line and the second target unit group is a circular curve, the tangent direction and center position of the circular curve are adjusted to ensure a smooth transition between the two at the connection point.
[0068] The system automatically adjusts the position and shape of the second target road design unit group to align closely with the moved first target road design unit group, maintaining the continuity of the entire road plan alignment. The adjusted geometric parameters and position of the second target unit group are synchronously updated and displayed in the road plan design interface, ensuring that users can observe the changes in the entire alignment in real time.
[0069] By automatically identifying the connection unit group and adjusting it based on geometric constraints, the continuity of the road plane line type during the adjustment process is ensured, the problem of line type breakage or discontinuity is avoided, and the integrity and rationality of the road design are guaranteed.
[0070] In this invention, users can select any unit group for adjustment and change its position in real time through movement operations, providing a high degree of design flexibility. Furthermore, by adjusting the positions of the connecting unit groups in a coordinated manner, the continuity of the road alignment during the adjustment process is ensured, avoiding line breaks or discontinuities. Real-time feedback from adjustment operations allows users to immediately see the effects of the adjustments, improving the intuitiveness and efficiency of the design. Through automated adjustment and real-time feedback, planar design lines can be translated, rotated, stretched, and parameterized while maintaining line continuity, eliminating numerous interruptions and continuity calculations and significantly improving modification efficiency.
[0071] Optionally, the receiving a first movement input of the user to the first target road design unit group in the road plane design interface includes:
[0072] During the process of moving the first target road design unit group by the first movement input, the display position of the first target road design unit group in the road plane design interface is adjusted in real time according to the moving position of the first movement input, and the display position of the second target road design unit group is adjusted accordingly.
[0073] In the present invention, when the user moves the first target road design unit group through a mouse or other input device, the system captures the position changes during the movement in real time, including the starting position of the movement, the current moving position and the moving direction.
[0074] Based on this information, the system immediately calculates and updates the display position of the first target road design unit group in the road plane design interface, allowing the user to intuitively see the effect of the move operation.
[0075] At the same time, the system automatically identifies the second target road design unit group that is directly connected to the first target road design unit group, and recalculates the connection point coordinates and related geometric parameters of the second target road design unit group based on geometric constraints (such as tangent direction continuity, curvature continuity, etc.), and automatically adjusts its position and shape to ensure close connection with the moved first target road design unit group, maintaining the continuity of the entire road plane line type.
[0076] The display position of the adjusted second target road design unit group is synchronously updated in the road plane design interface, allowing users to observe the changes in the entire line type in real time.
[0077] In the present invention, the real-time adjustment and feedback mechanism improves the interactivity and user experience of the design, ensures the intuitiveness and efficiency of the design process, and at the same time reduces the workload of manual calculation and adjustment through automated adjustment, thereby improving the design speed and efficiency.
[0078] In the present invention, when the line type is modified, the continuity calculation of the adjacent influence range is automatically performed, and the result of the modified line type is displayed in real time, so that the user can see the optimization result in real time and make corrections, which greatly improves the efficiency of line type optimization.
[0079] Optionally, in response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes:
[0080] In a case where the first movement input is a free translation movement input, in response to the first movement input, automatically calculating a new position of the first target road design unit group according to the translation direction and distance of the first movement input, so as to adjust the position of the first target road design unit group;
[0081] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated based on the adjusted position of the first target road design unit group, thereby correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group.
[0082] In the present invention, when a free translation movement input is detected, the system automatically calculates the new position of the first target road design unit group according to the translation direction and distance specified by the user.
[0083] For straight line unit groups, the system updates their start and end point coordinates to reflect the new positions; for horizontal curve unit groups, the system recalculates the length of the circular curve.
[0084] At the same time, based on the new position of the first target unit group, the connection point coordinates and tangent direction of the second target road design unit group are recalculated to ensure a smooth transition between the two. Through real-time geometric transformation and constraint solving, the position and shape of the second target unit group are automatically adjusted to maintain the continuity of the entire line type.
[0085] In this invention, the adjusted results are displayed synchronously in the road plan design interface, allowing users to intuitively observe the impact of the translation operation on the overall line shape. The entire process is achieved through real-time calculation and dynamic update, without the need for manual user intervention, improving design efficiency and accuracy.
[0086] Optionally, in response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes:
[0087] When the first movement input is a rotation input about a point, automatically calculating a new position of the first target road design unit group according to the rotation center and rotation angle of the first movement input to adjust the position of the first target road design unit group;
[0088] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group adjusted in the road plane design interface, so as to correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0089] In this invention, when a rotation input is detected, the system automatically calculates the new position of the first target road design unit group based on the user-specified rotation center and angle. For a straight line unit group, the rotation operation changes its start and end coordinates while maintaining the length of the line; for a horizontal curve unit group, the rotation operation changes the length of the circular curve while maintaining the radius. The system transforms the geometric parameters of the first target unit group using a rotation matrix to reflect the new position and orientation after the rotation operation.
[0090] While adjusting the position of the first target unit group, the system recalculates the connection point coordinates and tangent direction of the second target road design unit group based on the updated position information of the first target unit group in the road plan design interface. The system uses geometric constraints (such as tangent direction continuity and curvature continuity) to ensure that the second target unit group can smoothly transition with the rotated first target unit group. For example, if the first target unit group is a straight line and the second target unit group is a circular curve, the system will recalculate the tangent direction and center position of the circular curve to ensure a smooth transition between the two.
[0091] Through real-time geometric transformation and constraint solving, the system automatically adjusts the position and shape of the second target unit group to maintain the continuity of the entire line type.
[0092] In this invention, the system displays the adjusted results synchronously within the road plan design interface, allowing users to intuitively observe the impact of the rotation operation on the overall alignment. The entire process is achieved through real-time calculation and dynamic updates, eliminating the need for manual user intervention, improving design efficiency and accuracy.
[0093] Optionally, in response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes:
[0094] When the first movement input is a unit length change input and the first target road design unit group is a straight line unit group, updating the end point of the first target road design unit group according to the length change corresponding to the first movement input to adjust the position of the first target road design unit group;
[0095] When the first movement input is an input for changing a unit length, and the first target road design unit group is a flat curve unit group, updating the circular curve length of the first target road design unit group according to the movement distance corresponding to the first movement input to adjust the position of the first target road design unit group;
[0096] While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group adjusted in the road plane design interface, so as to correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0097] In this invention, if the first target road design unit group is a straight line unit group, the system updates the coordinates of the end point of the straight line unit group based on the length change input by the user to reflect the new length. The starting point of the line remains unchanged, and the end point moves the specified distance along the line direction.
[0098] After updating the end point of the straight line unit group, the system recalculates the connection point coordinates and tangent direction of the second target road design unit group (such as a circular curve or another straight line) connected to it to ensure a smooth transition between the two at the connection point.
[0099] In the present invention, when the first target road design unit group is a flat curve unit group, the system recalculates the circular curve length of the flat curve unit group based on the length change input by the user, combined with the rotation center and rotation angle. The starting point of the circular curve remains unchanged, and the end point moves along the circular path by a specified angle, thereby changing the length of the circular curve.
[0100] After updating the circular curve length of the horizontal curve unit group, the starting point or end point position of the horizontal curve group is adjusted accordingly, and the system recalculates the connection point coordinates and tangent direction of the second target road design unit group (such as a straight line or another circular curve) connected to it to ensure a smooth transition between the two at the connection.
[0101] In this invention, through real-time geometric transformations and constraint solving, the position and shape of the second target unit group are automatically adjusted to maintain the continuity of the overall alignment. Finally, the system displays the adjusted results synchronously within the road plan design interface, allowing users to intuitively observe the impact of length changes on the overall alignment. This entire process is achieved through real-time calculation and dynamic updates, eliminating the need for manual user intervention and improving design efficiency and accuracy.
[0102] Optionally, in response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes:
[0103] When the first movement input is to change the circular curve radius, clothoid parameter, or length input, recalculate the clothoid parameter, clothoid length, or circular curve length according to the movement trajectory of the first movement input, and automatically adjust the geometric shape of the first target road design unit group;
[0104] Re-calculating the connection between the first target road design unit group and the second target road design unit group based on the adjusted geometric shape, to obtain the connection point between the first target road design unit group and the second target road design unit group after the adjusted geometric shape, and the position of the adjusted first target road design unit group;
[0105] The straight line length or circular curve length of the second target road design unit group is recalculated according to the connection point and the first target road design unit group after the geometric shape is adjusted.
[0106] In the present invention, when a user changes the circular curve radius, clothoid parameters, or length via an input device (such as mouse dragging or parameter input), the system recalculates the clothoid parameters, clothoid length, or circular curve length in real time based on the input movement trajectory. The system automatically adjusts the geometry of the first target road design unit group to conform to the new parameter settings. For example, changing the circular curve radius affects the curvature of the circular curve, and the system recalculates the center position and tangent direction of the circular curve; changing the clothoid parameters affects the curvature variation of the clothoid, and the system recalculates the starting point, end point, and curvature distribution of the clothoid.
[0107] After adjusting the geometry of the first target road design unit group, the system recalculates its connection with the second target road design unit group. This means the system re-determines the connection relationship between the two unit groups, including the connection point coordinates and tangent directions, based on the new geometry to ensure a smooth transition between the two. The system achieves this through geometric constraints (such as tangent continuity and curvature continuity), ensuring the continuity of the road line shape and compliance with design specifications.
[0108] Finally, based on the new connection points and the adjusted geometry of the first target road design unit group, the straight line length or circular curve length of the second target road design unit group is recalculated and its position and shape are adjusted accordingly. For example, if the second target unit group is a straight line, the system will adjust the coordinates of the line's start or end point based on the new connection points; if the second target unit group is a circular curve, the system will adjust the radius and center position of the circular curve to maintain a smooth transition with the first target unit group.
[0109] This invention ensures the continuity and compliance of road alignments to design specifications after parameter changes through real-time recalculation and adjustment, avoiding alignment breakage or discontinuity. Automated adjustments and real-time feedback reduce the workload of manual calculations and adjustments, improving design speed and accuracy. Users can focus on design intent while the system handles the complex geometric calculations.
[0110] Optionally, in a case where the second target road design unit group is further connected to a third target road design unit group, adjusting the position of the first target road design unit group in the road plane design interface and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group include:
[0111] Recalculating the coordinates and azimuth of the connection points between the second target road design unit group and the first target road design unit group and the third target road design unit group according to the adjusted position of the first target road design unit group and the position of the third target road design unit group;
[0112] According to the coordinates and azimuth of the connection points between the second target road design unit group and the connected first target road design unit group and the third target road design unit group, the position of the second target road design unit group is adjusted accordingly;
[0113] The position of the second target road design unit group is adjusted, and the length of the straight line or circular curve of the third target road design unit group is changed.
[0114] In the present invention, the second target road design unit group is also connected to the third target road design unit group, meaning that the second target road design unit group is connected not only to the first target road design unit group, but also to the third target road design unit group. In this case, the multiple road design unit groups form a continuous linear sequence. Therefore, adjustments to the first target road design unit group will not only affect the second target road design unit group, but will also affect the third target road design unit group through the second target road design unit group.
[0115] In the present invention, based on the movement trajectory input by the user, the system recalculates the parameters of the clothoid or circular curve, such as the starting point, end point, curvature distribution of the clothoid, or the radius and center position of the circular curve, and automatically adjusts the geometric shape of the first target road design unit group.
[0116] The adjusted first and second target unit groups are recalculated for connection. The system determines the connection point between them and the adjusted position of the first target unit group, ensuring a smooth transition between the two at the connection point. Based on the new connection point and the geometry of the first target unit group, the system recalculates the straight or circular length of the second target unit group and adjusts its position accordingly to maintain the continuity of the road line shape.
[0117] In this invention, the system automatically recalculates and adjusts relevant parameters to ensure the continuity of the road line shape and compliance with design specifications, reducing the workload of manual calculation and adjustment and improving design speed and accuracy.
[0118] Figure 2 This is one of the schematic diagrams for the dynamic linkage optimization display of the road plane line type provided by the present invention, such as Figure 2 As shown, in Figure 2 The left side translates the linear unit, and the units on both sides modify the displayed content in a linked manner. The gray-white color represents the original line type. Figure 2 The right side shows the content after panning.
[0119] Figure 3 This is the second schematic diagram of the dynamic linkage optimization display of the road plane line provided by the present invention, as shown in FIG. Figure 3 As shown, Figure 3 The left side is the endpoint of the drag end linear unit, and the display content of the rotating linear unit is displayed. Figure 3 The right side of the is the rotated display content.
[0120] Figure 4 The third schematic diagram of the dynamic linkage optimization display of the road plane line provided by the present invention is as follows: Figure 4 As shown, Figure 4 The left side of is the display content of the horizontal curve unit group. Figure 4 The right side of is the displayed content after translation.
[0121] Figure 5 This is the fourth schematic diagram of the dynamic linkage optimization display of the road plane line provided by the present invention, as shown in FIG. Figure 5 As shown, Figure 5 The left side shows the display content of the radius value of the arc in the horizontal curve. Figure 5 The right side shows the flat curve with automatically calculated current adjustment parameters and the result of reconnecting with the units on both sides.
[0122] The road plane linear dynamic linkage optimization device provided by the present invention is described below. The road plane linear dynamic linkage optimization device described below and the road plane linear dynamic linkage optimization method described above can be referenced to each other.
[0123] Figure 6 This is a schematic diagram of the structure of the road plane linear dynamic linkage optimization device provided by the present invention, as shown in FIG. Figure 6 Shown, including:
[0124] The receiving module 210 is configured to receive a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups;
[0125] The adjustment module 220 is used to adjust the position of the first target road design unit group in the road plane design interface in response to the first movement input, and correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
[0126] In this invention, users can select any unit group for adjustment and change its position in real time through movement operations, providing a high degree of design flexibility. Furthermore, by adjusting the positions of the connecting unit groups in a coordinated manner, the continuity of the road alignment during the adjustment process is ensured, avoiding line breaks or discontinuities. Real-time feedback from adjustment operations allows users to immediately see the effects of the adjustments, improving the intuitiveness and efficiency of the design. Through automated adjustment and real-time feedback, planar design lines can be translated, rotated, stretched, and parameterized while maintaining line continuity, eliminating numerous interruptions and continuity calculations and significantly improving modification efficiency.
[0127] Figure 7 Schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 7As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communications bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communications bus 340. The processor 310 may call logic instructions in the memory 330 to execute a method for dynamic linkage optimization of a road plane line type, the method comprising: receiving a first drag input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups;
[0128] In response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage.
[0129] Furthermore, the logic instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0130] On the other hand, the present invention further provides a computer program product, comprising a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the road plane line dynamic linkage optimization method provided by the above methods, the method comprising: receiving a first movement input from a user to a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of multiple road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the multiple road design unit groups;
[0131] In response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage.
[0132] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for dynamically linking and optimizing a road plane alignment provided by the above methods is implemented, the method comprising: receiving a first movement input from a user to a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, the first target road design unit group being a road design unit group selected by the user from the plurality of road design unit groups;
[0133] In response to the first movement input, the position of the first target road design unit group is adjusted in the road plane design interface, and the position of the second target road design unit group connected to the first target road design unit group is correspondingly adjusted in linkage.
[0134] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0135] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for dynamic linkage optimization of road plan line shape, characterized in that: include: receiving a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment consisting of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups; In response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group; In response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes: In a case where the first movement input is a free translation movement input, in response to the first movement input, automatically calculating a new position of the first target road design unit group according to the translation direction and distance of the first movement input, so as to adjust the position of the first target road design unit group; While adjusting the position of the first target road design unit group, recalculate the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group based on the adjusted position of the first target road design unit group, thereby correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group; Alternatively, in a case where the first movement input is a rotation input about a point, a new position of the first target road design unit group is automatically calculated according to the rotation center and rotation angle of the first movement input to adjust the position of the first target road design unit group; While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group in the road plane design interface, thereby correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group; Alternatively, when the first movement input is to change the circular curve radius, clothoid parameter, or length input, the clothoid parameter, clothoid length, or circular curve length of the clothoid are recalculated based on the movement trajectory of the first movement input, and the geometric shape of the first target road design unit group is automatically adjusted; Re-calculating the connection between the first target road design unit group and the second target road design unit group based on the adjusted geometric shape, to obtain the connection point between the first target road design unit group and the second target road design unit group after the adjusted geometric shape, and the position of the adjusted first target road design unit group; Recalculating the straight line length or circular curve length of the second target road design unit group according to the connection point and the first target road design unit group after adjusting the geometric shape; Wherein, in the case where the second target road design unit group is also connected to a third target road design unit group, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes: Recalculating the coordinates and azimuth of the connection points between the second target road design unit group and the first target road design unit group and the third target road design unit group according to the adjusted position of the first target road design unit group and the position of the third target road design unit group; According to the coordinates and azimuth of the connection points between the second target road design unit group and the connected first target road design unit group and the third target road design unit group, the position of the second target road design unit group is adjusted accordingly; The position of the second target road design unit group is adjusted, and the length of the straight line or circular curve of the third target road design unit group is changed.
2. The road plan line dynamic linkage optimization method according to claim 1, characterized in that: The receiving a first movement input of the user on the first target road design unit group in the road plane design interface includes: During the process of moving the first target road design unit group by the first movement input, the display position of the first target road design unit group in the road plane design interface is adjusted in real time according to the moving position of the first movement input, and the display position of the second target road design unit group is adjusted in real time accordingly.
3. A method for dynamic linkage optimization of road plan line shape, characterized in that: include: receiving a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment consisting of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups; In response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group; In response to the first movement input, adjusting the position of the first target road design unit group in the road plane design interface, and correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group, includes: When the first movement input is a unit length change input and the first target road design unit group is a straight line unit group, updating the end point of the first target road design unit group according to the length change corresponding to the first movement input to adjust the position of the first target road design unit group; When the first movement input is an input for changing a unit length, and the first target road design unit group is a flat curve unit group, updating the circular curve length of the first target road design unit group according to the movement distance corresponding to the first movement input to adjust the position of the first target road design unit group; While adjusting the position of the first target road design unit group, the connection point coordinates and tangent direction of the second target road design unit group connected to the first target road design unit group are recalculated according to the position information of the first target road design unit group in the road plane design interface, thereby correspondingly adjusting the position of the second target road design unit group connected to the first target road design unit group; The method further comprises: Recalculate the coordinates of the connection points between the third target road design unit group, the second target road design unit group, and the fourth target road design unit group based on the adjusted position information of the second target road design unit group and the position of the fourth target road design unit group connected to the third target road design unit group; adjusting the position of the third target road design unit group according to the coordinates and azimuth of the connection points between the third target road design unit group and the second target road design unit group and the fourth target road design unit group; According to the position of the adjusted third target road design unit group, the connection point coordinates and tangent direction of the fourth target road design unit group connected to the third target road design unit group are recalculated, so as to correspondingly adjust the position of the fourth target road design unit group connected to the third target road design unit group.
4. A road plane line dynamic linkage optimization device based on the road plane line dynamic linkage optimization method according to claims 1-3, characterized in that: include: a receiving module, configured to receive a first movement input from a user on a first target road design unit group in a road plane design interface, wherein the road plane design interface displays a continuous design line segment composed of a plurality of road design unit groups, and the first target road design unit group is a road design unit group selected by the user from the plurality of road design unit groups; The adjustment module is used to adjust the position of the first target road design unit group in the road plane design interface in response to the first movement input, and correspondingly adjust the position of the second target road design unit group connected to the first target road design unit group.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the road plane line dynamic linkage optimization method according to any one of claims 1 to 3 is implemented.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the road plane line dynamic linkage optimization method according to any one of claims 1 to 3 is implemented.
7. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the road plane line dynamic linkage optimization method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Road curve setting method and device, electronic equipment and storage medium
CN113626903A
Visual interaction method and system for linear alignment calculation graph
CN117633943A