[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114490075B - Method and device for obtaining virtual resources, electronic equipment, storage medium and product - Google Patents

Method and device for obtaining virtual resources, electronic equipment, storage medium and product Download PDF

Info

Publication number
CN114490075B
CN114490075B CN202210115823.3A CN202210115823A CN114490075B CN 114490075 B CN114490075 B CN 114490075B CN 202210115823 A CN202210115823 A CN 202210115823A CN 114490075 B CN114490075 B CN 114490075B
Authority
CN
China
Prior art keywords
task
target
resource
information
target account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210115823.3A
Other languages
Chinese (zh)
Other versions
CN114490075A (en
Inventor
吴靓
朱嘉诚
赵文慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210115823.3A priority Critical patent/CN114490075B/en
Publication of CN114490075A publication Critical patent/CN114490075A/en
Application granted granted Critical
Publication of CN114490075B publication Critical patent/CN114490075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method and a device for acquiring virtual resources, electronic equipment, a storage medium and a product, and belongs to the technical field of Internet. The method comprises the following steps: receiving a resource acquisition request of a target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired; acquiring resource acquisition reference information of a target account, wherein the resource acquisition reference information is used for determining whether to allow the target account to acquire virtual resources based on task information; and under the condition that the acquisition of the reference information and the task information based on the resources is determined to allow the target account to acquire the virtual resources based on the task information, acquiring the virtual resources for the target account based on the task information. The method effectively controls the acquisition of the virtual resources, so that the virtual resources can be reasonably utilized.

Description

Method and device for obtaining virtual resources, electronic equipment, storage medium and product
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and apparatus for obtaining virtual resources, an electronic device, a storage medium, and a product.
Background
Currently, to encourage user use of an application, the user is provided with an activity of acquiring virtual resources within the application, and the user is able to unlock a higher state of the application based on the acquired virtual resources. For example, for sports applications, a user may acquire virtual resources such as virtual gold or virtual energy based on completed sports tasks to unlock theme patterns of the sports applications, and the like. In order to make reasonable use of virtual resources, it is necessary to effectively control the acquisition of virtual resources.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment, a storage medium and a product for acquiring virtual resources, which can effectively control the acquisition of the virtual resources, so that the virtual resources can be reasonably utilized. The technical scheme is as follows:
in one aspect, a method for obtaining a virtual resource is provided, where the method includes:
Receiving a resource acquisition request of a target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired;
Acquiring resource acquisition reference information of the target account, wherein the resource acquisition reference information is used for determining whether to allow the target account to acquire virtual resources based on the task information;
And under the condition that the acquisition of the reference information and the task information based on the resources are determined to allow the target account to acquire the virtual resources based on the task information, acquiring the virtual resources for the target account based on the task information.
In another aspect, an apparatus for obtaining a virtual resource is provided, where the apparatus includes:
the receiving module is used for receiving a resource acquisition request of a target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired;
The first acquisition module is used for acquiring resource acquisition reference information of the target account, wherein the resource acquisition reference information is used for determining whether the target account is allowed to acquire virtual resources based on the task information;
And the second acquisition module is used for acquiring the virtual resource for the target account based on the task information under the condition that the acquisition of the virtual resource based on the task information by the target account is determined to be allowed based on the resource acquisition reference information and the task information.
In another aspect, an electronic device is provided, where the computer device includes one or more processors and one or more memories, where at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors, so as to implement the method for obtaining a virtual resource according to any of the foregoing implementation manners.
In another aspect, a computer readable storage medium is provided, where at least one program code is stored, where the at least one program code is loaded and executed by a processor, to implement the method for obtaining a virtual resource according to any of the foregoing implementation manners.
In another aspect, a computer program product is provided, the computer program product storing at least one piece of program code for execution by a processor to implement a method of virtual resource acquisition as described in any one of the above implementations.
The application provides a method for acquiring virtual resources, which is characterized in that resource acquisition reference information is information for determining whether to allow an account to acquire virtual resources based on task information, so that the virtual resources are acquired for the account based on the task information only when the acquisition of the virtual resources based on the task information is determined based on the resource acquisition reference information and the task information, and the acquisition of the virtual resources is effectively controlled, so that the virtual resources can be reasonably utilized.
Drawings
FIG. 1 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of a method for virtual resource acquisition, as illustrated by an exemplary embodiment of the application;
FIG. 3 illustrates a flow chart of a method for virtual resource acquisition, as illustrated by an exemplary embodiment of the application;
FIG. 4 illustrates a schematic diagram of data acquisition from a server, according to an exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of a method for virtual resource acquisition, as illustrated by an exemplary embodiment of the application;
FIG. 6 illustrates a block diagram of an acquisition device of virtual resources according to an exemplary embodiment of the present application;
fig. 7 shows a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. In addition, the related data related to the present application may be data authorized by the user or sufficiently authorized by each party.
Referring to FIG. 1, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown. In this implementation environment, the electronic devices are provided as the terminal 100 and the server 200. The terminal 100 is connected to the server 200 via a network.
The terminal 100 is provided with a target application, and the terminal 100 realizes functions such as data transmission and information interaction with the server 200 through the target application. The target application is an application in the operating system of the terminal 100 or an application provided by a third party; in some embodiments, the target application is an application provided with an activity of the acquired virtual resource, based on which the user is able to unlock a higher state of the target application.
For example, if the target application is a sports application, the user may acquire virtual resources such as virtual gold or virtual energy based on the completed sports task to unlock a theme style of the sports application, and the like. For another example, if the target application is a shopping application, the user may obtain virtual resources such as virtual gold coins or virtual energy based on the completed task of browsing the merchandise, so as to obtain coupons for purchasing the merchandise. For another example, if the target application is a video application, the user may obtain a virtual gold coin or virtual resource based on the completed task of viewing the video, so as to obtain the right to view the video without advertisement.
In some embodiments, the terminal 100 may be, but is not limited to, a smart watch, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The server 200 is an independent physical server, may be a server cluster or a distributed system formed by a plurality of physical servers, and may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligence platforms, and the like. The server 200 is used to provide background services for a target application in the terminal 100.
Referring to fig. 2, a flowchart of a method for obtaining virtual resources according to an exemplary embodiment of the present application is shown. The execution main body in the embodiment of the application is an electronic device, and the method comprises the following steps:
Step 201: and receiving a resource acquisition request of the target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired.
Step 202: and acquiring resource acquisition reference information of the target account, wherein the resource acquisition reference information is used for determining whether to allow the target account to acquire the virtual resource based on the task information.
Step 203: and under the condition that the acquisition of the reference information and the task information based on the resources is determined to allow the target account to acquire the virtual resources based on the task information, acquiring the virtual resources for the target account based on the task information.
In one implementation, the resource obtaining reference information includes a first time of creating a target activity corresponding to the target account, the target activity is an activity of obtaining the virtual resource, and the task information includes a second time when the first task is completed in a case that the target task is the first task that has been completed; the method further comprises the steps of:
and under the condition that the second time is later than the first time, determining to allow the target account to acquire the virtual resource based on the task information.
In one implementation, in the case where the target task is a first task that has already been completed, the resource acquisition reference information includes a first completion amount, the first completion amount being a completion amount up to the start of the first task, the task information includes a second completion amount, the second completion amount being a completion amount up to the end of the first task;
the method further comprises the steps of:
And if the second completion amount is larger than the first completion amount, determining to allow the target account to acquire the virtual resource based on the task information.
In one implementation, obtaining virtual resources for a target account based on task information includes:
determining a difference between the second completion amount and the first completion amount to obtain a third completion amount of the first task;
and determining a first virtual resource matched with the third completion amount, and acquiring the first virtual resource for the target account.
In one implementation, the resource obtaining reference information includes a first time of creating a target activity corresponding to the target account, the target activity is an activity of obtaining the virtual resource, and the task information includes a start time of the second task to be executed if the target task is the second task that is not executed;
the method further comprises the steps of:
and in the case that the starting time is later than the first time, determining to allow the target account to acquire the virtual resource based on the task information.
In one implementation, allowing the target account to obtain virtual resources based on the task information includes:
Allowing the second task to be performed if the start time is later than the first time;
And under the condition that the target account completes the second task, issuing a second virtual resource matched with the second task for the target account.
In one implementation, before acquiring the resource acquisition reference information of the target account, the method further includes:
acquiring an acquisition identifier of a target task, wherein the acquisition identifier is used for indicating whether the target task can allow virtual resources to be acquired;
and executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the acquisition identifier is used for indicating that the target task allows to acquire the virtual resource.
In one implementation, the obtaining the identifier includes a first identifier and a second identifier, and the method further includes at least one implementation of:
If the target task is not used for acquiring the virtual resource in the target time, marking the target task as a first identifier, wherein the first identifier is used for indicating that the target task is outdated and the virtual resource is not allowed to be acquired; or alternatively
In the case that the target task has been used to acquire the virtual resource, then the target task is marked with a second identifier, the second identifier being used to indicate that the target task has acquired the virtual resource and that the virtual resource is not allowed to be acquired.
In one implementation, before acquiring the resource acquisition reference information of the target account, the method further includes:
Checking the current time of the electronic equipment and the current time of the server to obtain a checking result, wherein the electronic equipment is the equipment of the current login of the target account;
And executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the verification result is that the verification is passed.
In one implementation, the method further comprises:
and outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment of updating the current time of the electronic equipment.
The application provides a method for acquiring virtual resources, which is characterized in that resource acquisition reference information is information for determining whether to allow an account to acquire virtual resources based on task information, so that the virtual resources are acquired for the account based on the task information only when the acquisition of the virtual resources based on the task information is determined based on the resource acquisition reference information and the task information, and the acquisition of the virtual resources is effectively controlled, so that the virtual resources can be reasonably utilized.
Referring to fig. 3, a flowchart of a method for obtaining a virtual resource according to an exemplary embodiment of the present application is shown, where a target task is taken as an example of a first task that has been completed. The method comprises the following steps:
Step 301: the electronic device creates a target activity of the target account number, the target activity being an activity of acquiring the virtual resource.
In one implementation, an electronic device creates a target activity within an installed target application, and obtains the activity of a virtual resource as an optional function in the target application; and the electronic equipment responds to the function in the target application to be started, and synchronizes the target account number of the target application to the function, so that the target activity is created. For example, for a shopping application, the shopping application is mainly used for shopping, the activity of acquiring the virtual resource is a function of the shopping application, and the electronic device synchronizes the target account number of the shopping application to the function, so that the target activity is created. In another implementation, the electronic device installs a target application, and in response to a user registering a target account in the target application, a target activity is created, i.e., the target application itself is an application for acquiring virtual resources; optionally, the target application is an application that creates a virtual robot for acquiring the virtual resource.
In one implementation, the electronic device records and stores at least one of a first time to create a target activity and a first completion amount of a first task when creating the target activity; optionally, the electronic device stores the recorded first time and first task locally or uploads to a server for storage.
The first task is a task allowing virtual resources to be acquired, the first task is a task which is already completed, and the first completion amount is the completion amount of the first task before the target activity is created; for example, the first task is a step number task, and when the electronic device creates a target activity, step numbers corresponding to the step number task are recorded and stored; optionally, the electronic device stores the step value in the form of a motion snapshot. Thus, by recording these data so that the virtual resource is subsequently acquired based on the completion amount of the first task, it is possible to avoid acquiring the virtual resource based on the completion amount before the creation of the target activity. The virtual resource may be virtual gold coin, virtual energy, etc., and is not particularly limited in the present application.
It should be noted that, for each task that allows to acquire a virtual resource, if the electronic device can complete the task and can correspondingly store the task information of the task before acquiring the virtual resource based on the task information of the task, so that the electronic device can directly acquire the virtual resource based on the task information of the completed task, then determine that the task is the first task; if the task can only be completed under the condition of acquiring the virtual resource, determining the task as a second task.
In one implementation, before a target activity corresponding to a target account is created, the electronic device checks the current time of the electronic device and the current time of the server to obtain a check result; and executing the step of creating the target activity corresponding to the target account number under the condition that the verification result is that the verification is passed. And outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment in time. Optionally, the electronic device is a device currently logged in by the target account, the server is a background server providing the target activity, and the manager of the electronic device is a user who uses the electronic device. Optionally, the electronic device outputs the reminding information in at least one of a pop-up window including the reminding information, a bell sound including the reminding information, and a vibration output mode, which is not particularly limited in the present application. In the implementation, by checking the time of the electronic device before the target activity is created, the user is prevented from acquiring the virtual resource based on the task before the target activity is created by changing the time of the electronic device, so that the reasonability of acquiring the virtual resource is ensured.
Step 302: and the electronic equipment receives a resource acquisition request of the target account, wherein the resource acquisition request carries the task information of the first task.
Optionally, the task information includes at least one of a second time at which the first task is completed and a second completion amount, the second completion amount being a completion amount by the end of the first task.
In one implementation, an electronic device displays an activity interface of a target activity, the activity interface displaying a plurality of first tasks, and an acquisition control being displayed in a target area of each first task; optionally, the acquisition control is a "get" touch button, and the electronic device triggers the resource acquisition request of the target account in response to the user triggering the touch button. The specific implementation manner of triggering the resource acquisition request is not limited in the present application.
In one implementation, after receiving a resource acquisition request of a target account, the electronic device checks the current time of the electronic device and the current time of the server to obtain a check result; if the verification result is that the verification is passed, step 303 is executed. And outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment in time. Optionally, the server is a background server providing the target activity, and the manager of the electronic device is a user using the electronic device. In the implementation mode, the time of the electronic equipment is checked through the current time of the server, so that the situation that a user tries to acquire virtual resources based on a task completed before by changing the time of the electronic equipment is effectively avoided, and further the virtual resources can be reasonably utilized; and the reminding information is output to the manager of the electronic equipment, so that the manager can change the current time of the electronic equipment in time.
In one implementation, after receiving a resource acquisition request of a target account, an electronic device acquires an acquisition identifier of a first task, where the acquisition identifier is used to indicate whether the first task can allow acquisition of a virtual resource. In case the acquisition identity is used to indicate that the first task allows acquisition of virtual resources, step 303 is performed. Optionally, the acquisition identifier of the first task is stored in task information of the first task. In the implementation manner, whether the target account can acquire the resources based on the first task is further determined through the acquisition identification of the first task, so that the reasonability of acquiring the virtual resources is further ensured, and the virtual resources can be reasonably utilized.
The acquisition identifier comprises a first identifier and a second identifier. Optionally, in the case that the first task is not used for acquiring the virtual resource within the target time, marking the first task as a first identifier, where the first identifier is used to indicate that the first task is outdated and the virtual resource is not allowed to be acquired; or in the case that the first task is already used to acquire the virtual resource, the first task is marked with a second identifier, where the second identifier is used to indicate that the first task has acquired the virtual resource and is not allowed to acquire the virtual resource any more.
The target time may be set and changed according to the need, and in the embodiment of the present application, this is not particularly limited; optionally, the target time is a time of day when the task is completed, i.e. if the first task is not used to acquire the virtual resource within 24 hours of the day, the first task is marked as the first identifier. In some embodiments, the first identifier is marked as "outdated", the second identifier is marked as "to acquire virtual resources", "redeemed", etc., and the expression form of the acquired identifier is not particularly limited in the present application. Optionally, if the first task is a step number task, the second identifier may further be a step number for obtaining a specific use of the virtual resource, for example, the second identifier is "1000 steps are used".
In the embodiment of the application, the task which is outdated and the task which is acquired the virtual resource are marked, so that the target account is prevented from acquiring the virtual resource based on the task which is outdated or the task which is acquired the virtual resource, the acquisition of the virtual resource is effectively limited, and the reasonability of acquiring the virtual resource is ensured.
In one implementation, the electronic device records a second time when the first task is completed, and correspondingly stores the second time, the acquisition identifier, and the like in task information of the first task. Optionally, the electronic device stores the task information locally or uploads the task information to a server for storage; when the data are uploaded to the server to be stored, the electronic device downloads the data to the local when acquiring the task information of the first task. Optionally, the second task includes a card punching task, a 5-minute exercise task, a breathing task, and the like, the electronic device records a second time when the card punching task, the 5-minute exercise task, the breathing task, and the like are completed, the acquisition identifier of each task and the second time are correspondingly stored in task information of the task and uploaded to the server, and when the electronic device needs to acquire the data, the electronic device downloads the data from the server to the local.
Referring to fig. 4, a schematic diagram of data acquisition from a server according to an exemplary embodiment of the present application is shown. When the electronic equipment acquires the task information of any first task from the server, all task information of the task correspondingly stored in the server is downloaded to the local so that the electronic equipment can determine whether to allow the target account to acquire the resource or not based on the task information. If the first task is a respiratory task, the task information of the task stored by the server includes a second time when the respiratory task is completed. If the first task is a 5-minute exercise task, the task information stored by the server for the task includes a second time at which the 5-minute exercise task is completed. If the first task is a step number task, the task information of the task stored by the server comprises the step number task acquisition identification, so that the storage pressure of the electronic equipment can be effectively reduced by storing the task information by the server.
Step 303: the electronic equipment acquires the resource acquisition reference information of the target account.
The resource acquisition reference information is used for determining whether to allow the target account to acquire the virtual resource based on the task information. Optionally, the resource obtaining reference information includes at least one of a first time and a first completion amount of a target activity corresponding to the target account, where the first completion amount is a completion amount when the first task starts; specifically, the first completion amount is the completion amount until the first task starts after the creation of the target activity.
Step 304: the electronic device obtains reference information and task information based on the resources, and determines whether to allow the target account to obtain virtual resources based on the task information.
In one implementation, in the event that the second time is later than the first time, the electronic device determines to allow the target account to obtain the virtual resource based on the task information. It should be noted that, in the embodiment of the present application, by comparing the first time when the first task is completed with the second time when the target activity is created, the target account is allowed to acquire the virtual resource only if the second time is later than the first time; therefore, even if the user modifies the time of the electronic device to the previous day, the electronic device automatically considers that the first task is outdated after finding that the first task is outdated, the target account cannot be allowed to acquire the virtual resource based on the task information of the first task, the problem that the user acquires the virtual resource based on the task before creating the target activity by changing the time of the electronic device is effectively avoided, and therefore the reasonability of acquiring the virtual resource is effectively ensured.
In another implementation, in the event that the second completion amount is greater than the first completion amount, the electronic device determines to allow the target account to acquire the virtual resource based on the task information. For example, the first task is a step number task, and the first completion amount is 10000 steps, that is, the user has walked 10000 steps before creating the target activity; the second completion amount is 12000 steps, the second completion amount is larger than the first completion amount, the completion amount of the step number task after the target activity is created is 2000 steps, and the electronic equipment allows the target account to acquire virtual resources based on the task information. In the embodiment of the application, the second completion amount and the first completion amount are compared, so that the first task of the target account requesting to acquire the resource is ensured to have the task completion amount to allow the virtual resource to be acquired after the target activity is created, and the reasonability of acquiring the virtual resource is ensured.
In another implementation, in the event that the second time is later than the first time and the second completion amount is greater than the first completion amount, the electronic device determines to allow the target account to acquire the virtual resource based on the task information. In the implementation mode, the target account is allowed to acquire the virtual resource only under the condition that the time and the completion amount meet the conditions, so that the acquisition of the virtual resource is effectively limited, and the reasonability of acquiring the virtual resource is further ensured.
Step 305: under the condition that the acquisition of the reference information and the task information based on the resources is determined to allow the target account to acquire the virtual resources based on the task information, the electronic equipment acquires the virtual resources for the target account based on the task information.
In one implementation, the electronic device determines a difference between the second completion amount and the first completion amount to obtain a third completion amount of the first task; and the electronic equipment determines a first virtual resource matched with the third completion amount, and acquires the first virtual resource for the target account.
For example, the first task is a step number task, the second completion amount is 12000 steps, the first completion amount is 10000 steps, the third completion amount is 2000 steps, and the electronic device determines a first virtual resource matched with the 2000 steps. In the embodiment of the application, the task completion amount before the target activity is created is removed, so that the target account can only acquire the virtual resource based on the completion amount after the target activity is created, and the reasonability of acquiring the virtual resource is ensured.
Wherein different tasks or different task completion amounts correspond to different amounts of virtual resources. Optionally, the virtual resource is virtual energy, and the first task includes a breathing task, a 5-minute exercise task, a step number task, and the like, and the amounts of the virtual resources matched by the tasks are different. If the respiratory task matches 150 virtual energy, the 5 minute fitness task matches 200 virtual energy, and for the step number task, the 20 steps match 1 virtual energy, different steps match different virtual energies. Thus, virtual resources with different amounts are obtained through the completion amount of the task or the type of the task, the diversity of activities for obtaining the virtual resources is ensured, and the participation degree and experience sense of users for participating in target activities can be improved.
The application provides a method for acquiring virtual resources, which is characterized in that resource acquisition reference information is information for determining whether to allow an account to acquire virtual resources based on task information, so that the virtual resources are acquired for the account based on the task information only when the permission of the account to acquire the virtual resources based on the task information is determined based on the resource acquisition reference information and the task information, and further the acquisition of the virtual resources is effectively controlled, so that the virtual resources can be reasonably utilized.
Referring to fig. 5, a flowchart of a method for obtaining virtual resources according to an exemplary embodiment of the present application is shown. This embodiment is described taking as an example a second task whose target task is not executed, the method including:
Step 501: the electronic device creates a target activity of the target account number, the target activity being an activity of acquiring the virtual resource.
The specific implementation manner of the target activity of creating the target account by the electronic device is the same as that of step 301, and will not be described here again.
In one implementation, an electronic device records and stores a first time of creating a target activity when creating the target activity; optionally, the electronic device stores the recorded first time locally or uploads to a server for storage.
Step 502: the electronic equipment receives a resource acquisition request of the target account, wherein the resource acquisition request carries task information of a second task, the second task is a task allowing virtual resources to be acquired, and the second task is a task which is not executed.
Optionally, the task information includes a start time at which the second task is to be performed. In one implementation, the starting time of the second task to be executed is the time of triggering the resource acquisition request by the target account; accordingly, after the electronic device receives the resource acquisition request, the time for triggering the resource acquisition request is recorded and used as the starting time of the second task.
In one implementation, the electronic device displays an active interface of the target activity, the active interface displays a plurality of second tasks, and an acquisition control is displayed in a target area of each second task, optionally, the acquisition control is a "go-to-completion" touch button, and the resource acquisition request of the target account is triggered in response to the triggering of the touch button by the user. In the embodiment of the present application, the specific implementation manner of triggering the resource acquisition request is not specifically limited.
In one implementation, after receiving a resource acquisition request of a target account, the electronic device checks the current time of the electronic device and the current time of the server to obtain a check result; if the verification result is that the verification is passed, step 303 is executed. And outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment in time. Optionally, the server is a background server providing the target activity, and the manager of the electronic device is a user using the electronic device.
In one implementation, after receiving a resource acquisition request of a target account, the electronic device acquires an acquisition identifier of the second task, where the acquisition identifier is used to indicate whether the second task can allow to acquire the virtual resource. In case the acquisition identity is used to indicate that the second task allows acquisition of virtual resources, then step 303 is performed; optionally, the acquisition identifier of the second task is stored in task information of the second task. The second task is marked as a second identifier, and the second identifier is used for indicating that the second task has acquired the virtual resource and is not allowed to acquire the virtual resource again. For example, the second task is a punching task, and if the user has completed one punching task on the same day and obtained a virtual resource based on the punching task, the punching task is marked as a second identifier.
In another implementation manner, if the second task has been completed, the second time when the second task is completed is recorded and stored in the task information of the second task, and since the second task is a task that can be completed only if the virtual resource is acquired, if the task information of the second task includes the second time when the second task is completed, it can be determined that the second task has been used to acquire the virtual resource. Optionally, the electronic device stores the acquisition identifier, the starting time, the second time and the like of the second task in task information of the second task, locally stores or uploads the task information of the second task to the server for storage, and the electronic device can acquire the stored data from the server. For example, with continued reference to fig. 4, after the electronic device acquires the resource acquisition request carrying the respiratory task, task information of the respiratory task is acquired from the server, and the task information includes a second time when the respiratory task has been completed, the electronic device is not allowed to complete the respiratory task again to acquire the virtual resource.
Step 503: the electronic equipment acquires the resource acquisition reference information of the target account.
The resource acquisition reference information is used for determining whether to allow the target account to acquire the virtual resource based on the task information. Optionally, the resource obtaining reference information includes creating a first time of a target activity corresponding to the target account number.
Step 504: the electronic device obtains reference information and task information based on the resources, and determines whether to allow the target account to obtain virtual resources based on the task information.
In one implementation, where the start time is later than the first time, the electronic device determines to allow the target account to acquire the virtual resource based on the task information.
In this implementation manner, since the second task is a task that is not executed, the target account is allowed to acquire the virtual resource only when the start time of the second task to be executed is later than the first time of the creation of the target activity, so that the second task is ensured to be executed after the creation of the target activity to acquire the virtual resource, and whether the second task is allowed to acquire the virtual resource is determined in advance when the second task is not executed, so that the situation that the second task is determined not to be allowed to acquire the virtual resource after the second task is completed can be avoided, and the reasonability of acquiring the virtual resource is improved.
Step 505: under the condition that the acquisition of the reference information and the task information based on the resources is determined to allow the target account to acquire the virtual resources based on the task information, the electronic equipment acquires the virtual resources for the target account based on the task information.
In one implementation, the electronic device allows the second task to be performed if the start time is later than the first time; and under the condition that the target account completes the second task, the electronic equipment issues a second virtual resource matched with the second task for the target account. In this way, if the second task is not executed, it is determined in advance whether to allow the virtual resource to be acquired, and it is possible to avoid a situation that the second task is determined to not allow the virtual resource to be acquired after being completed.
Wherein different tasks match different amounts of virtual resources; for example, the virtual resource is virtual energy, the second task includes a respiratory task, a punch card task, etc., the respiratory task matches 100 the virtual energy, and the respiratory task matches 150 the virtual energy; therefore, different virtual energies are matched through different tasks, the diversity of activities of obtaining virtual resources is guaranteed, and the participation degree and experience sense of users in participating in target activities can be improved.
In another implementation, before the second task is executed, the electronic device checks the current time of the electronic device and the current time of the server to obtain a check result; and executing the step of allowing the second task to be executed if the verification result is that the verification is passed. And outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment in time. Optionally, the server is a background server providing the target activity, and the manager of the electronic device is a user using the electronic device. In the implementation manner, the time of the electronic equipment is checked through the current time of the server, so that the situation that a user tries to acquire the virtual resource based on the second task which is not executed at the previous time by changing the time of the electronic equipment is effectively avoided, and the virtual resource can be reasonably acquired.
The application provides a method for acquiring virtual resources, which is characterized in that resource acquisition reference information is information for determining whether to allow an account to acquire virtual resources based on task information, so that the virtual resources are acquired for the account based on the task information only when the permission of the account to acquire the virtual resources based on the task information is determined based on the resource acquisition reference information and the task information, and the acquisition of the virtual resources is effectively controlled, so that the virtual resources are reasonably utilized.
Referring to fig. 6, which is a block diagram illustrating a virtual resource acquisition apparatus according to an exemplary embodiment of the present application, the apparatus includes:
The receiving module 601 is configured to receive a resource acquisition request of a target account, where the resource acquisition request carries task information of a target task, and the target task is a task that allows acquisition of a virtual resource;
a first obtaining module 602, configured to obtain resource obtaining reference information of the target account, where the resource obtaining reference information is used to determine whether to allow the target account to obtain a virtual resource based on the task information;
The second obtaining module 603 is configured to obtain, based on the task information, the virtual resource for the target account if it is determined that the target account is allowed to obtain the virtual resource based on the task information based on the reference information and the task information.
In one implementation, the resource obtaining reference information includes a first time of creating a target activity corresponding to the target account, the target activity is an activity of obtaining the virtual resource, and the task information includes a second time when the first task is completed in a case that the target task is the first task that has been completed; the apparatus further comprises:
and the first determining module is used for determining to allow the target account to acquire the virtual resource based on the task information under the condition that the second time is later than the first time.
In one implementation, in the case where the target task is a first task that has already been completed, the resource acquisition reference information includes a first completion amount, the first completion amount being a completion amount up to the start of the first task, the task information includes a second completion amount, the second completion amount being a completion amount up to the end of the first task; the apparatus further comprises:
and the second determining module is used for determining to allow the target account to acquire the virtual resource based on the task information under the condition that the second completion amount is larger than the first completion amount.
In one implementation, the second obtaining module 603 is configured to:
determining a difference between the second completion amount and the first completion amount to obtain a third completion amount of the first task;
and determining a first virtual resource matched with the third completion amount, and acquiring the first virtual resource for the target account.
In one implementation, the resource obtaining reference information includes a first time of creating a target activity corresponding to the target account, the target activity is an activity of obtaining the virtual resource, and the task information includes a start time of the second task to be executed if the target task is the second task that is not executed; the apparatus further comprises:
and the third determining module is used for determining to allow the target account to acquire the virtual resource based on the task information under the condition that the starting time is later than the first time.
In one implementation, the third determining module is configured to:
Allowing the second task to be performed if the start time is later than the first time;
And under the condition that the target account completes the second task, issuing a second virtual resource matched with the second task for the target account.
In one implementation, the apparatus further comprises:
the fourth acquisition module is used for acquiring an acquisition identifier of the target task, wherein the acquisition identifier is used for indicating whether the target task can allow virtual resources to be acquired;
And the first execution module is used for executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the acquisition identifier is used for indicating that the target task allows to acquire the virtual resource.
In one implementation, the acquiring the identifier includes a first identifier and a second identifier, and the apparatus further includes:
The marking module is used for marking the target task as a first mark which is used for indicating that the target task is outdated and the virtual resource is not allowed to be acquired under the condition that the target task is not used for acquiring the virtual resource in the target time; or in the case that the target task has been used to acquire the virtual resource, then the target task is marked with a second identifier, the second identifier being used to indicate that the target task has acquired the virtual resource and that the virtual resource is not allowed to be acquired.
In one implementation, the apparatus further comprises:
The verification module is used for verifying the current time of the electronic equipment and the current time of the server to obtain a verification result, wherein the electronic equipment is equipment which is logged in at present by the target account;
and the second execution module is used for executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the verification result is that the verification is passed.
In one implementation, the apparatus further comprises:
And the reminding module is used for outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment.
In some embodiments, the electronic device is provided as a terminal, and fig. 7 shows a block diagram of the structure of a terminal 700 according to an exemplary embodiment of the present application. The terminal 700 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 700 includes: a processor 701 and a memory 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 701 may also include a main processor and a coprocessor, wherein the main processor is a processor for processing data in an awake state, and is also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 701 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one program code for execution by processor 701 to implement the method of obtaining virtual resources provided by the method embodiments of the present application.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 703 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, a display 705, a camera assembly 706, audio circuitry 707, a positioning assembly 708, and a power supply 709.
A peripheral interface 703 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 701 and memory 702. In some embodiments, the processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 704 is configured to receive and transmit RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuitry 704 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 704 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (WIRELESS FIDELITY ) networks. In some embodiments, the radio frequency circuit 704 may further include NFC (NEAR FIELD Communication) related circuits, which is not limited by the present application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 705 is a touch display, the display 705 also has the ability to collect touch signals at or above the surface of the display 705. The touch signal may be input to the processor 701 as a control signal for processing. At this time, the display 705 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 705 may be one and disposed on the front panel of the terminal 700; in other embodiments, the display 705 may be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in other embodiments, the display 705 may be a flexible display disposed on a curved surface or a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The display 705 may be made of LCD (Liquid CRYSTAL DISPLAY), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 706 is used to capture images or video. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing, or inputting the electric signals to the radio frequency circuit 704 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 707 may also include a headphone jack.
The location component 708 is operative to locate the current geographic location of the terminal 700 for navigation or LBS (Location Based Service, location-based services). The positioning component 708 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
A power supply 709 is used to power the various components in the terminal 700. The power supply 709 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 709 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 700 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyroscope sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display a user interface in a landscape view or a portrait view based on the gravitational acceleration signal acquired by the acceleration sensor 711. The acceleration sensor 711 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may collect a 3D motion of the user to the terminal 700 in cooperation with the acceleration sensor 711. The processor 701 may implement the following functions based on the data collected by the gyro sensor 712: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 713 may be disposed at a side frame of the terminal 700 and/or at a lower layer of the display screen 705. When the pressure sensor 713 is disposed at a side frame of the terminal 700, a grip signal of the user to the terminal 700 may be detected, and the processor 701 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at the lower layer of the display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 714 is used to collect a fingerprint of the user, and the processor 701 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 714 may be provided on the front, back, or side of the terminal 700. When a physical key or vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical key or vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 705 is turned up; when the ambient light intensity is low, the display brightness of the display screen 705 is turned down. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically provided on the front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front face of the terminal 700 gradually decreases, the processor 701 controls the display 705 to switch from the bright screen state to the off screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually increases, the processor 701 controls the display screen 705 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 7 is not limiting of the terminal 700 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Embodiments of the present application also provide a computer readable medium storing at least one instruction that is loaded and executed by the processor to implement the method for acquiring a virtual resource as shown in the above embodiments.
Embodiments of the present application also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the method of obtaining a virtual resource as shown in the above embodiments.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (12)

1. A method for obtaining a virtual resource, the method comprising:
Receiving a resource acquisition request of a target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired;
Acquiring resource acquisition reference information of the target account, wherein the resource acquisition reference information is used for determining whether to allow the target account to acquire virtual resources based on the task information;
Acquiring virtual resources for the target account based on the task information under the condition that the virtual resources are allowed to be acquired by the target account based on the task information based on the resource acquisition reference information and the task information;
The resource obtaining reference information comprises a first time for creating a target activity corresponding to the target account, wherein the target activity is an activity for obtaining a virtual resource, the resource obtaining reference information further comprises a first completion amount when the target task is a first task which is already completed, the first completion amount is a completion amount when the first task is started, the task information comprises a second completion amount and a second time when the first task is completed, and the second completion amount is a completion amount when the first task is ended;
and if the second time is later than the first time and the second completion amount is larger than the first completion amount, determining to allow the target account to acquire virtual resources based on the task information.
2. The method of claim 1, wherein the obtaining virtual resources for the target account based on the task information comprises:
Determining a difference between the second completion amount and the first completion amount to obtain a third completion amount of the first task;
And determining a first virtual resource matched with the third completion amount, and acquiring the first virtual resource for the target account number.
3. The method according to claim 1, wherein in case the target task is a second task that is not executed, the task information includes a start time at which the second task is to be executed;
the method further comprises the steps of:
and under the condition that the starting time is later than the first time, determining to allow the target account to acquire virtual resources based on the task information.
4. A method according to claim 3, wherein the allowing the target account to obtain virtual resources based on the task information comprises:
allowing the second task to be performed if the start time is later than the first time;
And under the condition that the target account number completes the second task, issuing a second virtual resource matched with the second task for the target account number.
5. The method of claim 1, wherein prior to the obtaining the reference information for the resource obtaining the target account, the method further comprises:
acquiring an acquisition identifier of the target task, wherein the acquisition identifier is used for indicating whether the target task can allow virtual resources to be acquired;
And executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the acquisition identifier is used for indicating that the target task allows to acquire the virtual resource.
6. The method of claim 5, wherein the acquisition identifier comprises a first identifier and a second identifier, the method further comprising at least one implementation of:
If the target task is not used for acquiring the virtual resource in the target time, marking the target task as the first identifier, wherein the first identifier is used for indicating that the target task is outdated and the virtual resource is not allowed to be acquired; or alternatively
In the case that the target task has been used to acquire a virtual resource, the target task is marked with the second identifier, where the second identifier is used to indicate that the target task has acquired a virtual resource and does not allow the virtual resource to be acquired any more.
7. The method of claim 1, wherein prior to the obtaining the reference information for the resource obtaining the target account, the method further comprises:
checking the current time of the electronic equipment and the current time of the server to obtain a checking result, wherein the electronic equipment is the equipment which is currently logged in by the target account;
And executing the step of acquiring the resource acquisition reference information of the target account number under the condition that the verification result is that the verification is passed.
8. The method of claim 7, wherein the method further comprises:
And outputting reminding information when the verification result is that the verification is not passed, wherein the reminding information is used for reminding a manager of the electronic equipment to update the current time of the electronic equipment.
9. An apparatus for obtaining a virtual resource, the apparatus comprising:
the receiving module is used for receiving a resource acquisition request of a target account, wherein the resource acquisition request carries task information of a target task, and the target task is a task allowing virtual resources to be acquired;
The first acquisition module is used for acquiring resource acquisition reference information of the target account, wherein the resource acquisition reference information is used for determining whether the target account is allowed to acquire virtual resources based on the task information;
The second acquisition module is used for acquiring virtual resources for the target account based on the task information under the condition that the virtual resources are allowed to be acquired by the target account based on the task information based on the reference information and the task information; the resource obtaining reference information comprises a first time for creating a target activity corresponding to the target account, wherein the target activity is an activity for obtaining a virtual resource, the resource obtaining reference information further comprises a first completion amount when the target task is a first task which is already completed, the first completion amount is a completion amount when the first task is started, the task information comprises a second completion amount and a second time when the first task is completed, and the second completion amount is a completion amount when the first task is ended;
And the determining module is used for determining to allow the target account to acquire the virtual resource based on the task information under the condition that the second time is later than the first time and the second completion amount is larger than the first completion amount.
10. An electronic device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one piece of program code that is loaded and executed by the one or more processors to implement the method of virtual resource acquisition of any of claims 1-8.
11. A computer readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor to implement the method of virtual resource acquisition of any one of claims 1 to 8.
12. A computer program product, characterized in that the computer program product stores at least one program code for execution by a processor for implementing the method of virtual resource acquisition according to any one of claims 1 to 8.
CN202210115823.3A 2022-02-07 2022-02-07 Method and device for obtaining virtual resources, electronic equipment, storage medium and product Active CN114490075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210115823.3A CN114490075B (en) 2022-02-07 2022-02-07 Method and device for obtaining virtual resources, electronic equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210115823.3A CN114490075B (en) 2022-02-07 2022-02-07 Method and device for obtaining virtual resources, electronic equipment, storage medium and product

Publications (2)

Publication Number Publication Date
CN114490075A CN114490075A (en) 2022-05-13
CN114490075B true CN114490075B (en) 2024-09-10

Family

ID=81478102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210115823.3A Active CN114490075B (en) 2022-02-07 2022-02-07 Method and device for obtaining virtual resources, electronic equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN114490075B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112915547A (en) * 2021-03-04 2021-06-08 广州繁星互娱信息科技有限公司 Virtual object acquisition method, device, terminal, server and readable storage medium
CN113569163A (en) * 2021-06-16 2021-10-29 武汉理工数字传播工程有限公司 Method, device, equipment and storage medium for acquiring virtual resources

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2586549B (en) * 2013-09-13 2021-05-26 Vodafone Ip Licensing Ltd Communicating with a machine to machine device
US10645093B2 (en) * 2017-07-11 2020-05-05 Nicira, Inc. Reduction in secure protocol overhead when transferring packets between hosts

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112915547A (en) * 2021-03-04 2021-06-08 广州繁星互娱信息科技有限公司 Virtual object acquisition method, device, terminal, server and readable storage medium
CN113569163A (en) * 2021-06-16 2021-10-29 武汉理工数字传播工程有限公司 Method, device, equipment and storage medium for acquiring virtual resources

Also Published As

Publication number Publication date
CN114490075A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN110278464B (en) Method and device for displaying list
CN111083516B (en) Live broadcast processing method and device
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN110290191B (en) Resource transfer result processing method, device, server, terminal and storage medium
CN113099378B (en) Positioning method, device, equipment and storage medium
CN110909264A (en) Information processing method, device, equipment and storage medium
CN112988254A (en) Method, device and equipment for managing hardware equipment
CN111881423B (en) Method, device and system for authorizing restricted function use
CN116842047A (en) Cache updating method, device, equipment and computer readable storage medium
CN113506086A (en) Task issuing method and device, computer equipment and medium
CN113204724B (en) Method, device, electronic equipment and storage medium for creating interaction information
CN114490075B (en) Method and device for obtaining virtual resources, electronic equipment, storage medium and product
CN111641853B (en) Multimedia resource loading method and device, computer equipment and storage medium
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN112764824B (en) Method, device, equipment and storage medium for triggering identity verification in application program
CN110336881B (en) Method and device for executing service processing request
CN111191254B (en) Access verification method, device, computer equipment and storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN113836426A (en) Information pushing method and device and electronic equipment
CN114296824A (en) Page information configuration method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant