A virtual digital scene display method and related device
Patent Information
- Application Number
- CN202410025742.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-01-08
AI Technical Summary
The rendering and display of virtual digital scenes has high requirements on device performance, which may cause serious freezes on devices with poor performance during the tour, affecting the user experience.
By dynamically loading virtual resources that match the user in the virtual digital scene, and using the server to receive the location coordinate information fed back by the terminal device, it determines whether the user's access progress meets the virtual resource trigger conditions associated with a specific plot, and only loads the corresponding resource when the conditions are met. Three-dimensional virtual interactive model reduces data transmission and bandwidth usage.
It improves the dynamic loading efficiency and device performance of virtual scenes, avoids lags in scene loading, and improves users' real-time interactive experience and immersion.
Smart Images

Figure CN117687718B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a virtual digital scene display method and related devices. Background Art
[0002] A virtual digital scene is a virtual environment created using computer technology. It combines multiple elements such as images, sounds, animations, and interactions to provide users with an immersive experience. Virtual digital scenes can be used in tourism, exhibitions, education, training, film and television, and can also be used in virtual reality (VR) and augmented reality (AR) technologies.
[0003] In related technologies, the rendering and display of virtual digital scenes usually requires a lot of calculations and graphics rendering, and has high requirements for device performance and graphics processing capabilities. Taking the tour scene as an example, when a user enters a virtual digital scene, as the user moves in the virtual digital scene, the virtual digital scene needs to be calculated and rendered. For devices with poor performance, there may be serious lags during the tour, affecting the user experience.
[0004] Therefore, how to ensure that the virtual digital scene can maintain a smooth frame rate and interactive experience during operation is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a virtual digital scene display method and related devices for dynamically loading virtual resources matching the user in a virtual numerical scene, improving the efficiency of dynamic scene loading, improving device performance and virtual resource utilization, and ensuring the smoothness of scene loading and user interaction experience.
[0006] In a first aspect, the present application provides a method for displaying a virtual digital scene, the method comprising:
[0007] The server receives location coordinate information to be accessed in a virtual digital scene; the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by a terminal device;
[0008] If the location coordinate information falls within the location coordinate range corresponding to the target plot, determining whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot;
[0009] If the user's current access progress meets the trigger condition, the terminal device is instructed to load a three-dimensional virtual interaction model associated with the first virtual resource in the target plot; the interactive elements contained in the three-dimensional virtual interaction model are determined by the user information of the first virtual resource and / or the terminal device.
[0010] In a second aspect, an embodiment of the present application provides a virtual digital scene display system, the system comprising a server and a terminal device, wherein
[0011] The server is configured to receive location coordinate information to be visited in a virtual digital scene; wherein the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by a terminal device; if the location coordinate information falls within the location coordinate range corresponding to a target plot, it is determined whether a user's current access progress meets a trigger condition of a first virtual resource associated with the target plot; if the user's current access progress meets the trigger condition, the terminal device is instructed to load a three-dimensional virtual interactive model associated with the first virtual resource in the target plot; the interactive elements contained in the three-dimensional virtual interactive model are determined by the first virtual resource and / or user information of the terminal device;
[0012] The terminal device is configured to load the three-dimensional virtual interactive model in the target plot in response to the instruction.
[0013] In a third aspect, an embodiment of the present application provides a server, the server comprising
[0014] The transceiver unit is configured to receive the location coordinate information to be accessed in the virtual digital scene; the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by the terminal device;
[0015] a processing unit configured to determine whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot if the location coordinate information falls within the location coordinate range corresponding to the target plot;
[0016] The transceiver unit is also configured to instruct the terminal device to load a three-dimensional virtual interaction model associated with the first virtual resource in the target plot if the user's current access progress meets the trigger condition; the interactive elements contained in the three-dimensional virtual interaction model are determined by the user information of the first virtual resource and / or the terminal device.
[0017] In the technical solution provided by the embodiment of the present application, the server receives the location coordinate information to be accessed in the virtual digital scene. Here, the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource. The location coordinate information to be accessed is fed back by the terminal device to ensure the real-time nature of the user's intended access location. Furthermore, if the location coordinate information falls within the location coordinate range corresponding to the target plot, it is determined whether the user's current access progress meets the trigger condition of the first virtual resource associated with the target plot. Then, if the user's current access progress meets the trigger condition, the terminal device is instructed to load the three-dimensional virtual interaction model associated with the first virtual resource in the target plot. Thus, when the user intends to visit a certain plot and the user's current access progress meets the trigger condition of the resource associated with the plot, the virtual resources related to the plot will be dynamically loaded into the virtual scene and presented to the user, rather than completing the rendering and loading of the scene at one time, which helps to reduce the data transmission of the virtual digital scene and the bandwidth occupied, shorten the interaction delay, improve the scene loading efficiency, avoid the jamming of the scene loading, and improve the operation efficiency of the virtual scene and the user's real-time interactive experience. In addition, the interactive elements included in the three-dimensional virtual interactive model are determined by the user information of the first virtual resource and / or the terminal device. This helps to dynamically configure more abundant interactive elements for the virtual scene according to different user information and different virtual resource types. For example, the interactive elements can be various scenes, virtual navigation or other forms of information display, providing users with more diverse interactive experiences.
[0018] In the embodiment of the present application, virtual resources that match the real-time location information and the user's current access progress in the virtual numerical scene are dynamically loaded, which greatly reduces the amount of scene resource data transmission and the bandwidth occupied, effectively improves the efficiency of dynamic scene loading, improves device performance and virtual resource utilization, avoids freezes during virtual scene loading, ensures smoothness during scene loading, and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 It is a flowchart of a virtual digital scene display method according to an embodiment of the present application;
[0021] Figure 2 It is a schematic diagram of the principle of an elastic allocation method of an embodiment of the present application;
[0022] Figure 3It is a schematic diagram of the principle of an index acquisition method in an embodiment of the present application;
[0023] Figure 4 It is a structural schematic diagram of a virtual digital scene display system according to an embodiment of the present application;
[0024] Figure 5 It is a structural diagram of a server in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0027] A virtual digital scene is a virtual environment created using computer technology. It combines multiple elements such as images, sounds, animations, and interactions to provide users with an immersive experience. Virtual digital scenes can be used in tourism, exhibitions, education, training, film and television, and can also be used in virtual reality (VR) and augmented reality (AR) technologies.
[0028] In related technologies, the rendering and display of virtual digital scenes usually requires a lot of calculations and graphics rendering, and has high requirements for device performance and graphics processing capabilities. Taking the tour scene as an example, when a user enters a virtual digital scene, as the user moves in the virtual digital scene, the virtual digital scene needs to be calculated and rendered. For devices with poor performance, there may be serious lags during the tour, affecting the user experience. Therefore, how to ensure that the virtual digital scene can maintain a smooth frame rate and interactive experience during operation is a technical problem that needs to be solved urgently.
[0029] In order to solve at least one of the above technical problems, an embodiment of the present application provides a virtual digital scene display method and related devices.
[0030] Specifically, in the virtual digital scene display scheme, the server receives the location coordinate information to be accessed in the virtual digital scene. Here, the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource. The location coordinate information to be accessed is fed back by the terminal device to ensure the real-time nature of the user's intended access location. Furthermore, if the location coordinate information falls within the location coordinate range corresponding to the target plot, it is determined whether the user's current access progress meets the trigger condition of the first virtual resource associated with the target plot. Then, if the user's current access progress meets the trigger condition, the terminal device is instructed to load the three-dimensional virtual interactive model associated with the first virtual resource in the target plot. Thus, when the user intends to visit a certain plot and the user's current access progress meets the trigger condition of the resource associated with the plot, the virtual resources related to the plot will be dynamically loaded into the virtual scene and presented to the user, rather than completing the rendering and loading of the scene at one time, which helps to reduce the data transmission of the virtual digital scene and the bandwidth occupied, shorten the interaction delay, improve the scene loading efficiency, avoid the jamming of the scene loading, and improve the operation efficiency of the virtual scene and the user's real-time interactive experience. In addition, the interactive elements included in the three-dimensional virtual interactive model are determined by the user information of the first virtual resource and / or the terminal device. This helps to dynamically configure more abundant interactive elements for the virtual scene according to different user information and different virtual resource types. For example, the interactive elements can be various scenes, virtual navigation or other forms of information display, providing users with more diverse interactive experiences.
[0031] In this virtual digital scene display solution, virtual resources in the virtual numerical scene that match the real-time location information and the user's current access progress are dynamically loaded, which greatly reduces the amount of scene resource data transmission and the bandwidth occupied, effectively improves the efficiency of scene dynamic loading, improves device performance and virtual resource utilization, avoids freezes during virtual scene loading, ensures smoothness during scene loading, and improves user experience.
[0032] The virtual digital scene display solution provided in the embodiment of the present application can be executed by an electronic device, which can be a server, a server cluster, or a cloud server. The electronic device can also be a terminal device such as a mobile phone, a computer, a tablet computer, a wearable device, or a dedicated device (such as a dedicated terminal device with a virtual digital scene display system). In an optional embodiment, a service program for executing the virtual digital scene display solution can be installed on the electronic device.
[0033] Figure 1 A schematic diagram of a virtual digital scene display method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method comprises the following steps:
[0034] 101. The server receives coordinate information of a location to be visited in a virtual digital scene.
[0035] In an embodiment of the present application, the virtual digital scene includes at least one plot, each plot corresponds to a preset position coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource. In the virtual digital scene, a plot refers to a local area contained in the overall scene, and the local area contains a series of virtual resources and interactive elements. Here, the virtual resources (including but not limited to the three-dimensional virtual interactive model and the interactive elements set therein, etc.) can be determined by the layout of the location of the plot in the virtual digital scene.
[0036] Exemplarily, in a virtual museum scene, the layout of the virtual museum corresponds to the exhibition layout in the actual museum. For example, each plot in the virtual museum corresponds to the location of each exhibit in the actual museum. In one example, when a visitor wearing a virtual reality peripheral roams in the actual museum, the virtual introduction information of the exhibits associated with the corresponding plot in the virtual museum can be triggered, such as a virtual reality image containing the exhibit introduction information. In another example, the virtual museum can also be constructed as a virtual reality scene corresponding to the exhibition theme, such as an ancient tomb corresponding to an archaeological excavation, a palace corresponding to an ancient building excavation, an ancient city street view, etc., so that when the visitor roams in the virtual reality scene, the scenery of the corresponding plot and / or the interactive objects in the scenery are triggered based on the roaming path. Further, the interactive object can be determined by the function of the plot-associated scene area. For example, each plot in the virtual reality palace can be associated with specific functions in various parts of the palace, and each plot in the virtual reality ancient tomb can be arranged with burial objects in various parts of the ancient tomb, and so on.
[0037] It is understandable that the plot is defined by a pre-set position coordinate range. In practical applications, the position coordinate range can be a rectangle, a circle, a triangle or other shapes, or a three-dimensional space grid. That is, the position coordinate range depends on the needs of the application scenario, and the shapes of the position coordinate ranges of different plots in the same virtual digital scene can be the same or different. For example, a plot of a virtual city (i.e., a virtual digital scene) can correspond to a block or village in a real city. For example, a plot of a virtual forest (i.e., a virtual digital scene) can correspond to an area with the same natural features and terrain characteristics. The plot can include various types of virtual resources, such as buildings, roads, natural landscapes, virtual characters, etc., and these virtual resources can be interconnected and interact with each other to form a unified virtual digital scene.
[0038] For example, suppose a virtual digital scene is a simulated urban environment. This scene can be divided into multiple plots, each of which corresponds to a block or a community in the real city. Each plot contains several buildings, stores, sidewalks, street corners, street lights and other virtual resources, which can be connected and interact with each other. In this way, users can move in the entire virtual scene and enter different plots to obtain different virtual resources and experiences, such as entering a store to buy items, or encountering and interacting with virtual characters on the sidewalk. There are different virtual resources and scenes in each plot, forming a complete virtual digital scene world.
[0039] In the embodiment of the present application, the location coordinate information to be accessed is fed back by the terminal device. For example, the location coordinate information refers to real-time data with location information transmitted to the server by the terminal device (such as a mobile phone, wearable device, tablet computer, computer, etc.). These location coordinate information can be relative location coordinate information in the real scene corresponding to the virtual digital scene, or can be geographical location information such as longitude and latitude in the real world.
[0040] Taking relative position coordinate information as an example, the terminal device will collect the current relative position coordinates through the sensor, and then transmit the real-time collected relative position coordinates to the server. After receiving these relative position coordinates, the server determines the user's current location based on these relative position coordinates, and accesses and interacts with the virtual digital scene based on the relative position coordinates.
[0041] Of course, in actual applications, in addition to collecting the location coordinate information to be visited, the location coordinate information to be visited can also be predicted through the behavior trajectory prediction model based on the historical location coordinate information to be visited, combined with the user's real-time mobile behavior trajectory, such as line of sight direction, field of view, real-time behavior data, etc. In this way, the accuracy of the location coordinate information is further improved and the smoothness of dynamic loading is ensured.
[0042] In practical applications, in addition to relative position coordinate information and geographic location information, position coordinate information may also include position information related to the current virtual digital scene, such as object coordinates in the virtual digital scene, plot coordinates in the virtual digital scene, etc. In this case, the terminal device may also feed back these position coordinate information to the server. Based on these position coordinate information, the server may determine the current user's access progress and specific access location, and then decide which virtual resources and interactive elements to load, thereby realizing personalized customization and dynamic interactive experience of the virtual digital scene.
[0043] In summary, the coordinate information of the location to be accessed is the basis for judging the access and interaction behaviors that the user intends to perform in the virtual digital scene, and provides the necessary basis and basic data for the user's access and interaction with the virtual digital scene.
[0044] After obtaining the location coordinate information to be accessed, in 102, if the location coordinate information falls within the location coordinate range corresponding to the target plot, it is necessary to further determine whether the virtual resources corresponding to the current target plot are loaded for the user, that is: determine whether the user's current access progress meets the trigger condition of the first virtual resource associated with the target plot.
[0045] In step 102, by comparing the location coordinate information with the location coordinate range of the target plot, it can be ensured that the virtual resources associated with the target plot will be loaded only when the user is located in the target plot. This can avoid unnecessary loading and presentation of related virtual resources when the user leaves the target plot, thereby saving computing resources occupied by virtual resources and improving virtual resource utilization.
[0046] Furthermore, when the user is at the target plot, it is determined whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot, and the corresponding virtual resource can be customized and loaded according to the user's current access progress. In this way, specific content related to the user's current access progress can be provided to meet the user's personalized needs and enhance the user experience.
[0047] Here, the current access progress is determined according to different application scenarios. For example, in a museum scenario, the current access progress can be determined based on the correspondence between the user's location and the plot in the virtual digital scene corresponding to the museum. For example, if there are multiple exhibition areas inside the museum, the current access progress can be determined based on the location coordinates of the user entering each exhibition area. For example, when the user's location coordinates are within the range of a certain plot inside the museum, it can be determined that the user's access progress is to enter the exhibition area corresponding to the plot.
[0048] In this way, by judging the current access progress, it can be ensured that the user can get the interactive experience of the first virtual resource related to the current access progress when entering the target plot, which can enhance the user's sense of immersion and participation, and make the user feel the authenticity and coherence of the virtual digital scene. In addition, judging whether to load the trigger condition of the first virtual resource associated with the target plot according to the user's current access progress can also further realize the refined loading and utilization of resources. In simple terms, the corresponding virtual resources are loaded only when the user meets specific conditions, which can reduce unnecessary waste of resources and improve resource utilization efficiency.
[0049] Several embodiments of step 102 are described below with reference to specific examples.
[0050] As an optional embodiment, it is assumed that the trigger condition is set based on the presentation order of the virtual resources.
[0051] The display order setting refers to the display order or playback order between multiple virtual resources. The display order setting can be used to determine the presentation order of virtual resources (such as images, audio, interactive character objects, etc.) during the user's access process. By defining the display order of virtual resources, the user can be controlled to gradually display different content during the access process, creating a rich, coherent and smooth audio-visual experience.
[0052] Based on the above assumption, step 102 can be implemented as follows: first, obtain the second virtual resource that needs to be displayed before displaying the first virtual resource from the trigger condition. Then, determine whether the virtual resources displayed in the user's current access progress include the second virtual resource. If the second virtual resource has been displayed, it means that the user has reached the access progress that meets the trigger condition. In this case, it can be determined that the user's current access progress meets the trigger condition.
[0053] Through the above embodiments, it is possible to ensure that the user gradually accesses the virtual resources in the specified display order, thereby ensuring the continuity and integrity of the user's process in the virtual digital scene. At the same time, by controlling the display order of virtual resources, the user's attention and experience rhythm can be effectively guided, providing a better user experience.
[0054] Taking the museum scene as an example, assuming that the user is now in a certain exhibition area, the above steps can be used to determine whether the user meets the triggering condition of the first virtual resource. Specifically, according to the exhibition design or museum display planning, the display order of virtual resources in the exhibition area can be determined. For example, in a certain exhibition area, in addition to the first virtual resource, a picture needs to be displayed first. Then, this picture is the second virtual resource. In this case, it is necessary to obtain a list of virtual resources that have been displayed in the user's current access progress. Assume that the user has browsed three pictures in the exhibition area and is currently viewing the fourth picture. The list of virtual resources that have been displayed can be determined by recording the user's access history or according to the user's current location. By comparing the list with the second virtual resource, if the picture is included, it can be determined that the user's current access progress meets the triggering condition. If the second virtual resource has been displayed, it means that the user has viewed the second virtual resource and the current access progress meets the triggering condition. At this time, the virtual content that displays the first virtual resource can be loaded and presented in the virtual digital scene corresponding to the exhibition area to provide the user with a corresponding interactive experience.
[0055] Further optionally, before step 102, the display order of the virtual resources may be dynamically adjusted based on the type of user accessing the virtual digital scene, the direction of sight, the behavior and the geographical location of the user. The real scene where the user is located matches the virtual digital scene, and the coordinate range of each geographical location in the real scene corresponds to the coordinate range of each plot in the virtual digital scene.
[0056] For example, in a museum scene (i.e., a virtual digital scene), it is assumed that the real scene the user is in is an indoor exhibition space. At this time, the user's real location and behavior can be used to dynamically adjust the display order of virtual resources to provide a more immersive and interactive experience.
[0057] Specifically, assume that the user is exploring exhibition area A in the museum. Based on the above assumptions, the user's actual viewing direction is calculated according to the user's actual location and behavior. Assume that the user is facing a display cabinet, which contains a porcelain work that needs to be shown to the user. Based on the user's line of sight and behavior, the virtual resources displaying the porcelain work can be adjusted to the vicinity of the current actual display cabinet. In this way, the user does not need to turn around or adjust the viewing angle, and can directly view the virtual display information of the porcelain work. By dynamically adjusting the display order, users can more easily obtain the virtual resources of interest, which enhances the immersive experience and interactivity.
[0058] In addition, suppose there is a large model display area in the museum, which displays a panoramic model of a historical building (i.e., a virtual digital scene). According to the correspondence between the user's real location and the museum's geographical location, the display order of virtual resources can be dynamically adjusted. Specifically, assuming that the user is far away from the panoramic model, in order to enable the user to better observe and understand the model, the display order of the virtual resources can be adjusted to be displayed near the user's location. When the user approaches the location of the model, the virtual resources will be presented, and the user can observe and interact with the model more clearly, enhancing the sense of immersion and experience.
[0059] Through dynamic adjustments based on factors such as the type of visiting user, line of sight, behavioral actions, and user geographic location, the user's personalized experience in the virtual digital scene can be improved, and the interactivity and immersion between the user and virtual resources can be enhanced to achieve better benefits.
[0060] In another optional embodiment of step 102, it is determined whether the current time period is within the target time information included in the trigger condition. The target time information at least includes: the start time and / or end time of the first virtual resource that can be displayed. If the current time period is within the target time information, it is determined that the user's current access progress meets the trigger condition.
[0061] For example, suppose there is a virtual exhibition activity (i.e., a virtual digital scene) that displays the works of multiple artists, and each artist's work has a specified display time. In this scenario, whether the user meets the trigger condition can be determined by whether the current time period is within the target time information. For example, a certain artist's work display activity starts at 2 pm and lasts until 5 pm. In step 102, first determine whether the current time period is between the start and end time in the target time information. Assume that the current time is 3 pm, which is within the time range for the artist's work display. Then, it can be confirmed that the user's current access progress meets the trigger condition, and the corresponding virtual resources can continue to be displayed to the user.
[0062] The beneficial effect of this embodiment is that virtual resources can be dynamically controlled according to time information, so that users can obtain display content at an appropriate time. Taking the above example, if the user arrives at the exhibition area outside the time range of the artist's work display, the demand for virtual resource display does not exist, because the user cannot appreciate the artist's work in the incorrect time period. Therefore, judging whether the current time period meets the target time information can avoid the situation where the user obtains virtual resources at the wrong time, providing users with a more accurate and meaningful display experience.
[0063] In addition, controlling the display order of virtual resources according to time information can also help museums or exhibition organizers effectively arrange visitor traffic, avoid server overload, and further ensure smoothness. By setting different target time information, more visitors can be guided into the virtual digital scene to watch specific virtual resources in a specific time period, balance the data congestion of the exhibition area, provide a better visiting experience, use resources more effectively, and improve the effect and experience quality of virtual exhibition activities.
[0064] In another optional embodiment of step 102, it is determined whether the evaluation data in the current access progress of the user reaches a set threshold in the trigger condition. If the current evaluation data reaches the set threshold, it is determined that the current access progress of the user meets the trigger condition.
[0065] In another optional embodiment of step 102, first, the target task completion progress information that can display the first virtual resource contained in the trigger condition is obtained. Then, it is determined whether the current task completion progress of the user in the user's current access progress meets the target task completion progress information. If the current task completion progress meets the target task completion progress information, it is determined that the current access progress of the user meets the trigger condition.
[0066] For example, suppose that in a virtual reality scene (i.e., a virtual digital scene) related to an ancient tomb, each of the virtual reality scenes corresponds to the layout in the ancient tomb, and the scenes associated with each plot in the virtual reality scene are associated with the exhibits excavated at the corresponding position in the ancient tomb. The user needs to complete a task chain to unlock the next scene. Assume that the task chain includes multiple tasks, and the player needs to complete these tasks to obtain further exhibition content. In this case, the user's task completion progress can be used to determine whether the user can access the next level of the cemetery scene. Based on the above assumptions, in step 102, the target task completion progress information that can display the first virtual resource contained in the trigger condition is first obtained. For example, the target task completion progress can be 60% of the completion of the task chain, specifically, it can be 60% of all exhibits in the current area. Then, according to the user's current exhibition progress, it is determined whether the user's current task completion progress meets the target task completion progress information. If the current task completion progress exceeds the target task completion progress information, it can be confirmed that the user's current access progress meets the trigger condition.
[0067] The beneficial effect of this embodiment is that the timing of users accessing new virtual scenes can be accurately controlled, and the exposure of various exhibition contents can be improved. By setting the target task completion progress information, users can be encouraged to continue roaming in the ancient tomb and complete more tasks, thereby improving user experience and participation. If the task progress completed by the user is not enough to access the next level of virtual scene, the user should be guided to continue to complete the task, and the user's exhibition progress should be controlled to make it more meaningful and challenging.
[0068] In addition, by judging the progress of task completion to control the display order and content of virtual resources, it can help exhibition developers design better task systems and exhibition processes. Continuously providing users with meaningful tasks and exposing new exhibition content can maintain user enthusiasm, improve user loyalty, and make exhibitions more successful and attractive.
[0069] It is worth noting that one or more of the above-mentioned embodiments can be used to judge the user's current access situation, thereby loading virtual resources suitable for the user's current access situation, further improving the efficiency of dynamic scene loading, improving device performance and virtual resource utilization, and ensuring the smoothness of scene loading and user interaction experience.
[0070] In 103, if the current access progress of the user meets the trigger condition, the terminal device is instructed to load the three-dimensional virtual interactive model associated with the first virtual resource in the target plot.
[0071] In the embodiment of the present application, the three-dimensional virtual interaction model is a virtual environment presented in three-dimensional form, and the three-dimensional virtual interaction model can be rendered and displayed using a terminal device, and interaction information between the user and the three-dimensional virtual interaction model can be received. Further optionally, in order to improve the transmission efficiency of the three-dimensional virtual interaction model, a corresponding compression method can be further selected based on the attribute information of the terminal device, and the selected compression method can be used to compress the data volume of the three-dimensional virtual interaction model.
[0072] Further optionally, the interactive elements included in the three-dimensional virtual interactive model are determined by the user information of the first virtual resource and / or the terminal device. The three-dimensional virtual interactive model may have a variety of interactive elements, which can interact and provide feedback to the user in real time. For example, the interactive elements include but are not limited to the following examples:
[0073] Interactive physical objects: There can be various objects and elements in the 3D virtual interactive model, such as buildings, furniture, plants, etc. Users can interact with these physical objects and trigger operations such as moving, rotating, zooming in, zooming out, jumping, and displaying information based on the interaction.
[0074] Customized image: Based on the user information of the terminal device, the 3D virtual interactive model can present the user's customized image, such as a virtual character or avatar. Users can experience personalized interactions and activities in the virtual environment to enhance their sense of participation and immersion.
[0075] Multi-user interactive objects: If the user information of the terminal device indicates that multiple users are interacting in the same virtual environment, the 3D virtual interactive model can support multi-user interactive functions. For example, users can have virtual social interactions, visit and tour, and collaborate in real time with other users' virtual objects.
[0076] Interactive special effects and animations: 3D virtual interactive models can include various visual and sound effects to make user interaction more vivid and rich. For example, through light and shadow effects, particle effects or dynamic model changes, a more realistic and attractive experience can be provided.
[0077] Intelligent feedback information: The 3D virtual interactive model can provide intelligent feedback information based on user behavior and input. For example, according to the user's operation intention, the 3D virtual interactive model can display the interactive area or provide corresponding prompt information to help users better complete tasks or find resources.
[0078] The specific forms and functions of the above interactive elements are only examples. In actual applications, they can be configured according to application scenarios and user needs, and will not be elaborated here.
[0079] As an optional embodiment, the step of determining the interactive elements included in the three-dimensional virtual interaction model by the user information of the first virtual resource and / or the terminal device can also obtain the user's geographical location and the user's individual attributes. Among them, the user's individual attributes include at least: access frequency and access location. Furthermore, based on the user's geographical location, the user's individual attributes and the resource type to which the first virtual resource belongs, the user's interaction demand for the first virtual resource is predicted through the interactive resource elastic configuration model to obtain the interaction demand probability of each interactive element associated with the first virtual resource. Finally, based on the interaction demand probability, the interactive elements and / or the corresponding interactive element display form in the three-dimensional virtual interaction model are dynamically configured to achieve elastic expansion of the three-dimensional interaction model.
[0080] For example, suppose you are developing an intelligent navigation scenario that predicts users' interaction needs for different types of virtual resources based on their personal attributes, geographic location, and visit frequency, and dynamically configures the interactive elements and display forms of the three-dimensional virtual interaction model based on the prediction results.
[0081] Based on the above assumptions, specifically, through the user information of the terminal device, the user's individual attributes, such as access frequency and access location information, can be obtained. Access frequency can measure the user's use of the application, and access location can reflect the user's preferences and interests. Then, combining the user's individual attributes, geographic location, and resource type of the first virtual resource, an interactive resource elastic configuration model can be established. The model can predict the user's demand probability for different interactive elements of the virtual resource. For example, if users frequently visit virtual resources of historical and cultural places, and their individual attributes indicate an interest in historical buildings, then it is predicted that the user's probability of interactive demand for historical buildings may be high. Finally, according to the predicted probability of interactive demand, the interactive elements and corresponding display forms in the three-dimensional virtual interactive model can be dynamically configured. For example, if it is predicted that the user has a high interactive demand for historical buildings, a detailed historical building model can be added to the virtual model to provide rich interactive elements, such as guide information, historical relics display, etc. For other types of virtual resources, the complexity of the interactive elements may be reduced or the interactive forms may be reduced according to user needs and interests.
[0082] In this way, through the interactive resource elastic configuration model and the corresponding dynamic configuration, the interactive elements can be dynamically configured based on the user's individual attributes and geographic location to provide a personalized virtual experience, so that users can interact with the virtual environment according to their own interests and needs, enhancing their sense of participation and immersion. In addition, by predicting the user's interactive needs, customized interactive elements and display forms can be provided for different users to meet the user's personalized expectations, facilitate the acquisition of content that users are interested in, and improve the user experience and satisfaction.
[0083] In the embodiment of the present application, through steps 101 to 103, virtual resources matching the user in the virtual numerical scene can be dynamically loaded, the efficiency of dynamic scene loading is improved, the device performance and virtual resource utilization are improved, and the smoothness of scene loading and the user interaction experience are ensured.
[0084] In the related art, in the case where multiple users access a virtual digital scene at the same time, how to effectively manage and schedule scene resources to ensure the reasonable allocation and utilization of virtual digital scene resources is also a technical problem that needs to be solved urgently.
[0085] In view of the above technical problems, in order to further improve the scheduling efficiency of scene resources and improve the utilization rate of scene resources, in an embodiment of the present application, dynamic index information corresponding to a virtual resource is provided. The dynamic index information can be used to manage and schedule scene resources. In an embodiment of the present application, in order to improve the scheduling efficiency and utilization rate of scene resources, dynamic index information corresponding to virtual resources is used. Exemplarily, the dynamic index information corresponding to the virtual resource may include the following contents:
[0086] The first type of dynamic index information: resource type, is used to assign a resource type to each virtual resource, and is used to classify and identify different types of resources. For example, virtual resources can be divided into different types such as buildings, plants, people, roads, etc.
[0087] The second type of dynamic index information: location information, which is used to indicate the precise location or range of a virtual resource in a scene. The location information of a virtual resource can be described using coordinates or ranges, and is used to accurately locate and position the resource when multiple users access the scene at the same time.
[0088] The third type of dynamic index information: interactive attributes, which are used to indicate the interactivity and related properties of virtual resources. For example, whether the virtual resource can be moved, rotated, zoomed in or out, and whether it contains interactive elements such as buttons and triggers. These attributes can be defined and configured according to specific scenario requirements.
[0089] The fourth type of dynamic index information: usage status, which is used to indicate the current usage status of virtual resources, such as available, in use, or reserved, to ensure that resources can be correctly allocated and utilized.
[0090] The fifth type of dynamic index information: visual attributes, which are used to represent the visual representation and display of virtual resources. For example, attributes such as color, texture, and lighting effects can be configured according to scene requirements to provide a more realistic and attractive visual experience.
[0091] The sixth type of dynamic index information: priority, which is to assign a priority to virtual resources to achieve reasonable allocation and scheduling of resources. Different priorities can be set for different types of resources according to different scenario requirements and user behaviors to ensure priority display and allocation of important resources.
[0092] In summary, the dynamic index information corresponding to virtual resources can be applied to virtual digital scenes, that is, by classifying, locating, configuring attributes and managing allocation strategies for resources, the reasonable allocation and utilization of virtual digital scene resources can be achieved. Through dynamic index information, scene resources can be effectively managed and scheduled, the scheduling efficiency and utilization rate of scene resources can be improved, and a smooth and realistic virtual experience can be provided.
[0093] Specifically, in step 103, before instructing the terminal device to load the three-dimensional virtual interaction model associated with the first virtual resource in the target land, the elastic scheduling resource model is used to construct dynamic index information corresponding to the virtual resource. The dynamic index information corresponding to the virtual resource includes at least: the three-dimensional virtual interaction model associated with each virtual resource and the corresponding storage space.
[0094] Accordingly, in 103, the target dynamic index information corresponding to the first virtual resource is obtained. Then, a loading instruction is generated based on the target dynamic index information. Then, the loading instruction is sent to the terminal device, so that the terminal device loads the three-dimensional virtual interactive model in the target plot based on the loading instruction.
[0095] Through the above steps, by constructing dynamic index information, the storage space of virtual resources can be managed more effectively. The index information can record the three-dimensional virtual interaction models associated with each virtual resource and the size of their corresponding storage space. In this way, storage resources can be dynamically allocated according to the actual resource usage to avoid resource waste or insufficient problems. After obtaining the target dynamic index information, a loading instruction can be generated according to the information recorded therein. The loading instruction provides specific guidance for loading the required virtual resources. By sending the loading instruction to the terminal device, the device can load the corresponding three-dimensional virtual interaction model in a targeted manner according to the instruction, thereby improving the loading efficiency and speed. The dynamic index information records the relevant information of the virtual resources, including the associated three-dimensional virtual interaction model. Resource scheduling can be performed based on this information, and resources can be loaded and allocated preferentially according to different scenarios and user needs to provide a smoother and more personalized virtual experience. By recording the size of the storage space corresponding to the virtual resource, the use of storage resources can be better managed. The system can recycle resources in a timely manner according to the occupancy of the storage space, release virtual resources that are no longer needed, and avoid resource waste and insufficient storage space. In summary, using the elastic scheduling resource model to construct dynamic index information corresponding to virtual resources can optimize resource management, improve loading efficiency, optimize resource scheduling, and optimize storage space, thereby providing a better virtual interactive experience.
[0096] As an optional embodiment, the elastic scheduling resource model at least includes: a resource pool, a resource index generator, a scheduler, and a monitor. Based on the above model structure, an optional implementation method of using the elastic scheduling resource model to construct dynamic index information corresponding to virtual resources is described above. Figure 2 As shown, it can be implemented as:
[0097] 201, obtaining resource attribute information of each virtual resource;
[0098] 202, using a resource index generator to generate corresponding resource index information for each virtual resource based on the resource attribute information;
[0099] 203, updating the resource index information into the resource pool, so that the resource pool is used for flexible scheduling of each virtual resource;
[0100] 204, the scheduler dynamically allocates resource index information of each virtual resource in the resource pool to different terminal devices and / or different access tasks;
[0101] 205 , monitoring the dynamic allocation status, terminal device interaction status and task execution status in the resource pool through a monitor to determine whether to trigger elastic scheduling and reallocation of virtual resources in the resource pool.
[0102] Specifically, in 201, resource attribute information of each virtual resource is obtained. In the embodiment of the present application, the resource attribute information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and corresponding storage space information and network transmission information.
[0103] The storage space information is used to record the storage space occupied by each virtual resource. This information may indicate the size of the virtual resource model itself, or may include the size of the model's attached text, textures, audio, or video elements. For example, a 3D building model may require tens or hundreds of megabytes of storage space.
[0104] The network transmission information is used to record the characteristics of each virtual resource in network transmission, including transmission bandwidth requirements, delay requirements, etc. For example, a virtual resource may have high requirements for fast transmission of network bandwidth, and requires a higher bandwidth to ensure the smoothness of the interactive effect.
[0105] In 202, a resource index generator is used to generate corresponding resource index information for each virtual resource based on the resource attribute information. In the embodiment of the present application, the resource index information at least includes: an index identifier corresponding to each virtual resource, storage space information, interaction model indication information, and transmission planning information. Among them, the interaction model indication information is used to obtain a three-dimensional virtual interaction model associated with each virtual resource.
[0106] Exemplarily, the index identifier corresponding to each virtual resource may be a unique index identifier configured for each virtual resource, which is used for management and scheduling in the resource pool. This index identifier includes information such as the type, resource name or number of the virtual resource, so that the system can quickly and accurately find the corresponding resource. The storage space information may be the storage space information occupied by each virtual resource included in the resource index. This information may be provided to the resource manager to provide support for the storage allocation and management of virtual resources. In order to facilitate users to interact through virtual scenes, each virtual resource needs to be associated with a corresponding three-dimensional interactive model. Therefore, the three-dimensional model information associated with each virtual resource also needs to be recorded in the resource index. These interactive model indication information can be provided to the rendering engine of the virtual scene so as to correctly present and interact in the virtual scene. In order to ensure the rapid transmission and loading of virtual resources, the resource index also includes transmission planning information for different network conditions and terminal devices. This transmission planning information can be provided to the transmission manager so as to optimize data transmission and network traffic according to specific circumstances.
[0107] As an optional embodiment, in 202, a resource index generator is used to generate corresponding resource index information for each virtual resource based on the resource attribute information, see Figure 3 As shown, it can be implemented as:
[0108] 301, based on the resource attribute information, using an index data structure selection model to predict the usage of each virtual resource to obtain usage probability information;
[0109] 302, based on the usage probability information, selecting an index data structure matching each virtual resource from a pre-configured index data structure library;
[0110] 303. Generate resource index information corresponding to each virtual resource based on the resource attribute information and the corresponding index data structure.
[0111] In an embodiment of the present application, the selection condition of the index data structure is related to the usage probability information. It is understandable that for virtual resources with a higher usage probability, an index data structure with a lower access time complexity can be selected. This can improve the efficiency of resource query and access and shorten the response time of virtual interaction. For virtual resources with a lower usage probability, an index data structure with less memory consumption can be selected. This can avoid wasting too much storage resources, thereby optimizing the performance and efficiency of the system. For virtual resources that need to be frequently modified or updated, an index data structure with efficient modification and update functions can be selected to improve the scalability and flexibility of the system. For virtual resources that need to be retrieved or filtered in multiple dimensions, an index data structure that can support multiple query and filtering operations can be selected. This can improve the accuracy and efficiency of query and access.
[0112] For example, it is assumed that the usage probability information includes but is not limited to the probability prediction values of the following dimensions: real-time performance, query range. It is assumed that the index data structure includes but is not limited to: hash table structure, B+ tree structure.
[0113] It is further assumed that the condition for configuring the hash table structure for the virtual resource is that the probability of the virtual resource's sensitivity to real-time performance is higher than the first preset configuration threshold.
[0114] It is further assumed that the condition for configuring a B+ tree structure for a virtual resource is that the probability of the virtual resource's sensitivity to the query range is higher than a second preset configuration threshold.
[0115] Based on the above assumptions, the mathematical expression of the index data structure selection model used in the above step 301 is as follows:
[0116]
[0117] Among them, p i represents the probability of the sensitivity of virtual resource i to real-time or query range, sigmoid represents the function that maps the output to the probability range from 0 to 1, and W (L)represents the sensitivity weight matrix of virtual resource i to real-time or query range in the Lth network feature layer, L is the last network feature layer in the index data structure selection model, N(i) is the resource set consisting of virtual resources adjacent to virtual resource i, c ij represents the normalization coefficient, which is used to balance the sensitivity weights of adjacent virtual resources, σ represents the activation function, and W (l) represents the sensitivity weight matrix of virtual resource i to real-time or query scope in the lth network feature layer, h j (l) Indicates the feature value of virtual resource i for real-time or query range in the lth network feature layer.
[0118] Through steps 301 to 303, the index data structure can be used to predict and match virtual resources, which can reduce the query and access time of the system and improve the response speed and efficiency of the system. According to the resource attribute information and the usage probability information, corresponding resource index information can be generated for each virtual resource to better manage and schedule virtual resources in the resource pool. Since the index information of virtual resources can help the system to quickly and accurately access and load virtual resources, the user's virtual interaction experience and use effect can be improved. By selecting a suitable index data structure, the scalability and flexibility of the system can be improved, and it can better adapt to different usage environments and needs.
[0119] In 203, the resource index information is updated to the resource pool so that the resource pool is used for flexible scheduling of each virtual resource.
[0120] For example, assume that the resource pool contains multiple types of virtual resources, such as virtual machines, containers, storage, etc. Each virtual resource has corresponding resource index information, including index identifier, storage space information, interaction model indication information, and transmission planning information. When a task or service needs to be executed, the resource manager can perform flexible scheduling based on the task requirements and the available resources in the resource pool. Specifically, the user submits a task scheduling request, which includes information such as the task requirements, the required virtual resource type, and quantity. The resource manager queries the available virtual resources from the resource pool and matches them according to the task requirements and the resource index information. According to the storage space information, interaction model indication information, and transmission planning information in the resource index information, the resource manager selects the appropriate virtual resource and schedules it. For example, for a task that requires a large amount of storage space, a virtual resource with sufficient storage space will be selected for scheduling. Once the resource manager completes the scheduling, it will mark the selected virtual resource from the resource pool as used and update the resource index information. In this way, the resource manager can avoid selecting the virtual resource that has been used during the next scheduling. By updating the resource index information to the resource pool, dynamic management and flexible scheduling of resources can be achieved. This can make the resource pool more intelligent and efficient, meet the needs of different tasks and services, and provide better resource utilization and user experience.
[0121] In 204, the scheduler dynamically allocates resource index information of each virtual resource in the resource pool to different terminal devices and / or different access tasks.
[0122] For example, suppose there is a resource pool that contains multiple types of virtual resources, such as virtual machines, containers, storage, etc. Each virtual resource has corresponding resource index information, including index identifier, storage space information, interaction model indication information, and transmission planning information. Suppose there are multiple terminal devices and access tasks that need to use these resources. The task of the scheduler is to allocate appropriate virtual resources to different terminal devices and access tasks based on the resource index information. The specific steps are as follows:
[0123] First, the terminal device and access task register with the scheduler and provide relevant demand and requirement information. Then, the scheduler queries the appropriate virtual resources from the resource pool according to the needs of the terminal device and the access task. Matching is performed based on the storage space information, interaction model indication information, and transmission planning information in the resource index information. Then, the scheduler dynamically allocates the appropriate virtual resources to the corresponding terminal device and / or access task based on the matching results. For example, for an access task that requires a large amount of storage space, the scheduler will allocate virtual resources with sufficient storage space to the access task. Then, while allocating resources, the scheduler monitors resource utilization and performance. When resource utilization is low or new access tasks are added, the scheduler will re-evaluate the virtual resources in the resource pool and reallocate resources to improve resource utilization and system performance.
[0124] By dynamically allocating resource index information to different terminal devices and access tasks through the scheduler, optimal resource utilization and efficient task execution can be achieved. This can improve resource utilization, reduce energy consumption and enhance user experience, thereby optimizing the overall performance of the system.
[0125] 205 , monitoring the dynamic allocation status, terminal device interaction status and task execution status in the resource pool through a monitor to determine whether to trigger elastic scheduling and reallocation of virtual resources in the resource pool.
[0126] For example, suppose there is a resource pool that contains multiple types of virtual resources, such as virtual machines, containers, storage, etc. Each virtual resource has corresponding resource index information, including index identification, storage space information, interaction model indication information, and transmission planning information. Suppose that the resource pool needs to be monitored in real time through a monitor, including dynamic allocation, terminal device interaction, and task execution. The monitor will collect relevant data regularly or in real time, and analyze and judge it. The specific steps are as follows:
[0127] First, the monitor collects relevant data from the resource pool, terminal devices, and tasks, including resource utilization, terminal device load conditions, task execution status, etc. Then, the monitor analyzes and judges the collected data to determine whether the virtual resources in the resource pool have low utilization or unbalanced load, whether there are bottlenecks in the interaction between terminal devices, and whether there are execution delays or errors in the task. Next, if the monitor finds that the virtual resources in the resource pool have low utilization, unbalanced load, or there are bottlenecks in the interaction between terminal devices, and there are delays or errors in task execution, it will trigger elastic scheduling redistribution. Then, according to the specific situation, the monitor will send instructions to the scheduler to let the scheduler reallocate virtual resources to optimize resource utilization, load balancing, and task execution efficiency. The scheduler will reallocate according to resource index information and the needs of terminal devices.
[0128] By monitoring the dynamic allocation of resource pools, terminal device interactions, and task execution, the monitor can promptly identify and resolve issues such as insufficient resource utilization, load imbalance, and task execution, thereby improving overall system performance and user experience.
[0129] Through steps 201 to 205, it is possible to realize automatic management and elastic scheduling of resources, improve resource utilization and system performance, and thus improve user experience and system reliability. Specifically, by updating resource index information to the resource pool, the scheduler dynamically allocates virtual resources to different terminal devices and access tasks. At the same time, the monitor monitors the situation in the resource pool, collects and analyzes data in real time, and judges resource utilization efficiency and system performance to trigger elastic scheduling. The scheduler dynamically allocates appropriate virtual resources from the resource pool according to the needs of the terminal device and the access task to optimize resource utilization and user experience. At the same time, according to the instructions issued by the monitor, the scheduler implements elastic scheduling redistribution to achieve load balancing and task optimization execution. Through dynamic management and elastic scheduling, the virtual resources in the resource pool can be more optimally utilized, improve resource utilization and reduce resource waste. This can also reduce the operating cost and energy consumption of the system. Through dynamic management and elastic scheduling, the system can better adapt to the needs of different users and tasks, and improve the performance and user experience of the overall system. At the same time, the monitor can monitor the status of the system in real time, find problems and solve them in time, and ensure the reliability and stability of the system.
[0130] In summary, the automated management and flexible scheduling of steps 201 to 205 can improve resource utilization and system performance, and enhance user experience and system reliability.
[0131] In the above or following embodiments, in order to further improve the scheduling efficiency of scene resources and improve the utilization rate of scene resources, in the embodiments of the present application, the interactive elements historically acquired by the user and their respective interaction qualities (for example, frequency, activity, and regression rate) can also be analyzed to form the interactive element preferences of different types of users.
[0132] For example, in a museum visit scenario, analyzing the interactive elements that users have historically acquired and the quality of their respective interactions can help the venue better understand user preferences and thus provide a more personalized and targeted visitor experience.
[0133] Suppose a user visits a museum and uses an intelligent guide system corresponding to the exhibition theme. Then, the interactive elements that the user interacts with during each visit, such as exhibits, exhibition areas, information boards, etc., can be recorded, and the relevant interaction quality, such as frequency, activity, and return rate, can be analyzed. By analyzing the user's historical data, the user's preference for different types of exhibits or exhibition areas can be identified. For example, it can be found that the user has a higher interest in historical relics exhibits, while having a lower interest in ancient building exhibits. It is also possible to understand the user's visiting habits, such as the length of stay for each visit, the number of visits, etc. Based on these analysis results, the museum can perform resource scheduling and layout optimization according to the preferences of different types of users. For example, for users who like historical relics, the relevant exhibits can be concentrated in one area to provide them with a better browsing experience. For users who are interested in ancient buildings, richer technological exhibits and interactive experiences can be provided. In addition, by analyzing the quality of user interaction, users with a higher frequency of certain interactive elements and users with a lower return rate can also be identified. For these users, the museum can provide a more customized visiting experience through personalized recommendations, exclusive guided tours, etc., to enhance the user's visiting interest and satisfaction. Therefore, by analyzing the interactive elements and interaction quality acquired by users historically, the resource scheduling efficiency and the utilization rate of scene resources can be beneficially improved in the museum visiting scene, and a more personalized and satisfying visiting experience can be provided to users.
[0134] Further optionally, for multiple users requesting the same three-dimensional interactive model, a transmission data stream optimization model is used to optimize the scheduling path and compression method of the interactive elements or display forms obtained by dynamic configuration, so as to reduce the loading delay of each of the multiple users.
[0135] For example, the three-dimensional model presenting interactive elements can be segmented and gradually transmitted using data stream transmission technology. In this way, the bandwidth occupancy rate during transmission can be greatly reduced, thereby reducing the loading delay of multiple users. Alternatively, a method of optimizing the transmission path based on information such as the user's geographic location and network delay can be used to treat closer servers as priority nodes to reduce data delays during transmission. The transmitted data can also be compressed during transmission, such as using algorithms such as LZ77 or Huffman to reduce the size of the transmitted data, thereby reducing the time of data transmission.
[0136] In an embodiment of the present application, when the interactive elements historically acquired by the user are analyzed and the interactive element preferences of different types of users are formed, the user's preferences and interests can be better understood, thereby further improving the scheduling efficiency and utilization of scene resources.
[0137] In another embodiment of the present application, a virtual digital scene display system is also provided. Figure 4As shown, the system includes a server and a terminal device.
[0138] The server is configured to receive location coordinate information to be visited in a virtual digital scene; wherein the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by a terminal device; if the location coordinate information falls within the location coordinate range corresponding to a target plot, it is determined whether a user's current access progress meets a trigger condition of a first virtual resource associated with the target plot; if the user's current access progress meets the trigger condition, the terminal device is instructed to load a three-dimensional virtual interactive model associated with the first virtual resource in the target plot; the interactive elements contained in the three-dimensional virtual interactive model are determined by the first virtual resource and / or user information of the terminal device;
[0139] The terminal device is configured to load the three-dimensional virtual interactive model in the target plot in response to the instruction.
[0140] In the embodiment of the present application, through the cooperation of the server and the terminal device, virtual resources matching the user in the virtual numerical scene can be dynamically loaded, the efficiency of dynamic scene loading can be improved, the device performance and virtual resource utilization can be improved, and the smoothness of scene loading and the user interaction experience can be ensured.
[0141] In another embodiment of the present application, a server is also provided. Figure 5 As shown, the server includes the following units:
[0142] The transceiver unit is configured to receive the location coordinate information to be accessed in the virtual digital scene; the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by the terminal device;
[0143] a processing unit configured to determine whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot if the location coordinate information falls within the location coordinate range corresponding to the target plot;
[0144] The transceiver unit is also configured to instruct the terminal device to load a three-dimensional virtual interaction model associated with the first virtual resource in the target plot if the user's current access progress meets the trigger condition; the interactive elements contained in the three-dimensional virtual interaction model are determined by the user information of the first virtual resource and / or the terminal device.
[0145] In an embodiment of the present application, through the cooperation of the processing unit and the transceiver unit, the server can dynamically load virtual resources that match the user in the virtual numerical scene, improve the efficiency of dynamic scene loading, improve device performance and virtual resource utilization, and ensure the smoothness of scene loading and user interaction experience.
Claims
1. A virtual digital scene display method, It is characterized in that include: The server receives location coordinate information to be accessed in a virtual digital scene; the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by a terminal device; If the location coordinate information falls within the location coordinate range corresponding to the target plot, determining whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot; If the current access progress of the user meets the trigger condition, the terminal device is instructed to load a three-dimensional virtual interactive model associated with the first virtual resource in the target plot; the interactive elements included in the three-dimensional virtual interactive model are determined by the user information of the first virtual resource and / or the terminal device; Before the indicating terminal device loads the three-dimensional virtual interactive model associated with the first virtual resource in the target land parcel, the method further includes: Adopt elastic resource scheduling model to build dynamic index information corresponding to virtual resources; The dynamic index information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and a corresponding storage space; The instructing terminal device to load the three-dimensional virtual interactive model associated with the first virtual resource in the target land parcel includes: Obtaining target dynamic index information corresponding to the first virtual resource; Generate a load instruction based on the target dynamic index information; and The loading instruction is sent to the terminal device, so that the terminal device loads the three-dimensional virtual interactive model in the target plot based on the loading instruction; the elastic scheduling resource model at least includes: a resource pool, a resource index generator, a scheduler, and a monitor; the dynamic index information corresponding to the virtual resource is constructed by using the elastic scheduling resource model, including: Acquire resource attribute information of each virtual resource; the resource attribute information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and respective corresponding storage space information and network transmission information; Based on the resource attribute information, the resource index generator is used to generate corresponding resource index information for each virtual resource; the resource index information at least includes: index identification, storage space information, interaction model indication information, and transmission planning information corresponding to each virtual resource; the interaction model indication information is used to obtain a three-dimensional virtual interaction model associated with each virtual resource; Updating the resource index information into the resource pool so that the resource pool is used for flexible scheduling of each virtual resource; The scheduler dynamically allocates resource index information of each virtual resource in the resource pool to different terminal devices and / or different access tasks; The monitor monitors the dynamic allocation, terminal device interaction and task execution in the resource pool to determine whether to trigger elastic scheduling and reallocation of virtual resources in the resource pool.
2. The virtual digital scene display method according to claim 1, It is characterized in that The step of using the resource index generator to generate corresponding resource index information for each virtual resource based on the resource attribute information includes: Based on the resource attribute information, an index data structure selection model is used to predict the usage of each virtual resource to obtain usage probability information; Based on the usage probability information, select an index data structure matching each virtual resource from a pre-configured index data structure library; wherein the selection condition of the index data structure is related to the usage probability information; Based on the resource attribute information and the corresponding index data structure, resource index information corresponding to each virtual resource is generated.
3. The virtual digital scene display method according to claim 2, It is characterized in that The usage probability information includes at least the probability prediction values of the following dimensions: real-time performance and query scope; The index data structure at least includes: a hash table structure and a B+ tree structure; The condition for configuring the hash table structure for the virtual resource is: the probability that the virtual resource is sensitive to real-time performance is higher than a first preset configuration threshold; The condition for configuring the B+ tree structure for the virtual resource is: the probability of the sensitivity of the virtual resource to the query range is higher than the second preset configuration threshold; The mathematical expression of the index data structure selection model is as follows: Among them, p i represents the probability of the sensitivity of virtual resource i to real-time or query range, sigmoid represents the function that maps the output to the probability range from 0 to 1, and W (L) represents the sensitivity weight matrix of virtual resource i to real-time or query range in the Lth network feature layer, L is the last network feature layer in the index data structure selection model, N(i) is the resource set consisting of virtual resources adjacent to virtual resource i, c i j represents a normalization coefficient, which is used to balance the sensitivity weights of adjacent virtual resources, σ represents an activation function, and W (l) represents the sensitivity weight matrix of virtual resource i to real-time or query scope in the lth network feature layer, h j (l) Indicates the feature value of virtual resource i for real-time or query range in the lth network feature layer.
4. The virtual digital scene display method according to claim 1, It is characterized in that The trigger condition is set based on the display order of the virtual resources; The determining whether the current access progress of the user meets the triggering condition of the first virtual resource associated with the target plot includes: Acquire, from the trigger condition, a second virtual resource that needs to be displayed before displaying the first virtual resource; Determining whether the virtual resources displayed in the current access progress of the user include the second virtual resource; If the second virtual resource has been displayed, it is determined that the current access progress of the user meets the trigger condition.
5. The virtual digital scene display method according to claim 4, It is characterized in that Before determining whether the current access progress of the user meets the triggering condition of the first virtual resource associated with the target plot, the method further includes: Dynamically adjust the display order of the virtual resources based on the type of user accessing the virtual digital scene, the direction of sight, the behavior and the geographical location of the user; The real scene where the user is located matches the virtual digital scene, and the coordinate ranges of each geographical location in the real scene correspond to the coordinate ranges of each plot of land in the virtual digital scene.
6. The virtual digital scene display method according to claim 1, It is characterized in that The step of determining the interactive elements included in the three-dimensional virtual interactive model based on the user information of the first virtual resource and / or the terminal device further includes: Obtaining the user's geographical location and individual attributes of the user; the individual attributes of the user at least include: access frequency and access location; Based on the geographical location of the user, the individual attributes of the user, and the resource type to which the first virtual resource belongs, predicting the user's interaction demand for the first virtual resource through an interactive resource elastic configuration model, so as to obtain the interaction demand probability of each interactive element associated with the first virtual resource; Based on the interaction demand probability, the interactive elements and / or the corresponding interactive element display forms in the three-dimensional virtual interactive model are dynamically configured to achieve flexible expansion of the three-dimensional interactive model.
7. A virtual digital scene display system, It is characterized in that The system includes a server and a terminal device, wherein The server is configured to receive location coordinate information to be visited in a virtual digital scene; wherein the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by a terminal device; if the location coordinate information falls within the location coordinate range corresponding to a target plot, it is determined whether a user's current access progress meets a trigger condition of a first virtual resource associated with the target plot; if the user's current access progress meets the trigger condition, the terminal device is instructed to load a three-dimensional virtual interactive model associated with the first virtual resource in the target plot; the interactive elements contained in the three-dimensional virtual interactive model are determined by the first virtual resource and / or user information of the terminal device; Before the server instructs the terminal device to load the three-dimensional virtual interactive model associated with the first virtual resource in the target land parcel, the method further includes: The server constructs dynamic index information corresponding to virtual resources using an elastic scheduling resource model; The dynamic index information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and a corresponding storage space; The server instructs the terminal device to load the three-dimensional virtual interactive model associated with the first virtual resource in the target land parcel, including: The server obtains target dynamic index information corresponding to the first virtual resource; The server generates a loading instruction based on the target dynamic index information; and Sending the loading instruction to the terminal device, so that the terminal device loads the three-dimensional virtual interactive model in the target plot based on the loading instruction; The elastic scheduling resource model at least includes: a resource pool, a resource index generator, a scheduler, and a monitor; the elastic scheduling resource model is used to construct dynamic index information corresponding to virtual resources, including: The server obtains resource attribute information of each virtual resource; the resource attribute information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and respective corresponding storage space information and network transmission information; The server generates corresponding resource index information for each virtual resource using the resource index generator based on the resource attribute information; the resource index information at least includes: index identifiers, storage space information, interaction model indication information, and transmission planning information corresponding to each virtual resource; the interaction model indication information is used to obtain a three-dimensional virtual interaction model associated with each virtual resource; The server updates the resource index information into the resource pool so that the resource pool is used for flexible scheduling of each virtual resource; The server dynamically allocates resource index information of each virtual resource in the resource pool to different terminal devices and / or different access tasks by the scheduler; The server monitors the dynamic allocation, terminal device interaction and task execution in the resource pool through the monitor to determine whether to trigger elastic scheduling and reallocation of virtual resources in the resource pool; The terminal device is configured to load the three-dimensional virtual interactive model in the target plot in response to the instruction.
8. A server, It is characterized in that The server includes The transceiver unit is configured to receive the location coordinate information to be accessed in the virtual digital scene; the virtual digital scene includes at least one plot, each plot corresponds to a preset location coordinate range in the virtual digital scene, and each plot is associated with a corresponding virtual resource; the location coordinate information is fed back by the terminal device; a processing unit configured to determine whether the user's current access progress meets the triggering condition of the first virtual resource associated with the target plot if the location coordinate information falls within the location coordinate range corresponding to the target plot; The transceiver unit is further configured to instruct the terminal device to load a three-dimensional virtual interactive model associated with the first virtual resource in the target plot if the current access progress of the user meets the trigger condition; the interactive elements included in the three-dimensional virtual interactive model are determined by the user information of the first virtual resource and / or the terminal device; Before the transceiver unit instructs the terminal device to load the three-dimensional virtual interactive model associated with the first virtual resource in the target land parcel, the method further includes: The transceiver unit constructs dynamic index information corresponding to virtual resources using a flexible scheduling resource model; The dynamic index information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and a corresponding storage space; The transceiver unit instructs the terminal device to load the three-dimensional virtual interaction model associated with the first virtual resource in the target land parcel, including: The transceiver unit obtains target dynamic index information corresponding to the first virtual resource; The transceiver unit generates a load instruction based on the target dynamic index information; and Sending the loading instruction to the terminal device, so that the terminal device loads the three-dimensional virtual interactive model in the target plot based on the loading instruction; The elastic scheduling resource model at least includes: a resource pool, a resource index generator, a scheduler, and a monitor; the elastic scheduling resource model is used to construct dynamic index information corresponding to virtual resources, including: The transceiver unit obtains resource attribute information of each virtual resource; the resource attribute information at least includes: a three-dimensional virtual interaction model associated with each virtual resource and respective corresponding storage space information and network transmission information; The transceiver unit generates corresponding resource index information for each virtual resource using the resource index generator based on the resource attribute information; the resource index information at least includes: index identification, storage space information, interaction model indication information, and transmission planning information corresponding to each virtual resource; the interaction model indication information is used to obtain a three-dimensional virtual interaction model associated with each virtual resource; The transceiver unit updates the resource index information into the resource pool so that the resource pool is used for flexible scheduling of each virtual resource; The transceiver unit dynamically allocates resource index information of each virtual resource in the resource pool to different terminal devices and / or different access tasks by the scheduler; The transceiver unit monitors the dynamic allocation, terminal device interaction and task execution in the resource pool through the monitor to determine whether to trigger the elastic scheduling and reallocation of virtual resources in the resource pool.
