Resource allocation method and device, electronic equipment and readable storage medium

By adopting a dual allocation strategy in extended real-life technology and adopting customized allocation strategies for different resource types, the fairness and efficiency of resource allocation are solved, the user experience and resource utilization are improved, and the flexible and efficient allocation of resources is achieved.

CN118890324APending Publication Date: 2024-11-01BEIJING SUPERHEXA CENTURY TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411071978.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing resource allocation methods are difficult to achieve fair distribution and efficient utilization of resources in the expansion of real-world technology, especially when the number of users increases and the popularization of applications, resulting in fierce competition in resources and difficult to meet the dynamic needs of different users.

Method used

Adopt a dual allocation strategy: for resource types with fixed resource requirements, a fixed allocation time strategy is adopted; for resource types whose resource requirements change dynamically with user type and time, resource allocation is dynamically adjusted according to user type and real-time situation.

Benefits of technology

It realizes flexible and efficient allocation of extended reality service resources, improves user experience and resource utilization, balances the stable supply of resources and flexible response to demand, and significantly enhances the overall efficiency of extended reality services and the personalized level of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890324A_ABST
    Figure CN118890324A_ABST
Patent Text Reader

Abstract

The invention provides a resource allocation method and device, electronic equipment and a readable storage medium, and belongs to the technical field of augmented reality, and the method comprises the steps: responding to the situation that the resource type of augmented reality service belongs to a first type, and allocating augmented reality service resources to load equipment based on a first allocation strategy; the distribution time of the augmented reality service resources in the first distribution strategy is fixed; in response to the fact that the resource type of the augmented reality service belongs to a second type, obtaining a user type corresponding to the augmented reality service, and allocating the augmented reality service resource to the load device based on the user type and a second allocation strategy; the distribution of the augmented reality service resources in the second distribution strategy dynamically changes along with time. According to the invention, fair distribution and efficient utilization of the augmented reality service resources can be ensured, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of extended reality technology, and more specifically, relates to a resource allocation method and device, an electronic device, and a readable storage medium. Background Art

[0002] In the field of extended reality technology, with the continuous development and popularization of technology, the demand for extended reality applications and services is growing, which puts higher requirements on the resource allocation capabilities of extended reality systems. Existing resource allocation methods often face many challenges when facing extended reality technology. With the increase in the number of users and the popularity of extended reality applications, resource competition is becoming increasingly fierce. How to ensure fair allocation and efficient use of resources has become a key issue that must be solved. Summary of the invention

[0003] The purpose of the present disclosure is to provide a resource allocation method and device, an electronic device, and a readable storage medium to ensure fair allocation and efficient use of extended reality service resources and improve user experience.

[0004] A first aspect of an embodiment of the present disclosure provides a resource allocation method, including: In response to the resource type of the extended reality service belonging to the first type, allocating the extended reality service resource to the load device based on a first allocation strategy; the allocation time of the extended reality service resource in the first allocation strategy is fixed; In response to the resource type of the extended reality service belonging to the second type, the user type corresponding to the extended reality service is obtained, and the extended reality service resources are allocated to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

[0005] A second aspect of an embodiment of the present disclosure provides a resource allocation device, including: A first allocation module, in response to the resource type of the extended reality service belonging to the first type, allocates the extended reality service resource to the load device based on a first allocation strategy; the allocation time of the extended reality service resource in the first allocation strategy is fixed; The second allocation module is used to obtain the user type corresponding to the extended reality service in response to the resource type of the extended reality service belonging to the second type, and allocate the extended reality service resources to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

[0006] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned resource allocation method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned resource allocation method are implemented.

