Three-dimensional panoramic layer switching and loading method and system based on multiple spatial parameters
By adopting multi-space parameter layer switching algorithm and data compression, chunking, and parallel processing technology in GIS technology, the problems of low layer switching efficiency and poor user experience in the three-dimensional data set in the existing technology are solved, and fast, accurate and friendly three-dimensional data management and visualization are achieved.
Patent Information
- Application Number
- CN202411634458.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-07
AI Technical Summary
The existing GIS technology has problems of low layer switching efficiency, insufficient accuracy and poor user experience in large-scale three-dimensional datasets.
By collecting three-dimensional geographic data, extracting key spatial parameters, developing a layer switching algorithm based on multi-space parameters, using data compression, chunking, and parallel processing technologies for data loading and rendering, providing a personalized customized interface, optimizing system performance, ensuring cross-platform compatibility and real-time data updates.
It realizes fast, accurate and friendly three-dimensional data management and visualization, improves the user's data processing and analysis efficiency in the GIS environment, and provides richer, more accurate and intuitive data information.
Smart Images

Figure CN119576952A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of processing and management of three-dimensional geographic data, and in particular to a three-dimensional panoramic layer switching loading method and system based on multiple spatial parameters. Background Art
[0002] The closest existing technology to the 3D panoramic layer switching and loading technology based on multiple spatial parameters is the layer management and switching technology based on geographic information system (GIS) and 3D visualization.
[0003] Currently in the GIS field, commonly used layer management and switching technologies include layer controllers, layer trees, and layer management panels. These technologies allow users to load, display, and control different map layers in GIS software for data analysis and visualization. Users can control the visibility and overlay relationship of layers by selecting, hiding, showing, and changing the order of layers. When it comes to large-scale three-dimensional data sets, existing technologies may have efficiency problems in layer switching and loading. When loading and switching a large number of layers, delays and performance degradation may occur, affecting the user experience. Existing technologies may have accuracy problems in handling multi-spatial parameters and global layer switching and loading. In particular, when it comes to complex three-dimensional data sets and interactions between multiple layers, existing technologies may not provide highly accurate layer switching and loading. User experience issues: Existing technologies may have some limitations in user experience. Users may need to take multiple steps to achieve layer switching and loading, which may increase operational complexity and learning costs.
[0004] The 3D panoramic layer switching and loading technology based on multi-spatial parameters is designed to address the shortcomings of these existing technologies and provide a more efficient, precise and user-friendly layer switching and loading experience. Summary of the invention
[0005] In view of the above existing problems, the present invention is proposed.
[0006] Therefore, the present invention provides a 3D panoramic layer switching and loading method based on multiple spatial parameters, which can solve the problems of low layer switching efficiency, insufficient accuracy and poor user experience in GIS under large-scale 3D data sets. By optimizing data loading, improving accuracy and simplifying operation procedures, fast, accurate and friendly 3D data management and visualization can be achieved.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions, a three-dimensional panoramic layer switching and loading method based on multiple spatial parameters, including: collecting three-dimensional geographic data and extracting key spatial parameters from the data; storing and managing data and attributes of different layers through a layer management model, and determining the hierarchy, attributes and relationships of the layers; developing a layer switching algorithm based on multiple spatial parameters to meet user input and layer loading requirements under specific conditions; using data compression, blocking, and parallel processing technology to load and render data, and quickly load and display data of the selected layer; providing a personalized customization interface, optimizing system performance, ensuring cross-platform compatibility, performing real-time data updates, and strengthening security and privacy protection.
[0008] As a preferred solution of the 3D panoramic layer switching and loading method based on multiple spatial parameters described in the present invention, wherein: the data collection and spatial parameter extraction include HOG feature extraction, graying and gamma correction of the pre-processed image, and using gradient calculation to obtain the gradient size and direction of each pixel in the image;
[0009] The image is divided into several cells, and the histogram of the gradient direction is calculated in each cell. The histogram in each block is normalized, and the feature vectors of all blocks are connected in series to form a HOG descriptor. The spatial position and direction of each feature point are calculated according to the imaging model of the image and the position information of the camera. Combined with the point cloud data, the extracted HOG features are matched with the point cloud features to identify the same objects in different images, and the multimodal data are fused to create a comprehensive three-dimensional spatial representation.
[0010] As a preferred solution of the 3D panoramic layer switching and loading method based on multiple spatial parameters described in the present invention, the layer management model includes layer structure design, layer interaction, layer state management, and performance optimization. The core content of the 3D panoramic layer switching and loading technology is described through the relationship between layers, layer visibility and priority, and the results are output to realize layer management.
[0011] The layer structure design includes, according to the user's perspective and the basic layer structure, using a visual correlation function to calculate potential visual correlation layers, simulating the correlation between layers by a Gaussian function, using a random walk algorithm to represent the visual correlation between layers, and calculating the data dependency between layers;
[0012] The layer interaction includes calculating layers with high data dependency according to data dependency, and selecting layers suitable for the current platform in combination with platform compatibility.
[0013] As a preferred solution of the 3D panoramic layer switching loading method based on multiple spatial parameters of the present invention, the layer state management includes defining layer visibility and priority, determining the loaded and unloaded layers through layer loading and unloading functions, updating the layer state according to the user's behavior and the dynamic state of the layer, and obtaining the updated state function;
[0014] Monitor the performance of layer loading and interaction in real time, adjust the layer interaction logic through the optimized interaction efficiency function, use information entropy to manage the validity of data, and record the user's final state after ending the interaction with the application for initialization of the next interaction.
[0015] As a preferred solution of the 3D panoramic layer switching loading method based on multiple spatial parameters of the present invention, the layer switching algorithm includes determining user input position data, layer preference, and viewing angle information, and allowing the user to adjust weight coefficients and parameters;
[0016] Before actually applying the changes, the user previews the layer switching results. When the layer switching occurs, the system provides immediate feedback to inform the user of the selected layer, allowing the user to interact and adjust the input and parameters according to the feedback each time until a satisfactory layer switching effect is achieved. The specific calculation method is:
[0017] F(x,y,z,P i ,C)=ρ·exp(-κ·dist(x,P i ) 2 )·sin(ω·angle(x,C))
[0018]
[0019] Among them, F represents the visual impact of the point (x, y, z) on the calculation layer, and H i represents the evaluation of the layer interaction quality, N represents the automatic adjustment of layer parameters, ρ and κ represent the visual adjustment coefficients, and dist represents the point x and the layer position P i The distance between them, ω represents the frequency, angle represents the angle between x and the camera position C, ζ and η represent the layer interaction adjustment parameters, ReLU represents the rectified linear unit activation function, m represents the number of features, Φ j represents the weight parameter, X j Represents the input features.
[0020] As a preferred solution of the three-dimensional panoramic layer switching loading method based on multiple spatial parameters described in the present invention, the data loading and rendering includes: monitoring the network status, device performance, and currently loaded layer information, calculating and determining the block data to be loaded according to the user's perspective and movement direction, compressing the block data, and preparing for rendering; using multi-threading technology, loading and rendering multiple block data in parallel, using GPU to accelerate the rendering process, optimizing the rendering pipeline according to the user's perspective and layer characteristics, and reducing unnecessary rendering;
[0021] When the GPU usage rate exceeds 80%, the system automatically reduces the data compression rate to reduce the pressure on the device. When the network bandwidth is lower than 2MB / s, the system automatically switches the compression algorithm.
[0022] When the user's movement speed exceeds 2m / s, the system will prioritize loading the block data within the user's field of view. When the user's interaction frequency exceeds 5 times / second, the system will automatically adjust the layer detail level.
[0023] When the light changes by more than 1000 lux or the ambient temperature changes by more than 5°C, the system automatically adjusts the layer detail level to adapt to the rendering efficiency under different lighting conditions;
[0024] When the data loading time exceeds 3 seconds, the system automatically starts parallel processing technology, and when the rendering time exceeds 1 second, the system automatically adjusts the layer detail level.
[0025] As a preferred solution of the method for switching and loading three-dimensional panoramic layers based on multiple spatial parameters described in the present invention, wherein: the optimization of system performance includes the system automatically detecting the performance parameters of the user's device, adjusting the interface complexity according to the device capabilities, dynamically loading the most frequently used layers and controls according to the user's historical data usage pattern, and providing shortcut operations and macro commands to simplify the process when the user's operation frequency exceeds a preset threshold;
[0026] Use predictive caching mechanism to preload data based on user behavior to reduce waiting time, implement progressive function enhancement, conduct stress testing in different network environments to ensure that the system remains stable when the network fluctuates, and use user feedback collection module to monitor user satisfaction in real time and use it as a basis for performance optimization;
[0027] The system architecture is designed as a microservice, using a distributed database for data storage. Through horizontal expansion and modular design, independent updates and replacement of components are performed to ensure consistency on different operating systems and devices.
[0028] The system seamlessly connects with real-time data sources and automatically synchronizes the latest data. When changes in key data are detected, the system prompts the user to refresh the view. In an unstable network environment, it prioritizes the update of key data. Through end-to-end encryption and the principle of least privilege, it limits access to sensitive data, conducts regular security audits and vulnerability scans, and promptly fixes security vulnerabilities.
[0029] Another object of the present invention is to provide a three-dimensional panoramic layer switching and loading system based on multiple spatial parameters, which can utilize the technical means of multiple spatial parameters and panoramic layer switching and loading to achieve faster and more accurate layer switching and loading, and improve the user's data processing and analysis efficiency in the GIS environment.
[0030] As a preferred solution of the three-dimensional panoramic layer switching and loading system based on multi-spatial parameters described in the present invention, it includes: a user interaction module, a multi-spatial parameter analysis module, a layer database module, a data compression and transmission module, a block loading and rendering module, and a system control and optimization module;
[0031] The user interaction module collects user location, viewing angle and interaction intention data;
[0032] The spatial parameter analysis module processes and analyzes the multi-spatial parameter data collected by the user to provide a basis for layer selection;
[0033] The layer database module stores and manages different types of layer data;
[0034] The data compression and transmission module compresses the layer data to reduce transmission requirements, and decompresses it on the client side for rendering;
[0035] The block loading and rendering module divides the layer data into small blocks, and loads and renders them on demand;
[0036] The system control and optimization module controls the operation of the entire system and performs optimization according to user needs and system status.
[0037] A computer device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, steps of a three-dimensional panoramic layer switching loading method based on multiple spatial parameters are implemented.
[0038] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of a three-dimensional panoramic layer switching loading method based on multiple spatial parameters.
[0039] The beneficial effects of the present invention are as follows: By switching different layers, the method can obtain data from different angles and dimensions, thereby improving classification accuracy, simplifying the data processing and analysis process, allowing users to quickly switch and load different layers, achieving real-time data visualization and analysis, providing users with richer, more accurate and intuitive data information, and supporting the analysis, decision-making and visualization of geographic information. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0041] Figure 1 A schematic flow chart of a method for switching and loading three-dimensional panoramic layers based on multiple spatial parameters provided by an embodiment of the present invention.
[0042] Figure 2 A schematic diagram of working modules of a 3D panoramic layer switching and loading system based on multiple spatial parameters provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0045] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0046] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0047] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0048] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] Example 1, reference Figure 1 , which is the first embodiment of the present invention, and provides a 3D panoramic layer switching loading method based on multiple spatial parameters, comprising:
[0050] S1: Collect 3D geographic data and extract key spatial parameters from the data.
[0051] Furthermore, the data collection and spatial parameter extraction include HOG feature extraction, graying and gamma correction of the pre-processed image, and gradient calculation to obtain the gradient size and direction of each pixel in the image:
[0052]
[0053] θ=arctan2(G y ,G x )
[0054] Among them, g represents the gradient size, θ represents the gradient direction, G x , G y Represents horizontal and vertical gradients;
[0055] The image is divided into several cells, and the histogram of the gradient direction is calculated in each cell. The histogram in each block is normalized, and the feature vectors of all blocks are connected in series to form a HOG descriptor. The spatial position and direction of each feature point are calculated according to the imaging model of the image and the position information of the camera. Combined with the point cloud data, the extracted HOG features are matched with the point cloud features to identify the same objects in different images, and the multimodal data are fused to create a comprehensive three-dimensional spatial representation.
[0056] S2: Store and manage data and attributes of different layers through the layer management model, and determine the hierarchy, attributes and relationships of the layers.
[0057] Furthermore, the layer management model includes layer structure design, layer interaction, layer state management, and performance optimization. The core content of the 3D panoramic layer switching loading technology is described through the relationship between layers, layer visibility and priority, and the results are output to realize layer management.
[0058] The layer structure design includes calculating potential visual correlation layers using a visual correlation function according to the user's perspective and the basic layer structure, and simulating the correlation between layers using a Gaussian function:
[0059]
[0060] where x1,x2,...,x n Represents the characteristic parameters of different layers, σ rel is a parameter that controls the strength of the correlation, n represents the number of layers, and a random walk algorithm is used to represent the visual correlation between layers:
[0061]
[0062] Among them, A is the adjacency matrix of the graph, D is a diagonal matrix, the elements on the diagonal are the row sums of A, and the data dependencies between layers are calculated at the same time:
[0063]
[0064] Where Q represents a positive definite matrix, c represents a vector;
[0065] The layer interaction includes calculating the layers with high data dependency according to the data dependency, and selecting the layers suitable for the current platform in combination with the platform compatibility:
[0066]
[0067] Among them, \erf represents the error function, d ij represents the platform compatibility distance between layers i and j, σ ijIndicates the compatibility standard deviation.
[0068] Furthermore, the layer state management includes defining layer visibility and priority;
[0069]
[0070] Among them, a i Represents the visibility and priority parameters of control layer i;
[0071] The loaded and unloaded layers are determined by the layer loading and unloading functions. The layer status is updated according to the user's behavior and the dynamic status of the layer. The updated status function is:
[0072]
[0073] Among them, f load For loading and unloading functions, k i represents the loading and unloading speed parameter of control layer i, t represents time, represents the inverse Laplace transform, s represents a complex variable, S i is the updated state function;
[0074] Monitor the performance of layer loading and interaction in real time, adjust the layer interaction logic through the optimized interaction efficiency function, use information entropy to manage the validity of data, and record the user's final state after ending the interaction with the application for initialization of the next interaction.
[0075] S3: Develop a layer switching algorithm based on multiple spatial parameters to meet the needs of user input and layer loading under specific conditions.
[0076] Furthermore, the layer switching algorithm includes determining user input position data, layer preferences, and viewing angle information, and allowing the user to adjust weight coefficients and parameters;
[0077]
[0078] Among them, L represents the layer selection probability, ∫ M represents the manifold of the layer in three-dimensional space, μ represents the measure on the manifold, n represents the number of layers, α i represents the weight coefficient of the i-th layer, and Ψ represents the adjustment parameter;
[0079] Before actually applying the changes, the user previews the layer switching results. When the layer switching occurs, the system provides immediate feedback to inform the user of the selected layer, allowing the user to interact and adjust the input and parameters according to the feedback each time until a satisfactory layer switching effect is achieved. The specific calculation method is:
[0080] F(x,y,z,Pi ,C)=ρ·exp(-κ·dist(x,P i ) 2 )·sin(ω·angle(x,C))
[0081]
[0082] Among them, F represents the visual impact of the point (x, y, z) on the calculation layer, and H i represents the evaluation of the layer interaction quality, N represents the automatic adjustment of layer parameters, ρ and κ represent the visual adjustment coefficients, and dist represents the point x and the layer position P i The distance between them, ω represents the frequency, angle represents the angle between x and the camera position C, η represents the layer interaction adjustment parameter, ReLU represents the rectified linear unit activation function, m represents the number of features, Φ j represents the weight parameter, X j Represents the input features.
[0083] S4: Uses data compression, block segmentation, and parallel processing technology for data loading and rendering, quickly loading and displaying data of the selected layer.
[0084] Furthermore, the data loading and rendering includes monitoring the network status, device performance, and currently loaded layer information, calculating and determining the block data to be loaded according to the user's perspective and movement direction, compressing the block data, and preparing for rendering; using multi-threading technology to load and render multiple block data in parallel, using GPU to accelerate the rendering process, optimizing the rendering pipeline according to the user's perspective and layer characteristics, and reducing unnecessary rendering;
[0085] When the GPU usage rate exceeds 80%, the system automatically reduces the data compression rate to reduce the pressure on the device. When the network bandwidth is lower than 2MB / s, the system automatically switches the compression algorithm.
[0086] When the user's movement speed exceeds 2m / s, the system will prioritize loading the block data within the user's field of view. When the user's interaction frequency exceeds 5 times / second, the system will automatically adjust the layer detail level.
[0087] When the light changes by more than 1000 lux or the ambient temperature changes by more than 5°C, the system automatically adjusts the layer detail level to adapt to the rendering efficiency under different lighting conditions;
[0088] When the data loading time exceeds 3 seconds, the system automatically starts parallel processing technology, and when the rendering time exceeds 1 second, the system automatically adjusts the layer detail level.
[0089] S5: Provides a personalized interface, optimizes system performance, ensures cross-platform compatibility, performs real-time data updates, and enhances security and privacy protection.
[0090] Furthermore, the optimization of system performance includes the system automatically detecting the performance parameters of the user's device and adjusting the interface complexity according to the device's capabilities, dynamically loading the most frequently used layers and controls according to the user's historical data usage pattern, and providing shortcut operations and macro commands to simplify the process when the user's operation frequency exceeds a preset threshold;
[0091] Use predictive caching mechanism to preload data based on user behavior to reduce waiting time, implement progressive function enhancement, conduct stress testing in different network environments to ensure that the system remains stable when the network fluctuates, and use user feedback collection module to monitor user satisfaction in real time and use it as a basis for performance optimization;
[0092] The system architecture is designed as a microservice, using a distributed database for data storage. Through horizontal expansion and modular design, independent updates and replacement of components are performed to ensure consistency on different operating systems and devices.
[0093] The system seamlessly connects with real-time data sources and automatically synchronizes the latest data. When changes in key data are detected, the system prompts the user to refresh the view. In an unstable network environment, it prioritizes the update of key data. Through end-to-end encryption and the principle of least privilege, it limits access to sensitive data, conducts regular security audits and vulnerability scans, and promptly fixes security vulnerabilities.
[0094] Embodiment 2, an embodiment of the present invention, provides a 3D panoramic layer switching and loading method based on multiple spatial parameters. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.
[0095] Establish a laboratory environment equipped with multiple computers and network equipment to simulate different network conditions. Install image processing software, 3D modeling software, data compression tools, etc. on each computer. Collect 3D geographic data, including image data, point cloud data, etc., and pre-process this data to adapt to subsequent extraction and analysis.
[0096] By comparing the data of the prior art and the present invention, in terms of data loading and rendering, the present invention can significantly reduce the loading time and improve the rendering efficiency. The system architecture and data storage method of the present invention also show high scalability and stability.
[0097] Test data includes: data loading time (unit: seconds); rendering time (unit: seconds); user satisfaction score (1-10); system stability score (1-10); system performance score (1-10); energy consumption (unit: W); device heat generation (unit: ℃)
[0098] Under different network bandwidth conditions, handle data loading requirements under different network conditions: data loading time when the network bandwidth is 1MB / s, 5MB / s, 9MB / s, 16MB / s, 20MB / s, 33MB / s, and 50MB / s.
[0099] In terms of data loading and rendering, the loading time of our invention is 50% faster than the existing technology, and the rendering time is 46% faster. This shows that our invention can respond to user needs more quickly and provide a smoother user experience.
[0100] In terms of user satisfaction, the score of our invention is 6 points higher than that of the existing technology, which shows that users are more satisfied with the system invented by us. In terms of system stability, the score of our invention is 7.3 points higher than that of the existing technology, which shows that the system invented by us is more stable and reliable. In terms of system performance, the score of our invention is 8 points higher than that of the existing technology, which shows that the system performance of our invention is more superior.
[0101] In terms of energy consumption and equipment heat generation, our invention also has lower data than the existing technology, which shows that our invented system is more energy-efficient during operation and puts less pressure on the equipment.
[0102] From these data, we can conclude that by adopting multi-threading technology and GPU accelerated rendering, our invention can improve the performance and response speed of the system. Through predictive caching mechanism and real-time monitoring of user satisfaction, it can better adapt to different user needs and environmental conditions.
[0103] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
[0104] Embodiment 3, the third embodiment of the present invention, is different from the first two embodiments in that:
[0105] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0106] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0107] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0108] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0109] Example 4, reference Figure 2 , which is an embodiment of the present invention, provides a three-dimensional panoramic layer switching and loading system based on multi-spatial parameters, characterized by: including a user interaction module, a multi-spatial parameter analysis module, a layer database module, a data compression and transmission module, a block loading and rendering module, and a system control and optimization module.
[0110] The user interaction module collects user location, viewing angle, and interaction intention data.
[0111] The spatial parameter analysis module processes and analyzes the multi-spatial parameter data collected by users to provide a basis for layer selection.
[0112] Layer database module stores and manages different types of layer data.
[0113] The data compression and transmission module compresses layer data to reduce transmission requirements and decompresses it on the client for rendering.
[0114] The block loading and rendering module divides the layer data into small blocks and loads and renders them on demand.
[0115] The system control and optimization module controls the operation of the entire system and optimizes it according to user needs and system status.
[0116] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A 3D panoramic layer switching loading method based on multiple spatial parameters, characterized in that: include, Collect three-dimensional geographic data and extract key spatial parameters from the data; Through the layer management model, the data and attributes of different layers are stored and managed, and the layer hierarchy, attributes and relationships are determined; Develop a layer switching algorithm based on multiple spatial parameters to meet the needs of user input and layer loading under specific conditions; Use data compression, block division, and parallel processing technology to load and render data, quickly load and display the data of the selected layer; Provide a personalized interface, optimize system performance, ensure cross-platform compatibility, perform real-time data updates, and enhance security and privacy protection.
2. The method for switching and loading 3D panoramic layers based on multiple spatial parameters according to claim 1, characterized in that: The key spatial parameter extraction includes HOG feature extraction, graying and gamma correction of the pre-processed image, and using gradient calculation to obtain the gradient size and direction of each pixel in the image; The image is divided into several cells, and the histogram of the gradient direction is calculated in each cell. The histogram in each block is normalized, and the feature vectors of all blocks are connected in series to form a HOG descriptor. The spatial position and direction of each feature point are calculated according to the imaging model of the image and the position information of the camera. Combined with the point cloud data, the extracted HOG features are matched with the point cloud features to identify the same objects in different images, and the multimodal data are fused to create a comprehensive three-dimensional spatial representation.
3. The method for switching and loading 3D panoramic layers based on multiple spatial parameters as claimed in claim 2, characterized in that: The layer management model includes layer structure design, layer interaction, layer status management, and performance optimization. It describes the core content of the 3D panoramic layer switching and loading technology through the relationship between layers, layer visibility and priority, and outputs the results to achieve layer management. The layer structure design includes, according to the user's perspective and the basic layer structure, using a visual correlation function to calculate potential visual correlation layers, simulating the correlation between layers by a Gaussian function, using a random walk algorithm to represent the visual correlation between layers, and calculating the data dependency between layers; The layer interaction includes calculating layers with high data dependency according to data dependency, and selecting layers suitable for the current platform in combination with platform compatibility.
4. The method for switching and loading 3D panoramic layers based on multiple spatial parameters as claimed in claim 3, characterized in that: The layer state management includes defining layer visibility and priority; Among them, a i Represents the visibility and priority parameters of control layer i; Determine the loaded and unloaded layers through the layer loading and unloading functions, update the layer status according to the user's behavior and the dynamic status of the layer, and obtain the updated status function; Monitor the performance of layer loading and interaction in real time, adjust the layer interaction logic through the optimized interaction efficiency function, use information entropy to manage the validity of data, and record the user's final state after ending the interaction with the application for initialization of the next interaction.
5. The method for switching and loading 3D panoramic layers based on multiple spatial parameters according to claim 4, characterized in that: The layer switching algorithm includes determining user input position data, layer preferences, and viewing angle information, allowing the user to adjust weight coefficients and parameters; Before actually applying the changes, the user previews the layer switching results. When the layer switching occurs, the system provides immediate feedback to inform the user of the selected layer, allowing the user to interact and adjust the input and parameters according to the feedback each time until a satisfactory layer switching effect is achieved. The specific calculation method is: F(x,y,z,P i ,C)=ρ·exp(-κ·dist(x,P i ) 2 )·sin(ω·angle(x,C)) Among them, F represents the visual impact of the point (x, y, z) on the calculation layer, and H i represents the evaluation of the layer interaction quality, N represents the automatic adjustment of layer parameters, ρ and κ represent the visual adjustment coefficients, and dist represents the point x and the layer position P i The distance between them, ω represents the frequency, angle represents the angle between x and the camera position C, η represents the layer interaction adjustment parameter, ReLU represents the rectified linear unit activation function, m represents the number of features, Φ j represents the weight parameter, X j Represents the input features.
6. The method for switching and loading 3D panoramic layers based on multiple spatial parameters according to claim 5, characterized in that: The data loading and rendering includes monitoring the network status, device performance, and currently loaded layer information, calculating and determining the block data to be loaded according to the user's viewing angle and movement direction, compressing the block data, and preparing for rendering; Use multi-threading technology to load and render multiple blocks of data in parallel, use GPU to accelerate the rendering process, optimize the rendering pipeline according to the user's perspective and layer characteristics, and reduce unnecessary rendering; When the GPU usage rate exceeds 80%, the system automatically reduces the data compression rate to reduce the pressure on the device. When the network bandwidth is lower than 2MB / s, the system automatically switches the compression algorithm. When the user's movement speed exceeds 2m / s, the system will prioritize loading the block data within the user's field of view. When the user's interaction frequency exceeds 5 times / second, the system will automatically adjust the layer detail level. When the light changes by more than 1000 lux or the ambient temperature changes by more than 5°C, the system automatically adjusts the layer detail level to adapt to the rendering efficiency under different lighting conditions; When the data loading time exceeds 3 seconds, the system automatically starts parallel processing technology, and when the rendering time exceeds 1 second, the system automatically adjusts the layer detail level.
7. The method for switching and loading 3D panoramic layers based on multiple spatial parameters according to claim 6, characterized in that: The optimization of system performance includes the system automatically detecting the performance parameters of the user's device and adjusting the interface complexity according to the device's capabilities, dynamically loading the most frequently used layers and controls according to the user's historical data usage pattern, and providing shortcut operations and macro commands to simplify the process when the user's operation frequency exceeds a preset threshold; Use predictive caching mechanism to preload data based on user behavior to reduce waiting time, implement progressive function enhancement, conduct stress testing in different network environments to ensure that the system remains stable when the network fluctuates, and use user feedback collection module to monitor user satisfaction in real time and use it as a basis for performance optimization; The system architecture is designed as a microservice, using a distributed database for data storage. Through horizontal expansion and modular design, independent updates and replacement of components are performed to ensure consistency on different operating systems and devices. The system seamlessly connects with real-time data sources and automatically synchronizes the latest data. When changes in key data are detected, the system prompts the user to refresh the view. In an unstable network environment, it prioritizes the update of key data. Through end-to-end encryption and the principle of least privilege, it limits access to sensitive data, conducts regular security audits and vulnerability scans, and promptly fixes security vulnerabilities.
8. A system using the 3D panoramic layer switching and loading method based on multiple spatial parameters as claimed in any one of claims 1 to 7, characterized in that: It includes user interaction module, multi-space parameter analysis module, layer database module, data compression and transmission module, block loading and rendering module, and system control and optimization module; The user interaction module collects user location, viewing angle and interaction intention data; The spatial parameter analysis module processes and analyzes the multi-spatial parameter data collected by the user to provide a basis for layer selection; The layer database module stores and manages different types of layer data; The data compression and transmission module compresses the layer data to reduce transmission requirements, and decompresses it on the client side for rendering; The block loading and rendering module divides the layer data into small blocks, and loads and renders them on demand; The system control and optimization module controls the operation of the entire system and performs optimization according to user needs and system status.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.