Fuzzy rendering system and method suitable for XR service

By dynamically adjusting rendering priority and resource allocation, the fuzzy rendering system promptly recycles resources solves the problems of rendering delay and resource waste in virtual reality technology, improving user experience and rendering efficiency.

CN118840469AActive Publication Date: 2024-10-25BEIJING DANG HONG QI TIAN INT CULTURE DEV GRP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410874619.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-25
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

Existing virtual reality technology has delays and freezes during the rendering process, and resources cannot be effectively recycled, resulting in resource waste and poor user experience. The traditional blur rendering method is static and cannot dynamically adjust the blur level, affecting the clarity of the XR environment.

Method used

A fuzzy rendering system including scene object storage, allocation, event management, rendering and recycling modules is designed. By monitoring user gaze points and system events in real time, the rendering priority and resource allocation are dynamically adjusted, and the heap sorting algorithm is used to optimize the rendering queue. Preload and cache resources, and recycle unnecessary resources in a timely manner.

Benefits of technology

It improves rendering efficiency and user experience, ensures that key objects are rendered preferentially within the user's field of view, reduces lags and delays, optimizes resource utilization, and ensures the continuity and stability of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840469A_ABST
    Figure CN118840469A_ABST
Patent Text Reader

Abstract

The invention discloses a fuzzy rendering system and method suitable for XR business, and the system comprises a scene object storage module, a scene object distribution module, a system event management module, a scene rendering module, and a recovery module. The scene object distribution module is used for acquiring the scene object stored by the scene object storage module and distributing the scene object for a user, and the system event management module is used for monitoring a system event generated by an event source in real time and calculating a rendering rate Rrender and a recovery rate Rrecycle of the scene object. The scene rendering module is used for controlling the rendering rate of the scene object according to the rendering rate Rrender, and the recycling module is used for recycling resources used in the rendering process and recycling the scene object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality technology, and in particular to a fuzzy rendering system and method suitable for XR business. Background Art

[0002] At present, due to the rapid development of the Internet, more and more people are interested in the virtual world. However, some systems of current virtual reality technology have problems of delay and jamming during the rendering process, fail to effectively recycle resources after rendering, and cause scenes to overlap in space, resulting in waste of resources and failure to provide users with a good visual presentation. Traditional blur rendering methods are usually static, and the ability to render the blur intensity of the scene is limited. The degree of blur cannot be dynamically adjusted according to the user's gaze point. This leads to unnecessary loss of clarity or excessive blur around the object the user is looking at in the XR environment, affecting the user experience of the virtual scene. Summary of the invention

[0003] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: the present invention is a fuzzy rendering system suitable for XR business, comprising a scene object storage module, a scene object allocation module, a system event management module, a scene rendering module and a scene object recycling module, the input end of the scene object storage module is connected to the output end of the recycling module, the input end of the scene object allocation module is connected to the output end of the scene object storage module, the input end of the system event management module is connected to the output end of the scene object allocation module, the input end of the scene rendering module is connected to the output end of the system event management module, and the input end of the recycling module is connected to the output ends of the scene object allocation module, the system event management module and the scene rendering module;

[0004] The scene object storage module is used to store pre-configured scene objects. By pre-configuring and storing the scene objects, the real-time calculation and resource loading time in the rendering process can be reduced, thereby improving the rendering efficiency;

[0005] The scene object allocation module is used to obtain the scene object stored in the scene object storage module and allocate the scene object to the user;

[0006] The system event management module is used to monitor the system events generated by the event source in real time, and calculate the rendering rate Rrender and the recycling rate Rrecycle of the scene object;

[0007] The scene rendering module is used to control the rendering rate of the scene object according to the rendering rate Rrender;

[0008] The recycling module is used to recycle the resources used in the rendering process and recycle the scene object.

[0009] Further, the system event management module includes a system event monitoring submodule, a priority allocation submodule, a rendering queue construction submodule, a system characteristic acquisition submodule, a system event characteristic acquisition submodule, a rate calculation submodule and a system event response submodule;

[0010] The system event monitoring submodule is used to monitor the system events generated by the event source in real time to ensure that the system can respond to user operations and scene logic in a timely manner. The system events include events that require rendering or recycling corresponding scene objects based on user interaction behaviors and events that require rendering or recycling corresponding scene objects based on scene logic;

[0011] The priority allocation submodule is used to allocate a rendering priority to each scene object according to the system event, dynamically adjust the rendering order of the scene objects according to the occurrence of the system event, so as to optimize the rendering performance and improve the user experience, and store the rendering priority allocation information in the data structure of the scene object for use by the rendering queue construction module;

