CN116328316A - Method, system, device and storage medium for distributing resources in virtual world - Google Patents
Method, system, device and storage medium for distributing resources in virtual world Download PDFInfo
- Publication number
- CN116328316A CN116328316A CN202111621436.9A CN202111621436A CN116328316A CN 116328316 A CN116328316 A CN 116328316A CN 202111621436 A CN202111621436 A CN 202111621436A CN 116328316 A CN116328316 A CN 116328316A
- Authority
- CN
- China
- Prior art keywords
- virtual
- user
- resource
- allocation
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/73—Authorising game programs or game devices, e.g. checking authenticity
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/45—Controlling the progress of the video game
- A63F13/46—Computing the game score
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Stored Programmes (AREA)
Abstract
本申请公开了一种虚拟世界中资源分配方法、系统、装置以及计算机存储介质,用于优化虚拟世界中的资源分配。本申请方法包括:根据初始分配规则向第一目标用户分配虚拟资源,虚拟资源为在虚拟世界中供用户支配的资源,虚拟资源被设置有预设支配周期,预设支配周期为虚拟资源在一次分配中所能被用户支配的最长时间;当虚拟资源的预设支配周期终止时,获取申请用户对虚拟资源的支配请求,支配请求用于请求将虚拟资源分配给申请用户;根据预设评价规则确定申请用户的优先权值,优先权值用于度量申请用户支配虚拟资源的优先权;根据优先权值向申请用户中的第二目标用户分配虚拟资源。
The application discloses a resource allocation method, system, device and computer storage medium in a virtual world, which are used to optimize resource allocation in the virtual world. The method of the present application includes: allocating virtual resources to the first target user according to the initial allocation rules, the virtual resources are resources for users to control in the virtual world, the virtual resources are set with a preset control cycle, and the preset control cycle is that the virtual resources are controlled once The longest time that can be controlled by the user during the allocation; when the preset control period of the virtual resource expires, obtain the control request of the applicant user for the virtual resource, and the control request is used to request the allocation of the virtual resource to the applicant user; according to the preset evaluation The rule determines the priority value of the application user, and the priority value is used to measure the priority of the application user to control the virtual resources; according to the priority value, the virtual resource is allocated to the second target user among the application users.
Description
技术领域technical field
本申请涉及数据处理领域,尤其涉及一种虚拟世界中资源分配方法、系统、装置及存储介质。The present application relates to the field of data processing, and in particular to a resource allocation method, system, device and storage medium in a virtual world.
背景技术Background technique
随着互联网技术的不断发展,虚拟世界越来越受到用户的喜爱,用户可以在虚拟世界中获得不同的虚拟资源以进行虚拟的建设或者展示等。With the continuous development of Internet technology, the virtual world is more and more popular with users, and users can obtain different virtual resources in the virtual world for virtual construction or display.
现有技术提供的方案中,例如在多人虚拟世界中,系统分配给用户的虚拟世界资源或数据资源往往是永久性的,例如虚拟世界中的土地资源等,除非用户主动退出该资源,否则该资源不会再被分配给其他用户,这样就会导致先加入的用户占据了较为优质的资源,而后加入的用户很难再获取优质资源。资源的分配受到了一定的限制,资源分配可能存在一定不合理性,因此会影响用户在虚拟世界中的体验。In the solutions provided by the prior art, for example, in a multiplayer virtual world, the virtual world resources or data resources allocated to users by the system are often permanent, such as land resources in the virtual world, unless the user voluntarily quits the resource, otherwise This resource will not be allocated to other users, which will cause users who join first to occupy relatively high-quality resources, and users who join later will find it difficult to obtain high-quality resources. The allocation of resources is subject to certain restrictions, and there may be certain irrationality in resource allocation, which will affect the user's experience in the virtual world.
发明内容Contents of the invention
为了解决上述技术问题,本申请提供了一种虚拟世界中资源分配方法、系统、装置及存储介质,用于优化虚拟世界中的资源分配。In order to solve the above technical problems, the present application provides a resource allocation method, system, device and storage medium in a virtual world, which are used to optimize resource allocation in a virtual world.
本申请第一方面提供了一种虚拟世界中资源分配方法,包括:The first aspect of the present application provides a resource allocation method in a virtual world, including:
根据初始分配规则向第一目标用户分配虚拟资源,所述虚拟资源为在所述虚拟世界中供用户支配的资源,所述虚拟资源被设置有预设支配周期,所述预设支配周期为所述虚拟资源在一次分配中所能被所述用户支配的最长时间;Allocate virtual resources to the first target user according to the initial allocation rules, the virtual resources are resources for users to control in the virtual world, the virtual resources are set with a preset control cycle, and the preset control cycle is the The maximum time that the virtual resource can be controlled by the user in one allocation;
当所述虚拟资源的预设支配周期终止时,获取申请用户对所述虚拟资源的支配请求,所述支配请求用于请求将所述虚拟资源分配给所述申请用户;When the preset allocation period of the virtual resource expires, obtain an allocation request from the applicant user for the virtual resource, where the allocation request is used to request allocation of the virtual resource to the applicant user;
根据预设评价规则确定所述申请用户的优先权值,所述优先权值用于度量所述申请用户支配所述虚拟资源的优先权;determining the priority value of the applicant user according to preset evaluation rules, and the priority value is used to measure the priority of the applicant user to control the virtual resource;
根据所述优先权值向所述申请用户中的第二目标用户分配所述虚拟资源。Allocating the virtual resource to a second target user among the applying users according to the priority value.
可选的,所述根据预设评价规则确定所述申请用户的优先权值包括:Optionally, the determining the priority value of the applicant user according to the preset evaluation rules includes:
获取所述申请用户在预设时间段内的分数信息,所述分数信息为对所述申请用户在所述虚拟世界中发布的作品的评价分数;Obtaining score information of the applicant user within a preset time period, the score information being evaluation scores for works published by the applicant user in the virtual world;
对所述分数信息进行评价并确定优先权值。The score information is evaluated and a priority value is determined.
可选的,所述获取所述申请用户在预设时间段内的分数信息包括:Optionally, the obtaining the score information of the applying user within a preset time period includes:
获取所述申请用户在预设时间段内的作品数据,所述作品数据包括所述申请用户发布的作品的被点赞数、被转发数以及被评论数中的至少一个;Obtaining the work data of the applicant user within a preset time period, the work data including at least one of the number of likes, reposts and comments of the work published by the applicant user;
根据所述作品数据生成所述申请用户的分数信息。Generating score information of the applying user according to the work data.
可选的,当所述申请用户中包含有多个用户时,所述第二目标用户为所述优先权值最高的用户。Optionally, when the applying users include multiple users, the second target user is the user with the highest priority value.
可选的,所述根据预设评价规则确定所述申请用户的优先权值包括:Optionally, the determining the priority value of the applicant user according to the preset evaluation rules includes:
获取所述申请用户注册所述虚拟世界的注册时间;Obtain the registration time when the applicant user registers the virtual world;
对所述注册时间进行评价并确定优先权值。The registration time is evaluated and a priority value is determined.
可选的,在所述根据初始分配规则向第一目标用户分配虚拟资源之前,所述方法还包括:Optionally, before allocating virtual resources to the first target user according to the initial allocation rule, the method further includes:
获取初始申请用户对所述虚拟资源的初始支配请求;所述初始支配请求用于请求将所述虚拟资源分配给所述初始申请用户;Acquiring an initial allocation request from an initial application user for the virtual resource; the initial allocation request is used to request allocation of the virtual resource to the initial application user;
所述根据初始分配规则向第一目标用户分配虚拟资源包括:The allocating virtual resources to the first target user according to the initial allocation rules includes:
获取所述初始支配请求的申请时间,并根据所述申请时间确定第一目标用户,所述第一目标用户为在所述初始申请用户中具有最早的所述申请时间的用户;Obtaining the application time of the initial control request, and determining a first target user according to the application time, where the first target user is the user with the earliest application time among the initial application users;
向所述第一目标用户分配所述虚拟资源。Allocating the virtual resource to the first target user.
可选的,所述虚拟资源为在所述虚拟世界中的虚拟土地资源。Optionally, the virtual resource is a virtual land resource in the virtual world.
本申请第二方面提供了一种虚拟世界中资源分配系统,所述系统包括:The second aspect of the present application provides a resource allocation system in a virtual world, the system comprising:
第一分配单元,用于根据初始分配规则向第一目标用户分配虚拟资源,所述虚拟资源为在所述虚拟世界中供用户支配的资源,所述虚拟资源被设置有预设支配周期,所述预设支配周期为所述虚拟资源在一次分配中所能被所述用户支配的最长时间;The first allocating unit is configured to allocate virtual resources to the first target user according to an initial allocation rule, the virtual resources are resources for users to control in the virtual world, and the virtual resources are set with a preset control period, so The preset control period is the longest time that the virtual resource can be controlled by the user in one allocation;
获取单元,用于当所述虚拟资源的预设支配周期终止时,获取申请用户对所述虚拟资源的支配请求,所述支配请求用于请求将所述虚拟资源分配给所述申请用户;An acquiring unit, configured to acquire an allocation request from an applicant user for the virtual resource when the preset allocation period of the virtual resource ends, and the allocation request is used to request allocation of the virtual resource to the applicant user;
确定单元,用于根据预设评价规则确定所述申请用户的优先权值,所述优先权值用于度量所述申请用户支配所述虚拟资源的优先权;A determining unit, configured to determine the priority value of the applicant user according to a preset evaluation rule, the priority value is used to measure the priority of the applicant user to control the virtual resource;
第二分配单元,用于根据所述优先权值向所述申请用户中的第二目标用户分配所述虚拟资源。A second allocating unit, configured to allocate the virtual resource to a second target user among the applying users according to the priority value.
本申请第三方面提供了一种资源分配装置,所述装置包括:A third aspect of the present application provides a resource allocation device, the device comprising:
处理器、存储器、输入输出单元以及总线;Processor, memory, I/O unit and bus;
所述处理器与所述存储器、所述输入输出单元以及所述总线相连;The processor is connected to the memory, the input and output unit and the bus;
所述存储器保存有程序,所述处理器调用所述程序以执行第一方面以及第一方面中任一项可选的所述方法。The memory stores a program, and the processor invokes the program to execute the first aspect and any optional method in the first aspect.
本申请第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质上保存有程序,所述程序在计算机上执行时执行第一方面以及第一方面中任一项可选的所述方法。The fourth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a program, and when the program is executed on a computer, the first aspect and any optional one of the first aspect are executed. the method.
从以上技术方案可以看出,本申请具有以下优点:As can be seen from the above technical solutions, the present application has the following advantages:
本申请提供的虚拟世界中的资源分配方法中,终端首先根据初始分配规则来分配虚拟世界中的虚拟资源,在确定该虚拟资源的预设支配周期终止后,会获取申请支配该虚拟资源的申请用户的优先权值,并根据优先权值来重新分配该虚拟资源,实现了虚拟世界中虚拟资源的再分配,提高了用户的使用体验,并且本申请提供的方法中,再对虚拟资源进行再分配时会考虑申请用户的优先权值,能够充分优化虚拟世界中虚拟资源的分配,进一步提高用户使用虚拟世界的体验。In the resource allocation method in the virtual world provided by this application, the terminal first allocates the virtual resources in the virtual world according to the initial allocation rules, and after determining that the preset control cycle of the virtual resources is terminated, it will obtain the application for control of the virtual resources The priority value of the user, and redistribute the virtual resources according to the priority value, realize the redistribution of virtual resources in the virtual world, improve the user experience, and in the method provided by this application, the virtual resources are redistributed The allocation will consider the priority value of the applying user, which can fully optimize the allocation of virtual resources in the virtual world and further improve the user experience of using the virtual world.
附图说明Description of drawings
为了更清楚地说明本申请中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in this application more clearly, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the application. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本申请中提供的虚拟世界中的资源分配方法一个实施例流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a resource allocation method in a virtual world provided in this application;
图2为本申请中提供的虚拟世界中的资源分配方法另一个实施例流程示意图;FIG. 2 is a schematic flow chart of another embodiment of the resource allocation method in the virtual world provided in this application;
图3为本申请中提供的虚拟世界中的资源分配方法另一个实施例流程示意图;FIG. 3 is a schematic flow chart of another embodiment of the resource allocation method in the virtual world provided in this application;
图4为本申请中提供的虚拟世界中的资源分配系统一个实施例结构示意图;FIG. 4 is a schematic structural diagram of an embodiment of a resource allocation system in a virtual world provided in the present application;
图5为本申请中提供的虚拟世界中的资源分配装置一个实施例结构示意图。Fig. 5 is a schematic structural diagram of an embodiment of a device for allocating resources in a virtual world provided in this application.
具体实施方式Detailed ways
现有技术提供的方案中,例如在多人虚拟世界中,系统分配给用户的虚拟世界资源或数据资源往往是永久性的,例如虚拟世界中的土地资源等,除非用户主动退出该资源,否则该资源不会再被分配给其他用户,这样就会导致先加入的用户占据了较为优质的资源,而后加入的用户很难再获取优质资源。资源的分配受到了一定的限制,资源分配可能存在一定不合理性,因此会影响用户在虚拟世界中的体验。In the solutions provided by the prior art, for example, in a multiplayer virtual world, the virtual world resources or data resources allocated to users by the system are often permanent, such as land resources in the virtual world, unless the user voluntarily quits the resource, otherwise This resource will not be allocated to other users, which will cause users who join first to occupy relatively high-quality resources, and users who join later will find it difficult to obtain high-quality resources. The allocation of resources is subject to certain restrictions, and there may be certain irrationality in resource allocation, which will affect the user's experience in the virtual world.
基于此,本申请提供了一种虚拟世界中的资源分配方法,用于优化虚拟世界中的虚拟资源分配。Based on this, the present application provides a resource allocation method in a virtual world, which is used to optimize virtual resource allocation in the virtual world.
需要说明的是,本申请提供的虚拟世界中的资源分配方法,可以应用于终端也可以应用于系统,还可以应用于服务器上,例如终端可以是智能手机或电脑、平板电脑、智能电视、智能手表、便携计算机终端也可以是台式计算机等固定终端。为方便阐述,本申请中以服务器为执行主体进行举例说明。It should be noted that the resource allocation method in the virtual world provided by this application can be applied to terminals, systems, or servers. For example, terminals can be smart phones or computers, tablet computers, smart TVs, smart Wrist watches and portable computer terminals may also be fixed terminals such as desktop computers. For the convenience of explanation, in this application, a server is used as an execution subject for illustration.
请参阅图1,图1为本申请提供的虚拟世界中的资源分配方法一个实施例流程示意图,该虚拟世界中的资源分配方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an embodiment of a resource allocation method in a virtual world provided by the present application. The resource allocation method in the virtual world includes:
101、根据初始分配规则向第一目标用户分配虚拟资源,虚拟资源为在虚拟世界中供用户支配的资源,虚拟资源被设置有预设支配周期,预设支配周期为虚拟资源在一次分配中所能被用户支配的最长时间;101. Allocate virtual resources to the first target user according to the initial allocation rules. Virtual resources are resources for users to control in the virtual world. Virtual resources are set with a preset control period, which is the time period for virtual resources in one allocation. The maximum time that can be controlled by the user;
本申请提供的虚拟世界中的资源分配方法中,所提及或讨论的虚拟世界可以是三维的虚拟世界,虚拟世界中可以包含有操作角色以及各种场景,例如建筑、天空、地面以及河流等虚拟场景,虚拟场景中包含有操作角色,操作角色是指在虚拟世界中用户所操控的角色,用户可以操控该操作角色在虚拟世界中执行各种操作以及与其他用户进行互动等,虚拟世界中可以有一定的虚拟空间,例如虚拟的地表空间,用户可以在对应的地表空间上构建各种建筑物,建筑物会占据一定的虚拟空间,用户也可以在地表空间上放置某些作品以进行展示,这样的虚拟地表空间可以被称为虚拟土地资源,虚拟世界中可以提供一个面积有限的集中虚拟城区,同一个服务器中的所有用户会出现在该虚拟城区中,该虚拟城区中可以有部分的虚拟土地资源用来向用户开放,用户可以向服务器申请支配权力,在第一次向用户分配虚拟资源时,服务器可以根据初始分配规则向用户分配虚拟资源,初始分配规则可以是依据用户申请时间的先后。即不同用户对同一虚拟资源申请时,先申请的用户可以支配该虚拟资源。在本申请中,所有的虚拟资源被配置了预设支配周期,预设支配周期指该虚拟资源在一次分配中所能被用户支配的最长时间,即虚拟资源在一次分配中的生命周期,到达该生命周期之后,该虚拟资源的支配权会被服务器回收,服务器会重新对该虚拟资源进行分配。In the resource allocation method in the virtual world provided by this application, the virtual world mentioned or discussed can be a three-dimensional virtual world, and the virtual world can include operating characters and various scenes, such as buildings, sky, ground and rivers, etc. Virtual scene, the virtual scene contains the operation role, the operation role refers to the character controlled by the user in the virtual world, the user can manipulate the operation role to perform various operations in the virtual world and interact with other users, etc., in the virtual world There can be a certain virtual space, such as a virtual surface space. Users can build various buildings on the corresponding surface space. The buildings will occupy a certain virtual space. Users can also place certain works on the surface space for display , such a virtual surface space can be called a virtual land resource. A centralized virtual urban area with a limited area can be provided in the virtual world. All users in the same server will appear in this virtual urban area. There can be some Virtual land resources are used to open to users. Users can apply to the server for control rights. When allocating virtual resources to users for the first time, the server can allocate virtual resources to users according to the initial allocation rules. The initial allocation rules can be based on the user's application time. Successively. That is, when different users apply for the same virtual resource, the user who applies first can control the virtual resource. In this application, all virtual resources are configured with a preset control period, which refers to the longest time that the virtual resource can be controlled by the user in one allocation, that is, the life cycle of the virtual resource in one allocation, After reaching the life cycle, the right to control the virtual resource will be reclaimed by the server, and the server will re-allocate the virtual resource.
102、当虚拟资源的预设支配周期终止时,获取申请用户对虚拟资源的支配请求,支配请求用于请求将虚拟资源分配给申请用户;102. When the preset control period of the virtual resource ends, obtain the control request of the applicant user for the virtual resource, and the control request is used to request that the virtual resource be allocated to the applicant user;
当虚拟资源的预设支配周期终止后,服务器会释放该虚拟资源,从用户上暂时回收该虚拟资源的支配权,其他申请用户可以对该虚拟资源向服务器发起支配请求,该支配请求用于请求将该虚拟资源分配给该申请用户,即该申请用户向服务器获取对该虚拟资源的支配权。When the preset control period of the virtual resource expires, the server will release the virtual resource and temporarily reclaim the right to control the virtual resource from the user. Other applicants can initiate a control request to the server for the virtual resource. The control request is used to request The virtual resource is allocated to the applicant user, that is, the applicant user obtains the right to control the virtual resource from the server.
103、根据预设评价规则确定申请用户的优先权值,优先权值用于度量申请用户支配虚拟资源的优先权;103. Determine the priority value of the application user according to the preset evaluation rules, and the priority value is used to measure the priority of the application user to control the virtual resources;
在实际应用中,可能会有很多用户向同一个虚拟资源发起支配请求,尤其是一些优质的虚拟资源,例如在虚拟城区中的一些优质地段,在虚拟城区中占据好的地段意味着能够获得更好的展示机会获得更高的流量等。这时候,服务器需要确定申请用户的优先权值,并根据申请用户的优先权值来决定虚拟资源的分配,优先权值是在虚拟世界中用来度量申请用户对该虚拟资源支配的优先权,例如,优先权值越大,则优先权越大,所能获得该虚拟资源的几率越大。优先权值是通过预设评价规则来确定的,例如通过对申请用户的注册时间进行评价或者通过对申请用户在虚拟世界中发布的作品进行评价来确定。具体的,图2以及图3对应的实施例将会详细说明。In practical applications, many users may initiate control requests to the same virtual resource, especially some high-quality virtual resources, such as some high-quality locations in the virtual city. Occupying a good location in the virtual city means that you can get more resources. Good impressions get higher traffic etc. At this time, the server needs to determine the priority value of the applicant user, and determine the allocation of virtual resources according to the priority value of the applicant user. The priority value is used to measure the priority of the application user to control the virtual resource in the virtual world. For example, the greater the priority value, the greater the priority, and the greater the probability of obtaining the virtual resource. The priority value is determined by preset evaluation rules, for example, by evaluating the registration time of the applicant user or by evaluating the works published by the applicant user in the virtual world. Specifically, the embodiments corresponding to FIG. 2 and FIG. 3 will be described in detail.
104、根据优先权值向申请用户中的第二目标用户分配虚拟资源。104. Allocate the virtual resource to the second target user among the applying users according to the priority value.
服务器根据优先权值在申请用户中确定能够获取该虚拟资源支配权的第二目标用户,具体的,第二目标用户可以是在该申请用户中拥有最高优先权值的用户,需要说明的是,确定拥有最高优先权值的用户为第二目标用户仅仅为本申请中的其中一种实施方式,在实际应用中,还可以有其它实施方式,在不脱离本申请的思想下,本领域技术人员可以通过不付出创造性劳动的前提下所获得的其它实施方式,都属于本申请的保护范畴。According to the priority value, the server determines the second target user who can obtain the right to control the virtual resource among the application users. Specifically, the second target user may be the user with the highest priority value among the application users. It should be noted that, Determining the user with the highest priority value as the second target user is only one of the implementations in this application. In practical applications, there may also be other implementations. Without departing from the idea of this application, those skilled in the art Other implementation modes that can be obtained without making creative efforts all belong to the protection category of the present application.
本申请提供的虚拟世界中的资源分配方法中,终端首先根据初始分配规则来分配虚拟世界中的虚拟资源,在确定该虚拟资源的预设支配周期终止后,会获取申请支配该虚拟资源的申请用户的优先权值,并根据优先权值来重新分配该虚拟资源,实现了虚拟世界中虚拟资源的再分配,提高了用户的使用体验,并且本申请提供的方法中,再对虚拟资源进行再分配时会考虑申请用户的优先权值,能够充分优化虚拟世界中虚拟资源的分配,进一步提高用户使用虚拟世界的体验。In the resource allocation method in the virtual world provided by this application, the terminal first allocates the virtual resources in the virtual world according to the initial allocation rules, and after determining that the preset control cycle of the virtual resources is terminated, it will obtain the application for control of the virtual resources The priority value of the user, and redistribute the virtual resources according to the priority value, realize the redistribution of virtual resources in the virtual world, improve the user experience, and in the method provided by this application, the virtual resources are redistributed The allocation will consider the priority value of the applying user, which can fully optimize the allocation of virtual resources in the virtual world and further improve the user experience of using the virtual world.
在实际应用中,优先权值是通过预设评价规则来确定的,例如通过对申请用户的注册时间进行评价或者通过对申请用户在虚拟世界中发布的作品进行评价来确定。下面将结合附图进行详细阐述。In practical applications, the priority value is determined by preset evaluation rules, for example, by evaluating the registration time of the applicant user or by evaluating the works published by the applicant user in the virtual world. It will be described in detail below in conjunction with the accompanying drawings.
1、通过用户发布的作品来确定;1. Determined by the works published by users;
201、根据初始分配规则向第一目标用户分配虚拟资源,虚拟资源为在虚拟世界中供用户支配的资源,虚拟资源被设置有预设支配周期,预设支配周期为虚拟资源在一次分配中所能被用户支配的最长时间;201. Allocate virtual resources to the first target user according to the initial allocation rules. The virtual resources are resources for the users to control in the virtual world. The virtual resources are set with a preset control period, which is the time period for the virtual resources in one allocation. The maximum time that can be controlled by the user;
202、当虚拟资源的预设支配周期终止时,获取申请用户对虚拟资源的支配请求,支配请求用于请求将虚拟资源分配给申请用户;202. When the preset control period of the virtual resource ends, obtain the control request of the applicant user for the virtual resource, and the control request is used to request that the virtual resource be allocated to the applicant user;
本实施例中步骤201至步骤202与前述实施例中步骤101至步骤102类似,此处不再赘述。
203、获取申请用户在预设时间段内的分数信息,分数信息为对申请用户在虚拟世界中发布的作品的评价分数;203. Obtain the score information of the applicant user within a preset time period, where the score information is the evaluation score of the works published by the applicant user in the virtual world;
在实际应用中,用户可以在虚拟世界中发布各种作品,例如用户在其所占据的虚拟土地中创建了一个虚拟建筑作品,服务器会对该虚拟建筑作品进行评分,具体的评分规则可以是获取该作品的作品数据,其中可以包括有该作品的被浏览数、被点赞数、被转发数以及被评论数,例如,当被点赞数或者被转发数越高意味着该作品的热度越高,越受其他用户欢迎,则该作品所获得的分数越高,实际上,在实际应用中,作品数据可以在一定程度上反应该用户在虚拟世界中的活跃度以及作品的品质。因此,可以通过分数信息来确定该用户的优先权值,优质的虚拟资源可以优先向优质的用户分配,可以进一步优化虚拟世界中的资源分配。In practical applications, users can publish various works in the virtual world. For example, when a user creates a virtual architectural work in the virtual land he occupies, the server will score the virtual architectural work. The specific scoring rules can be obtained The work data of the work, which may include the number of views, likes, reposts, and comments of the work. For example, when the number of likes or reposts is higher, it means that the work is more popular. Higher, the more popular it is with other users, the higher the score for the work. In fact, in practical applications, the work data can reflect the user's activity in the virtual world and the quality of the work to a certain extent. Therefore, the priority value of the user can be determined through the score information, high-quality virtual resources can be allocated to high-quality users first, and resource allocation in the virtual world can be further optimized.
204、对分数信息进行评价并确定优先权值204. Evaluate the score information and determine the priority value
服务器对分数信息进行评价并确定用户的优先权值,具体的可以是分数信息越高则优先权值越高。The server evaluates the score information and determines the priority value of the user. Specifically, the higher the score information, the higher the priority value.
205、根据优先权值向申请用户中的第二目标用户分配虚拟资源。205. Allocate the virtual resource to the second target user among the applying users according to the priority value.
服务器根据优先权值在申请用户中确定能够获取该虚拟资源支配权的第二目标用户,具体的,第二目标用户可以是在该申请用户中拥有最高优先权值的用户,需要说明的是,确定拥有最高优先权值的用户为第二目标用户仅仅为本申请中的其中一种实施方式,在实际应用中,还可以有其它实施方式,在不脱离本申请的思想下,本领域技术人员可以通过不付出创造性劳动的前提下所获得的其它实施方式,都属于本申请的保护范畴。According to the priority value, the server determines the second target user who can obtain the right to control the virtual resource among the application users. Specifically, the second target user may be the user with the highest priority value among the application users. It should be noted that, Determining the user with the highest priority value as the second target user is only one of the implementations in this application. In practical applications, there may also be other implementations. Without departing from the idea of this application, those skilled in the art Other implementation modes that can be obtained without making creative efforts all belong to the protection category of the present application.
2、根据用户的注册时间来确定优先权值;2. Determine the priority value according to the user's registration time;
请参阅图3,图3为本申请提供的虚拟世界中资源分配方法的一个实施例流程示意图,该虚拟世界中资源分配方法包括:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of an embodiment of a resource allocation method in a virtual world provided by the present application. The resource allocation method in the virtual world includes:
301、获取初始申请用户对虚拟资源的初始支配请求;初始支配请求用于请求将虚拟资源分配给初始申请用户;301. Obtain an initial allocation request from an initial application user for virtual resources; the initial allocation request is used to request allocation of virtual resources to the initial application user;
终端获取初始申请用户的支配请求,初始申请用户可以是指第一次对该虚拟资源发起申请的用户,这时候服务器将根据初始分配规则向初始申请用户分配虚拟资源,初始分配规则可以是依据初始申请用户的申请时间。The terminal obtains the control request of the initial applicant user. The initial applicant user may refer to the user who first applies for the virtual resource. At this time, the server will allocate virtual resources to the initial applicant user according to the initial allocation rule. The initial allocation rule may be based on the initial allocation rule. The application time of the applicant user.
302、获取初始支配请求的申请时间,并根据申请时间确定第一目标用户,第一目标用户为在初始申请用户中具有最早的申请时间的用户;302. Obtain the application time of the initial control request, and determine the first target user according to the application time, where the first target user is the user with the earliest application time among the initial application users;
服务器获取初始请求的申请时间,并根据申请时间来确定第一目标用户,即在实际应用中,当有多个初始申请用户对同一个虚拟资源发起初始支配请求时,服务器可以根据这些初始申请用户申请时间的先后来确定将该虚拟资源分配给哪一个用户,第一目标用户可以是具有最早申请时间的用户,即最早发起初始支配请求的用户可以获得该虚拟资源的支配权。The server obtains the application time of the initial request, and determines the first target user according to the application time, that is, in practical applications, when multiple initial application users initiate initial control requests for the same virtual The order of application time determines which user the virtual resource is assigned to. The first target user may be the user with the earliest application time, that is, the user who initiates the initial control request at the earliest can obtain the control right of the virtual resource.
303、向第一目标用户分配虚拟资源;303. Allocate virtual resources to the first target user;
服务器向第一目标用户分配该虚拟资源。The server allocates the virtual resource to the first target user.
304、当虚拟资源的预设支配周期终止时,获取申请用户对虚拟资源的支配请求,支配请求用于请求将虚拟资源分配给申请用户;304. When the preset control period of the virtual resource ends, obtain the control request of the applicant user for the virtual resource, and the control request is used to request that the virtual resource be allocated to the applicant user;
当虚拟资源的预设支配周期终止后,服务器会释放该虚拟资源,从用户上暂时回收该虚拟资源的支配权,其他申请用户可以对该虚拟资源向服务器发起支配请求,该支配请求用于请求将该虚拟资源分配给该申请用户,即该申请用户向服务器获取对该虚拟资源的支配权。When the preset control period of the virtual resource expires, the server will release the virtual resource and temporarily reclaim the right to control the virtual resource from the user. Other applicants can initiate a control request to the server for the virtual resource. The control request is used to request The virtual resource is allocated to the applicant user, that is, the applicant user obtains the right to control the virtual resource from the server.
305、获取申请用户注册虚拟世界的注册时间;305. Obtain the registration time of the application user to register the virtual world;
在实际应用中,每一个用户都有其对应的注册时间,注册时间是指该用户注册使用该虚拟世界的时间,注册时间越早意味着该用户所使用虚拟世界的时间越长,即老用户,注册时间在一定程度上也能反映出该用户的一些信息,服务器在对资源分配的时候可以参考该用户的注册时间。In practical applications, each user has its corresponding registration time. The registration time refers to the time when the user registers to use the virtual world. The earlier the registration time means the longer the user has used the virtual world, that is, the old user , the registration time can also reflect some information of the user to a certain extent, and the server can refer to the user's registration time when allocating resources.
306、对注册时间进行评价并确定优先权值;306. Evaluate the registration time and determine the priority value;
服务器对注册时间进行评价并确定优先权值,具体的,例如可以是注册时间越早的用户优先权值越高,也可以是注册时间在某一个时间段内的用户优先权值较高,因为在实际应用中,可以在虚拟世界中举行某些活动以吸引新用户入驻虚拟世界,在活动时间内注册成为新用户可以获得一定的权值奖励等。The server evaluates the registration time and determines the priority value. Specifically, for example, the earlier the registration time, the higher the priority value of the user, or the higher the priority value of the user whose registration time is within a certain period of time, because In practical applications, certain activities can be held in the virtual world to attract new users to settle in the virtual world, and registration as a new user within the activity time can obtain certain weight rewards, etc.
307、根据优先权值向申请用户中的第二目标用户分配虚拟资源。307. Allocate the virtual resource to the second target user among the applying users according to the priority value.
服务器根据该优先权值来在申请用户中确定第二目标用户并向第二目标用户分配该虚拟资源。The server determines the second target user among the applying users according to the priority value and allocates the virtual resource to the second target user.
上述实施例对本申请中提供的虚拟世界中资源分配方法进行了详细阐述,下面将对本申请中提供的虚拟世界中资源分配系统、装置以及存储介质进行详细阐述。The above embodiments have described in detail the method for allocating resources in the virtual world provided in this application, and the system, device and storage medium for allocating resources in the virtual world provided in this application will be described in detail below.
请参阅图4,图4为本申请中提供的虚拟世界中资源分配系统的一个实施例结构示意图,该虚拟世界中资源分配系统包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an embodiment of the resource allocation system in the virtual world provided in this application. The resource allocation system in the virtual world includes:
第一分配单元401,用于根据初始分配规则向第一目标用户分配虚拟资源,虚拟资源为在虚拟世界中供用户支配的资源,虚拟资源被设置有预设支配周期,预设支配周期为虚拟资源在一次分配中所能被用户支配的最长时间;The first allocating
获取单元402,用于当虚拟资源的预设支配周期终止时,获取申请用户对虚拟资源的支配请求,支配请求用于请求将虚拟资源分配给申请用户;The acquiring
确定单元403,用于根据预设评价规则确定申请用户的优先权值,优先权值用于度量申请用户支配虚拟资源的优先权;The
第二分配单元404,用于根据优先权值向申请用户中的第二目标用户分配虚拟资源。The second allocating
可选的,获取单元402具体用于:Optionally, the acquiring
获取申请用户在预设时间段内的分数信息,分数信息为对申请用户在虚拟世界中发布的作品的评价分数;Obtain the score information of the applicant user within the preset time period, the score information is the evaluation score of the works published by the applicant user in the virtual world;
对分数信息进行评价并确定优先权值。The score information is evaluated and a priority value is determined.
可选的,获取单元402具体用于:Optionally, the acquiring
获取申请用户在预设时间段内的作品数据,作品数据包括申请用户发布的作品的被点赞数、被转发数以及被评论数中的至少一个;Obtaining the data of the works of the applicant user within a preset time period, the work data includes at least one of the number of likes, reposts and comments of the works published by the applicant user;
根据作品数据生成申请用户的分数信息。According to the work data, the score information of the applicant user is generated.
可选的,当申请用户中包含有多个用户时,第二目标用户为优先权值最高的用户。Optionally, when there are multiple users in the application user, the second target user is the user with the highest priority value.
可选的,确定单元403具体用于:Optionally, the determining
获取申请用户注册虚拟世界的注册时间;Obtain the registration time of the application user to register the virtual world;
对注册时间进行评价并确定优先权值。Evaluate the registration time and determine the priority value.
可选的,该系统还包括:初始支配请求获取单元405,用于:Optionally, the system further includes: an initial domination
获取初始申请用户对虚拟资源的初始支配请求;初始支配请求用于请求将虚拟资源分配给初始申请用户;Obtain the initial allocation request of the initial application user for virtual resources; the initial allocation request is used to request the allocation of virtual resources to the initial application user;
第二分配单元404具体用于:The second allocating
获取初始支配请求的申请时间,并根据申请时间确定第一目标用户,第一目标用户为在初始申请用户中具有最早的申请时间的用户;Acquiring the application time of the initial control request, and determining the first target user according to the application time, where the first target user is the user with the earliest application time among the initial application users;
向第一目标用户分配虚拟资源。Allocate virtual resources to the first target user.
本申请还提供了一种虚拟世界中的资源分配装置,包括:The present application also provides a resource allocation device in a virtual world, including:
处理器501、存储器502、输入输出单元503、总线504;
处理器501与存储器502、输入输出单元503以及总线504相连;The
存储器502保存有程序,处理器501调用程序以执行如上任一虚拟世界中的资源分配方法。The
本申请还涉及一种计算机可读存储介质,计算机可读存储介质上保存有程序,其特征在于,当程序在计算机上运行时,使得计算机执行如上任一虚拟世界中的资源分配的方法。The present application also relates to a computer-readable storage medium, on which a program is stored, which is characterized in that, when the program is run on the computer, the computer is made to execute the resource allocation method in any of the above virtual worlds.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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 may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-onlymemory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk, and other media that can store program codes.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111621436.9A CN116328316A (en) | 2021-12-23 | 2021-12-23 | Method, system, device and storage medium for distributing resources in virtual world |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111621436.9A CN116328316A (en) | 2021-12-23 | 2021-12-23 | Method, system, device and storage medium for distributing resources in virtual world |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116328316A true CN116328316A (en) | 2023-06-27 |
Family
ID=86877853
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111621436.9A Pending CN116328316A (en) | 2021-12-23 | 2021-12-23 | Method, system, device and storage medium for distributing resources in virtual world |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116328316A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070129148A1 (en) * | 2005-10-14 | 2007-06-07 | Leviathan Entertainment, Llc | Method and System for Allocating Resources in a Video Game |
| US20070129126A1 (en) * | 2005-10-14 | 2007-06-07 | Leviathan Entertainment, Llc | Method and System for Allocating Resources in a Video Game |
| CN102708005A (en) * | 2012-01-16 | 2012-10-03 | 陈晓亮 | System and method for virtual resource competition |
-
2021
- 2021-12-23 CN CN202111621436.9A patent/CN116328316A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070129148A1 (en) * | 2005-10-14 | 2007-06-07 | Leviathan Entertainment, Llc | Method and System for Allocating Resources in a Video Game |
| US20070129126A1 (en) * | 2005-10-14 | 2007-06-07 | Leviathan Entertainment, Llc | Method and System for Allocating Resources in a Video Game |
| CN102708005A (en) * | 2012-01-16 | 2012-10-03 | 陈晓亮 | System and method for virtual resource competition |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110032447B (en) | Method and apparatus for allocating resources | |
| CN103582509B (en) | Load balancing between general purpose processors and graphics processors | |
| US8832568B2 (en) | System and methods for managing distributed physics simulation of objects in a virtual environment | |
| WO2014194695A1 (en) | Method and server for pvp team matching in computer games | |
| CN110659134A (en) | A data processing method and device applied to an artificial intelligence platform | |
| CN108073350B (en) | Object storage system and method for cloud rendering | |
| CN112087471A (en) | Data transmission method and FPGA cloud platform | |
| CN108074210B (en) | Object acquisition system and method for cloud rendering | |
| EP3265944B1 (en) | Digital management of content assets in the cloud | |
| CN103678892A (en) | Role object management method and role object management device | |
| CN110096352B (en) | Process management method, device and computer readable storage medium | |
| JP2024545124A (en) | Network storage game allocation based on artificial intelligence | |
| CN114995954B (en) | Bare metal server control method, device and medium | |
| CN116010092A (en) | Video memory resource allocation method and device | |
| CN106534227B (en) | Method and apparatus for scaling distributed consensus services | |
| KR20170116941A (en) | System and method of piggybacking target buffer address for next rdma operation in current acknowledgement message | |
| CN116328316A (en) | Method, system, device and storage medium for distributing resources in virtual world | |
| US9149725B2 (en) | Method and server for PVP team matching in computer games | |
| CN112619155B (en) | Collaborative operation method, electronic device and storage medium | |
| CN113268414B (en) | Experimental version distribution method, device, storage medium and computer equipment | |
| CN115396500A (en) | Service platform switching method and system based on private network and electronic equipment | |
| CN118708327A (en) | A method and corresponding device for data processing | |
| CN115501579A (en) | Cloud game running method, device, equipment and storage medium | |
| CN115269121A (en) | Method and device for dynamically adding human-computer interface equipment applied to cloud game | |
| CN116266131A (en) | Cloud game data processing method, device and server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |