Virtual object distribution method and system, electronic equipment and storage medium
By introducing a custom selection function for target rewards in the lottery system, users can choose virtual objects independently, solving the problem of fixed rewards in the traditional lottery system, improving personalized selection and gaming experience, and increasing the attractiveness of lottery activities.
Patent Information
- Application Number
- CN202410929197.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The rewards in the traditional lottery system are fixed, and it is impossible to customize the selection according to the player's preferences or game needs, which limits the player's personalized choices and gaming experience.
By introducing a custom selection function for target rewards, users can choose virtual objects from the preset virtual object list as the target reward for the lottery based on their own preferences and needs, and use message requests and responses between the server and the client according to their preferences and needs, and use message requests and responses between the server and the client Mechanism: Assign virtual objects based on user-defined attribute values and preset conditions.
It improves players' personalized choices and gaming experience, breaks the fixed reward restrictions in the traditional lottery system, increases the attractiveness and fun of lottery activities, and allows players to plan the game development path according to their own wishes.
Smart Images

Figure CN118886956A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, system, electronic device and storage medium for allocating virtual objects. Background Art
[0002] With the rapid development of online games, the design and implementation of in-game activities are crucial to increasing player activity and game appeal. Among them, lottery activities have become one of the important means to attract players to participate due to their randomness and diversity of rewards.
[0003] However, the traditional lottery system usually sets a fixed target reward in the reward pool. In this system, when players participate in the lottery, the target reward is fixed, and they cannot choose the reward they really want based on their personal preferences or game needs. This fixed target reward mechanism limits the player's personalized choices and game experience, making the lottery lack flexibility and attractiveness. Summary of the invention
[0004] The main purpose of this application is to overcome the shortcomings and deficiencies of the prior art and to provide a method, system, electronic device and storage medium for allocating virtual objects. By introducing the function of custom selection of target rewards, users are allowed to independently select virtual objects from preset virtual objects as target rewards for lottery according to their own preferences and needs, thereby improving the players' personalized choices and gaming experience.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a method for allocating a virtual object, comprising the following steps:
[0007] Sending a first request message to the server, the server generating a first virtual object list message according to the content of the first request message, and sending the message to the client;
[0008] Based on the generated first virtual object list message, the client sends a second request message to the server; wherein the second request message includes the attribute value of the virtual object set by the user; the server receives the second request message, and sets the virtual object corresponding to the attribute value as the target virtual object, thereby obtaining a second virtual object list message;
[0009] Based on the second virtual object list message, a third request message is sent to the server, and it is determined whether to respond to the third request message according to preset conditions. If the preset conditions are met, the third request message is responded to, and virtual objects are allocated based on preset weights.
[0010] As a preferred technical solution, the first virtual object list message includes multiple virtual objects and their corresponding attribute values.
[0011] As a preferred technical solution, the sending of a third request message to the server, and judging whether to respond to the third request message according to a preset condition, and responding to the third request message if the preset condition is met, includes:
[0012] The server receives the third request message and obtains the virtual resource coins in the user account;
[0013] Determine whether the virtual resource coin meets the preset conditions. If so, generate a trigger instruction, and respond to the third request message based on the trigger instruction.
[0014] As a preferred technical solution, it includes:
[0015] Each time the third request message is responded to, one virtual resource coin is consumed.
[0016] As a preferred technical solution, it also includes:
[0017] If it is determined that the virtual resource coin does not meet the preset conditions, the virtual resource is tested to determine whether the virtual resource meets the conditions for exchanging the virtual resource coin;
[0018] If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated.
[0019] As a preferred technical solution, if the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated, including:
[0020] The exchange instruction options include a first exchange instruction option and a second exchange instruction option;
[0021] If the client triggers the first exchange instruction option, virtual resource coins are obtained by consuming the virtual resources in the user account; otherwise, the exchange instruction option is closed.
[0022] As a preferred technical solution, after allocating virtual objects based on preset weights, the method includes outputting the allocation result;
[0023] The allocation result includes: account ID, nickname, and allocated virtual object.
[0024] As a preferred technical solution, a progress reward for responding to the third request message is also provided. When the number of times the client responds to the third request message reaches a specified progress, an additional reward is obtained. Specifically:
[0025] When the number of times the user responds to the third request reaches a preset number, a progress reward is unlocked, where the progress reward includes a target virtual object, and the progress reward is updated as the target virtual object is replaced.
[0026] As a preferred technical solution, the preset weight is determined according to the rarity of the virtual object.
[0027] In a second aspect, the present application provides a virtual object allocation system, which is applied to the virtual object allocation method, and includes a first virtual object list module, a target virtual object setting module, and a virtual object allocation module;
[0028] The first virtual object list module is used to send a first request message to the server, and the server generates a first virtual object list message according to the content of the first request message and sends it to the client;
[0029] The target virtual object setting module is used for the client to initiate a second request message to the server based on the generated first virtual object list message; wherein the second request message includes the attribute value of the virtual object set by the user; the server receives the second request message and sets the virtual object corresponding to the attribute value as the target virtual object to obtain a second virtual object list message;
[0030] The virtual object allocation module is used to send a third request message to the server based on the second virtual object list message, and determine whether to respond to the third request message according to preset conditions. If the preset conditions are met, the third request message is responded to, and virtual objects are allocated based on preset weights.
[0031] As a preferred technical solution, the first virtual object list module is also used for the first virtual object list message to include multiple virtual objects and their corresponding attribute values.
[0032] As an optimal technical solution, it also includes a virtual resource coin module, which is used for the server to receive the third request message and obtain the virtual resource coins in the user account; determine whether the virtual resource coins meet the preset conditions, and if so, generate a trigger instruction, and respond to the third request message based on the trigger instruction.
[0033] As a preferred technical solution, the virtual resource currency module also includes:
[0034] Each time the third request message is responded to, one virtual resource coin is consumed.
[0035] As a preferred technical solution, if it is determined that the virtual resource coins do not meet the preset conditions, the virtual resources are detected to determine whether the virtual resources meet the conditions for exchanging virtual resource coins;
[0036] If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated.
[0037] As a preferred technical solution, the module for generating exchange instruction options is also used to:
[0038] The exchange instruction options include a first exchange instruction option and a second exchange instruction option;
[0039] If the client triggers the first exchange instruction option, virtual resource coins are obtained by consuming the virtual resources in the user account; otherwise, the exchange instruction option is closed.
[0040] As a preferred technical solution, it also includes an allocation result output module, which is used to output the allocation result after allocating the virtual objects based on the preset weights;
[0041] The allocation result includes: account ID, nickname, and allocated virtual object.
[0042] As a preferred technical solution, a progress reward module is also included, which is used to set a progress reward for responding to the third request message. When the number of times the client responds to the third request message reaches a specified progress, an additional reward is obtained; specifically:
[0043] When the number of times the user responds to the third request reaches a preset number, a progress reward is unlocked, where the progress reward includes a target virtual object, and the progress reward is updated as the target virtual object is replaced.
[0044] As a preferred technical solution, the preset weight is determined according to the rarity of the virtual object.
[0045] In a third aspect, the present application provides an electronic device, the electronic device comprising:
[0046] at least one processor; and,
[0047] a memory communicatively connected to the at least one processor; wherein,
[0048] The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor to enable the at least one processor to perform the method for allocating a virtual object.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium storing a program, which, when executed by a processor, implements the method for allocating virtual objects.
[0050] In summary, compared with the prior art, the effective effects brought about by the technical solution provided by this application include at least:
[0051] The present application proposes a method for allocating virtual objects, which includes sending a first request message to a server, and the server generates a first virtual object list message based on the content of the first request message, and sends it to a client; based on the generated first virtual object list message, the client initiates a second request message to the server; wherein the second request message includes the attribute value of the virtual object customized by the user; the server receives the second request message, and sets the virtual object corresponding to the attribute value as the target virtual object, and obtains a second virtual object list message; based on the second virtual object list message, a third request message is sent to the server, and it is determined whether to respond to the third request message according to preset conditions, and if the preset conditions are met, the third request message is responded to, and the virtual objects are allocated based on preset weights. The present application introduces the function of custom selection of target rewards, allowing users to independently select the virtual characters or props they want to obtain from the preset virtual object list as the target reward for the lottery according to their own preferences and needs; this mechanism breaks the limitation of fixed target rewards in traditional lottery systems and improves the personalized choices and gaming experience of players. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 A flowchart of a method for allocating virtual objects provided by one embodiment of the present application;
[0054] Figure 2 A block diagram of a virtual object distribution system provided by one embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0056] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0057] With the booming development of online games, players' needs are becoming more diversified and personalized. In order to cater to this trend, the design of in-game activities is becoming more and more critical. They should not only attract players' attention, but also improve players' activity, increase game stickiness and attractiveness. Among the many well-designed game activities, lucky draw activities have become a highlight that attracts players to participate actively due to their unique randomness and attractive reward settings.
[0058] However, traditional lottery systems often have some limitations. For example, traditional lottery mechanisms usually set a fixed reward pool, in which the types and quantities of rewards are predetermined. When players participate in the lottery, they can only passively accept the rewards randomly assigned by the system, and cannot choose the target rewards they really want based on their preferences, game needs or current game progress. This lack of personalized lottery experience not only limits the players' right to choose, but also weakens the attractiveness and fun of the lottery.
[0059] In order to solve the above problem, this application introduces the function of custom selection of target rewards, allowing users to independently select the virtual characters or props they want to obtain from the preset list of virtual objects as the target reward when they win the grand prize according to their own preferences and needs; this mechanism breaks the limitations of fixed target rewards in traditional lottery systems and improves the personalized choices and gaming experience of players. For example, in a role-playing game, players can choose rare props or rare virtual characters that can enhance their attack power as target rewards based on their game progress and role positioning. When players participate in a lottery, if they are lucky enough to win the grand prize, they can directly obtain the rare props or rare virtual characters they like. This mechanism not only increases the fun and attractiveness of the lottery, but also enables players to plan their own game development path according to their own wishes.
[0060] The present application is described below through specific embodiments.
[0061] See also Figure 1 In one embodiment of the present application, a method for allocating virtual objects is provided, comprising the following steps:
[0062] S1. Send a first request message to a server. The server generates a first virtual object list message according to the content of the first request message and sends it to a client.
[0063] Furthermore, personalized selection of virtual objects is a key step in enhancing user experience and satisfaction. When a user sends a first request message to the server, the server will quickly respond and generate a well-designed first virtual object list message and send it to the client.
[0064] In this embodiment, the first request message is an initial request sent by the client to the server, and is used to request to obtain a list of first virtual objects.
[0065] The first virtual object list message includes 12 unique virtual objects and their corresponding attribute values for the user to choose individually.
[0066] Among them, different virtual objects correspond to different attribute values.
[0067] Specifically, the 12 virtual objects can be divided into target virtual objects and other virtual objects; among them, the target virtual objects will change with the user's choice, while other virtual objects can be set according to the needs and strategies of the game to enrich the content and experience of the game.
[0068] The virtual object can be a virtual character among the game characters; and each virtual character has its own unique skills and attributes, which together constitute their position and value in the game; the user can select a virtual character from the first virtual object list as the target virtual character when winning the grand prize according to his or her preferences and needs.
[0069] S2. Based on the generated first virtual object list message, the client initiates a second request message to the server; wherein the second request message includes the attribute value of the virtual object customized by the user; the server receives the second request message, and sets the virtual object corresponding to the attribute value as the target virtual object, thereby obtaining a second virtual object list message.
[0070] Furthermore, after the virtual object corresponding to the attribute value is set as the target virtual object, the target virtual object selected by the user in the virtual object list and the relevant attribute skill information of the target virtual object will be displayed in the client interface; wherein, the virtual object attribute skill information includes but is not limited to: attack power, defense power, life value, anger value, multiple object combat skills, multiple object legion skills, etc. For example: attack power: 150, defense power: 100, life value: 2000, anger value: 0; object combat skills: such as "slam", "whirlwind", "iron wall defense", "violent charge"; object legion skills: such as "war cry", "morale encouragement", "hold the ground", "charge into battle", etc.; in the client interface, the user will be able to see the target virtual object selected by the user and its detailed attribute skill information; this information not only shows the ability of the virtual object, but also allows the user to better understand its role and positioning in the game.
[0071] When the user wins the grand prize, he or she can obtain the target virtual object, and can then use the customized target virtual object to play the game and enjoy the fun of customizing the character according to his or her own strategic needs.
[0072] Each virtual object has corresponding attribute skill information, which makes each virtual object have unique charm and appeal. For example, some virtual objects may have high attack power, which is suitable for users who like fighting; others may have strong defense power, which is suitable for users who like defense. Therefore, this diverse choice not only enriches the gameplay of the game, but also allows users to set target virtual objects according to their own game needs or progress.
[0073] S3. Based on the second virtual object list message, a third request message is sent to the server, and according to a preset condition, it is determined whether to respond to the third request message. If the preset condition is met, the third request message is responded to, and virtual objects are allocated based on preset weights.
[0074] Furthermore, first, the server receives the third request message and obtains the virtual resource coins in the user account to determine whether the virtual resource coins meet the preset conditions. Once the virtual resource coins reach the preset quantity, the server generates a trigger instruction, and based on the trigger instruction, it can respond to the third request message; the trigger instruction is the server's response to the third request message, which instructs the system to perform the corresponding virtual object extraction operation.
[0075] In response to the third request message, the server will extract and allocate virtual objects according to the preset weights of virtual objects, determine the virtual objects that the user will obtain, and output the extraction and allocation results. The server will generate the extraction and allocation results and send them to the client, which will be displayed on the client interface so that the user can see the virtual objects they have extracted and related detailed information. In this way, the user can clearly know which virtual objects they have obtained and can use them in the game to improve their strength or meet their collection needs.
[0076] If the user wins the grand prize, the target virtual object pre-set by the user is allocated to the user's account; the extraction and allocation results include: account ID, nickname, and allocated virtual object.
[0077] Among them, the weight of each virtual object is determined according to the rarity of the virtual object. The higher the rarity of the virtual object, the lower the weight and the smaller the probability of drawing it.
[0078] In this embodiment, virtual resource coins are not only an important medium for in-game transactions and interactions, but also the key for players to participate in the activity of drawing virtual objects.
[0079] Whenever the user's client sends a third request message in the hope of acquiring a virtual object, it triggers the consumption of virtual resource coins. In the present embodiment, each response to the third request message consumes one virtual resource coin.
[0080] However, not every user will have enough virtual resource coins to meet every extraction demand. If it is determined that the virtual resource coins do not meet the preset conditions, the server will not generate a trigger instruction, but will perform a virtual resource detection to determine whether the virtual resources in the user account meet the conditions for exchanging virtual resource coins; among them, the virtual resources can be diamonds, gift packs, etc. in the game user account.
[0081] If the virtual resources meet the conditions for exchanging virtual resource coins, the server generates an exchange instruction option and displays it on the client game interface for the user to choose whether to exchange; wherein the exchange instruction option includes a first exchange instruction option and a second exchange instruction option.
[0082] If the client triggers the first exchange instruction option, virtual resource coins can be obtained by consuming the virtual resources in the account. At this time, the virtual resources in the user account will be reduced accordingly, and a certain number of virtual resource coins will be obtained at the same time; otherwise, the exchange instruction option is closed.
[0083] In addition, virtual resource coins can be obtained by completing preset tasks. Specifically, when a user enters the preset tasks in the interface for extracting and allocating virtual objects, the preset tasks include but are not limited to gameplay content tasks, such as: training soldiers, attacking opponents, researching technology, recharging and paying, etc. When a user completes a related task, it will be recorded and the task status will be marked as completed. This recording process is completed by the server. When the behavior of a certain task in the preset tasks is triggered, such as the user clicks the "train soldiers" button, or the player recharges the game coins, or the player fights the "attack the enemy", etc., the server will detect whether there are other preset tasks related to the behavior that triggered the task. If there are related tasks, it will further check whether the completion conditions of the task have been met. For example, suppose a task is "train soldiers 10 times". When the user trains 1 soldier in the game, this behavior will be sent to the server. The server will check whether there are currently any tasks related to "training soldiers". Then, the server will check whether the user's training behavior has trained 10 soldiers. If 10 soldiers have been trained, the server will mark the task as completed and issue virtual resource coins to the user's account. For example: suppose a certain task is "attack the opponent", and it takes 5 attacks to complete the attack task. When the user attacks the opponent once in the game, this behavior will also be sent to the server. The server will continue to check whether there are any tasks related to "attack the opponent". Then, the server will check whether the user has attacked the opponent 5 times. If the number of attacks reaches 5, the server will mark the task as completed and issue virtual resource coins to the user's account.
[0084] In addition, in this embodiment, in order to further increase the fun of the game and the participation of players, a progress reward is introduced; by recording the number of times the user responds to the third request message (i.e. the number of draws), additional rewards are triggered. These rewards not only increase the motivation of the players, but also provide more game content and strategy options. Specifically:
[0085] When the number of times the user responds to the third request reaches a preset number, the progress reward is unlocked, and the progress reward includes a target virtual object, and the target reward is updated as the user changes.
[0086] This embodiment also includes a display mechanism, specifically including: the system will monitor the user's game status in real time. When it is detected that the user has unclaimed rewards, whether it is a reward obtained by completing a specific task, achieving a specific achievement, or participating in a specific activity, the prompt mechanism will be triggered immediately; similarly, when the system detects that the player meets the conditions for responding to the third request, such as having enough virtual resource coins to participate in the lottery or reaching a specific game progress, the prompt function will also be immediately activated.
[0087] These prompts will appear in prominent locations on the client's game interface in a variety of ways to ensure that users can quickly notice them. First, the main interface is the first place players see after logging in, and is a good prompt area. When there are unclaimed rewards or conditions are met, a striking prompt box will pop up on the main interface, displaying the reward content or condition information, and will be accompanied by a "claim" or "participate" button. Users only need to trigger these buttons to quickly jump to the reward claiming page or the activity participation interface.
[0088] In addition, the present embodiment can also display prompts through the task bar, which can be used to display the player's current task progress and the list of tasks to be completed. When a task related to a reward or condition is completed, the corresponding task item in the task bar will change, such as displaying a "completed" sign or reward icon; in this way, the user can find and receive the reward in time when browsing the task bar.
[0089] In this embodiment, the prompt method and content can also be customized according to the user's gaming habits and preferences. For example, for players who like to challenge difficult tasks, the system will display more prompts related to the task; and for users who like to collect equipment and props, the system will display more prompts related to rewards; this personalized prompt method can better meet the needs of players and enhance their gaming experience.
[0090] The display mechanism in this embodiment aims to help players not miss any important opportunities or rewards through functions such as real-time monitoring, accurate prompts and personalized customization, effectively improving user participation and satisfaction; and preventing users from missing any important rewards or opportunities.
[0091] In summary, this application introduces the function of custom selection of target rewards, allowing users to select the virtual characters or props they want to obtain from the preset virtual object list as the target reward for the lottery according to their own preferences and needs. This mechanism breaks the limitation of fixed target rewards in the traditional lottery system and improves the personalized selection and game experience of players.
[0092] In addition, a progress reward mechanism has been introduced. When the number of times a user responds to the third request reaches a specified progress, he will receive additional rewards; this not only stimulates the user's participation and activity, but also increases the interactivity and fun of the game. Users can accumulate progress and unlock more rewards by continuously participating in the lottery, thereby participating more deeply in the game.
[0093] It should be noted that, for the sake of convenience of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously.
[0094] Based on the same idea as the method for allocating a virtual object in the above embodiment, the present application also provides a system for allocating a virtual object, which can be used to execute the above method for allocating a virtual object. For ease of explanation, the structural diagram of an embodiment of a system for allocating a virtual object only shows the parts related to the embodiment of the present application. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the system, and may include more or fewer components than shown in the diagram, or combine certain components, or arrange the components differently.
[0095] See also Figure 2 In another embodiment of the present application, a virtual object allocation system is provided, the system comprising a first virtual object list module 101, a target virtual object setting module 102 and a virtual object allocation module 103;
[0096] The first virtual object list module 101 is used to send a first request message to the server, and the server generates a first virtual object list message according to the content of the first request message and sends it to the client;
[0097] The target virtual object setting module 102 is used for the client to initiate a second request message to the server based on the generated first virtual object list message; wherein the second request message includes the attribute value of the virtual object set by the user; the server receives the second request message and sets the virtual object corresponding to the attribute value as the target virtual object to obtain a second virtual object list message;
[0098] The virtual object allocation module 103 is used to send a third request message to the server based on the second virtual object list message, and determine whether to respond to the third request message according to preset conditions. If the preset conditions are met, the third request message is responded to, and virtual objects are allocated based on preset weights.
[0099] As a preferred technical solution, the first virtual object list module is further used for: the first virtual object list message includes a plurality of virtual objects and their corresponding attribute values.
[0100] As an optimal technical solution, it also includes a virtual resource coin module, which is used for the server to receive the third request message and obtain the virtual resource coins in the user account; determine whether the virtual resource coins meet the preset conditions, and if so, generate a trigger instruction, and respond to the third request message based on the trigger instruction.
[0101] As a preferred technical solution, the virtual resource currency module also includes:
[0102] Each time the third request message is responded to, one virtual resource coin is consumed.
[0103] As a preferred technical solution, if it is determined that the virtual resource coins do not meet the preset conditions, the virtual resources are detected to determine whether the virtual resources meet the conditions for exchanging virtual resource coins;
[0104] If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated.
[0105] As a preferred technical solution, the module for generating exchange instruction options is also used to:
[0106] The exchange instruction options include a first exchange instruction option and a second exchange instruction option;
[0107] If the client triggers the first exchange instruction option, virtual resource coins are obtained by consuming the virtual resources in the user account; otherwise, the exchange instruction option is closed.
[0108] As a preferred technical solution, it also includes an allocation result output module, which is used to output the allocation result after allocating the virtual objects based on the preset weights;
[0109] The allocation result includes: account ID, nickname, and allocated virtual object.
[0110] As a preferred technical solution, a progress reward module is also included, which is used to set a progress reward for responding to the third request message. When the number of times the client responds to the third request message reaches a specified progress, an additional reward is obtained; specifically:
[0111] When the number of times the user responds to the third request reaches a preset number, a progress reward is unlocked, where the progress reward includes a target virtual object, and the progress reward is updated as the target virtual object is replaced.
[0112] As a preferred technical solution, the preset weight is determined according to the rarity of the virtual object.
[0113] It should be noted that a virtual object allocation system of the present application corresponds one-to-one to a virtual object allocation method of the present application. The technical features and beneficial effects described in the embodiment of the above-mentioned virtual object allocation method are applicable to the embodiment of a virtual object allocation system. For specific contents, please refer to the description in the embodiment of the method of the present application. It will not be repeated here. This is hereby declared.
[0114] In addition, in the implementation of a virtual object distribution system in the above embodiment, the logical division of each program module is only an example. In actual applications, the above functions can be distributed to different program modules as needed, for example, for the convenience of corresponding hardware configuration requirements or software implementation. That is, the internal structure of the virtual object distribution system is divided into different program modules to complete all or part of the functions described above.
[0115] In another embodiment, an electronic device for a method for allocating virtual objects is provided, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; when the processor executes the computer program, a method for allocating virtual objects according to any embodiment of the present application is implemented.
[0116] Exemplarily, in this embodiment, the computer program may be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present application. The one or more module elements may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the device;
[0117] The device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The device may include, but is not limited to, a processor, a memory;
[0118] The processor may be a central processing unit (CPU), 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 any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect various parts of the entire device.
[0119] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; in addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0120] Accordingly, the present application also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a virtual object allocation method as described in any one of the above embodiments.
[0121] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0122] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0123] The above embodiments are preferred implementation modes of the present application, but the implementation modes of the present application are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present application should be equivalent replacement methods and are included in the protection scope of the present application.
Claims
1. A method for allocating virtual objects, characterized in that: The steps include: Sending a first request message to the server, the server generating a first virtual object list message according to the content of the first request message, and sending the message to the client; Based on the generated first virtual object list message, the client sends a second request message to the server; wherein the second request message includes the attribute value of the virtual object set by the user; the server receives the second request message, and sets the virtual object corresponding to the attribute value as the target virtual object, thereby obtaining a second virtual object list message; Based on the second virtual object list message, a third request message is sent to the server, and it is determined whether to respond to the third request message according to preset conditions. If the preset conditions are met, the third request message is responded to, and virtual objects are allocated based on preset weights.
2. A method for allocating virtual objects according to claim 1, characterized in that: The first virtual object list message includes a plurality of virtual objects and their corresponding attribute values.
3. A method for allocating virtual objects according to claim 1, characterized in that: The sending of the third request message to the server, and judging whether to respond to the third request message according to a preset condition, and responding to the third request message if the preset condition is met, includes: The server receives the third request message and obtains the virtual resource coins in the user account; Determine whether the virtual resource coin meets the preset conditions. If so, generate a trigger instruction, and respond to the third request message based on the trigger instruction.
4. A method for allocating virtual objects according to claim 3, characterized in that: include: Each time the third request message is responded to, one virtual resource coin is consumed.
5. A method for allocating virtual objects according to claim 3, characterized in that: Also includes: If it is determined that the virtual resource coin does not meet the preset conditions, the virtual resource is tested to determine whether the virtual resource meets the conditions for exchanging the virtual resource coin; If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated.
6. A method for allocating virtual objects according to claim 5, characterized in that: If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated, including: The exchange instruction options include a first exchange instruction option and a second exchange instruction option; If the client triggers the first exchange instruction option, virtual resource coins are obtained by consuming the virtual resources in the user account; otherwise, the exchange instruction option is closed.
7. A method for allocating virtual objects according to claim 1, characterized in that: After allocating the virtual objects based on the preset weights, the method includes outputting the allocation results; The allocation result includes: account ID, nickname, and allocated virtual object.
8. A method for allocating virtual objects according to claim 1, characterized in that: It also includes setting a progress reward for responding to the third request message. When the client responds to the third request message a specified number of times, an additional reward is obtained; specifically: When the number of times the user responds to the third request reaches a preset number, a progress reward is unlocked, where the progress reward includes a target virtual object, and the progress reward is updated as the target virtual object is replaced.
9. A method for allocating virtual objects according to claim 1, characterized in that: The preset weight is determined according to the rarity of the virtual object.
10. A virtual object distribution system, characterized in that: A virtual object allocation method applied to any one of claims 1 to 9, comprising a first virtual object list module, a target virtual object setting module and a virtual object allocation module; The first virtual object list module is used to send a first request message to the server, and the server generates a first virtual object list message according to the content of the first request message and sends it to the client; The target virtual object setting module is used for the client to initiate a second request message to the server based on the generated first virtual object list message; wherein the second request message includes the attribute value of the virtual object set by the user; the server receives the second request message and sets the virtual object corresponding to the attribute value as the target virtual object to obtain a second virtual object list message; The virtual object allocation module is used to send a third request message to the server based on the second virtual object list message, and determine whether to respond to the third request message according to preset conditions. If the preset conditions are met, the third request message is responded to, and virtual objects are allocated based on preset weights.
11. A virtual object distribution system according to claim 10, characterized in that: The first virtual object list message includes a plurality of virtual objects and their corresponding attribute values.
12. A virtual object distribution system according to claim 10, characterized in that: It also includes a virtual resource coin module, which is used for the server to receive the third request message and obtain the virtual resource coins in the user account; determine whether the virtual resource coins meet the preset conditions, and if so, generate a trigger instruction, and respond to the third request message based on the trigger instruction.
13. A virtual object distribution system according to claim 12, characterized in that: The virtual resource currency module also includes: Each time the third request message is responded to, one virtual resource coin is consumed.
14. A virtual object distribution system according to claim 12, characterized in that: It also includes a module for generating an exchange instruction option, which is used to detect virtual resources if it is determined that the virtual resource coins do not meet the preset conditions, and determine whether the virtual resources meet the conditions for exchanging virtual resource coins; If the virtual resources meet the conditions for exchanging virtual resource coins, an exchange instruction option is generated.
15. A virtual object distribution system according to claim 14, characterized in that: The module for generating exchange instruction options is also used for: The exchange instruction options include a first exchange instruction option and a second exchange instruction option; If the client triggers the first exchange instruction option, virtual resource coins are obtained by consuming the virtual resources in the user account; otherwise, the exchange instruction option is closed.
16. A virtual object distribution system according to claim 10, characterized in that: It also includes an allocation result output module, which is used to output the allocation result after allocating the virtual objects based on the preset weights; The allocation result includes: account ID, nickname, and allocated virtual object.
17. A virtual object distribution system according to claim 10, characterized in that: It also includes a progress reward setting module, which is used to set a progress reward for responding to the third request message. When the number of times the client responds to the third request message reaches a specified progress, an additional reward is obtained; specifically: When the number of times the user responds to the third request reaches a preset number, a progress reward is unlocked, where the progress reward includes a target virtual object, and the progress reward is updated as the target virtual object is replaced.
18. The virtual object distribution system according to claim 10, characterized in that: The preset weight is determined according to the rarity of the virtual object.
19. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores computer program instructions executable by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the virtual object allocation method according to any one of claims 1 to 9.
20. A computer-readable storage medium storing a program, characterized in that: When the program is executed by a processor, a method for allocating virtual objects as described in any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Resource processing method and device for target content object
CN112632277A
Game resource extraction method and device, electronic equipment and readable storage medium
CN116983614A
Game online lottery drawing system and method based on artificial intelligence
CN117273820A