[0012] The rendering queue construction submodule is used to construct a rendering queue according to the rendering priority allocation information, and use a heap sorting algorithm to sort the scene objects in order from high to low priority, and the scene objects with high priority are placed in front of the rendering queue, so as to construct a reasonable rendering queue, ensure that those objects with higher priority are processed first during rendering, thereby improving rendering efficiency and user experience;

[0013] The system characteristic acquisition submodule is used to acquire system characteristics from a configuration management database, wherein the system characteristics include the CPU usage Sperformance of the current system, the performance threshold Tthreshold of the current system, and the memory resources Mmemory available to the current system. The configuration management database is used to store system characteristics;

[0014] The system event characteristic acquisition submodule is used for analyzing the system event to obtain the characteristics of the system event, wherein the characteristics of the system event include the rendering priority Epriority of the scene object, the complexity Ocomplexity of the scene object and the weight Oweight of the scene object;

[0015] The rate calculation submodule is used to calculate the rendering rate and recycling rate of the scene object according to the system characteristics and the characteristics of the corresponding system events. The rendering rate Rrender and the recycling rate Rrecycle are calculated by the following formula:

[0016]

[0017] By properly adjusting the rendering rate, key objects or areas can be rendered first within the user's field of view, thereby improving the user's perception of the scene and the speed of interactive response. At the same time, effective resource recycling can ensure that the system will not freeze or crash due to resource exhaustion, ensuring the continuity and stability of the user experience.

[0018] The system event response submodule is used to trigger corresponding rendering or recycling operations according to specific system event content to ensure real-time updating and presentation of the scene.

[0019] Further, the scene rendering module includes a preloading and caching submodule, an identification allocation submodule, a detail rendering submodule, a preloading and caching submodule, a scene object coordinate acquisition submodule, a distance calculation submodule, a blur intensity value calculation submodule, a blur processing rate control submodule and a blur processing submodule;

[0020] The preloading and caching submodule is used to assign the scene objects of different rendering priorities to different threads for processing, ensuring that the workload of each thread is reasonable and independent of each other; controlling each thread to load and cache the required rendering resources in advance according to the rendering priority of the scene object, so as to reduce delays and freezes in the rendering process, and the rendering resources loaded and cached by the corresponding threads of the scene objects with different rendering priorities are also different;

[0021] The identifier allocation submodule is used to allocate a unique identifier to the rendering process during the rendering process of the scene object;

[0022] The detail rendering submodule is used to control the rendering rate of the thread during detail rendering according to the rendering rate Rrender. The lower the rendering priority of the scene object, the fewer details are rendered. The rendering quality and performance are balanced according to the rendering priority of the scene object, so as to optimize the rendering efficiency and resource utilization of the system to the greatest extent while ensuring the user experience.

[0023] The user gaze point coordinate calculation submodule is used to obtain gaze point data from an eye tracking system in real time, and convert the gaze point data into 3D spatial coordinates of the user's gaze point in the virtual scene. The eye tracking system is an external system for monitoring the user's gaze point data;

[0024] The scene object coordinate acquisition submodule is used to acquire the 3D spatial coordinates of each scene object in the virtual scene, which helps to achieve accurate presentation and real-time update of the virtual scene, thereby improving user experience;

[0025] The distance calculation submodule is used to calculate the distance value between each scene object and the user's gaze point according to the 3D space coordinates of the user's gaze point in the virtual scene and the 3D space coordinates of each scene object in the virtual scene;

[0026] The blur intensity value calculation submodule is used to create a blur intensity mapping function according to the distance value, and convert the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function. The farther the distance, the higher the blur intensity value. According to the blur intensity value, the system can optimize resource allocation, use more computing and rendering resources for the scene objects near the user's gaze point, and use fewer rendering resources for the scene objects farther away.

[0027] The blur processing rate control submodule is used to control the rate at which the GPU shader blurs the scene object according to the rendering rate Rrender, which can ensure that the blur effect does not affect the rendering performance too much, thereby maintaining a good rendering balance, so that the scene object can be blurred at an acceptable frame rate;

[0028] The blur processing submodule is used to control the GPU shader to blur the scene object according to the blur intensity value, which can highlight the scene object near the user's gaze point to make it clearer and more eye-catching, which helps to improve the user's attention and makes it easier for the user to identify and interact with the target scene object.

[0029] Further, the recycling module includes a resource recording submodule, a resource information searching module, a rendering progress detecting submodule, a resource recycling submodule and a scene object recycling submodule;

[0030] The resource recording submodule is used to record the unique identifier of each rendering process and the information of the resources used, which is conducive to effective resource management;

