Self-adaptive multi-view track roaming optimization method and system based on Cesium

By using Catmull-Rom spline interpolation and path inflection point vertical midpoint optimization methods, combined with dual-mode perspective and dynamic interpolation point adjustment, the problems of unsmooth paths, terrain adaptation distortion, and single perspective control in traditional trajectory roaming technology are solved, achieving efficient and natural trajectory roaming effects in 3D GIS systems.

CN120976494APending Publication Date: 2025-11-18武汉智博创享科技股份有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202511089558.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Traditional trajectory roaming technology suffers from problems such as uneven paths, distorted terrain adaptation, limited perspective control, and performance bottlenecks, resulting in unnatural visual effects, excessive computational load, and mismatched movement rhythm.

Method used

A smooth path is generated using dynamic interpolation of Catmull-Rom splines and optimization of the vertical midpoint of the path inflection point. Combined with dual-mode viewpoints and dynamic interpolation point adjustment, the smoothness of the path and flexible control of the viewpoint are achieved. The motion rate is optimized through real-time rendering and interaction.

Benefits of technology

It achieves smooth path transitions, precise terrain adaptation, flexible viewpoint switching, and natural movement rhythm, thereby improving the rendering quality and user experience of the 3D GIS system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120976494A_ABST
    Figure CN120976494A_ABST
Patent Text Reader

Abstract

The invention provides an adaptive multi-view track roaming optimization method based on Cesium, and the method comprises the steps: obtaining an original path point, and carrying out the processing of the original path point, and generating a smooth path; dynamically adjusting the time rate of the smooth path movement; dynamically adjusting the number of interpolation points of the smooth path; loading the dynamically adjusted path, and binding with the path through a dual-mode view angle; and rendering the path in real time, and interacting with a user. According to the method, a Catmull-Rom spline interpolation and inflection point optimization method is adopted, so that turning is smoother; the terrain height is dynamically sampled, terrain adaptation is accurate, and the model is prevented from being suspended or falling into the ground; according to the invention, first person / third person switching is supported, and flexible visual angle control is realized; the speed calculation based on the path length ensures that the motion rhythm is natural.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of three-dimensional geographic information systems and intelligent roaming technology, and particularly relates to a Cesium-based adaptive multi-view trajectory roaming optimization method and system. BACKGROUND

[0002] In a three-dimensional GIS system, trajectory roaming technology is commonly used to simulate the movement of objects (such as vehicles, drones, pedestrians) along a predetermined path. The application of trajectory roaming technology in three-dimensional GIS systems has achieved a transformation from static maps to interactive and analyzable immersive spatial experiences by deeply integrating dynamic trajectory data with three-dimensional geographic space models. Its core value lies in spatiotemporal dynamic visualization, path optimization decision-making, and multi-source data collaboration, and it is widely used in fields such as urban management, natural resource monitoring, and emergency response.

[0003] The traditional trajectory roaming technology has the following core defects: 1. Path is not smooth: straight-line splicing leads to sudden changes in the movement trajectory, and the visual effect is affected when turning; 2. Terrain adaptation distortion: static interpolation ignores terrain undulations, and the model is prone to floating or sinking into the ground; 3. Single view control: fixed view or simple follow mode cannot meet the diversified observation needs; 4. Performance bottleneck: too many interpolation points cause computational load, which can easily lead to rendering delay or flicker; 5. Time rate mismatch: inaccurate speed adjustment leads to unnatural movement rhythm. SUMMARY

[0004] The present application aims to solve at least one of the technical problems existing in the prior art and proposes a Cesium-based adaptive multi-view trajectory roaming optimization method and system.

[0005] In a first aspect, the present application embodiment provides a Cesium-based adaptive multi-view trajectory roaming optimization method, comprising: obtaining original path points, processing the original path points to generate a smooth path; dynamically adjusting the time rate of the smooth path movement; dynamically adjusting the number of interpolation points of the smooth path; loading the dynamically adjusted path and binding it with the path through a dual-mode view; real-time rendering the path and interacting with the user.