[0008] The resource allocation method and device, electronic device, and readable storage medium provided by the embodiments of the present disclosure have the following beneficial effects: The present disclosure can realize flexible and efficient allocation of extended reality service resources. For extended reality service resources of different resource types, customized allocation strategies are adopted: for the first type of service resources with fixed resource requirements, a fixed allocation time strategy is adopted to ensure the stable supply and efficient use of resources; and for the second type of service resources whose resource requirements change dynamically with user type and time, resource allocation is dynamically adjusted according to user type and real-time situation, which not only improves user experience, but also optimizes resource utilization. This dual strategy mechanism effectively balances the needs of stable resource supply and flexible response, significantly enhancing the overall performance of extended reality services and the level of personalization of user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A schematic diagram of a scenario of a resource allocation method provided in an embodiment of the present disclosure; Figure 2 A schematic diagram of a flow chart of a resource allocation method provided in an embodiment of the present disclosure; Figure 3 A structural block diagram of a resource allocation device provided in an embodiment of the present disclosure; Figure 4 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0011] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0012] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0013] refer to Figure 1 , Figure 1 A schematic diagram of a scenario of a resource allocation method provided in an embodiment of the present disclosure.

[0014] The first device 100 is an electronic device used to store extended reality service resources and can allocate extended reality service resources to different second devices 200 under certain conditions. The first device 100 can be a cloud server, an edge server, a server cluster in a data center, a dedicated game or media server, etc.; the second device 200 can be a virtual reality headset, smart glasses, etc.

[0015] When multiple users wear the second device 200 (virtual reality head display) to play virtual reality games, the server will reasonably allocate the extended reality service resources according to the resources required by the games played by different users. For example, VIP users can enjoy high-rendering game scene resources, and ordinary users can enjoy normal-rendering game scene resources.

[0016] Please refer to Figure 2 , Figure 2 A schematic diagram of a resource allocation method provided in an embodiment of the present disclosure, the method comprising: S101: In response to the resource type of the extended reality service belonging to the first type, allocating the extended reality service resource to the load device based on a first allocation strategy; the allocation time of the extended reality service resource in the first allocation strategy is fixed.

[0017] In this embodiment, Extended Reality (XR) service refers to a series of services provided based on XR technology. XR is a concept covering multiple technical forms such as virtual reality, augmented reality and mixed reality. XR service aims to create a richer and more immersive experience for users, integrating virtual elements with the real world to meet the needs of different fields.

[0018] Payload devices refer to terminal devices that receive and use XR service resources. These devices are usually used to present XR experiences, including but not limited to virtual reality (VR), augmented reality (AR), and mixed reality (MR). Payload devices include but are not limited to virtual reality helmets, augmented reality glasses, dedicated XR devices, and projection systems for creating mixed reality experiences.

[0019] There are two main types of resources for XR services: one is resources that can be allocated periodically, and the other is resources that are dynamically allocated based on time. If the resources for XR services are periodically allocated resources, the first allocation strategy can be used to allocate the resources for XR services to the load device; if the resources for XR services are dynamically allocated resources, the second allocation strategy can be used to allocate the resources for XR services to the load device.

[0020] Corresponding to periodically allocated resources, the first allocation strategy is to allocate the first type of XR service resources to the load device at a fixed time point. Corresponding to dynamically allocated resources, the second allocation strategy is to dynamically allocate the second type of XR service resources to the load device over time.

[0021] In this embodiment, when it is determined that the resource type of the XR service belongs to the first type, the server can allocate the XR service resources to the load device according to the first allocation strategy. The first allocation strategy is characterized in that the allocation time of the XR service resources is fixed. This means that no matter how the current state or demand of the load device changes, such XR service resources will be allocated to the load device at a predetermined fixed time point. This strategy is suitable for periodically allocated resources to ensure the regularity and predictability of resource allocation.

[0022] For example, in an XR-based game scenario, the refresh resources of game props belong to the first type. The game is set every 12 hours, that is, 0:00 am and 12:00 noon as fixed allocation times. At these two times, regardless of whether the player is online or not, the game system will allocate new prop resources to the player's load device to ensure the fairness and regularity of the game.

[0023] S102: In response to the resource type of the extended reality service belonging to the second type, obtaining the user type corresponding to the extended reality service, and allocating the extended reality service resources to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

[0024] In this embodiment, the second type may be a resource type that needs to be dynamically adjusted according to real-time data or user behavior. If the resources of the XR service are dynamically allocated resources (i.e., the resource type of the XR service is the second type), the second allocation strategy may be used to allocate the resources of the XR service to the load device.

[0025] The second allocation strategy usually takes into account the characteristics and requirements of XR service resources and the capabilities of the load devices. The resource allocation time is not fixed, but is dynamically adjusted based on factors such as real-time demand, network conditions, or user behavior.