[0031] The rendering progress detection submodule is used to detect rendering tasks, and sends an end signal to the resource search module and the resource recovery submodule when the rendering of each scene object is completed. The end signal triggers the resource information search module to start the search operation and triggers the resource recovery submodule to start the resource recovery operation. It is triggered by detecting the end signal of the rendering task, which ensures that the timing of resource recovery is accurate and reasonable;

[0032] The resource information search module is used to search for information of resources used by the rendering process according to the unique identifier of the rendering process, and can quickly and accurately locate the information of related resources;

[0033] The resource recycling submodule is used to recycle the resources used in the rendering process according to the search results of the resource information search module; recycle the resources that are no longer needed, including video memory, textures and buffers. By recycling resources in a timely manner, the system can better allocate resources, thereby reducing unnecessary resource occupation, which can directly improve the performance of rendering tasks, reduce rendering freezes and delays, and improve overall rendering efficiency;

[0034] The scene object recycling submodule is used to recycle the scene objects to the scene object storage module according to the recycling rate Rrecycle, and recycling the scene objects that are no longer needed can release memory and reduce the risk of memory fragmentation.

[0035] A fuzzy rendering method applicable to XR business includes the following steps:

[0036] S01: assigning a rendering priority to each scene object according to the system event; dynamically adjusting the rendering order of the scene objects according to the occurrence of the system event, thereby optimizing rendering performance and improving user experience;

[0037] S02: storing rendering priority allocation information in a data structure of the scene object;

[0038] S03: constructing a rendering queue according to the rendering priority allocation information, and using a heap sorting algorithm to sort the scene objects in descending order of priority, with the scene objects with high priorities being placed at the front of the rendering queue, so as to construct a reasonable rendering queue, ensuring that objects with higher priorities are processed first during rendering, thereby improving rendering efficiency and user experience;

[0039] S04: Obtain system characteristics from the configuration management database;

[0040] S05: Analyze the system event to obtain characteristics of the system event;

[0041] S06: Calculate the rendering rate of the scene object according to the system characteristics and the characteristics of the corresponding system event. By reasonably adjusting the rendering rate, it can be ensured that key objects or areas are rendered first within the user's field of view, thereby improving the user's perception of the scene and the interactive response speed. At the same time, effective resource recycling can ensure that the system will not freeze or crash due to resource exhaustion, thereby ensuring the continuity and stability of user experience;

[0042] S07: triggering corresponding rendering operations according to specific system event contents to ensure real-time updating and presentation of the scene;

[0043] S08: assigning the scene objects with different rendering priorities to different threads for processing, so as to ensure that the workload of each thread processing is reasonable and independent of each other;

[0044] S09: controlling each of the threads to load and cache required rendering resources in advance according to the rendering priority of the scene object, so as to reduce delays and freezes during the rendering process;

[0045] S10: assigning a unique identifier to the rendering process of the scene object;

[0046] S11: controlling the rendering rate of the thread during detail rendering according to the rendering rate Rrender, the lower the rendering priority of the scene object, the fewer details are rendered, and balancing the rendering quality and performance according to the rendering priority of the scene object, thereby optimizing the rendering efficiency and resource utilization of the system to the greatest extent while ensuring the user experience;

[0047] S12: acquiring gaze point data from the eye tracking system in real time, and converting the gaze point data into 3D spatial coordinates of the user's gaze point in the virtual scene, wherein the 3D spatial coordinates of the user's gaze point define the position of the user's gaze point in the virtual scene;

[0048] S13: Acquire the 3D spatial coordinates of each of the scene objects in the virtual scene, which helps to achieve accurate presentation and real-time update of the virtual scene, thereby improving user experience;

[0049] S14: calculating the distance value between each scene object and the user's gaze point according to the 3D space coordinates of the user's gaze point in the virtual scene and the 3D space coordinates of each scene object in the virtual scene;

[0050] S15: creating a blur intensity mapping function according to the distance value, converting the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function, wherein the farther the distance is, the higher the blur intensity value is. According to the blur intensity value, the system can optimize resource allocation, using more computing and rendering resources for the scene objects near the user's gaze point, and using fewer rendering resources for the scene objects at a farther distance;

[0051] S16: controlling the rate at which the GPU shader blurs the scene object according to the rendering rate Rrender, so as to ensure that the blur effect does not affect the rendering performance too much, thereby maintaining a good rendering balance, so that the scene object can be blurred at an acceptable frame rate;

[0052] S17: Controlling the GPU shader to blur the scene object according to the blur intensity value can highlight the scene object near the user's gaze point to make it clearer and more eye-catching, which helps to improve the user's attention and makes it easier for the user to identify and interact with the target scene object.