[0006] Further, the original path point coordinates are processed by a Catmull-Rom spline dynamic interpolation method and a path inflection point perpendicular midpoint optimization method to generate a smooth path, wherein the specific processing steps of the Catmull-Rom spline dynamic interpolation method include: The original path points are sorted by time or space, and after sorting, the path points are divided into continuous multiple segment combinations, each segment combination corresponds to an interpolation interval of a curve, and an interpolation progress parameter in the interpolation interval is set; A plurality of control points of the current interval are obtained, the control point coordinates and the interpolation progress parameter are substituted into the Catmull-Rom formula, and the interpolation points in the interpolation interval are calculated; the interpolation step is set according to the requirement, and the smooth curve is ensured without jumping.

[0007] Further, the specific steps of the path inflection point perpendicular midpoint optimization method processing include: Path preprocessing and inflection point detection, obtaining an original path point sequence, calculating the included angle of adjacent path segments, comparing the included angle with a preset threshold, if the included angle is greater than the preset threshold, judging that the included angle endpoints are inflection points; Calculating the perpendicular line direction and determining the perpendicular line starting point and length to construct the inflection point perpendicular line, calculating the perpendicular midpoint, replacing the original inflection point with the perpendicular midpoint, and forming a natural transition turning path.

[0008] Further, when the original path points are processed, the terrain mode of the path is also judged, if it is a non-terrain mode, the terrain and non-terrain processing logic are separated by the terrain parameter for processing; if it is a terrain mode, the Cesium.sampleTerrainMostDetailed interface is called to obtain the terrain elevation data in real time, and the interpolation point height is adjusted.

[0009] Further, according to the path length and speed parameters, the time interval of each interpolation point is calculated, and the time rate of the smooth path motion is dynamically adjusted, and the specific method includes: segmenting the path, extracting the geometric characteristics of the path; setting the maximum speed allowed by the path, calculating the theoretical time interval of each segment according to the path segment length and speed, and correcting the speed considering the acceleration constraint, smoothing the time interval, and synchronizing the global time.

[0010] Further, the number of interpolation points of the smooth path is dynamically adjusted according to the path length, and the specific method includes: Segmenting the path and extracting the geometric characteristics, discretizing the original path into a plurality of control points, calculating the length of each path segment and the total path length, and calculating the local curvature of each control point; According to the path length and curvature distribution, the number of interpolation points N of each path is dynamically determined, and the total number of interpolation points is obtained by summarizing, and each path is interpolated according to the allocated N, and the difference value after interpolation is optimized.

[0011] Further, the dual-mode view angle includes a first-person view angle mode and a third-person view angle mode, wherein the first-person view angle mode binds the camera model in front, and the motion direction is synchronized in real time through the first-person view angle mode; the third-person view angle mode supports dynamic adjustment of the camera height, pitch angle and yaw angle, and the surround observation is realized through the third-person view angle mode.

[0012] In a second aspect, the present application further discloses a Cesium-based adaptive multi-view angle track roaming optimization system, comprising: a smooth path generation unit, a time rate adjustment unit, an interpolation point number adjustment unit, a view angle and path binding unit and a real-time rendering and interaction unit; wherein: The smooth path generation unit is used for obtaining original path points, and processing the original path points to generate a smooth path; The time rate adjustment unit is used for dynamically adjusting the time rate of the smooth path motion; The interpolation point number adjustment unit is used for dynamically adjusting the interpolation point number of the smooth path; The view angle and path binding unit is used for loading the dynamically adjusted path, and binding the path through a dual-mode view angle; The real-time rendering and interaction unit is used for rendering the path in real time, and interacting with a user.

[0013] In a third aspect, the present application further discloses an electronic device, characterized in that comprising: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the optimization method.

[0014] In a fourth aspect, the present application further discloses a computer readable medium, and the computer readable medium stores a computer program, and the computer program is executed by a processor to implement the steps in the optimization method.

[0015] The application provides a Cesium-based adaptive multi-view trajectory roaming optimization method, which comprises the following steps: acquiring original path points, processing the original path points to generate a smooth path, dynamically adjusting the time rate of the smooth path movement, dynamically adjusting the number of interpolation points of the smooth path, loading the dynamically adjusted path, and binding the path with a double-mode view; the path is rendered in real time and interacts with the user. BRIEF DESCRIPTION OF DRAWINGS

[0016] Figure 1 A flowchart of a Cesium-based adaptive multi-view trajectory roaming optimization method provided by the embodiment of the application is shown in the figure. Figure 2 A logic operation schematic diagram of a Cesium-based adaptive multi-view trajectory roaming optimization method provided by the embodiment of the application is shown in the figure. Figure 3 A structure block diagram of a Cesium-based adaptive multi-view trajectory roaming optimization method provided by the embodiment of the application is shown in the figure. Figure 4 A structure block diagram of an electronic device provided by the embodiment of the application is shown in the figure. DETAILED DESCRIPTION

[0017] In order to make the skilled in the art better understand the technical solutions of the present application, the following describes the exemplary embodiments of the present application in conjunction with the drawings, including various details of the embodiments of the present application to help understanding, which should be considered only as exemplary. Therefore, those of ordinary skill in the art should realize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Also, for the sake of clarity and conciseness, the description in the following description omits the description of well-known functions and structures.

[0018] In the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0019] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0020] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. "Connected" or "coupled" or similar terms are not limited to physical or mechanical connections or links, but can also include electrical connections or links, whether direct or indirect.

[0021] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.

[0022] In the technical solutions of the present application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information comply with relevant laws and regulations and do not violate public order and good customs. The use of user data in the technical solutions complies with relevant national laws and regulations (for example, "Information Security Technology Personal Information Security Specification" and the like). For example, appropriate measures are taken for personal information access control; the display of personal information is limited by regulations; the use purpose of personal information does not exceed the direct or reasonably related range; and the use of personal information eliminates explicit identity pointing and avoids precise positioning to a specific individual.

[0023] To solve at least one of the technical problems in the related art, the present application provides a Cesium-based adaptive multi-view trajectory roaming optimization method and system.

[0024] The present embodiment discloses a Cesium-based adaptive multi-view trajectory roaming optimization method, as Figure 1 , comprising: S100. Obtain original path points, process the original path points to generate a smooth path; in the present embodiment, the original path point coordinates are processed by a Catmull-Rom spline dynamic interpolation method and a path inflection point perpendicular midpoint optimization method to generate a smooth path. The Catmull-Rom spline is a commonly used dynamic interpolation method, which is suitable for generating a smooth trajectory curve, especially for path smoothing processing of trajectory roaming in a three-dimensional GIS system. It ensures that the curve passes through all given key points while maintaining the continuity and smoothness of the curve by local interpolation between control points.

[0025] The specific processing steps of the Catmull-Rom spline dynamic interpolation method include: The original path points are sorted by time or space, and after sorting, the path points are divided into continuous multiple combination segments, each combination segment corresponds to an interpolation interval of the curve, and the interpolation progress parameter in the interpolation interval is set; A plurality of control points of the current interval are obtained, the control point coordinates and the interpolation progress parameter are substituted into the Catmull-Rom formula, and the interpolation points in the interpolation interval are calculated; the interpolation step is set according to the requirement, and the smooth curve without jump is ensured.

[0026] Through the Catmull-Rom spline dynamic interpolation, the three-dimensional GIS system can realize efficient and smooth trajectory roaming, and improve the accuracy of user experience and data analysis.

[0027] In this embodiment, the path inflection point perpendicular midpoint optimization method is a technology for improving the smoothness of the path by adjusting the geometric characteristics at the path inflection point, and is especially suitable for three-dimensional GIS trajectory roaming, robot path planning and other scenes. The core idea is to construct a perpendicular line at the path inflection point, and to locally correct the path using the perpendicular line midpoint, so as to eliminate sharp turns or sharp angles, and to make the path more consistent with the actual motion requirements.

[0028] The specific steps of the path inflection point perpendicular midpoint optimization method processing include: Path preprocessing and inflection point detection, obtaining the original path point sequence, calculating the included angle of adjacent path segments, comparing the included angle with the preset threshold value, if the included angle is greater than the preset threshold value, the included angle endpoint is judged as an inflection point; Calculate the direction of the perpendicular line and determine the starting point and length of the perpendicular line to construct the inflection point perpendicular line, calculate the perpendicular line midpoint, replace the original inflection point with the perpendicular line midpoint, and form a natural transition turning path.

[0029] Through the perpendicular midpoint optimization method, the sharp angle at the path inflection point is significantly smoothed, while the overall shape of the original path is preserved, which is an efficient and intuitive path smoothing technology.

[0030] In some preferred embodiments, such as Figure 2 When processing the original path points, the terrain mode of the path is also judged, if it is a non-terrain mode, the terrain and non-terrain processing logic are separated by the terrain parameter for processing; if it is a terrain mode, the Cesium.sampleTerrainMostDetailed interface is called to obtain the terrain elevation data in real time, and the interpolation point height is adjusted.

[0031] S200. dynamically adjusting the time rate of the smooth path movement; in this embodiment, after obtaining the smooth path, the time rate of the smooth path movement is dynamically adjusted, and the time rate of the smooth path movement is dynamically adjusted, aiming to optimize the movement speed in real time according to the geometric characteristics (such as curvature, inflection point sharpness) of the path or external constraints, and ensure that the movement process is efficient and safe.

[0032] In this embodiment, the time interval of each interpolation point is calculated according to the path length and the speed parameter, the time rate of the smooth path movement is dynamically adjusted, and the specific method comprises: segmenting the path, extracting the geometric characteristics of the path; setting the maximum speed allowed by the path, calculating the theoretical time interval of each segment according to the path segment length and the speed, and modifying the speed considering the acceleration constraint, smoothing the time interval, and synchronizing the global time.

[0033] Through dynamic rate adjustment, the movement process of the smooth path can balance efficiency and safety, and significantly improve the robustness of the actual system.

[0034] S300. dynamically adjusting the number of interpolation points of the smooth path; specifically, in order to calculate the time interval of each interpolation point according to the path length and the speed parameter, and ensure the natural movement rhythm, the time interval needs to be dynamically allocated in combination with the geometric characteristics (such as curvature, segment length) of the path and the speed constraint (such as maximum speed, acceleration limit).

[0035] In this embodiment, the number of interpolation points of the smooth path is dynamically adjusted according to the path length, and the specific method comprises: segmenting the path and extracting the geometric characteristics, discretizing the original path into multiple control points, calculating the length of each path and the total path length, and calculating the local curvature of each control point; dynamically determining the number of interpolation points N of each path according to the path length and the curvature distribution, then collecting the total number of interpolation points, and interpolating each path according to the allocated N, and optimizing the result after the difference.

[0036] Through the above method, the path length, speed parameter and time interval can be accurately matched, and the movement rhythm can be ensured to be natural and meet the physical constraints.

[0037] S400. loading the dynamically adjusted path and binding it with the path through the dual-mode view; in this embodiment, the dual-mode view includes a first-person view mode and a third-person view mode, wherein the first-person view mode binds the camera in front of the model, and the movement direction is synchronized in real time through the first-person view mode; the third-person view mode supports dynamically adjusting the camera height, pitch angle and yaw angle, and realizes the surround observation through the third-person view mode.

[0038] Through step S400 of this embodiment, seamless switching between first-person and third-person perspectives is supported, and the camera height, pitch angle and yaw angle can be dynamically adjusted to meet diverse observation needs.

[0039] S500. The path is rendered in real time and interacted with by the user. This embodiment reduces computational overhead, improves rendering quality, and avoids flickering and latency by controlling the number of dynamic interpolation points and optimizing anti-aliasing. The user can reset, pause, and resume rendering through the interaction unit and the rendering trajectory.

[0040] This embodiment provides a Cesium-based adaptive multi-view trajectory roaming optimization method. It acquires original path points, processes them to generate a smooth path, dynamically adjusts the time rate of the smooth path's movement, dynamically adjusts the number of interpolation points on the smooth path, loads the dynamically adjusted path, and binds it to a dual-mode viewpoint. The path is then rendered in real-time and interacts with the user. This embodiment employs Catmull-Rom spline interpolation and inflection point optimization methods to make turns smoother; it uses dynamically sampled terrain height for accurate terrain adaptation, preventing the model from hovering or sinking into the ground; this invention supports first-person / third-person switching for flexible viewpoint control; and it uses rate calculation based on path length to ensure a natural movement rhythm.

[0041] Based on the same inventive concept, embodiments of the present invention also provide an adaptive multi-view trajectory roaming optimization system based on Cesium, such as... Figure 3 It includes: a smooth path generation unit, a time rate adjustment unit, an interpolation point number adjustment unit, a viewpoint and path binding unit, and a real-time rendering and interaction unit; among which: A smooth path generation unit is used to obtain original path points and process the original path points to generate a smooth path. A time rate adjustment unit is used to dynamically adjust the time rate of the smooth path motion; The interpolation point number adjustment unit is used to dynamically adjust the number of interpolation points of the smooth path; A viewpoint and path binding unit is used to load the dynamically adjusted path and bind it to the path through a dual-mode viewpoint. The real-time rendering and interaction unit is used to render the path in real time and interact with the user.

[0042] The specific working methods of the smooth path generation unit, the time rate adjustment unit, the interpolation point number adjustment unit, the view angle and path binding unit, and the real-time rendering and interaction unit have been described in detail in the above optimization method, and thus will not be described again in the embodiment.

[0043] Based on the same inventive concept, the embodiment of the present application also provides an electronic device. Figure 4 A structural block diagram of an electronic device provided by the embodiment of the present application is shown in FIG. 1. Figure 4 As shown in FIG. 1, the electronic device provided by the embodiment of the present application includes one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the optimization method in any of the above embodiments. The one or more I / O interfaces 103 are connected between the processor and the memory and are configured to realize the information interaction between the processor and the memory.

[0044] The processor 101 is a device with data processing capability, including but not limited to a central processing unit (CPU) and the like; the memory 102 is a device with data storage capability, including but not limited to a random access memory (RAM, more specifically, SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), and a flash memory (FLASH); and the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102 and can realize the information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus) and the like.

[0045] In some embodiments, the processor 101, the memory 102, and the I / O interface 103 are connected to each other through a bus 104 and further connected to other components of the computing device.

[0046] In some embodiments, the one or more processors 101 include a field programmable gate array.

[0047] The embodiment of the present application also provides a computer readable medium. The computer readable medium stores a computer program, and when the program is executed by a processor, the steps in the optimization method in any of the above embodiments are implemented. The computer readable storage medium can be a volatile or non-volatile computer readable storage medium.

[0048] The embodiment of the present application also provides a computer program product including computer readable code or a non-volatile computer readable storage medium carrying computer readable code, and when the computer readable code is run in the processor of an electronic device, the processor in the electronic device executes the above optimization method.

[0049] Those of ordinary skill in the art will realize and understand that all or some of the steps in the methods disclosed above and the functional modules / units in the systems and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementation, the division between the functional modules / units referred to in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on computer readable storage media, which can include computer storage media (or non-transitory media) and communication media (or transitory media).

[0050] As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable program instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM), static random access memory (SRAM), flash memory or other memory technology, portable compact disc read only memory (CD-ROM), digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by a computer. Further, it is well known to those of ordinary skill in the art that communication media typically embodies computer readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. As used herein, the term "modulated data signal" means a signal that has one or more of its characteristics changed or set in a manner so as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as wireless networks, cellular telephone networks, code division multiple access (CDMA) networks, and other terrestrial and satellite radio frequency communication networks or frequency (RF) media. Further, as used herein, the term "computer" includes one or more computers, servers, processors, microprocessors, or other devices that have bit storage and bit processing capabilities.

[0051] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0052] Computer readable program instructions for carrying out operations of the present application can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate array (FPGA), or programmable logic array (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present application.

[0053] The computer program product described herein can be embodied in a specific manner by hardware, software, or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), and the like.

[0054] The computer program product described herein can be embodied in a specific manner by hardware, software, or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), and the like.

[0055] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can be a computer- readable storage medium having no data storage cycles that change state. The instructions can be executed by one or more processors of a computer, other programmable data processing apparatus, or other devices to produce a computer-implemented process such that the instructions which execute via the one or more processors of the computer or other programmable data processing devices create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0056] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0057] The flow diagrams and the block diagrams in the drawings are presented to illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to the present application. In this regard, each block in the flow diagrams and the block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions ("instructions"). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and

[0058] Example embodiments have been disclosed herein and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics or aspects described in relation to one embodiment can be applied to other embodiments, unless otherwise clearly stated. It will also be apparent to one skilled in the art that various modifications, changes, additions and omissions can be made without departing from the scope of the present application as set forth in the claims.

Claims

1. A Cesium-based adaptive multi-view trajectory flythrough optimization method, characterized in that, include: Obtain the original path points and process them to generate a smooth path; The time rate of the smooth path motion is dynamically adjusted. The number of interpolation points for the smooth path is dynamically adjusted; The dynamically adjusted path is loaded and bound to the path through a dual-mode perspective; The path is rendered in real time and interacted with by the user.

2. The optimization method according to claim 1, characterized in that, The original path point coordinates are processed using the Catmull-Rom spline dynamic interpolation method and the path inflection point perpendicular midpoint optimization method to generate a smooth path. The specific processing steps of the Catmull-Rom spline dynamic interpolation method include: The original path points are sorted by time or space. After sorting, the path points are divided into continuous multi-segment combinations. Each segment combination corresponds to an interpolation interval of the curve, and the interpolation progress parameter in the interpolation interval is set. Obtain multiple control points in the current interval, substitute the coordinates of the control points and the interpolation progress parameters into the Catmull-Rom formula, and calculate the interpolation points in the interpolation interval; set the interpolation step size according to the requirements to ensure that the curve is smooth and without jumps.

3. The optimization method according to claim 1, characterized in that, The specific steps of the path inflection point perpendicular line midpoint optimization method include: Path preprocessing and inflection point detection: Obtain the original path point sequence, calculate the angle between adjacent path segments, compare the angle with a preset threshold, and if the angle is greater than the preset threshold, determine that the endpoint of the angle is an inflection point. Calculate the direction of the perpendicular line and determine its starting point and length to construct the inflection point perpendicular line. Calculate the midpoint of the perpendicular line and replace the original inflection point with the midpoint of the perpendicular line to form a naturally transitioning turning path.

4. The optimization method according to claim 2, characterized in that, When processing the original path points, the terrain mode of the path is also determined. If it is a non-terrain mode, the terrain and non-terrain processing logic is separated by the terrain parameter. If it is a terrain mode, the Cesium.sampleTerrainMostDetailed interface is called to obtain terrain elevation data in real time and the height of the interpolation point is adjusted.

5. The optimization method according to claim 1, characterized in that, Based on the path length and speed parameters, the time interval of each interpolation point is calculated, and the time rate of the smooth path motion is dynamically adjusted. The specific method includes: segmenting the path and extracting the geometric features of the path; setting the maximum allowable speed of the path; calculating the theoretical time interval of each segment based on the path segment length and speed, and correcting the speed by considering acceleration constraints; smoothing the time interval; and synchronizing the global time.

6. The optimization method according to claim 1, characterized in that, The number of interpolation points for the smooth path is dynamically adjusted based on the path length. Specific methods include: The path is segmented and geometric features are extracted. The original path is discretized into multiple control points. The length of each path segment and the total path length are calculated. The local curvature of each control point is calculated. Based on the path length and curvature distribution, the number of interpolation points N for each path segment is dynamically determined, and then the total number of interpolation points is obtained by summing them up. Based on the allocated N, interpolation is performed on each path segment, and the result after difference is optimized.

7. The optimization method according to claim 1, characterized in that, The dual-view mode includes a first-person view mode and a third-person view mode. In the first-person view mode, the camera is fixed in front of the model and the movement direction is synchronized in real time. The third-person view mode supports dynamic adjustment of the camera height, pitch angle and yaw angle, and enables panoramic observation.

8. A Cesium-based adaptive multi-view trajectory roaming optimization system, characterized in that, include: The system includes a smooth path generation unit, a time rate adjustment unit, an interpolation point number adjustment unit, a viewpoint and path binding unit, and a real-time rendering and interaction unit; among which: A smooth path generation unit is used to obtain original path points and process the original path points to generate a smooth path. A time rate adjustment unit is used to dynamically adjust the time rate of the smooth path motion; The interpolation point number adjustment unit is used to dynamically adjust the number of interpolation points of the smooth path; A viewpoint and path binding unit is used to load the dynamically adjusted path and bind it to the path through a dual-mode viewpoint. The real-time rendering and interaction unit is used to render the path in real time and interact with the user.

9. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the optimization method as described in any one of claims 1 to 7.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps in the optimization method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Method and device for fitting model and terrain area in Cesium scene

    CN121616774A

  • Method and apparatus for implementing model and terrain region fitting in cesium scene

    CN121616774B

  • Light-weight BIM model manual roaming path generation and optimization method and system based on Catmull-Rom curve

    CN122336220A