[0026] User type refers to the characteristics or attributes of the target user group of the XR service, such as age, gender, hobbies, user level, etc. This information can help the server understand the user's needs and preferences more accurately.

[0027] In this embodiment, when the server determines that the resource type of the XR service is the second type, it will first obtain the user type corresponding to the XR service. Then, according to the user type, resources are allocated to the load device according to the second allocation strategy. This shows that the allocation of XR service resources will be flexibly adjusted according to different time conditions and differences in user types to better meet the actual needs and usage of different users at different times.

[0028] Suppose there is an XR-based online game service. The resource type of this service belongs to the second type, such as the rare props delivery in the game. First, obtain the user type corresponding to the XR service. The user type here can be divided according to factors such as the player's game level, game time, payment status, such as novice players, veteran players, paying players, etc. Second allocation strategy: Dynamically allocate rare prop resources according to user type at different time periods of the day.

[0029] Morning (6:00-12:00): There are many novice players during this time period. In order to help novice players better experience the game and improve their retention rate, the system will increase the probability of novice players obtaining rare props. For example, the probability of novice players obtaining rare props is 5%, while other types of players have a probability of 3%.

[0030] Afternoon (12:00-18:00): The number of players is relatively balanced, and the allocation strategy is relatively balanced at this time. The probability of all user types obtaining rare items is adjusted to 4%.

[0031] Evening (18:00-24:00): There are more players online, especially senior players and paying players are more active. In order to maintain the competitiveness of the game and motivate paying players, the system will increase the probability of these two types of players obtaining rare props. For example, the probability of senior players obtaining rare props is increased to 6%, paying players to 5%, and novice players remain at 4%.

[0032] This embodiment uses this resource allocation strategy based on user type and time dynamic changes to better meet the needs and expectations of different users in different time periods, thereby improving the fun of the game and user experience.

[0033] From the above, it can be concluded that the present disclosure can achieve flexible and efficient allocation of XR service resources. Customized allocation strategies are adopted for XR service resources of different resource types: for the first type of service resources with fixed resource requirements, a fixed allocation time strategy is adopted to ensure the stable supply and effective utilization of resources; and for the second type of service resources whose resource requirements change dynamically with user type and time, resource allocation is dynamically adjusted according to user type and real-time situation, which not only improves user experience, but also optimizes resource utilization. This dual strategy mechanism effectively balances the needs of stable resource supply and flexible response, significantly enhancing the overall performance of XR services and the level of personalization of user experience.

[0034] In one embodiment of the present disclosure, allocating an extended reality service resource to a load device based on a first allocation strategy includes: In response to the allocation cycles of different extended reality service resources being the same, the different extended reality service resources are allocated to the load device in sequence based on the priority order of the extended reality service resources; Or in response to different extended reality service resources having the same priority, different extended reality service resources are sequentially allocated to the load device based on an allocation cycle of the extended reality service resources.

[0035] In this embodiment, in the XR service, the first type of XR resources (periodically allocated resources) include environmental resources, sensor data resources, multimedia data resources, game scene resources, etc. The second type of XR resources (dynamically allocated resources) include network resources, computing resources, dynamic rendering resources, etc.

[0036] The same allocation cycle means that the allocation or update cycle of different XR service resources is the same. These resources are not allocated immediately on demand, but are allocated or updated at a fixed time interval (i.e., cycle). Priority order refers to the priority allocation level of XR service resources. The priority order can be determined based on a variety of factors, such as the importance of XR service resources, historical usage frequency, urgency of user needs, etc. Different extended reality service resources are resources to be allocated, and the first device (server) needs to allocate corresponding extended reality resources to these load devices according to the request of the load device.

[0037] According to different allocation cycles and priorities of XR service resources, the XR service resources can be stored in the first database and the second database respectively. Among them, the allocation cycle of the XR service resources stored in the first database is the same, but the priority order is different. The priority of the XR service resources stored in the second database is the same, but the allocation cycle is different.

[0038] When the allocation cycle of XR service resources is the same, the server will allocate them to the load devices that need these resources in a certain order according to the priority of these resources.

