Virtual item collection method and device, electronic equipment and storage medium
By displaying the state changes of virtual objects and responding to interactive operations in the virtual item claiming method, and triggering the claiming of virtual items after the preset conditions are met, the problem of lack of fun in the existing technology is solved, and user interaction and participation are improved.
Patent Information
- Application Number
- CN202110482331.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-30
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2041-04-30
AI Technical Summary
Existing methods for sharing virtual items lack fun, involve little interaction among participants, and result in low user enthusiasm for sending and receiving virtual items.
By displaying virtual objects on the item redemption page, the system responds to interactive actions to change their state and triggers the redemption of virtual items when preset conditions are met, including clicking, shaking, voice, or blowing actions to adjust the state.
It enhances the interactivity and fun of sharing virtual items, increasing user engagement.
Smart Images

Figure CN115253308B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and specifically to a method, apparatus, electronic device, and storage medium for obtaining virtual items. Background Technology
[0002] Currently, sharing virtual items (such as sending and receiving red envelopes) is very easy. Generally, you only need to click on the virtual item message, such as the red envelope message, to receive the virtual item, such as the red envelope. However, this method lacks fun, and there is little interaction and little interest among participants in sharing virtual items. Users are not very enthusiastic about sending and receiving virtual items. Summary of the Invention
[0003] This application provides a method, device, electronic device, and storage medium for receiving virtual items, which can enhance the interaction between participants sharing virtual items and increase the fun of sharing.
[0004] This application provides a method for claiming virtual items, including:
[0005] In response to an operation to claim a virtual item, an item claim page is displayed, the item claim page including the virtual object in a first state;
[0006] In response to an interactive operation triggered on the virtual item, the virtual object is caused to change from the first state to the second state;
[0007] When it is determined that the interactive operation satisfies the first preset condition and the second state of the virtual object satisfies the second preset condition, at least part of the virtual item is claimed.
[0008] Accordingly, this application provides a virtual item redemption device, comprising:
[0009] The display module is used to respond to the operation of claiming virtual items and display the item claiming page, which includes an interactive claiming area and a virtual object in a first state;
[0010] A change module is used to respond to an interactive operation triggered on the virtual item, causing the virtual object to change from the first state to the second state;
[0011] The claiming module is used to trigger the claiming of at least a portion of the virtual items when it is determined that the interactive operation meets a first preset condition and the second state of the virtual object meets a second preset condition.
[0012] Optionally, in some embodiments of the present invention, the receiving module includes:
[0013] The data acquisition submodule is used to collect the operation information of the interactive operation;
[0014] The adjustment submodule is used to adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation is determined to meet the first preset condition based on the operation information.
[0015] The claim submodule is used to trigger the claiming of at least a portion of the virtual items.
[0016] Optionally, in some embodiments of this application, the operation information is click operation information, shake operation information, voice operation information, or blowing operation information, and the adjustment submodule includes:
[0017] The first adjustment subunit is used to obtain the number of clicks from the click operation information, and when the interaction operation meets the first preset condition based on the number of clicks, adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0018] The second adjustment subunit is used to obtain the number of shakes from the shaking operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interaction operation meets the first preset condition based on the number of shakes.
[0019] The third adjustment subunit is used to obtain a decibel value from the voice operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation is determined to meet the first preset condition based on the decibel value.
[0020] The fourth adjustment subunit is used to obtain the continuous blowing duration from the blowing operation information, and when the interactive operation meets the first preset condition based on the continuous blowing duration, adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0021] Optionally, in some embodiments of this application, the item collection page includes an interactive area, and the first adjustment subunit is specifically used for:
[0022] From the click operation information, obtain the number of clicks corresponding to the interactive operation triggered on the interactive area within a preset time period;
[0023] When the number of clicks is detected to be greater than or equal to a preset number, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
[0024] Optionally, in some embodiments of this application, the first adjustment subunit is further configured to:
[0025] When the number of clicks is less than a preset number, it is determined that the interactive operation does not meet the first preset condition, and the second state of the virtual object is adjusted to the state corresponding to the number of clicks.
[0026] Optionally, in some embodiments of this application, the second adjustment subunit is specifically used for:
[0027] Calculate the shaking frequency of the interactive operation within a preset time period based on the number of shakings;
[0028] When the shaking frequency is greater than or equal to the preset shaking frequency, it is determined that the interactive operation satisfies the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
[0029] Optionally, in some embodiments of this application, the third adjustment subunit is specifically used for:
[0030] Calculate the average decibel value corresponding to the interactive operation based on the obtained decibel value;
[0031] When the average decibel value is greater than or equal to the preset decibel value, the interactive operation is determined to meet the first preset condition.
[0032] The second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and the current decibel value is displayed in the virtual object in the target state.
[0033] Optionally, in some embodiments of this application, the third adjustment subunit is specifically used for:
[0034] Calculate the air volume corresponding to the interactive operation based on the continuous blowing duration;
[0035] When the blowing volume is greater than or equal to the preset blowing volume, it is determined that the interactive operation satisfies the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
[0036] Optionally, in some embodiments of this application, the receiving submodule includes:
[0037] The acquisition unit is used to acquire the total amount of virtual resources corresponding to the virtual item;
[0038] The determining unit is used to determine the resources to be claimed from the total amount of virtual resources based on a preset strategy;
[0039] The switching unit is used to switch the item claim page to the result claim page, and to display the value corresponding to the resource to be claimed on the result claim page.
[0040] Optionally, in some embodiments of this application, the determining unit is specifically used for:
[0041] Determine the item collection ratio corresponding to the aforementioned operation information;
[0042] Within the total amount of virtual resources, resources to be claimed are determined according to the item claim ratio.
[0043] In response to a virtual item claiming operation, this application displays an item claiming page. The item claiming page includes a virtual object in a first state. In response to an interactive operation triggered by the virtual item, the virtual object changes from the first state to a second state. When it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition, at least a portion of the virtual item is claimed. The virtual item claiming method provided by this application requires the claimant to perform an interactive operation that meets the item claiming conditions before the virtual item can be claimed. This enhances the user interaction when sharing virtual items and increases the fun of claiming virtual items. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1a This is a schematic diagram illustrating the method for claiming virtual items provided in this application;
[0046] Figure 1b This is a flowchart illustrating the method for claiming virtual items provided in this application;
[0047] Figure 1c This is a diagram illustrating the clicking of the interactive area in the virtual item claiming method provided in this application;
[0048] Figure 1d This is another illustration of clicking the interactive area in the virtual item claiming method provided in this application;
[0049] Figure 1e This is a diagram illustrating the method of shaking a mobile phone in the virtual item claiming process provided in this application;
[0050] Figure 2a This is a flowchart illustrating the virtual item distribution method provided in this application;
[0051] Figure 2b This is an interaction flowchart of the virtual item interaction system provided in this application;
[0052] Figures 2c to 2g This is a schematic diagram of the virtual item interaction system provided in this application;
[0053] Figure 3a This is a schematic diagram of the virtual item redemption device provided in this application;
[0054] Figure 3b This is a schematic diagram of the virtual item distribution device provided in this application;
[0055] Figure 4 This is a schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0056] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0057] This application provides a method, apparatus, electronic device, and storage medium for receiving virtual items.
[0058] Specifically, the virtual item redemption device can be integrated into a terminal, which can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. This application does not impose any restrictions.
[0059] For example, please see Figure 1aThis application provides a virtual item interaction system, including a receiving terminal 10, a sending terminal 20, and a server 30. A sender can send virtual items from the sending terminal 20 to the receiving terminal 10. Specifically, the sending terminal 20 can receive a sending request from the sender for a virtual item. This sending request includes virtual item distribution settings, which include virtual item attribute information and virtual item receiving conditions. Then, based on the target receiving conditions, the sending terminal 20 constructs receiving determination information for the virtual item. The receiving terminal 10 can display an item display page containing the virtual item on its screen. When a user's action to claim a virtual item is detected, an item claiming page is displayed. This page includes a virtual object in a first state. In response to an interactive action triggered by the virtual item, the claiming terminal 10 causes the virtual object to change from the first state to a second state. When the claiming terminal 10 determines that the interactive action meets a first preset condition and that the second state of the virtual object meets a second preset condition, it triggers the claiming of at least part of the virtual item. That is, when the sending terminal 20 detects that the claiming determination information meets the requirements of the target claiming conditions, the server 30 issues the virtual resources corresponding to the virtual item to the claiming terminal 10 based on the virtual item attribute information.
[0060] The virtual item claiming method provided in this application requires the claimant to perform an interactive operation that meets the claiming conditions before the virtual item can be claimed. This enhances the interaction among users sharing virtual items and increases the fun of claiming virtual items.
[0061] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0062] A method for claiming virtual items includes: displaying an item claiming page in response to a claiming operation for the virtual item; causing the virtual object to change from a first state to a second state in response to an interactive operation triggered by the virtual item; and triggering the claiming of at least a portion of the virtual item when it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition.
[0063] Please see Figure 1b , Figure 1b This is a flowchart illustrating the virtual item claiming method provided in this application. This embodiment also provides a virtual item interaction method, which can be executed by the processor of the claiming terminal. The specific flow of this virtual item claiming method is as follows:
[0064] 101. In response to the action of claiming virtual items, display the item claim page.
[0065] The item redemption page includes virtual objects in a first state. In this embodiment, virtual items can be intangible, non-real objects, products of the virtual world, including equipment and currency in online games, member icons in communication software, electronic red envelopes, and electronic red envelopes in payment software, etc. The following will use electronic red envelopes as an example to explain the virtual item interaction method of this application in detail.
[0066] For example, specifically, in an instant messaging chat page, virtual items can be displayed in the form of messages. Then, in response to the operation of claiming virtual items, an item claiming page can be displayed, where the item claiming page includes the virtual object in a first state. Or, for example, in the corresponding page of a shopping client, virtual items can be displayed in the form of messages. Then, in response to the operation of claiming virtual items, an item claiming page can be displayed. This application does not impose any restrictions on this.
[0067] It should be noted that the virtual objects in this application can be virtual animals, virtual plants, or virtual buildings, etc. The virtual objects have different preset states. For example, the virtual object is a virtual money tree (hereinafter referred to as the money tree). The money tree has multiple growth states (i.e. preset states). The maintenance personnel can set a certain growth state as the first state of the money tree in advance. When displaying the item redemption page, the money tree in the first state is displayed in the preset position of the item redemption page.
[0068] Furthermore, in some embodiments, the state of the virtual object can be associated with the item collection status. For example, a virtual tree can be pre-defined with three growth states, each corresponding to an item collection status. Assume the item collection progress for the first growth state is 0%, the progress for the second growth state is 0% to 100% (excluding endpoints), and the progress for the third growth state is 100%. That is, the virtual object indicates the distance between itself and the item collection condition. In other words, in some embodiments, the step "in response to a virtual item collection operation, display an item collection page" can specifically include:
[0069] (11) Display virtual items and their prompts on the chat page;
[0070] (12) In response to the claiming operation for virtual items, display the item claiming page according to the item claiming conditions.
[0071] The prompt message indicates the conditions for claiming virtual items. The item claiming page includes an interactive claiming area and a virtual object in its first state. The virtual object indicates the distance between itself and the item claiming conditions. The prompt message can be presented in text form, such as "Please click", or in image form. If the user needs to click, the prompt message will be in the form of a finger.
[0072] 102. In response to interactive actions triggered on virtual items, the virtual object is caused to change from a first state to a second state.
[0073] Interactive operations can be triggered directly or indirectly against virtual objects, depending on the specific circumstances. For example, it could be a shaking operation on the terminal, where the terminal's sensors collect information about the shaking operation, thereby causing the virtual object to change from a first state to a second state.
[0074] It should be noted that in this application, the second state of the virtual object is defined as a state other than the first state. The second state can be a state that meets the second preset condition or a state that does not meet the second preset condition. If the second state meets the second preset condition, the interactive operation is indicated to meet the first preset condition. At this time, step 103 is executed.
[0075] It is understandable that the second state corresponds to the operation information of the interactive operation. That is, the second state of the virtual object is associated with the operation information. For example, if the preset state of the virtual object will switch when the user clicks the interactive area 30 times, 60 times, and 90 times, then the first state of the virtual object is the state corresponding to 0 clicks, and the second state is the state corresponding to 30 clicks, 60 clicks, and 90 clicks, respectively.
[0076] The virtual states corresponding to virtual objects are preset, and the number of virtual states corresponding to virtual objects can be set according to actual needs. That is, the number of virtual states corresponding to virtual objects can be the same or different under different item collection conditions. For example, when the item collection condition is "click the interactive area 100 times within a preset time period", the number of virtual states corresponding to virtual objects can be 5; when the item collection condition is "swipe the interactive area 100 times within a preset time period", the number of virtual states corresponding to virtual objects can be 10.
[0077] Furthermore, the interaction type indicates the type of the interaction event, such as a click event, a swipe event, or a shake event. It is understood that when the interaction type is different, the basis for triggering the switch from the first state of the virtual object to the target state is also different. That is, under the click type, the basis for triggering the switch from the first state of the virtual object to the target state is the click parameter; under the swipe type, the basis for triggering the switch from the first state of the virtual object to the target state is the swipe parameter. Optionally, in some embodiments, the step "triggering the switch from the first state of the virtual object to the target state based on the interaction type, operation information, and virtual state set" may specifically include:
[0078] Furthermore, to enhance the fun of the virtual item redemption scheme, in some embodiments, the correlation between each virtual state and the corresponding number of clicks can be obtained. Based on this correlation, the total number of clicks, and the set of virtual states, an animation effect is displayed to switch the first state of the virtual object to the target state. That is, optionally, in some embodiments, the step "triggering the switch of the first state of the virtual object to the target state according to the click operation parameters and the set of virtual states" can specifically include: determining the total number of clicks within a preset time according to the click operation parameters, determining the virtual state corresponding to the total number of clicks in the set of virtual states to obtain the target state, and using the target state as the endpoint, displaying the animation effect of switching from the first state of the virtual object to the target state sequentially based on the total number of clicks and the arrangement order of the virtual states in the set of virtual states.
[0079] For example, the set of virtual states includes an arrangement of virtual states A, B, C, D, and E. Virtual state A is the first state of the virtual object, with 0 clicks. Virtual state B has 20 clicks, virtual state C has 40 clicks, virtual state D has 60 clicks, and virtual state E has 80 clicks. The total number of clicks within a preset time is 66. In this application, virtual state D is taken as the target state (i.e., the endpoint). Then, the virtual states of the virtual object are displayed sequentially according to the arrangement of virtual states A, B, C, and D, thereby switching the first state of the virtual object to the second state.
[0080] 103. When it is determined that the interactive operation meets the first preset condition and the second state of the virtual object meets the second preset condition, at least part of the virtual item is triggered to be claimed.
[0081] For example, if the interactive operation is a click operation, and the number of clicks within a preset time period equals a threshold, then the click operation is determined to meet the first preset condition. At the same time, the virtual state is switched from the first state to the state corresponding to the number of clicks (i.e., the second state), and it is determined that the second state meets the second preset condition. Thus, at least a portion of the virtual items can be claimed, which can be 30% or 100% of the virtual items, depending on the actual situation.
[0082] Furthermore, based on the operation information of the interactive operation, it can be determined that the interactive operation meets the first preset condition, and the second state of the virtual object can be adjusted. That is, optionally, in some embodiments, the step "when it is determined that the interactive operation meets the first preset condition and the second state of the virtual object meets the second preset condition, triggering at least part of the receipt of the virtual item" can specifically include:
[0083] (21) Collect operation information of interactive operations;
[0084] (21) When the interactive operation meets the first preset condition based on the operation information, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and at least part of the virtual item is triggered to be claimed.
[0085] For example, if the condition for claiming an item is clicking the interactive area 90 times within 60 seconds, when the claimant clicks the interactive area 90 times within 60 seconds, they not only meet the item claiming condition but also the condition for switching the state of the virtual object. Therefore, in this application, the virtual object is prompted to change from a first state to a second state corresponding to the 90 clicks on the interactive area. That is, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, triggering at least part of the claiming of the virtual item. Furthermore, if clicking the interactive area 30 times corresponds to second state A, clicking the interactive area 60 times corresponds to second state B, and clicking the interactive area 90 times corresponds to second state B, then the process of the virtual object changing from the first state to second state A, second state B, and second state C is displayed. For example, if the condition for receiving an item is shaking the phone more than 100 times within 60 seconds, when the recipient shakes the phone 100 times within 60 seconds, they not only meet the condition for receiving the item but also the condition for switching the state of the virtual object. Therefore, in this application, the virtual object is shown to switch from the first state to the state of clicking the interactive area 30 times, the state of clicking the interactive area 60 times, and the state of clicking the interactive area 90 times, triggering the receipt of the virtual item. That is, optionally, in some embodiments, the operation information is click operation information, shake operation information, voice operation information, or blow operation information. The step "when the interactive operation is determined to meet the first preset condition based on the operation information, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition" can specifically include:
[0086] (31) Obtain the number of clicks from the click operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the number of clicks.
[0087] (32) Obtain the number of shakes from the shake operation information, and determine the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the number of shakes;
[0088] (33) Obtain the decibel value from the voice operation information, and when the interactive operation meets the first preset condition based on the decibel value, adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0089] (34) Obtain the duration of continuous blowing from the blowing operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the duration of continuous blowing.
[0090] For step (31), please refer to Figure 1cThe item redemption page also includes an interactive area. Specifically, the number of clicks corresponding to interactive actions triggered in the interactive area within a preset time period can be obtained from the click operation information. When the number of clicks is greater than or equal to the preset number, it is determined that the interactive action meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. For example, if the number of clicks corresponding to interactive actions triggered in the interactive area within 60 seconds is 100, and the first preset condition is 90 clicks in the interactive area within 60 seconds, then it is determined that the interactive action meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. If the first preset condition is 110 clicks in the interactive area within 60 seconds, then it is determined that the interactive action does not meet the first preset condition, and the second state of the virtual object is adjusted to the state corresponding to the number of clicks. Figure 1d As shown.
[0091] Regarding step (32), the number of shakes corresponding to the shake operation triggered on the electronic device within a preset time period can be obtained from the shake operation information. When the number of shakes is detected to be greater than or equal to the preset number, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. In order to further improve the fun of the virtual item interaction scheme, in this application, the shaking frequency of the interactive operation within the preset time period can be calculated, and the interaction operation is determined to meet the first preset condition based on the shaking frequency. That is, optionally, in some embodiments, the step "obtain the number of shakes from the shake operation information, and when it is determined that the interactive operation meets the first preset condition based on the number of shakes, adjust the second state of the virtual object to the target state corresponding to the second preset condition" can specifically include:
[0092] (41) Calculate the shaking frequency of the interactive operation within the preset time period based on the number of shakings;
[0093] (42) When the shaking frequency is greater than or equal to the preset shaking frequency, the interactive operation is determined to meet the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
[0094] For details, please refer to Figure 1e Based on the shaking operation information, the number of times the user shakes the phone within a preset time period is obtained. Then, based on the number of shakings, the shaking frequency of the interactive operation within the preset time period is calculated to be 5 times / second. If the first preset condition is that the shaking frequency is equal to 3 times / second, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. If the first preset condition is that the shaking frequency is equal to 6 times / second, it is determined that the interactive operation does not meet the first preset condition, and the second state of the virtual object is adjusted to the state corresponding to the shaking frequency.
[0095] Regarding step (33), the voice operation can specifically be a user's shout operation on the mobile phone. Therefore, the decibel value can be obtained from the voice operation information, and it can be detected whether the highest decibel value obtained meets the first preset condition. If the highest decibel value meets the first preset condition, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. The specific method is similar to the previous embodiment, and will not be repeated here.
[0096] Furthermore, to enhance the fun of the virtual item redemption method, in some embodiments, the average decibel value corresponding to the interactive operation can also be calculated. That is, the step "obtaining the decibel value from the voice operation information, and adjusting the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the decibel value" can specifically include:
[0097] (51) Calculate the average decibel value corresponding to the interactive operation based on the obtained decibel value;
[0098] (52) When the average decibel value is greater than or equal to the preset decibel value, the interactive operation is determined to meet the first preset condition.
[0099] (53) Adjust the second state of the virtual object to the target state corresponding to the second preset condition, and display the current decibel value in the virtual object in the target state.
[0100] The arithmetic mean or weighted average method can be used to calculate the average decibel value corresponding to the interactive operation. The specific method to choose from depends on the actual situation and will not be elaborated here.
[0101] Regarding step (34), the interactive operation can be a blowing operation triggered by the user on the mobile phone screen. The mobile phone screen integrates a pressure sensor for measuring the user's blowing volume and a distance sensor for detecting the distance between the user and the screen. The pressure sensor detects the blowing pressure. When the blowing pressure is greater than or equal to a first threshold, the blowing pressure value and the corresponding blowing duration are counted. When the blowing pressure is less than the first threshold, the step of counting the blowing pressure value and the corresponding blowing duration ends, and the blowing volume corresponding to the interactive operation is calculated. When the blowing volume is greater than or equal to a preset blowing volume, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. The specific implementation method is similar to the previous embodiment, and can be referred to the previous embodiment, which will not be repeated here.
[0102] It should be noted that when the interactive operation meets the first preset condition and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, item collection information can be generated. Then, the item collection information is sent to the server, and the server distributes the virtual item based on the item collection information, thereby realizing the collection of the virtual item.
[0103] This involves obtaining the total amount of virtual resources corresponding to virtual items, then determining the resources to be claimed from the total amount of virtual resources based on a preset strategy, switching the item claiming page to the result claiming page, and displaying the value of the resources to be claimed on the result claiming page. The preset strategy is pre-set by the issuing terminal or server. For example, if the virtual item is a red envelope, the preset strategy is to randomly distribute the amount of the red envelope. Alternatively, the preset strategy is related to the actions of the claimant. For example, the more times the claimant clicks within a preset time period, the more red envelope amount they can receive. That is, optionally, in some embodiments, the step "determining the resources to be claimed from the total amount of virtual resources based on a preset strategy" may specifically include:
[0104] (61) Determine the item collection ratio corresponding to the operation information;
[0105] (62) In the total amount of virtual resources, determine the resources to be claimed corresponding to the item claim ratio.
[0106] For example, the sender sets the amount of the electronic red envelope to 90 yuan. Then, the sender sends the electronic red envelope to a group chat containing 4 users. The electronic red envelope is set as a 3-person red envelope. When the other 3 users in the group chat click on the electronic red envelope and complete the item redemption conditions, for example, the item redemption conditions are set as "clicking the electronic red envelope 50 times within 60 seconds", user A clicks a total of 60 times, user B clicks a total of 90 times, and user C clicks a total of 120 times. Then, in this application, the electronic red envelope can be redeemed based on the ratio of the total number of clicks. That is, user A receives 20 yuan, user B receives 30 yuan, and user C receives 40 yuan, thus completing the redemption of the virtual item.
[0107] To enhance the fun of claiming virtual items, the virtual object can be integrated into the results claim page. For example, in an e-red envelope campaign, the virtual object could be part of the e-red envelope claim page.
[0108] This application, in response to a virtual item claiming operation, displays an item claiming page and, in response to an interactive operation triggered by the virtual item, causes the virtual object to change from a first state to a second state. When it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition, at least part of the virtual item claiming is triggered. The virtual item claiming method provided by this application requires the claimant to perform an interactive operation that meets the item claiming conditions before the virtual item can be claimed, thereby enhancing user interaction when sharing virtual items and increasing the fun of claiming virtual items.
[0109] The method described in the embodiments will be further described in detail below with examples.
[0110] This embodiment also provides a virtual item interaction method, which can be executed by the processor of the issuing terminal, see reference. Figure 2a This method may include the following process.
[0111] Please see Figure 2a A method for distributing virtual items, the specific process of which is as follows:
[0112] 201. Receive item sending requests for virtual items.
[0113] The item delivery request includes virtual item delivery settings, which include the virtual item's attribute information and the conditions for receiving the virtual item. For example, taking an electronic red envelope as an example, the sender enters the electronic red envelope delivery page, which includes controls for setting the conditions for receiving the item. Clicking these controls triggers access to the settings page, where the sender can set the number of clicks, the click time (i.e., a preset time period), the red envelope amount, and the number of red envelopes. When a confirmation button for successful settings is detected on the settings page, an item delivery request for the virtual item is triggered; that is, the delivery terminal receives the item delivery request for the virtual item.
[0114] 202. Based on the target claiming conditions, construct claiming determination information for virtual items.
[0115] Among them, the target claim conditions specify the information used to determine whether the claiming terminal is qualified to claim virtual items.
[0116] In this embodiment, the information specified in the target claiming conditions for determining whether the claiming terminal is qualified to claim virtual items determines the specific method by which the server obtains the claiming determination information from the claiming terminal.
[0117] For example, if the target retrieval conditions include action instruction information for the retrieval action, then the retrieval determination information can be obtained from the retrieval terminal. That is, the issuing terminal can construct the retrieval determination information based on the action instruction information and send it to the server.
[0118] 203. When the information for receiving the virtual item meets the requirements of the target receiving conditions, the virtual item is issued based on the attribute information of the virtual item.
[0119] For example, when the information for receiving the virtual item meets the requirements of the target receiving conditions, the distributing terminal can distribute the corresponding virtual resources to the corresponding receiving terminal based on the attribute information of the virtual item, such as the amount and number of electronic red envelopes, thereby realizing the distribution of virtual items.
[0120] To facilitate understanding of the virtual item claiming method provided in this application, this embodiment also provides a virtual item interaction system. Please refer to [link / reference]. Figure 2b The user at the distribution terminal enters the electronic red envelope distribution page. On this page, the user can set the conditions for receiving the item (number of clicks), and the click time input box displays the configured click time and the number of clicks entered by the user. If the number of clicks exceeds the configured range, the user is prompted that the number of clicks is invalid and asked to reset. Additionally, the user enters the amount and number of electronic red envelopes, and clicks "send money" to send the red envelopes. Figure 2c As shown. The issuing terminal sends relevant information to the payment backend. The payment backend places an order for the red packet issuance request from the issuing terminal and returns information such as the red packet order identifier to the issuing terminal. After the red packet issuance request is successful, the issuing terminal invokes the payment password box. The issuing user enters the payment password to make the payment. The payment request sends the red packet order information to the payment backend for payment. The backend returns the payment result to the issuing terminal. Then, after the payment is completed, the payment backend calls the message sending interface of the message backend to send a red packet message. The red packet message contains the red packet identifier, the password used for verification, the number of clicks, and the click time. The message backend sends the red packet message to each relevant receiving terminal. When the receiving terminal receives the red packet message, it displays the red packet style in the chat window, such as... Figure 2d As shown.
[0121] For the receiving terminal, when a user clicks on the red envelope message in the chat window, a pop-up window opens. The initial background color of the pop-up window displays the starting value of the gradient color in the configuration, and it also displays an initial sapling image. As the user begins clicking the pop-up window, a timer starts counting down the clicks. With each click, the background color of the pop-up window gradually changes towards the ending value of the gradient color in the configuration. Simultaneously, the sapling gradually grows according to the click progress, eventually becoming a complete money tree. Figures 2e to 2gAs shown. If the number of clicks does not reach the number set by the sender within the specified time, the red envelope cannot be received and a message indicating incompleteness will be displayed. If the conditions are met, the red envelope can be received. The receiving terminal sends a red envelope receiving request to the payment backend, including the red envelope identifier, verification password, number of clicks, and click time. The payment backend verifies the information, and if successful, the red envelope is received, and the red envelope receiving result information (such as the amount received) is returned to the receiving terminal.
[0122] It should be noted that in this application, the configuration of the electronic red envelope (hereinafter referred to as red envelope) is defined in JSON format, which restricts how the sender sets the game difficulty while also allowing for flexible control. The configuration defines the maximum and minimum number of clicks within a certain time period set by the sender, and also configures the color gradient range of the pop-up background as the number of clicks increases when the user grabs the red envelope, as well as a money tree resource compressed package. The compressed package contains multiple image resources, which are images of the process of a sapling growing into a money tree in sequence.
[0123] This application, upon receiving a request to send a virtual item, constructs a claim determination information based on target claim conditions. When the claim determination information meets the target claim conditions, the virtual item is issued based on its attribute information. The virtual item claiming method provided by this application requires the claimant to perform an interactive operation that meets the claim conditions before they can claim the virtual item. This enhances user interaction when sharing virtual items and increases the fun of claiming virtual items.
[0124] To facilitate better implementation of the virtual item redemption method of this application, this application also provides a virtual item redemption device (hereinafter referred to as the interactive device) based on the above-mentioned virtual item redemption device, which is specifically integrated into the redemption terminal. The meanings of the terms are the same as in the above-mentioned virtual item redemption method, and specific implementation details can be found in the description of the method embodiments.
[0125] Please see Figure 3a , Figure 3a A schematic diagram of the virtual item redemption device provided in this application is shown. The interactive device may include a display module 301, a transformation module 302, and a redemption module 303, as follows:
[0126] The display module 301 is used to display the item claim page in response to the claiming operation of virtual items.
[0127] The item redemption page includes virtual objects in a first state. In this embodiment, virtual items can be intangible, non-real objects, products of the virtual world, including equipment and currency in online games, member icons in communication software, electronic red envelopes, and electronic red envelopes in payment software, etc. The following will use electronic red envelopes as an example to explain the virtual item interaction method of this application in detail.
[0128] For example, specifically, in an instant messaging chat page, the display module 301 can display virtual items in the form of messages, and then, in response to the operation of claiming virtual items, display the item claim page.
[0129] The change module 302 is used to respond to an interactive operation triggered on a virtual item, causing the virtual object to change from the first state to the second state.
[0130] The interactive operation can be triggered directly or indirectly on the virtual object, depending on the specific circumstances. For example, it could be a shaking operation on the terminal. The change module 302 collects information about the shaking operation by calling the terminal's sensors, thereby causing the virtual object to change from a first state to a second state.
[0131] The claiming module 303 is used to trigger the claiming of at least a portion of virtual items when it is determined that the interactive operation meets the first preset condition and the second state of the virtual object meets the second preset condition.
[0132] For example, if the interactive operation is a click operation, and the number of clicks within a preset time period equals a threshold, then the click operation is determined to meet the first preset condition. At the same time, the claiming module 303 switches the virtual state from the first state to the state corresponding to the number of clicks (i.e., the second state), and determines that the second state meets the second preset condition. Thus, at least a portion of the virtual items is claimed, which can be 30% or 100% of the virtual items, depending on the actual situation.
[0133] Optionally, in some embodiments, the receiving module 303 may specifically include:
[0134] The data collection submodule is used to collect operation information from interactive operations.
[0135] The adjustment submodule is used to adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the operation information.
[0136] The claim submodule is used to trigger the claiming of at least a portion of virtual items.
[0137] Optionally, in some embodiments, the operation information is click operation information, shake operation information, voice operation information, or blowing operation information, and the adjustment submodule may specifically include:
[0138] The first adjustment subunit is used to obtain the number of clicks from the click operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation is determined to meet the first preset condition based on the number of clicks.
[0139] The second adjustment subunit is used to obtain the number of shakes from the shake operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the number of shakes.
[0140] The third adjustment subunit is used to obtain the decibel value from the voice operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the decibel value.
[0141] The fourth adjustment subunit is used to obtain the continuous blowing duration from the blowing operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation meets the first preset condition based on the continuous blowing duration.
[0142] Optionally, in some embodiments, the item collection page includes an interactive area, and the first adjustment subunit can be specifically used to: obtain the number of clicks corresponding to the interactive operation triggered on the interactive area within a preset time period from the click operation information; when the number of clicks is detected to be greater than or equal to the preset number, determine that the interactive operation meets the first preset condition, and adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0143] Optionally, in some embodiments, the first adjustment subunit may further be used to: when the number of clicks is detected to be less than a preset number, determine that the interactive operation does not meet the first preset condition, and adjust the second state of the virtual object to the state corresponding to the number of clicks.
[0144] Optionally, in some embodiments, the second adjustment subunit may be specifically used to: calculate the shaking frequency of the interactive operation within a preset time period based on the number of shakings; when the shaking frequency is greater than or equal to the preset shaking frequency, determine that the interactive operation meets the first preset condition, and adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0145] Optionally, in some embodiments, the third adjustment subunit may be specifically used to: calculate the average decibel value corresponding to the interactive operation based on the obtained decibel value; when the average decibel value is greater than or equal to the preset decibel value, determine that the interactive operation meets the first preset condition; adjust the second state of the virtual object to the target state corresponding to the second preset condition; and display the current decibel value in the virtual object in the target state.
[0146] Optionally, in some embodiments, the third adjustment subunit may be specifically used to: calculate the blowing volume corresponding to the interactive operation based on the continuous blowing duration; when the blowing volume is greater than or equal to the preset blowing volume, determine that the interactive operation meets the first preset condition, and adjust the second state of the virtual object to the target state corresponding to the second preset condition.
[0147] Optionally, in some embodiments, the claiming submodule may specifically include:
[0148] The acquisition unit is used to acquire the total amount of virtual resources corresponding to virtual items.
[0149] The determining unit is used to determine the resources to be claimed from the total amount of virtual resources based on a preset strategy;
[0150] The switching unit is used to switch the item claim page to the result claim page, and displays the value of the resource to be claimed on the result claim page.
[0151] Optionally, in some embodiments, the determining unit may be specifically used to: determine the item collection ratio corresponding to the operation information, and determine the resources to be collected corresponding to the item collection ratio in the total amount of virtual resources.
[0152] In this application, the display module 301 displays an item claiming page in response to a virtual item claiming operation. The change module 302, in response to an interactive operation triggered by the virtual item, causes the virtual object to change from a first state to a second state. The claiming module 303, when determining that the interactive operation meets a first preset condition and that the second state of the virtual object meets a second preset condition, triggers the claiming of at least a portion of the virtual item. The virtual item claiming method provided in this application requires the claimant to perform an interactive operation that meets the item claiming conditions before the virtual item can be claimed. This enhances the user interaction when sharing virtual items and increases the fun of claiming virtual items.
[0153] This application also provides a virtual item distribution device (hereinafter referred to as the distribution device) based on the above-mentioned virtual item distribution device, which is specifically integrated into the distribution terminal. The meanings of the terms are the same as in the above-mentioned virtual item distribution method, and specific implementation details can be found in the description of the method embodiments.
[0154] Please see Figure 3b , Figure 3a The schematic diagram of the virtual item distribution device provided in this application shows that the interactive device may include a receiving module 311, a building module 312, and a distribution module 313, as follows:
[0155] The receiving module 311 is used to receive item sending requests for virtual items.
[0156] The item delivery request includes virtual item delivery settings, which include the virtual item's attribute information and the conditions for receiving the virtual item. For example, taking an electronic red envelope as an example, the sender enters the electronic red envelope delivery page, which includes controls for setting the conditions for receiving the item. Clicking these controls triggers access to the settings page, where the sender can set the number of clicks, the click time (i.e., a preset time period), the red envelope amount, and the number of red envelopes. When a confirmation button for successful settings is detected on the settings page, an item delivery request for the virtual item is triggered; that is, the delivery terminal receives the item delivery request for the virtual item.
[0157] Module 312 is used to construct the determination information for claiming virtual items based on the target claiming conditions.
[0158] Among them, the target claim conditions specify the information used to determine whether the claiming terminal is qualified to claim virtual items.
[0159] In this embodiment, the information specified in the target claiming conditions for determining whether the claiming terminal is qualified to claim virtual items determines the specific method by which the server obtains the claiming determination information from the claiming terminal.
[0160] For example, if the target retrieval conditions include action instruction information for the retrieval action, then the retrieval determination information can be obtained from the retrieval terminal. That is, the issuing terminal can construct the retrieval determination information based on the action instruction information and send it to the server.
[0161] The distribution module 313 is used to distribute virtual items based on the virtual item attribute information when the receiving judgment information meets the requirements of the target receiving conditions.
[0162] For example, when the information for receiving the virtual item meets the requirements of the target receiving conditions, the distributing terminal can distribute the corresponding virtual resources to the corresponding receiving terminal based on the attribute information of the virtual item, such as the amount and number of electronic red envelopes, thereby realizing the distribution of virtual items.
[0163] After receiving a request to send a virtual item, the receiving module 311 of this application constructs, based on the target claiming conditions, claiming determination information for the virtual item. The issuing module 313 then issues the virtual item based on its attribute information when the claiming determination information meets the target claiming conditions. The virtual item claiming method provided by this application requires the claimant to perform an interactive operation that meets the claiming conditions before they can claim the virtual item. This enhances the user interaction when sharing virtual items and increases the fun of claiming virtual items.
[0164] In addition, this application also provides an electronic device, such as Figure 4 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically:
[0165] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0166] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby performing overall detection of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0167] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0168] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0169] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0170] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402 to realize various functions, as follows:
[0171] In response to a virtual item claiming operation, an item claiming page is displayed. In response to an interactive operation triggered by the virtual item, the virtual object is caused to change from a first state to a second state. When it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition, at least part of the virtual item claiming is triggered.
[0172] Receive a request to send virtual items, construct a claim determination information for the virtual items based on the target claim conditions, and issue the virtual items based on the virtual item attribute information when the claim determination information meets the requirements of the target claim conditions.
[0173] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0174] This application, in response to a virtual item claiming operation, displays an item claiming page and, in response to an interactive operation triggered by the virtual item, causes the virtual object to change from a first state to a second state. When it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition, at least part of the virtual item claiming is triggered. The virtual item claiming method provided by this application requires the claimant to perform an interactive operation that meets the item claiming conditions before the virtual item can be claimed, thereby enhancing user interaction when sharing virtual items and increasing the fun of claiming virtual items.
[0175] This application, upon receiving a request to send a virtual item, constructs a claim determination information based on target claim conditions. When the claim determination information meets the target claim conditions, the virtual item is issued based on its attribute information. The virtual item interaction method provided in this application requires the claimant to perform an interactive operation that meets the item claim conditions before they can claim the virtual item. This enhances user interaction when sharing virtual items and increases the fun of claiming virtual items.
[0176] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0177] Therefore, this application provides a storage medium storing multiple instructions that can be loaded by a processor to execute steps in any of the virtual item claiming methods provided in this application. For example, the instructions can execute the following steps:
[0178] In response to a virtual item claiming operation, an item claiming page is displayed. In response to an interactive operation triggered by the virtual item, the virtual object is caused to change from a first state to a second state. When it is determined that the interactive operation satisfies a first preset condition and that the second state of the virtual object satisfies a second preset condition, at least part of the virtual item claiming is triggered.
[0179] Receive a request to send virtual items, construct a claim determination information for the virtual items based on the target claim conditions, and issue the virtual items based on the virtual item attribute information when the claim determination information meets the requirements of the target claim conditions.
[0180] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0181] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0182] Since the instructions stored in the storage medium can execute any of the steps in the virtual item retrieval provided in this application, the beneficial effects that any of the virtual item retrieval methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0183] The above provides a detailed description of a virtual item claiming method, device, electronic device, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for claiming virtual items, characterized in that, include: In response to an operation to claim a virtual item, an item claim page is displayed, the item claim page including the virtual object in a first state; In response to an interactive operation triggered on the virtual item, the virtual object is caused to change from a first state to a second state. The virtual object has multiple different growth states, including the first state and the second state. The growth state of the virtual object indicates the distance between the virtual object and the item claiming conditions. When it is determined that the interactive operation meets the first preset condition, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and at least part of the virtual item is claimed.
2. The method according to claim 1, characterized in that, When it is determined that the interactive operation satisfies the first preset condition, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and at least part of the virtual item is triggered to be claimed, including: Collect the operation information of the interactive operation; When the interactive operation is determined to meet the first preset condition based on the operation information, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and at least part of the virtual item is claimed.
3. The method according to claim 2, characterized in that, The operation information includes click operation information, shake operation information, voice operation information, or blowing operation information. When the interactive operation is determined to satisfy a first preset condition based on the operation information, adjusting the second state of the virtual object to the target state corresponding to the second preset condition includes: The number of clicks is obtained from the click operation information. When the number of clicks determines that the interactive operation meets the first preset condition, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. The number of shakes is obtained from the shake operation information. When the number of shakes determines that the interactive operation meets the first preset condition, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition. Obtain the decibel value from the voice operation information, and when the interactive operation meets the first preset condition based on the decibel value, adjust the second state of the virtual object to the target state corresponding to the second preset condition. The continuous blowing duration is obtained from the blowing operation information. When the interactive operation meets the first preset condition based on the continuous blowing duration, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
4. The method according to claim 3, characterized in that, The item redemption page includes an interactive area. When the number of clicks determines that the interactive operation meets a first preset condition, adjusting the second state of the virtual object to the target state corresponding to the second preset condition includes: From the click operation information, obtain the number of clicks corresponding to the interactive operation triggered on the interactive area within a preset time period; When the number of clicks is detected to be greater than or equal to a preset number, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
5. The method according to claim 4, characterized in that, Also includes: When the number of clicks is less than a preset number, it is determined that the interactive operation does not meet the first preset condition, and the second state of the virtual object is adjusted to the state corresponding to the number of clicks.
6. The method according to claim 3, characterized in that, When the interaction operation is determined to meet the first preset condition based on the number of shakes, adjusting the second state of the virtual object to the target state corresponding to the second preset condition includes: Calculate the shaking frequency of the interactive operation within a preset time period based on the number of shakings; When the shaking frequency is greater than or equal to the preset shaking frequency, it is determined that the interactive operation satisfies the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
7. The method according to claim 3, characterized in that, When the interactive operation is determined to meet the first preset condition based on the decibel value, adjusting the second state of the virtual object to the target state corresponding to the second preset condition includes: Calculate the average decibel value corresponding to the interactive operation based on the obtained decibel value; When the average decibel value is greater than or equal to the preset decibel value, the interactive operation is determined to meet the first preset condition. The second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and the current decibel value is displayed in the virtual object in the target state.
8. The method according to claim 3, characterized in that, When the interactive operation is determined to meet the first preset condition based on the continuous blowing duration, the second state of the virtual object is adjusted to the target state corresponding to the second preset condition, including: Calculate the air volume corresponding to the interactive operation based on the continuous blowing duration; When the blowing volume is greater than or equal to the preset blowing volume, it is determined that the interactive operation satisfies the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
9. The method according to claim 2, characterized in that, At least a portion of triggering the claiming of the virtual item includes: Obtain the total amount of virtual resources corresponding to the virtual item; The resources to be claimed are determined from the total amount of virtual resources based on a preset strategy; Switch the item claim page to the result claim page, and display the value corresponding to the resource to be claimed on the result claim page.
10. The method according to claim 9, characterized in that, The step of determining the resources to be claimed from the total amount of virtual resources based on a preset strategy includes: Determine the item collection ratio corresponding to the aforementioned operation information; Within the total amount of virtual resources, resources to be claimed are determined according to the item claim ratio.
11. The method according to any one of claims 1 to 10, characterized in that, The response to a virtual item claiming operation, displaying an item claiming page, includes: The virtual item and its prompt information are displayed on the chat page, indicating the conditions for claiming the virtual item. In response to a claim operation for the virtual item, an item claim page is displayed according to the item claim conditions. The item claim page includes a claim interaction area and a virtual object in a first state.
12. A virtual item redemption device, characterized in that, include: The display module is used to respond to the operation of claiming virtual items and display the item claiming page, which includes an interactive claiming area and a virtual object in a first state; A change module is used to respond to an interactive operation triggered for the virtual item, causing the virtual object to change from a first state to a second state. The virtual object has multiple different growth states, including the first state and the second state. The growth state of the virtual object indicates the distance between the virtual object and the item acquisition conditions. The claiming module is used to adjust the second state of the virtual object to the target state corresponding to the second preset condition when it is determined that the interactive operation meets the first preset condition, and to trigger the claiming of at least part of the virtual item.
13. The apparatus according to claim 12, characterized in that, The receiving module includes: The data acquisition submodule is used to collect the operation information of the interactive operation; The adjustment submodule is used to adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation is determined to meet the first preset condition based on the operation information. The claim submodule is used to trigger the claiming of at least a portion of the virtual items.
14. The apparatus according to claim 13, characterized in that, The operation information includes click operation information, shake operation information, voice operation information, or blowing operation information. The adjustment submodule includes: The first adjustment subunit is used to obtain the number of clicks from the click operation information, and when the interaction operation meets the first preset condition based on the number of clicks, adjust the second state of the virtual object to the target state corresponding to the second preset condition. The second adjustment subunit is used to obtain the number of shakes from the shaking operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interaction operation meets the first preset condition based on the number of shakes. The third adjustment subunit is used to obtain a decibel value from the voice operation information, and adjust the second state of the virtual object to the target state corresponding to the second preset condition when the interactive operation is determined to meet the first preset condition based on the decibel value. The fourth adjustment subunit is used to obtain the continuous blowing duration from the blowing operation information, and when the interactive operation meets the first preset condition based on the continuous blowing duration, adjust the second state of the virtual object to the target state corresponding to the second preset condition.
15. The apparatus according to claim 14, characterized in that, The item redemption page includes an interactive area, and the first adjustment subunit is specifically used for: From the click operation information, obtain the number of clicks corresponding to the interactive operation triggered on the interactive area within a preset time period; When the number of clicks is detected to be greater than or equal to a preset number, it is determined that the interactive operation meets the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
16. The apparatus according to claim 15, characterized in that, The first adjustment subunit is further configured to: When the number of clicks is less than a preset number, it is determined that the interactive operation does not meet the first preset condition, and the second state of the virtual object is adjusted to the state corresponding to the number of clicks.
17. The apparatus according to claim 14, characterized in that, The second adjustment subunit is specifically used for: Calculate the shaking frequency of the interactive operation within a preset time period based on the number of shakings; When the shaking frequency is greater than or equal to the preset shaking frequency, it is determined that the interactive operation satisfies the first preset condition, and the second state of the virtual object is adjusted to the target state corresponding to the second preset condition.
18. The apparatus according to claim 14, characterized in that, The third adjustment subunit is specifically used for: Calculate the average decibel value corresponding to the interactive operation based on the obtained decibel value; When the average decibel value is greater than or equal to the preset decibel value, the interactive operation is determined to meet the first preset condition. The second state of the virtual object is adjusted to the target state corresponding to the second preset condition, and the current decibel value is displayed in the virtual object in the target state.
19. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the program, it implements the steps of the virtual item claiming method as described in any one of claims 1-11.
20. A computer-readable storage medium, characterized in that, It stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the virtual item claiming method as described in any one of claims 1-11.