[0053] The present invention provides a fuzzy rendering system and method suitable for XR business, and its beneficial effects are as follows: by acquiring gaze point data from an eye tracking system in real time, the gaze point data is converted into the 3D spatial coordinates of the user's gaze point in the virtual scene, and by acquiring the 3D spatial coordinates of each scene object in the virtual scene, this helps to achieve accurate presentation and real-time update of the virtual scene, thereby improving user experience; through the distance value, a mapping function of blur intensity is created, and the distance value of each scene object and the user's gaze point is converted into a blur intensity value through the blur intensity mapping function. According to the blur intensity value, the system can optimize resource allocation, use more computing and rendering resources for the scene objects near the user's gaze point, and use fewer rendering resources for the scene objects that are farther away; by detecting the rendering task, an end signal is sent at the end of rendering each scene object, and the search operation and resource recovery operation are triggered by the end signal, ensuring that the timing of resource recovery is accurate and reasonable. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived based on the provided drawings without paying any creative work.

[0055] Figure 1 This is a system architecture diagram of a fuzzy rendering system suitable for XR services in the present invention;

[0056] Figure 2 This is a system architecture diagram of a system event management module of a fuzzy rendering system suitable for XR services in the present invention;

[0057] Figure 3 This is a system architecture diagram of a scene rendering module of a fuzzy rendering system suitable for XR services in the present invention;

[0058] Figure 4 This is a system architecture diagram of a recycling module of a fuzzy rendering system suitable for XR business in the present invention.

[0059] 1-scene object storage module, 2-scene object allocation module, 3-system event management module, 31-system event monitoring submodule, 32-priority allocation submodule, 33-rendering queue construction submodule, 34-system feature acquisition submodule, 341-configuration management database, 35-system event feature acquisition submodule, 36-rate calculation submodule, 37-system event response submodule, 4-scene rendering module, 41-preloading and caching submodule, 42-identification allocation submodule, 43-detail rendering submodule, 44-user gaze point coordinate calculation submodule, 441-eye tracking system, 45-scene object coordinate acquisition submodule, 46-distance calculation submodule, 47-blur intensity value calculation submodule, 48-blur processing rate control submodule, 49-blur processing submodule, 5-recycling module, 51-resource recording submodule, 52-resource information search module, 53-rendering progress detection submodule, 54-resource recycling submodule, 55-scene object recycling submodule. DETAILED DESCRIPTION

[0060] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] like Figure 1-4 As shown, the present invention is a fuzzy rendering system suitable for XR business, including a scene object storage module 1, a scene object allocation module 2, a system event management module 3, a scene rendering module 4 and a scene object recycling module 5, wherein the input end of the scene object storage module 1 is connected to the output end of the recycling module 5, the input end of the scene object allocation module 2 is connected to the output end of the scene object storage module 1, the input end of the system event management module 3 is connected to the output end of the scene object allocation module 2, the input end of the scene rendering module 4 is connected to the output end of the system event management module 3, and the input end of the recycling module 5 is connected to the output ends of the scene object allocation module 2, the system event management module 3 and the scene rendering module 4;

[0062] The scene object storage module 1 is used to store pre-configured scene objects. By pre-configuring and storing the scene objects, the real-time calculation and resource loading time in the rendering process can be reduced, thereby improving the rendering efficiency. The scene objects include user gaze point scene objects, user direct interaction area scene objects, peripheral visual object scene objects and background distant scene objects; the scene object allocation module 2 is used to obtain the scene objects stored in the scene object storage module 1 and allocate the scene objects to the user; the system event management module 3 is used to monitor the system events generated by the event source in real time, and calculate the rendering rate Rrender and recycling rate Rrecycle of the scene objects; the scene rendering module 4 is used to control the rendering rate of the scene objects according to the rendering rate Rrender; the recycling module 5 is used to recycle the resources used in the rendering process and recycle the scene objects.

[0063] The system event management module 3 includes a system event monitoring submodule 31, a priority allocation submodule 32, a rendering queue construction submodule 33, a system feature acquisition submodule 34, a system event feature acquisition submodule 35, a rate calculation submodule 36 and a system event response submodule 37. The system event monitoring submodule 31 is used to monitor the system events generated by the event source in real time to ensure that the system can respond to user operations and scene logic in a timely manner. The system events include events that require rendering or recycling corresponding scene objects based on user interaction behaviors and events that require rendering or recycling corresponding scene objects based on scene logic; the priority allocation submodule 32 is used to allocate a rendering priority to each scene object according to the system events, dynamically adjust the rendering order of the scene objects according to the occurrence of the system events, thereby optimizing the rendering performance and improving the user experience, and store the rendering priority allocation information in the data structure of the scene object for use by the rendering queue construction module 33; the rendering queue construction submodule 33 is used to construct a rendering queue according to the rendering priority allocation information, and use a heap sorting algorithm to sort the scene objects in descending order of priority. The scene objects with high priority are arranged in front of the rendering queue, and a reasonable rendering queue is constructed to ensure that objects with higher priority are processed first during rendering, thereby improving rendering efficiency and user experience; the system characteristic acquisition submodule 34 is used to obtain system characteristics from the configuration management database 341, and the system characteristics include the CPU usage rate Sperformance of the current system, the performance threshold Tthreshold of the current system, and the memory resources Mmemory available in the current system. The configuration management database 341 is used to store system characteristics; the system event characteristic acquisition submodule 35 is used to analyze the system event to obtain the characteristics of the system event, and the characteristics of the system event include the rendering priority Epriority of the scene object, the complexity Ocomplexity of the scene object, and the weight Oweight of the scene object; the rate calculation submodule 36 is used to calculate the rendering rate and recycling rate of the scene object according to the system characteristics and the characteristics corresponding to the system event, and the rendering rate Rrender and the recycling rate Rrecycle are calculated by the following formula:

[0064]

[0065] By reasonably adjusting the rendering rate, it can be ensured that key objects or areas are rendered first within the user's field of view, thereby improving the user's perception of the scene and the speed of interactive response. At the same time, effective resource recycling can ensure that the system will not freeze or crash due to resource exhaustion, thereby ensuring the continuity and stability of the user experience; the system event response submodule 37 is used to trigger corresponding rendering or recycling operations according to the specific system event content to ensure real-time updating and presentation of the scene.

[0066] The scene rendering module 4 includes a preloading and caching submodule 41, an identification allocation submodule 42, a detail rendering submodule 43, a preloading and caching submodule 44, a scene object coordinate acquisition submodule 45, a distance calculation submodule 46, a blur intensity value calculation submodule 47, a blur processing rate control submodule 48 and a blur processing submodule 49; the preloading and caching submodule 41 is used to allocate the scene objects of different rendering priorities to different threads for processing, ensuring that the workload of each thread processing is reasonable and independent of each other; according to the rendering priority of the scene object, each thread is controlled to load and cache the required rendering resources in advance to reduce delays and jams in the rendering process, and the scene objects with different rendering priorities have different rendering resources loaded and cached by the corresponding threads; the identification allocation submodule 42 is used to allocate a unique identification to the rendering process in the rendering process of the scene object; the detail rendering submodule 43 is used to allocate a unique identification to the rendering process according to the rendering rate R ren d erThe control thread's rendering rate during detail rendering includes rendering texture resolution, rendering depth of field effect, and rendering lighting conditions and shadow effects in the scene area. The lower the rendering priority of the scene object, the fewer details are rendered. The rendering quality and performance are balanced according to the rendering priority of the scene object, so as to maximize the system's rendering efficiency and resource utilization while ensuring user experience. The user gaze point coordinate calculation submodule 44 is used to obtain gaze point data from the eye tracking system 441 in real time, and convert the gaze point data into the 3D spatial coordinates of the user's gaze point in the virtual scene. The eye tracking system 441 is an external system for monitoring user gaze point data. The 3D spatial coordinates of the user's gaze point define the position of the user's gaze point in the virtual scene. The gaze point data includes pupil position and line of sight direction. The scene object coordinate acquisition submodule 45 is used to obtain the 3D spatial coordinates of each of the scene objects in the virtual scene. These coordinates define the position of the scene object in the virtual scene; this helps to achieve accurate presentation and real-time update of the virtual scene, thereby improving the user experience; the distance calculation submodule 46 is used to calculate the distance value between each scene object and the user's gaze point based on the 3D spatial coordinates of the user's gaze point in the virtual scene and the 3D spatial coordinates of each scene object in the virtual scene; the blur intensity value calculation submodule 47 is used to create a blur intensity mapping function based on the distance value, and convert the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function. The farther the distance, the higher the blur intensity value; based on the blur intensity value, the system can optimize resource allocation, use more computing and rendering resources for the scene objects near the user's gaze point, and use fewer rendering resources for the scene objects farther away; the blur processing rate control submodule 48 is used to calculate the distance between the scene object and the user's gaze point based on the rendering rate R ren d er Controlling the rate at which the GPU shader blurs the scene objects can ensure that the blurring effect does not overly affect the rendering performance, thereby maintaining a good rendering balance and allowing the scene objects to be blurred at an acceptable frame rate; the blur processing submodule 49 is used to control the GPU shader to blur the scene objects according to the blur intensity value, which can highlight the scene objects near the user's gaze point to make them clearer and more eye-catching, which helps to improve the user's attention and makes it easier for the user to identify and interact with the target scene objects.

[0067] The recycling module 5 includes a resource recording submodule 51, a resource information search module 52, a rendering progress detection submodule 53, a resource recycling submodule 54 and a scene object recycling submodule 55; the resource recording submodule 51 is used to record the unique identifier of each rendering process and the information of the resources used, which is conducive to effective resource management; the rendering progress detection submodule 52 is used to detect the rendering task, and at the end of each scene object rendering, an end signal is sent to the resource search module 53 and the resource recycling submodule 54, and the end signal will trigger the resource information search module 53 to start the search operation and trigger the resource recycling submodule 54 to start the resource recycling operation, by detecting the end signal of the rendering task to trigger, which ensures that the timing of resource recycling is accurate and reasonable; the resource information search module 53 is used to search for information about resources used by the rendering process according to the unique identifier of the rendering process, and can quickly and accurately locate the information of related resources; the resource recycling submodule 54 is used to recycle the resources used by the rendering process according to the search result of the resource information search module 53; recycle no longer needed resources, including video memory, textures and buffers. By recycling resources in a timely manner, the system can better allocate resources, thereby reducing unnecessary resource occupation, which can directly improve the performance of rendering tasks, reduce rendering freezes and delays, and improve overall rendering efficiency; the scene object recycling submodule 55 is used to recycle resources according to the recycling rate R recyc l e The scene objects are recycled to the scene object storage module 1, and the scene objects that are no longer needed are recycled, so as to release memory and reduce the risk of memory fragmentation.

[0068] A fuzzy rendering method applicable to XR business includes the following steps:

[0069] S01: assigning a rendering priority to each scene object according to the system event, and dynamically adjusting the rendering order of the scene objects according to the occurrence of the system event, thereby optimizing rendering performance and improving user experience;

[0070] S02: storing rendering priority allocation information in a data structure of the scene object;

[0071] S03: constructing a rendering queue according to the rendering priority allocation information, and using a heap sorting algorithm to sort the scene objects in descending order of priority, with the scene objects with high priorities being placed at the front of the rendering queue, so as to construct a reasonable rendering queue, ensuring that objects with higher priorities are processed first during rendering, thereby improving rendering efficiency and user experience;

[0072] S04: Obtaining system characteristics from the configuration management database 341;

[0073] S05: Analyze the system event to obtain characteristics of the system event;

[0074] S06: Calculate the rendering rate of the scene object according to the system characteristics and the characteristics of the corresponding system event. By reasonably adjusting the rendering rate, it can be ensured that key objects or areas are rendered first within the user's field of view, thereby improving the user's perception of the scene and the interactive response speed. At the same time, effective resource recycling can ensure that the system will not freeze or crash due to resource exhaustion, thereby ensuring the continuity and stability of user experience;

[0075] S07: triggering corresponding rendering operations according to specific system event contents to ensure real-time updating and presentation of the scene;

[0076] S08: assigning the scene objects with different rendering priorities to different threads for processing, so as to ensure that the workload of each thread processing is reasonable and independent of each other;

[0077] S09: controlling each of the threads to load and cache required rendering resources in advance according to the rendering priority of the scene object, so as to reduce delays and freezes during the rendering process;

[0078] S10: assigning a unique identifier to the rendering process of the scene object;

[0079] S11: controlling the rendering rate of the thread during detail rendering according to the rendering rate Rrender, the lower the rendering priority of the scene object, the fewer details are rendered, and balancing the rendering quality and performance according to the rendering priority of the scene object, thereby optimizing the rendering efficiency and resource utilization of the system to the greatest extent while ensuring the user experience;

[0080] S12: Obtain gaze point data from the eye tracking system 441 in real time, and convert the gaze point data into 3D spatial coordinates of the user's gaze point in the virtual scene, wherein the 3D spatial coordinates of the user's gaze point define the position of the user's gaze point in the virtual scene;

[0081] S13: Acquire the 3D spatial coordinates of each of the scene objects in the virtual scene, which helps to achieve accurate presentation and real-time update of the virtual scene, thereby improving user experience;

[0082] S14: calculating the distance value between each scene object and the user's gaze point according to the 3D space coordinates of the user's gaze point in the virtual scene and the 3D space coordinates of each scene object in the virtual scene;

[0083] S15: creating a blur intensity mapping function according to the distance value, converting the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function, wherein the farther the distance is, the higher the blur intensity value is; according to the blur intensity value, the system can optimize resource allocation, using more computing and rendering resources for the scene objects near the user's gaze point, and using fewer rendering resources for the scene objects at a farther distance;

[0084] S16: controlling the rate at which the GPU shader blurs the scene object according to the rendering rate Rrender, so as to ensure that the blur effect does not affect the rendering performance too much, thereby maintaining a good rendering balance, so that the scene object can be blurred at an acceptable frame rate;

[0085] S17: Controlling the GPU shader to blur the scene object according to the blur intensity value can highlight the scene object near the user's gaze point to make it clearer and more eye-catching, which helps to improve the user's attention and makes it easier for the user to identify and interact with the target scene object.

Claims

1. A fuzzy rendering system suitable for XR business, characterized by: The invention comprises a scene object storage module (1), a scene object allocation module (2), a system event management module (3), a scene rendering module (4) and a recycling module (5), wherein the input end of the scene object storage module (1) is connected to the output end of the recycling module (5), the input end of the scene object allocation module (2) is connected to the output end of the scene object storage module (1), the input end of the system event management module (3) is connected to the output end of the scene object allocation module (2), the input end of the scene rendering module (4) is connected to the output end of the system event management module (3), and the input end of the recycling module (5) is connected to the output ends of the scene object allocation module (2), the system event management module (3) and the scene rendering module (4); The scene object storage module (1) is used to store pre-configured scene objects; The scene object allocation module (2) is used to obtain the scene object stored in the scene object storage module (1) and allocate the scene object to the user; The system event management module (3) is used to monitor the system events generated by the event source in real time and calculate the rendering rate Rrender and the recycling rate Rrecycle of the scene object; The scene rendering module (4) is used to control the rendering rate of the scene object according to the rendering rate Rrender; The recycling module (5) is used to recycle the resources used in the rendering process and to recycle the scene object.

2. The fuzzy rendering system suitable for XR business according to claim 1, characterized in that: The system event management module (3) comprises a system event monitoring submodule (31), a priority allocation submodule (32), a rendering queue construction submodule (33), a system characteristic acquisition submodule (34), a system event characteristic acquisition submodule (35), a rate calculation submodule (36) and a system event response submodule (37); The system event monitoring submodule (31) is used to monitor the system events generated by the event source in real time, wherein the system events include events that require rendering or recycling of corresponding scene objects based on user interaction behaviors and events that require rendering or recycling of corresponding scene objects based on scene logic; The priority allocation submodule (32) is used to allocate a rendering priority to each scene object according to the system event, and store the rendering priority allocation information in the data structure of the scene object for use by the rendering queue construction module (33); The rendering queue construction submodule (33) is used to construct a rendering queue according to the rendering priority allocation information, and use a heap sorting algorithm to sort the scene objects in order from high to low priority, and the scene objects with high priority are arranged at the front of the rendering queue; The system characteristic acquisition submodule (34) is used to acquire system characteristics from a configuration management database (341), wherein the system characteristics include a CPU usage rate Sperformance of the current system, a performance threshold Tthreshold of the current system, and a memory resource Mmemory available to the current system. The configuration management database (341) is used to store system characteristics; The system event characteristic acquisition submodule (35) is used to analyze the system event to obtain the characteristics of the system event, wherein the characteristics of the system event include the rendering priority Epriority of the scene object, the complexity Ocomplexity of the scene object and the weight Oweight of the scene object; The rate calculation submodule (36) is used to calculate the rendering rate and recycling rate of the scene object according to the system characteristics and the characteristics of the corresponding system events. The rendering rate Rrender and the recycling rate Rrecycle are calculated by the following formula: The system event response submodule (37) is used to trigger corresponding rendering or recycling operations according to specific system event content.