[0039] Assume that there is an XR-based multiplayer online game scene that contains multiple XR service resources, and their allocation cycle is once every 5 minutes. The priority order of these resources from high to low is: high-resolution texture resources, special skill effect resources, and ordinary scene model resources.

[0040] At a certain allocation moment, multiple load devices (i.e., players' game terminals) request resources at the same time.

[0041] Player A is participating in an intense PVP battle, which requires high smoothness and details of the picture. The server first allocates high-resolution texture resources to improve the quality of its game picture, so that the player can see the details in the game more clearly.

[0042] Player B is about to release a powerful special skill, the effect of which may have a significant impact on the outcome of the battle. The server then allocates special skill effect resources to player B to ensure that his skill can present a cool and accurate effect.

[0043] Player C only moves and explores in the ordinary scene, and has relatively low demand for resources. After meeting the higher priority needs of players A and B, the server finally allocates the ordinary scene model resources to player C to maintain his basic gaming experience.

[0044] When the priorities of XR service resources are the same, the server will allocate them to the load devices that need these resources in a certain order according to the allocation cycle of these resources.

[0045] Assume that in an XR-based telemedicine platform, there are three XR service resources with the same priority: real-time vital sign monitoring data, high-definition display of medical images, and rehabilitation training guidance videos. Their allocation cycles are every 5 minutes, every 10 minutes, and every 20 minutes, respectively. When multiple patients' load devices request resources at the same time at 10 a.m., the server first allocates real-time vital sign monitoring data to the patients at 10 a.m. The data is allocated again at 10:05 a.m. At 10:10 a.m., high-definition display resources for medical images are allocated. At 10:20 a.m., rehabilitation training guidance video resources are allocated. For example, if player D accesses at 10:12 a.m., he first obtains the high-definition display resources for medical images, and the next time he has to wait until 10:20 a.m. to obtain the rehabilitation training guidance video.

[0046] From the above, it can be concluded that this embodiment effectively responds to the challenges of XR service resource allocation in different situations by flexibly adjusting the XR service resource allocation strategy. When the XR service resource allocation cycle is the same, allocation in priority order ensures that key services are prioritized; when the priorities are the same, allocation is based on the allocation cycle, which promotes balanced utilization of XR service resources. This dual strategy improves the flexibility and efficiency of XR service resource allocation.

[0047] In one embodiment of the present disclosure, different extended reality service resources are sequentially allocated to load devices based on the priority order of the extended reality service resources, including: In response to the different extended reality service resources having the same priority, the different extended reality service resources are sequentially allocated to the load device according to the data volume of the different extended reality service resources.

[0048] In this embodiment, different XR service resources are sequentially allocated to load devices based on the allocation cycle of the XR service resources, including: In response to the fact that allocation cycles of different XR service resources are the same, different XR service resources are allocated to the load devices in sequence according to the data volumes of different XR service resources.

[0049] When different XR service resources have the same allocation period and priority, the data volume of different XR service resources can be calculated, and different XR service resources can be allocated to load devices in sequence based on the data volume of different XR service resources. XR service resources with large data volume can be allocated to corresponding load devices first, and XR service resources with small data volume can be allocated to corresponding load devices secondarily.

[0050] The "data volume" in this embodiment refers to the total amount of data that needs to be transmitted or processed during the operation of the XR service, and can also refer to the amount of data specified in each resource allocation request. The size of the data volume often reflects the complexity of the XR service and the degree of demand for XR service resources by the load device. Therefore, allocating XR service resources according to the data volume can ensure that those load devices with greater demand for XR service resources have priority.

[0051] Assume that in an XR-based architectural design collaboration platform, there are three service resources with the same priority and allocation cycle: architectural model material library, design plan document, and construction simulation animation. Their data volumes are in the following order: architectural model material library < design plan document < construction simulation animation. When multiple load devices (designer's work terminals) request these resources at the same time, the server will first allocate the architectural model material library with a smaller data volume, then the design plan document, and finally the construction simulation animation.

[0052] For example, designer E is working on a preliminary design and his load device requests these resources. The server first quickly allocates the building model material library, then the design solution document, and finally the construction simulation animation to meet the designer's needs for resources of different data volumes at different stages.

[0053] It can be concluded from the above that this embodiment allocates XR service resources with the same priority by considering the service data volume, thereby effectively avoiding resource allocation conflicts, ensuring that high data demand services obtain resources first, and improving resource utilization efficiency and service quality.

[0054] In one embodiment of the present disclosure, the resource allocation method further includes: if the XR service resource is a scene resource, there are different resource allocation strategies under the same scene.

[0055] In response to the scene resource being a texture resource, a model resource, or a special effect resource, allocating the XR service resource to the load device based on a first allocation strategy; In response to the scene resource being a dynamic geometry, a shadow resource, or a layer resource, the XR service resource is allocated to the load device based on a second allocation strategy.

[0056] Suppose there is a large-scale adventure game scene based on virtual reality. In the ancient castle scene of this game: texture resources (such as the masonry texture of the castle wall) and model resources (such as the fixed building model of the castle) are regarded as periodically allocated resources. The server allocates these resources to the load device (the player's game terminal) every 30 minutes to ensure the stability of the basic visual effects of the scene.

[0057] Dynamic geometry (such as a moving drawbridge) and layered resources (such as a castle interior detail level that is dynamically loaded based on the player's distance) are considered dynamically allocated resources. When the player triggers relevant events (such as approaching a drawbridge) or environmental conditions change (such as the sun's position), the server allocates these resources to the load device in real time to provide a more realistic and real-time gaming experience.

[0058] The resource allocation method also includes: if the XR service resources are texture resources, model resources or special effect resources, different resource allocation strategies are used in different time periods.

[0059] In response to the current time period being an idle time period, XR service resources are allocated to the load device based on a first allocation strategy; in response to the current time period being a peak time period, XR service resources are allocated to the load device based on a second allocation strategy; the access volume of the load device in the idle time period is less than the access volume of the load device in the peak time period.

[0060] Assume that there is a large-scale adventure game scene based on virtual reality. In the ancient castle scene of this game: the castle fixed building model is the model resource. A day is divided into three time periods: 6 am to 10 am, 12 pm to 2 pm, and 6 pm to 8 pm are peak time periods, and the rest of the time is idle time period.

[0061] During idle time periods, such as from 3pm to 5pm, based on the first allocation strategy, complete and high-definition castle fixed building model resources are allocated to load devices (such as visitors' head-mounted devices) to provide rich details and high-quality experience.

[0062] During peak hours, such as 7 p.m., due to the significant increase in the number of connected load devices, based on the second allocation strategy, low-definition castle fixed building model resources may be allocated to the load devices first. After the number of loads connected to the server decreases, the clarity and details of the model will be gradually improved to ensure that all connected load devices can obtain model resources relatively smoothly, avoiding system freezes or crashes due to too many requests.

[0063] From the above, we can conclude that for the same game scenario, different resources have different allocation strategies; for the same resource, there will also be different resource allocation strategies at different time points.

[0064] In one embodiment of the present disclosure, allocating extended reality service resources to load devices based on user type and second allocation strategy includes: Determine the priority of the current user based on the comparison result between the current user type and the historical user types; Allocate XR service resources to load devices based on the priority order of the current users.

[0065] In this embodiment, user types may refer to different user groups or user categories using XR services. These user types may be divided based on a variety of factors, including but not limited to: user authority level, user behavior characteristics, user demand type, etc.

[0066] First, the server needs to identify the type of user who is currently using or requesting XR service resources. This is usually based on a comprehensive judgment of multiple factors such as the user's account information, device information, etc. The user type can be based on the level of permission (such as ordinary users, advanced users, VIP users). After determining the current user type, the server can combine the user's past historical user types and compare the differences or changes between the two to comprehensively evaluate and determine the current user's priority in resource allocation. This priority setting helps the server meet user needs more accurately, optimize resource utilization, and improve the overall user experience.

[0067] Suppose this is an online art exhibition platform based on virtual reality.

[0068] User AA was originally an ordinary user who often browsed some regular art exhibitions. As his activity on the platform increased, he purchased more art exhibition appreciation services and his user type was upgraded to a premium user. When AA visited the platform again to request XR service resources, the server determined that his priority had increased by comparing his current premium user type with his past ordinary user type. It gave him priority in allocating higher-definition and richer art detail display resources, as well as exclusive art explanation services.

[0069] User BB has always been a premium user and has maintained a stable high level of activity and consumption. When BB and AA request resources at the same time, since BB's historical and current user types are both premium users with higher activity and consumption, the server determines that BB has a higher priority than AA, and gives priority to BB in allocating XR service resources for the latest limited edition artworks, as well as service permissions for real-time communication and interaction with artists. Through such priority determination and resource allocation, the needs of different users are met and the user experience is improved.

[0070] In one embodiment of the present disclosure, allocating extended reality service resources to load devices based on user type and second allocation strategy includes: Determine the occupation of the extended reality service resources of the load device corresponding to each user based on the user type and the load quantity in the current time period; The extended reality service resources are allocated to the load device based on the occupied amount of the extended reality service resources of the load device corresponding to each user; the user and the load device are in a one-to-one correspondence.

[0071] In this embodiment, the allocation mechanism of XR service resources follows a dynamic adaptive strategy, the core of which is to determine the resource allocation method based on the user type and the load quantity in the current time period. Specifically, the server first identifies the type of user corresponding to the load device connected to the server, and evaluates the number of load devices connected to the server in the current time period, which is used as the basic indicator for resource allocation. Then, the server calculates the amount of XR service resources that the load device corresponding to each user should obtain by analyzing the user type and the load quantity in the current time period. This occupancy reflects the actual demand for resources by the user at a specific moment, while also taking into account the availability and allocation efficiency of the overall server resources. Finally, the server dynamically allocates XR service resources to the corresponding load device based on the resource occupancy that the load device corresponding to each user should obtain, ensuring that resource allocation is both fair and efficient while meeting the needs of different user types.

[0072] It can be concluded from the above that this embodiment can flexibly respond to different user needs and load changes, ensure fairness and efficiency of resource allocation, improve user experience by finely calculating resource occupancy, optimize resource utilization, reduce waste, and improve the overall resource allocation quality and responsiveness of the server.

[0073] In one embodiment of the present disclosure, the resource allocation method further includes: Acquire network data of the current period, and determine the target historical period based on the matching relationship between the network data of the current period and the network data of the historical period; The allocation strategy corresponding to the target historical period is determined as the target allocation strategy corresponding to the network data of the current period; and the extended reality service resources are allocated to the load device based on the target allocation strategy.

[0074] In this embodiment, the network data of the current period refers to the data about the network status collected in the current period, including but not limited to network bandwidth, delay, packet loss rate, flow rate and other information. These data reflect the performance and usage of the current network. The network data of the historical period refers to the network status data collected in a certain period of time in the past.

[0075] The target historical period refers to the period in the historical period that has the highest match with the network data of the current period. The network conditions of this period are closest to the current period and can be used as a reference to formulate an appropriate XR service resource allocation strategy. The target allocation strategy refers to the XR service resource allocation strategy corresponding to the target historical period. This means that the server can decide how to allocate XR service resources in the current period based on the XR service resource allocation scheme under similar network conditions in the historical period.

[0076] Allocate XR service resources to load devices based on target allocation strategy: This means that according to the target allocation strategy, the server can decide how to optimally allocate XR service resources to each load device.

[0077] In this embodiment, the server determines the network status data in the current time period, including information such as bandwidth and latency, compares the network data of the current time period with the network data of the historical time period, and finds the target historical time period with the highest matching degree. Then, the server determines the resource allocation strategy of the current time period according to the allocation strategy corresponding to the target historical time period, and allocates the XR service resources to the load device according to the determined target allocation strategy, ensuring the effective use of resources and optimizing the user experience.

[0078] For example, suppose there is a large-scale virtual reality game. During the current period from 10 to 11 a.m., the network data obtained by the server shows that a large number of users are concentrated in a specific area, and the data traffic has increased dramatically. By matching with the network data of the historical period, it is found that the situation is similar to the morning of the first day of the National Day holiday last year. Therefore, the allocation strategy corresponding to the morning of the first day of the National Day holiday last year is determined as the current target allocation strategy, that is, more computing resources and bandwidth are allocated to the load devices in this area first to ensure the quality experience of users.

[0079] From the above, we can conclude that by comparing the current network data with the historical network data, the server can intelligently identify and apply the most matching historical allocation strategy, thus achieving dynamic optimization of resource allocation. This method not only improves the accuracy and efficiency of resource allocation, but also reduces the uncertainty caused by network fluctuations, ensuring the stable supply of XR service resources and the continuity of user experience.

[0080] In one embodiment of the present disclosure, determining the allocation strategy corresponding to the target historical period as the target allocation strategy corresponding to the network data of the current period includes: The target allocation strategy corresponding to the network data of the current period is determined based on the load of the current period and the allocation strategy corresponding to the target historical period.

[0081] In this embodiment, the server dynamically adjusts and determines the target allocation strategy under the network data of the current period by monitoring the load of the current period and combining it with the corresponding allocation strategy in the target historical period (determined based on the matching of the network data of the current period with the historical data). This process is designed to ensure that resource allocation can closely follow the load changes, achieve optimal configuration and efficient use of resources, and thus improve the overall service quality and user experience.

[0082] For example, suppose a virtual online education platform finds that the load is 50,000 students online at the same time during the current period from 3 to 4 p.m. The server compares the allocation strategy with the target historical period, such as the same period last summer vacation, and finds that the load during this period last summer vacation was 40,000 people. The allocation strategy is to allocate M computing resources and N bandwidth to the server. Considering the current increase in load, based on the original strategy, the allocation of computing resources and bandwidth is appropriately increased, such as increasing computing resources by 20% and bandwidth by 15%, so as to determine the target allocation strategy suitable for the current period to ensure the stable operation of the platform and smooth teaching.

[0083] From the above, it can be concluded that this embodiment achieves precise customization of the allocation strategy by combining the current load and the allocation strategy of the target historical period. This resource allocation can not only better adapt to the current network environment, but also ensure the close match between resource allocation and load demand, further improve resource utilization efficiency and service quality, and provide users with a smoother and more stable XR resource experience.

[0084] Corresponding to the resource allocation method in the above embodiment, Figure 3 This is a structural block diagram of a resource allocation device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 3 The resource allocation device 20 includes: a first allocation module 21 and a second allocation module 22.

[0085] The first allocation module 21 allocates the extended reality service resources to the load device based on a first allocation strategy in response to the resource type of the extended reality service belonging to the first type; the allocation time of the extended reality service resources in the first allocation strategy is fixed; The second allocation module 22 is used to obtain the user type corresponding to the extended reality service in response to the resource type of the extended reality service belonging to the second type, and allocate the extended reality service resources to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

[0086] In one embodiment of the present disclosure, the first allocation module 21 is specifically used to: In response to the allocation cycles of different extended reality service resources being the same, the different extended reality service resources are allocated to the load device in sequence based on the priority order of the extended reality service resources; Or in response to different extended reality service resources having the same priority, different extended reality service resources are sequentially allocated to the load device based on an allocation cycle of the extended reality service resources.

[0087] In one embodiment of the present disclosure, the first allocation module 21 is specifically used to: In response to the different extended reality service resources having the same priority, the different extended reality service resources are sequentially allocated to the load device according to the data volume of the different extended reality service resources.

[0088] In one embodiment of the present disclosure, the second allocation module 22 is specifically used for: Determine the priority of the current user based on the comparison result between the current user type and the historical user types; Allocate XR service resources to load devices based on the priority order of the current users.

[0089] In one embodiment of the present disclosure, the second allocation module 22 is specifically used for: Determine the occupation of the extended reality service resources of the load device corresponding to each user based on the user type and the load quantity in the current time period; The extended reality service resources are allocated to the load device based on the occupied amount of the extended reality service resources of the load device corresponding to each user; the user and the load device are in a one-to-one correspondence.

[0090] In one embodiment of the present disclosure, the resource allocation device 20 further includes a third allocation module; A third allocation module is used to obtain network data of the current period and determine the target historical period based on the matching relationship between the network data of the current period and the network data of the historical period; The allocation strategy corresponding to the target historical period is determined as the target allocation strategy corresponding to the network data of the current period; and the extended reality service resources are allocated to the load device based on the target allocation strategy.

[0091] In one embodiment of the present disclosure, the third allocation module is specifically used to: The target allocation strategy corresponding to the network data of the current period is determined based on the load of the current period and the allocation strategy corresponding to the target historical period.

[0092] See also Figure 4 , Figure 4 This is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure. The electronic device may be a server, a cloud server, an edge server, a server cluster in a data center, or a dedicated game or media server. Figure 4The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of each module / unit in the above-mentioned device embodiments, such as Figure 3 The functions of modules 21 to 22 are shown.

[0093] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0094] The input device 302 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.

[0095] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0096] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure may execute the implementation methods described in the first and second embodiments of the resource allocation method provided in the embodiments of the present disclosure, and may also execute the implementation methods of the electronic device described in the embodiments of the present disclosure, which will not be repeated here.

[0097] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor, all or part of the processes in the above-mentioned embodiment method are implemented, and the computer program can also be completed by instructing the relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0098] The computer-readable storage medium may be an internal storage unit of the electronic device of any of the aforementioned embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0099] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0100] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0101] In the several embodiments provided in the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected based on actual needs to achieve the purpose of the embodiments of the present disclosure.