3. The fuzzy rendering method applicable to XR business according to claim 2, characterized in that: The scene rendering module (4) comprises a preloading and caching submodule (41), an identification allocation submodule (42), a detail rendering submodule (43), a user gaze point coordinate calculation submodule (44), a scene object coordinate acquisition submodule (45), a distance calculation submodule (46), a blur intensity value calculation submodule (47), a blur processing rate control submodule (48) and a blur processing submodule (49); The preloading and caching submodule (41) is used to assign the scene objects of different rendering priorities to different threads for processing, and control each thread to load and cache required rendering resources in advance according to the rendering priority of the scene object, so as to reduce delays and freezes in the rendering process. The scene objects of different rendering priorities have different rendering resources loaded and cached by the corresponding threads. The identifier allocation submodule (42) is used to allocate a unique identifier to the rendering process during the rendering process of the scene object; The detail rendering submodule (43) is used for controlling the rendering rate of the thread during detail rendering according to the rendering rate Rrender, and the lower the rendering priority of the scene object, the less details are rendered; The user gaze point coordinate calculation submodule (44) is used to obtain gaze point data from an eye tracking system (441) in real time, and convert the gaze point data into 3D spatial coordinates of the user's gaze point in the virtual scene. The eye tracking system (441) is an external system for monitoring the user's gaze point data. The scene object coordinate acquisition submodule (45) is used to acquire the 3D space coordinates of each scene object in the virtual scene; The distance calculation submodule (46) is used to calculate the distance value between each scene object and the user's gaze point according to the 3D space coordinates of the user's gaze point in the virtual scene and the 3D space coordinates of each scene object in the virtual scene; The blur intensity value calculation submodule (47) is used to create a blur intensity mapping function according to the distance value, and convert the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function, wherein the farther the distance is, the higher the blur intensity value is; The blur processing rate control submodule (48) is used to control the rate at which the GPU shader performs blur processing on the scene object according to the rendering rate Rrender; The blur processing submodule (49) is used to control the GPU shader to perform blur processing on the scene object according to the blur intensity value.

4. The fuzzy rendering system suitable for XR business according to claim 3, characterized in that: The recycling module (5) comprises a resource recording submodule (51), a resource information searching module (52), a rendering progress detecting submodule (53), a resource recycling submodule (54) and a scene object recycling submodule (55); The resource recording submodule (51) is used to record the unique identification of each rendering process and information about the resources used by it; The rendering progress detection submodule (52) is used to detect rendering tasks, and sends an end signal to the resource search module (53) and the resource recovery submodule (54) when the rendering of each scene object is completed. The end signal triggers the resource information search module (53) to start a search operation and triggers the resource recovery submodule (54) to start a resource recovery operation; The resource information search module (53) is used to search for information corresponding to resources used by the rendering process according to the unique identifier of the rendering process; The resource recycling submodule (54) is used to recycle the resources used in the rendering process according to the search result of the resource information search module (53), and recycle the resources that are no longer needed, including video memory, texture and buffer; The scene object recycling submodule (55) is used to recycle the scene object to the scene object storage module (1) according to the recycling rate Rrecycle.

5. A fuzzy rendering method applicable to XR services, using the fuzzy rendering system applicable to XR services as claimed in claim 4, characterized in that: The steps include: S01: assigning a rendering priority to each scene object according to the system event; S02: storing rendering priority allocation information in a data structure of the scene object; S03: constructing a rendering queue according to the rendering priority allocation information, and using a heap sorting algorithm to sort the scene objects in descending order of priority, with the scene objects with high priorities being placed at the front of the rendering queue; S04: Obtaining system characteristics from the configuration management database 341; S05: Analyze the system event to obtain characteristics of the system event; S06: Calculating a rendering rate of the scene object according to the system characteristics and characteristics corresponding to the system events; S07: triggering corresponding rendering operations according to specific system event contents; S08: assigning the scene objects with different rendering priorities to different threads for processing; S09: controlling each of the threads to load and cache required rendering resources in advance according to the rendering priority of the scene object, so as to reduce delays and freezes during the rendering process; S10: assigning a unique identifier to the rendering process of the scene object; S11: controlling the rendering rate of the thread during detail rendering according to the rendering rate Rrender, the lower the rendering priority of the scene object, the less details are rendered; S12: Obtain gaze point data from the eye tracking system 441 in real time, and convert the gaze point data into 3D spatial coordinates of the user's gaze point in the virtual scene; S13: Obtaining the 3D space coordinates of each of the scene objects in the virtual scene; S14: calculating the distance value between each scene object and the user's gaze point according to the 3D space coordinates of the user's gaze point in the virtual scene and the 3D space coordinates of each scene object in the virtual scene; S15: creating a blur intensity mapping function according to the distance value, and converting the distance value between each scene object and the user's gaze point into a blur intensity value through the blur intensity mapping function, wherein the farther the distance is, the higher the blur intensity value is; S16: controlling the rate at which the GPU shader performs blur processing on the scene object according to the rendering rate Rrender; S17: Controlling the GPU shader to perform blur processing on the scene object according to the blur intensity value.

Citation Information

Patent Citations

  • Graphic rendering resource management method

    CN107885597A

  • Image rendering method and system, VR equipment, device and readable storage medium

    CN112164016A

  • Image recognition method based on eye movement fixation point guidance, MR glasses and medium

    CN112507799A

  • VR-based space scene display method and system, and storage medium

    CN115984519A

  • Calculation power rendering resource scheduling method and device, equipment and storage medium

    CN117687785A