[0103] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0104] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A resource allocation method, characterized in that: include: In response to the resource type of the extended reality service belonging to the first type, allocating the extended reality service resource to the load device based on a first allocation strategy; The allocation time of the extended reality service resources in the first allocation strategy is fixed; In response to the resource type of the extended reality service belonging to the second type, the user type corresponding to the extended reality service is obtained, and the extended reality service resources are allocated to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

2. The resource allocation method according to claim 1, characterized in that: The allocating the extended reality service resource to the load device based on the first allocation strategy includes: In response to the allocation cycles of different extended reality service resources being the same, the different extended reality service resources are allocated to the load device in sequence based on the priority order of the extended reality service resources; Or in response to different extended reality service resources having the same priority, different extended reality service resources are sequentially allocated to the load device based on an allocation cycle of the extended reality service resources.

3. The resource allocation method according to claim 2, characterized in that: The allocating different extended reality service resources to the load devices in sequence based on the priority order of the extended reality service resources includes: In response to the different extended reality service resources having the same priority, the different extended reality service resources are sequentially allocated to the load device according to the data volume of the different extended reality service resources.

4. The resource allocation method according to claim 1, characterized in that: The allocating the extended reality service resource to the load device based on the user type and the second allocation strategy includes: Determine the priority of the current user based on the comparison result between the current user type and the historical user types; Allocate XR service resources to load devices based on the priority order of the current users.

5. The resource allocation method according to claim 1, characterized in that: The allocating the extended reality service resource to the load device based on the user type and the second allocation strategy includes: Determine the occupation of the extended reality service resources of the load device corresponding to each user based on the user type and the load quantity in the current time period; The extended reality service resources are allocated to the load device based on the occupied amount of the extended reality service resources of the load device corresponding to each user; the users and the load devices are in a one-to-one correspondence.

6. The resource allocation method according to claim 1, characterized in that: Also includes: Acquire network data of the current period, and determine the target historical period based on the matching relationship between the network data of the current period and the network data of the historical period; Determine the allocation strategy corresponding to the target historical period as the target allocation strategy corresponding to the network data of the current period; The extended reality service resources are allocated to the load devices based on the target allocation strategy.

7. The resource allocation method according to claim 6, characterized in that: The step of determining the allocation strategy corresponding to the target historical period as the target allocation strategy corresponding to the network data of the current period includes: The target allocation strategy corresponding to the network data in the current period is determined based on the load in the current period and the allocation strategy corresponding to the target historical period.

8. A resource allocation device, characterized in that: include: A first allocation module, in response to the resource type of the extended reality service belonging to the first type, allocates the extended reality service resource to the load device based on a first allocation strategy; the allocation time of the extended reality service resource in the first allocation strategy is fixed; The second allocation module is used to obtain the user type corresponding to the extended reality service in response to the resource type of the extended reality service belonging to the second type, and allocate the extended reality service resources to the load device based on the user type and the second allocation strategy; the allocation of the extended reality service resources in the second allocation strategy changes dynamically over time.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Cloud computing resource dynamic allocation optimization method

    CN119179578A

  • A resource allocation method based on event response

    CN119759586A