CN113329231A - Resource distribution method, device, system, electronic equipment and storage medium - Google Patents

Resource distribution method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113329231A
CN113329231A CN202110425923.1A CN202110425923A CN113329231A CN 113329231 A CN113329231 A CN 113329231A CN 202110425923 A CN202110425923 A CN 202110425923A CN 113329231 A CN113329231 A CN 113329231A
Authority
CN
China
Prior art keywords
resource
terminal
virtual
type identifier
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110425923.1A
Other languages
Chinese (zh)
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110425923.1A priority Critical patent/CN113329231A/en
Publication of CN113329231A publication Critical patent/CN113329231A/en
Priority to PCT/CN2021/132980 priority patent/WO2022222469A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The disclosure relates to a resource distribution method, a device, a system, an electronic device and a storage medium, wherein the method comprises the steps that a receiving terminal responds to a resource getting instruction triggered based on resource getting information in a target page and sends a resource obtaining request; acquiring a resource type identifier corresponding to a terminal, wherein the resource type identifier represents resource type information of a virtual resource which can be received by the terminal; extracting virtual resources for the terminal based on the resource type identifier; and sending the resource extraction result information to the terminal so that the terminal can display the resource extraction result information on the target page. By utilizing the embodiment of the disclosure, the diversity of the distributed virtual resources can be improved, the interest and participation enthusiasm of users can be better aroused, and the resource distribution efficiency can be further improved.

Description

Resource distribution method, device, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of resource distribution technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for resource distribution.
Background
In some internet platforms, in order to attract more users to access information in the platforms and thus increase the access amount, some internet platforms often hold resource distribution activities for distributing virtual resources such as electronic coupons and virtual money to users. In the related art, in the virtual resource distribution process of one resource distribution activity, the same type of virtual resources are often randomly distributed to users, so that the problem that the distribution mode of the virtual resources in the related art is single, the participation enthusiasm of the users is poor, the resource distribution efficiency is low and the like is caused.
Disclosure of Invention
The present disclosure provides a resource distribution method, apparatus, system, electronic device, and storage medium, to at least solve the problems in the related art, such as a single distribution manner of virtual resources, poor user participation activity, and low resource distribution efficiency. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource distribution method, including:
receiving a resource acquisition request sent by a terminal in response to a resource getting instruction triggered based on resource getting information in a target page;
acquiring a resource type identifier corresponding to the terminal, wherein the resource type identifier represents resource type information of virtual resources available to the terminal;
extracting virtual resources for the terminal based on the resource type identifier;
and sending resource extraction result information to the terminal so that the terminal can display the resource extraction result information on the target page.
Optionally, the extracting virtual resources for the terminal based on the resource type identifier includes:
under the condition that the resource type identifier is a first resource type identifier, extracting a first virtual resource for the terminal, wherein the first virtual resource is a virtual resource with the largest resource amount in the virtual resources to be extracted;
when the virtual resource is extracted, the sending the resource extraction result information to the terminal includes: and sending a successful resource extraction result to the terminal.
Optionally, the extracting virtual resources for the terminal based on the resource type identifier further includes:
under the condition that the first virtual resource is not extracted or the resource type identifier is a second resource type identifier, extracting a second virtual resource for the terminal;
the sending of the resource extraction result information to the terminal includes: sending a resource extraction result of the second virtual resource to the terminal;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
Optionally, before the receiving terminal responds to the resource obtaining request sent by the resource obtaining instruction triggered based on the resource obtaining information in the target page, the method further includes:
receiving a resource type identifier acquisition request sent by the terminal;
acquiring task execution information of a preset task of a target object corresponding to the terminal;
generating a resource type identifier corresponding to the terminal based on the task execution information;
and sending the resource type identifier to the terminal.
Optionally, the resource obtaining request includes the resource type identifier, and obtaining the resource type identifier corresponding to the terminal includes:
and extracting the resource type identification from the resource acquisition request.
Optionally, the generating a resource type identifier corresponding to the terminal based on the task execution information includes:
under the condition that the task execution information is completed, generating a first resource type identifier for the terminal;
and generating a second resource type identifier for the terminal under the condition that the task execution information is not complete.
Optionally, the obtaining the resource type identifier corresponding to the terminal includes:
acquiring task execution information of a preset task of a target object corresponding to the terminal;
and generating a resource type identifier corresponding to the terminal based on the task execution information.
Optionally, the method further includes:
under the condition that the first virtual resource is not extracted or the resource type identifier is a second resource type identifier, extracting a second virtual resource for the terminal;
the sending of the resource extraction result information to the terminal includes: sending a resource extraction result of the second virtual resource to the terminal;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
Optionally, the method further includes:
responding to a resource generation instruction corresponding to the target page, and generating a target virtual resource;
acquiring preset configuration information, wherein the preset configuration information represents the proportion of a first virtual resource in the target virtual resource;
splitting the first virtual resource from the target virtual resource based on the preset configuration information;
and splitting the residual virtual resources into a preset number of second virtual resources, wherein the residual virtual resources are the virtual resources obtained by splitting the first virtual resources from the target virtual resources.
Optionally, the method further includes:
and under the condition that the resource quantity of any one virtual resource in the second virtual resources with the preset quantity is larger than that of the first virtual resource, replacing the virtual resource with the resource quantity larger than that of the first virtual resource with the first virtual resource.
Optionally, the method further includes:
storing the first virtual resources and the preset number of second virtual resources in a target database;
the extracting of the virtual resource for the terminal based on the resource type identifier includes:
and extracting virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, in the case of extracting the virtual resource, the method further includes:
and distributing the extracted virtual resources to the terminal.
Optionally, the distributing the extracted virtual resource to the terminal includes:
and sending a successful extraction message corresponding to the virtual resource to a message queue, so that the resource distribution server distributes the extracted virtual resource to the terminal after monitoring the successful extraction message.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource distribution apparatus including:
the resource acquisition request receiving module is configured to execute a resource acquisition request sent by a receiving terminal in response to a resource getting instruction triggered based on the resource getting information in the target page;
a resource type identifier obtaining module, configured to perform obtaining of a resource type identifier corresponding to the terminal, where the resource type identifier represents resource type information of a virtual resource retrievable by the terminal;
a virtual resource extraction module configured to perform extraction of virtual resources for the terminal based on the resource type identifier;
a resource extraction result information sending module configured to execute sending of resource extraction result information to the terminal, so that the terminal displays the resource extraction result information on the target page
Optionally, the virtual resource extraction module includes:
a first virtual resource extraction unit, configured to extract a first virtual resource for the terminal if the resource type identifier is a first resource type identifier, where the first virtual resource is a virtual resource with a largest resource amount in virtual resources to be extracted;
in the case of extracting a virtual resource, the resource extraction result information sending module is specifically configured to perform sending of a resource extraction success result to the terminal.
Optionally, the apparatus further comprises:
a second virtual resource extraction module configured to extract a second virtual resource for the terminal if the first virtual resource is not extracted or the resource type identifier is a second resource type identifier;
the resource extraction result sending module is specifically configured to execute sending of the resource extraction result of the second virtual resource to the terminal;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
Optionally, the apparatus further comprises:
the identification acquisition request receiving module is configured to execute the resource type identification acquisition request sent by the terminal before the resource acquisition request is sent by the receiving terminal in response to a resource getting instruction triggered based on the resource getting information in the target page;
the task execution information acquisition module is configured to execute task execution information of a preset task of a target object corresponding to the terminal;
the resource type identifier generating module is configured to generate a resource type identifier corresponding to the terminal based on the task execution information;
a resource type identifier sending module configured to execute sending the resource type identifier to the terminal.
Optionally, the resource obtaining request includes the resource type identifier, and the resource type identifier obtaining module is specifically configured to extract the resource type identifier from the resource obtaining request.
Optionally, the resource type identifier generating module includes:
a first resource type identifier generating unit configured to generate a first resource type identifier for the terminal if the task execution information is completed;
and the second resource type identifier generating unit is configured to generate a second resource type identifier for the terminal when the task execution information is incomplete.
Optionally, the resource type identifier obtaining module includes:
the task execution information acquisition unit is configured to execute task execution information of a preset task of a target object corresponding to the terminal;
and the resource type identifier generating unit is configured to generate the resource type identifier corresponding to the terminal based on the task execution information.
Optionally, the virtual resource extraction module further includes:
a second virtual resource extraction unit, configured to extract a second virtual resource for the terminal if the first virtual resource is not extracted or the resource type identifier is a second resource type identifier;
the resource extraction result information sending module is specifically configured to execute sending of the resource extraction result of the second virtual resource to the terminal, so that the terminal displays the resource extraction result on the target page;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
Optionally, the apparatus further comprises:
a target virtual resource generation module configured to execute a resource generation instruction corresponding to the target page to generate a target virtual resource;
the preset configuration information acquisition module is configured to execute acquisition of preset configuration information, and the preset configuration information represents the proportion of the first virtual resource in the target virtual resource;
a first virtual resource splitting module configured to perform splitting the first virtual resource from the target virtual resource based on the preset configuration information;
and the second virtual resource splitting module is configured to split the remaining virtual resources into a preset number of second virtual resources, wherein the remaining virtual resources are the virtual resources obtained by splitting the first virtual resources from the target virtual resources.
Optionally, the apparatus further comprises:
and the resource replacement module is configured to execute replacement processing on the virtual resource with the resource amount larger than the first virtual resource and the first virtual resource when the resource amount of any one of the preset number of second virtual resources is larger than the resource amount of the first virtual resource.
Optionally, the apparatus further comprises:
a virtual resource storage module configured to perform storing the first virtual resource and the preset number of second virtual resources into a target database;
the virtual resource extraction module is specifically configured to perform extraction of virtual resources for the terminal from the target database based on the resource type identification.
Optionally, the apparatus further comprises:
and the virtual resource distribution module is configured to execute distribution of the extracted virtual resource to the terminal under the condition that the virtual resource is extracted.
Optionally, the virtual resource distribution module is specifically configured to execute sending of a successful extraction message corresponding to the virtual resource to a message queue, so that the resource distribution server distributes the extracted virtual resource to the terminal after monitoring the successful extraction message.
According to a third aspect of the embodiments of the present disclosure, there is provided a resource distribution system, which may include: a terminal and a service server;
the terminal is configured to display a target page including resource pickup information, and to execute a resource pickup instruction triggered based on the resource pickup information and send a resource acquisition request to the service server; and is configured to perform the resource extraction result information being presented at the target page;
the service server is configured to execute acquiring a resource type identifier corresponding to the terminal, wherein the resource type identifier represents resource type information of a virtual resource which can be received by the terminal; and configured to perform the extraction of virtual resources for the terminal based on the resource type identification; and configured to perform transmitting resource extraction result information to the terminal.
Optionally, the terminal is further configured to send a resource type identifier acquisition request to a service server before sending the resource acquisition request to the service server;
the service server is also configured to execute task execution information for acquiring a preset task of a target object corresponding to the terminal; generating a resource type identifier corresponding to the terminal based on the task execution information; and sending the resource type identifier to the terminal;
the sending of the resource acquisition request to the service server includes sending a resource acquisition request including the resource type identifier to the service server.
Optionally, the service server is further configured to perform, when the first virtual resource is not extracted or the resource type identifier is a second resource type identifier, extracting a second virtual resource for the terminal; sending the resource extraction result of the second virtual resource to the terminal;
the terminal is also configured to display the resource extraction result on the target page;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
Optionally, the system further includes: a resource creation server and a resource management server;
the resource creating server is configured to execute a resource generating instruction corresponding to the target page, generate a target virtual resource and send the target virtual resource to the resource management server;
the resource management server is configured to execute acquiring preset configuration information, wherein the preset configuration information represents the proportion of the first virtual resource in the target virtual resource; and configured to perform splitting the first virtual resource from the target virtual resource based on the preset configuration information; and the system is configured to split the residual virtual resources into a preset number of second virtual resources, wherein the residual virtual resources are the virtual resources after the first virtual resources are split from the target virtual resources.
Optionally, the resource management server is further configured to perform, when the resource amount of any virtual resource in the second virtual resources of the preset number is greater than the resource amount of the first virtual resource, replacement processing on the virtual resource whose resource amount is greater than the resource amount of the first virtual resource and the first virtual resource.
Optionally, the resource management server is further configured to execute storing the first virtual resource and the preset number of second virtual resources in a target database;
the extracting of the virtual resource for the terminal based on the resource type identifier includes: and extracting virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, the service server is further configured to perform, in a case that the virtual resource is extracted, distributing the extracted virtual resource to the terminal.
Optionally, the system further includes a message queue and a resource distribution server;
the service server is also configured to execute sending of a successful extraction message corresponding to the virtual resource to the message queue;
the resource distribution server is configured to execute distribution of the extracted virtual resource to the terminal after monitoring the successful extraction message.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspects of the embodiments of the present disclosure.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of any one of the first aspects of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
by acquiring the resource type identifier of the resource type information of the virtual resource which can be obtained by the terminal in the resource distribution process, the virtual resource of the corresponding type can be extracted from the virtual resource to be extracted in a targeted manner, so that the diversity of the distributed virtual resource is improved, the interest and participation enthusiasm of the user can be better stimulated, and the resource distribution efficiency can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application environment in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a method of resource distribution in accordance with an exemplary embodiment;
FIG. 3 is a diagram illustrating a destination page including resource pickup information in accordance with an illustrative embodiment;
FIG. 4 is a flowchart illustrating a preparation operation for a resource distribution activity in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating a method of resource distribution in accordance with an exemplary embodiment;
FIG. 6 is a diagram illustrating a destination page with successful results of resource extraction, according to an illustrative embodiment;
FIG. 7 is a flow diagram illustrating a method of resource distribution in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a resource distribution apparatus according to an example embodiment;
FIG. 9 is a block diagram illustrating an electronic device for resource distribution in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an exemplary embodiment, and as shown in fig. 1, the application environment may include a resource creation server 100, a resource management server 200, a resource distribution server 300, a service server 400, and a terminal 500.
In practical applications, some live broadcast platforms often conduct stream guidance by distributing virtual resources to audience terminals, and accordingly, different resource distribution activities can correspond to different background services. The resource creation server 100 may be a server corresponding to a resource distribution activity, and is configured to provide a background service for resource distribution. The resource management server 200 may be used to manage target virtual resources corresponding to resource distribution activities. The resource distribution server 300 can be used to distribute virtual resources.
In a specific embodiment, the terminal 500 may be configured to provide an information browsing service to a user, and in a specific embodiment, the terminal 500 may be a viewer terminal in a live broadcast service, and accordingly, the terminal 500 may be configured to provide a service in a live broadcast process to a viewer in the live broadcast service. In a specific embodiment, the service server 400 may be a server corresponding to the terminal 500, and is configured to provide a background service for the terminal 500.
In an optional embodiment, the servers (the resource creating server 100, the resource management server 200, the resource distribution server 300, and the service server 400) may be independent physical servers, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, Network services, cloud communications, middleware services, domain name services, security services, a CDN (Content Delivery Network ), and big data and artificial intelligence platforms.
In an alternative embodiment, the terminal 500 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and other types of electronic devices. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
It should be noted that fig. 1 shows only one application environment provided by the present disclosure, and in practical applications, other application environments may also be included, for example, the resource creation server 100, the resource management server 200, the resource distribution server 300, and the service server 400 are the same server, and specifically, the service functions of the resource creation server 100, the resource management server 200, and the resource distribution server 300 may be all integrated in the service server 400.
In this embodiment of the present specification, the resource creation server 100, the resource management server 200, the resource distribution server 300, the service server 400, and the terminal 500 may be directly or indirectly connected through wired or wireless communication, and the disclosure is not limited herein.
Fig. 2 is a flow chart illustrating a resource distribution method according to an example embodiment, which may include the following steps, as shown in fig. 2.
In step S201, the terminal displays a target page including resource pickup information;
in a specific embodiment, the target page may be an information browsing page, and in a specific embodiment, taking a live broadcast service as an example, the target page may be a live broadcast page of a viewer. Specifically, the resource pickup information may be used to trigger a pickup instruction of the first virtual resource. In a particular embodiment, the resource pickup information may be a resource pickup control.
In a specific embodiment, taking a live broadcast service as an example, a corresponding task may be set in advance for a certain resource distribution activity in a live broadcast room in combination with an actual application requirement, and when the task is completed, resource pickup information may be displayed on a corresponding live broadcast page, so that a user may participate in the corresponding resource distribution activity.
In an alternative embodiment, the task set for the live room may include a task set for a main broadcast (i.e., an information publisher) of the live room. In a specific embodiment, the task corresponding to the anchor terminal may be a preset amount of the preset virtual items received by the anchor terminal, and specifically, may be set in combination with an actual application requirement.
In another alternative embodiment, the tasks set for the live room described above may include tasks set for viewers of the live room. In a specific embodiment, the task corresponding to the viewer end may be that the viewing duration of the viewer end reaches a preset duration, and specifically, may be set according to the actual application requirement.
In a specific embodiment, in the live broadcasting process, if the task is completed, a resource generation instruction may be triggered to trigger the display of the resource pickup information. Correspondingly, the displaying the target page including the resource retrieval information may include: responding to a live broadcast page loading instruction, and displaying a target page; and responding to the resource generation instruction, and displaying the resource pickup information on the target page.
In a specific embodiment, the resource retrieving information may be displayed in the target page in a pop-up window manner, as shown in fig. 3, and fig. 3 is a schematic diagram illustrating a target page including resource retrieving information according to an exemplary embodiment.
In an optional embodiment, the resource generation instruction triggered by task completion may be further configured to trigger a background server to perform a preparation operation of a resource distribution activity, and accordingly, the method may further include: the preparation operation of the resource distribution activity (operation of creating a virtual resource and splitting the virtual resource) may specifically include: the service server responds to a resource generation instruction corresponding to the target page to generate a target virtual resource; the service server acquires preset configuration information; the service server splits a first virtual resource from a target virtual resource based on preset configuration information; and the service server splits the residual virtual resources into a preset number of second virtual resources, wherein the residual virtual resources are the virtual resources obtained by splitting the first virtual resources from the target virtual resources.
In a specific embodiment, the resource generation instruction is triggered to generate the target virtual resource when a task corresponding to the resource distribution activity is completed. Specifically, the target virtual resource may include, but is not limited to, a preset resource amount of virtual money, an electronic coupon, and the like. In practical application, each anchor may correspond to a target virtual resource with a different resource amount, and specifically, may be set in combination with practical application. In a specific embodiment, the target virtual resource may be split into a first virtual resource and a preset number of second virtual resources. The first virtual resource is a virtual resource with the largest resource amount in the virtual resources to be extracted (the split first virtual resource and the preset number of second virtual resources), and optionally, the first virtual resource may be one or multiple virtual resources with the largest resource amount.
In a specific embodiment, the first virtual resource may be split from the target virtual resource in combination with preset configuration information, specifically, the preset configuration information may represent a proportion of the first virtual resource in the target virtual resource, and optionally, the second virtual resource may be split in combination with historical live broadcast information of the anchor, so as to better ensure that viewers in a live broadcast room can obtain the virtual resource. Specifically, the historical live broadcast information may be information capable of representing the online audience count condition of the anchor in the historical live broadcast process, and optionally, the historical live broadcast information may be online audience counts in the historical live broadcast process of multiple anchor. In an alternative embodiment, the average online viewer count during the anchor multi-view process may be calculated as a preset number. In another alternative embodiment, the average online viewer count per hour in the anchor multi-live broadcast process may be calculated, and accordingly, the product of the live broadcast duration of the current live broadcast and the average online viewer count per hour is taken as the preset number in combination with the live broadcast duration of the current live broadcast.
In a specific embodiment, the personal attribute information of the anchor in the platform may be combined to determine whether the anchor corresponding to the target virtual resource can be split into the first virtual resource. In a specific embodiment, the personal attribute information of the anchor may include, but is not limited to, a vermicelli amount, a product extension amount, and the like of the anchor, and optionally, the first virtual resource and the preset number of second virtual resources may be split from target virtual resources corresponding to the anchor whose vermicelli amount or product extension amount exceeds a corresponding threshold. Generally, the resource amount of the target virtual resource that can be split into the first virtual resource is often larger than the resource amount of the target virtual resource that cannot be split into the first virtual resource. Correspondingly, for a target virtual resource which cannot be split into the first virtual resource, a certain amount of second virtual resources can be split into the target virtual resource by combining with the historical live broadcast information corresponding to the anchor.
In the above embodiment, when the task corresponding to the resource distribution activity is completed, the target virtual resource is created and split in advance, and the first virtual resource and the preset number of second virtual resources are split from one target virtual resource, so that the distribution of multiple virtual resources in one resource distribution activity is realized, and on the basis of effectively improving the efficiency of subsequent resource distribution, the diversity of resource distribution is greatly improved, the interest of the user is better activated, and the activity participation rate and the access amount in the platform are improved.
In an optional embodiment, the method may further include: when the resource amount of any one of the preset number of second virtual resources is greater than the resource amount of the first virtual resource, the virtual resource whose resource amount is greater than the resource amount of the first virtual resource may be replaced with the first virtual resource.
In the above embodiment, by comparing the resource amounts of the split first virtual resource and the preset number of second virtual resources, when the resource amount of any one of the preset number of second virtual resources is greater than the resource amount of the first virtual resource, the virtual resource whose resource amount is greater than the first virtual resource may be replaced with the first virtual resource, so that the first virtual resource is ensured to be the virtual resource whose resource amount is the largest in the virtual resources to be extracted, and the resource splitting accuracy is improved.
In an optional embodiment, the method may further include: and storing the first virtual resource and a preset number of second virtual resources in a target database. Specifically, storing the first virtual resource and the preset number of second virtual resources to the target data may include, but is not limited to, storing identification information of the first virtual resource and the preset number of second virtual resources, and attribute information to the target database. Specifically, the attribute information may include, but is not limited to, an amount of the resource, identification information, a type of the resource (belonging to the first virtual resource or the second virtual resource), resource status information, and the like. In particular, the resource status information may include, but is not limited to, a creation status, an extraction status (the virtual resource has been extracted but not distributed to the corresponding viewer), and a distribution status (the virtual resource has been distributed to the corresponding viewer).
In the above embodiment, the split virtual resources are stored in the target database, so that the split virtual resources can be effectively managed.
In another alternative embodiment, as shown in fig. 4, the preparation operation of the resource distribution activity may also include the following steps:
in step S401, the resource creating server generates a target virtual resource in response to a resource generation instruction corresponding to a target page;
in step S403, the resource creation server sends the target virtual resource to the resource management server;
in step S405, the resource management server obtains preset configuration information;
in step S407, the resource management server splits the first virtual resource from the target virtual resource based on the preset configuration information;
in step S409, the resource management server splits the remaining virtual resources into a preset number of second virtual resources, where the remaining virtual resources are the virtual resources after splitting the first virtual resources from the target virtual resources.
In an alternative embodiment, as shown in fig. 4, the method may further include the following steps:
in step S411, the resource management server performs replacement processing on the virtual resource with a resource amount greater than the first virtual resource when the resource amount of any one of the preset number of second virtual resources is greater than the resource amount of the first virtual resource.
In an alternative embodiment, as shown in fig. 4, the method may further include the following steps:
in step S413, the resource management server stores the first virtual resource and a preset number of second virtual resources in the target database.
In a specific embodiment, a service server side may set a message queue, and send a message that may characterize completion of a task to the message queue when the task corresponding to a resource distribution activity is completed, so as to trigger a resource generation instruction, and meanwhile, a resource creation server may respond to the resource generation instruction in time by monitoring the message queue, so as to generate a target virtual resource.
In a specific embodiment, specific details of steps S403 to S413 may refer to the above details of related steps performed by the service server, and are not described herein again.
In the embodiment, the creation and the splitting of the target virtual resource are separated from the service server, so that the system pressure of the service server can be effectively reduced, and the fluency in the information browsing process is improved.
In step S203, in response to the resource getting instruction triggered based on the resource getting information, the terminal sends a resource obtaining request to the service server.
In a specific embodiment, the resource getting instruction may be triggered by a user active operation, for example, clicking on resource getting information to trigger the operation.
In another specific embodiment, the resource getting instruction may also be triggered in an automatic triggering manner, for example, by setting a timing task, and automatically triggering the resource getting instruction after a preset time after the resource getting information is displayed.
In step S205, the service server obtains a resource type identifier corresponding to the terminal.
In a specific embodiment, the resource type identifier represents resource type information of a virtual resource available to the terminal. In an optional embodiment, the obtaining, by the service server, the resource type identifier corresponding to the terminal includes:
the method comprises the steps that a service server obtains task execution information of a preset task of a target object corresponding to a terminal;
and the service server generates a resource type identifier corresponding to the terminal based on the task execution information.
In a specific embodiment, the target object corresponding to the terminal may be a viewer corresponding to the target page. Specifically, a task (preset task) may be preset to identify whether the object qualifies for the first virtual resource. Correspondingly, the target object completing the preset task may have a qualification for getting the first virtual resource; conversely, a target object that does not complete the predetermined task may not qualify to acquire the first virtual resource but may participate in acquiring the second virtual resource.
In a specific embodiment, the task execution information may represent a completion condition of a preset task, and specifically, the task execution information may include a completed task or an incomplete task.
In an optional embodiment, in the case that the task execution information is completed, a first resource type identifier may be generated for the terminal;
and generating a second resource type identifier for the terminal under the condition that the task execution information is incomplete.
Specifically, the first resource type identifier may represent that the resource type of the virtual resource available to the terminal is the first virtual resource, and the second resource type identifier may represent that the resource type of the virtual resource available to the terminal is the second virtual resource.
In the embodiment, the resource type identifiers corresponding to different terminals are distinguished through the task execution information of the preset task, so that the virtual resources can be pertinently distributed on the basis of introducing multiple virtual resources in the resource activity process, and the resource distribution accuracy can be improved on the basis of better exciting the interests of users.
In an optional embodiment, as shown in fig. 5, before the terminal sends the resource obtaining request to the service server, the method further includes:
in step S213, the terminal sends a resource type identifier acquisition request to the service server;
in step S215, the service server obtains task execution information of a preset task of a target object corresponding to the terminal;
in step S217, the service server generates a resource type identifier corresponding to the terminal based on the task execution information;
in step S219, the service server sends the resource type identifier to the terminal;
accordingly, the sending, by the terminal, the resource acquisition request to the service server in step S203 may include: and the terminal sends a resource acquisition request comprising the resource type identifier to the service server. In step S205, the acquiring, by the service server, the resource type identifier corresponding to the terminal includes extracting, by the service server, the resource type identifier from the resource acquisition request.
Specifically, the generating, by the service server, the resource type identifier corresponding to the terminal based on the task execution information may include: under the condition that the task execution information is completed, generating a first resource type identifier for the terminal; generating a second resource type identifier for the terminal under the condition that the task execution information is incomplete;
in the above embodiment, by issuing the resource type identifier in advance, it can be ensured that the service server still remains highly available on the basis that the user meeting the condition can obtain the first virtual resource, and the stability of the service server and the efficiency of resource distribution are greatly improved.
In step S207, extracting virtual resources for the terminal based on the resource type identifier;
in a specific embodiment, the extracting virtual resources for the terminal based on the resource type identifier may include:
under the condition that the resource type identifier is the first resource type identifier, extracting a first virtual resource for the terminal, wherein optionally, the first virtual resource can be a virtual resource with the largest resource amount in the virtual resources to be extracted;
in practical applications, because the number of the first virtual resources is limited, when the first virtual resources are extracted from the target database for the terminal, there may be a case that the first virtual resources are not extracted, and optionally, the extracting virtual resources for the terminal based on the resource type identifier may further include:
under the condition that the first virtual resource is not extracted or the resource type identifier is the second resource type identifier, extracting the second virtual resource for the terminal;
and the resource amount of the first virtual resource is larger than that of the second virtual resource.
In the above embodiment, under the condition that the first virtual resource is not extracted or the resource type identifier is the second resource type identifier, the probability that the user extracts the virtual resource can be ensured by extracting the second virtual resource for the terminal, so that the interest and participation enthusiasm of the user can be better activated, and the resource distribution efficiency can be further improved.
In a specific embodiment, the extracting, by the service server, the virtual resource for the terminal based on the resource type identifier may include: and the service server extracts the virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, in the case of extracting a virtual resource (a first virtual resource or a second virtual resource), the method may further include:
and the service server distributes the extracted virtual resources to the terminal.
In an optional embodiment, the distributing, by the service server, the extracted virtual resource to the terminal may include:
and the service server sends a successful extraction message corresponding to the virtual resource to the message queue, so that the resource distribution server distributes the extracted virtual resource to the terminal after monitoring the successful extraction message.
Specifically, the resource distribution server may monitor successful extraction of the message by subscribing to the message in the message queue; correspondingly, after the successful extraction of the message is monitored, the extracted virtual resource can be distributed to the terminal.
In the embodiment, in the virtual resource distribution process, the task of resource distribution is separated from the service server by combining the message queue, so that the system pressure of the service server can be effectively reduced, the fluency in the information browsing process is improved, and the speed and the reliability of resource distribution are improved.
In an optional embodiment, to avoid a situation that a message queue fails and resources are missed, after the service server extracts the first virtual resource, the successful extraction message may be backed up to a certain database, so that the resource distribution server may listen to the successful extraction message from the database at regular time, so as to improve the accuracy of resource distribution.
In step S209, the service server transmits resource extraction result information to the terminal.
In the case that the first virtual resource is extracted, the sending, by the service server, the resource extraction result information to the terminal may include sending, to the terminal, a resource extraction success result of the first virtual resource, so that the terminal displays the resource extraction success result on the destination page.
And under the condition that the first virtual resource is not extracted or the resource type identifier is the second resource type identifier, the service sends the resource extraction result information to the terminal, and the service sends the resource extraction result of the second virtual resource to the terminal so that the terminal displays the resource extraction result on the target page.
In step S211, the terminal presents the resource extraction result information on the destination page.
In a specific embodiment, the resource extraction result information is displayed in the target page in a popup window manner. Specifically, the extraction result information may include information such as the resource amount of the extracted virtual resource, or the prompt information that the virtual resource is not extracted.
In a specific embodiment, taking a live broadcast service as an example, as shown in fig. 6, fig. 6 is a schematic diagram illustrating a target page with a successful result of resource extraction according to an exemplary embodiment.
As can be seen from the technical solutions provided by the embodiments of the present specification, in the resource distribution process, the resource type identifier that can represent the resource type information of the virtual resource that can be received by the terminal is obtained, so that the virtual resource of the corresponding type can be extracted from the virtual resource to be extracted in a targeted manner, thereby improving the diversity of the distributed virtual resource, better stimulating the interest and participation enthusiasm of the user, and further improving the resource distribution efficiency.
The following describes a resource distribution method according to an embodiment of the present disclosure, taking a server as an execution subject, and specifically, as shown in fig. 7, the method may include the following steps:
in step S701, a resource acquisition request sent by a receiving terminal in response to a resource pickup instruction triggered based on resource pickup information in a target page is received;
in step S703, a resource type identifier corresponding to the terminal is obtained, where the resource type identifier represents resource type information of a virtual resource that can be received by the terminal;
in step S705, extracting virtual resources for the terminal based on the resource type identifier;
in step S707, the resource extraction result information is transmitted to the terminal so that the terminal presents the resource extraction result information on the destination page.
Optionally, extracting virtual resources for the terminal based on the resource type identifier includes:
under the condition that the resource type identifier is a first resource type identifier, extracting a first virtual resource for the terminal, wherein the first virtual resource is a virtual resource with the largest resource amount in the virtual resources to be extracted;
and under the condition that the first virtual resource is extracted, sending resource extraction result information to the terminal comprises sending a resource extraction success result to the terminal.
Optionally, extracting virtual resources for the terminal based on the resource type identifier further includes:
under the condition that the first virtual resource is not extracted or the resource type identifier is the second resource type identifier, extracting the second virtual resource for the terminal;
sending the resource extraction result information to the terminal comprises sending a resource extraction result of the second virtual resource to the terminal;
and the resource amount of the first virtual resource is larger than that of the second virtual resource.
Optionally, before the receiving terminal responds to the resource obtaining request sent by the resource obtaining instruction triggered based on the resource obtaining information in the target page, the method further includes:
receiving a resource type identifier acquisition request sent by a terminal;
acquiring task execution information of a preset task of a target object corresponding to a terminal;
generating a resource type identifier corresponding to the terminal based on the task execution information;
sending the resource type identifier to the terminal;
optionally, the resource obtaining request includes a resource type identifier, where the resource type identifier corresponding to the obtaining terminal includes: and extracting the resource type identification from the resource acquisition request.
Optionally, generating the resource type identifier corresponding to the terminal based on the task execution information includes:
under the condition that the task execution information is completed, generating a first resource type identifier for the terminal;
and generating a second resource type identifier for the terminal under the condition that the task execution information is incomplete.
Optionally, the obtaining the resource type identifier corresponding to the terminal includes:
acquiring task execution information of a preset task of a target object corresponding to a terminal;
and generating a resource type identifier corresponding to the terminal based on the task execution information.
Optionally, the method further includes:
responding to a resource generation instruction corresponding to the target page, and generating a target virtual resource;
acquiring preset configuration information, wherein the preset configuration information represents the proportion of a first virtual resource in a target virtual resource;
splitting a first virtual resource from a target virtual resource based on preset configuration information;
and splitting the residual virtual resources into a preset number of second virtual resources, wherein the residual virtual resources are the virtual resources obtained after the first virtual resources are split from the target virtual resources.
Optionally, the method further includes:
and under the condition that the resource quantity of any one virtual resource in the second virtual resources with the preset quantity is larger than that of the first virtual resource, replacing the virtual resource with the resource quantity larger than that of the first virtual resource with the first virtual resource.
Optionally, the method further includes:
storing the first virtual resources and a preset number of second virtual resources in a target database;
extracting virtual resources for the terminal based on the resource type identifier includes:
and extracting the virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, in the case of extracting the first virtual resource, the method further includes:
and distributing the extracted virtual resources to the terminal.
Optionally, the distributing the extracted virtual resource to the terminal includes:
and sending a successful extraction message corresponding to the virtual resource to the message queue, so that the resource distribution server distributes the extracted virtual resource to the terminal after monitoring the successful extraction message.
With regard to the method in the above embodiment, the specific implementation manner of each step has been described in detail in the embodiment related to the method, and will not be elaborated herein.
The embodiment of the present disclosure further provides a resource distribution system, and specifically, the system may include: a terminal and a service server;
the terminal is configured to execute and display a target page comprising resource extraction information, execute a resource extraction instruction triggered based on the resource extraction information and send a resource acquisition request to the service server; and is configured to perform the resource extraction result information being presented at the target page;
the service server is configured to execute the acquisition of a resource type identifier corresponding to the terminal, wherein the resource type identifier represents resource type information of the virtual resource which can be received by the terminal; and configured to perform the extraction of virtual resources for the terminal based on the resource type identification; and configured to perform transmitting the resource extraction result information to the terminal.
Optionally, the terminal is further configured to send a resource type identifier acquisition request to the service server before sending the resource acquisition request to the service server;
the service server is also configured to execute task execution information of a preset task of the target object corresponding to the acquisition terminal; generating a resource type identifier corresponding to the terminal based on the task execution information; sending the resource type identifier to the terminal;
sending the resource acquisition request to the service server includes sending the resource acquisition request including the resource type identifier to the service server.
Optionally, the service server is further configured to extract the second virtual resource for the terminal when the first virtual resource is not extracted or the resource type identifier is the second resource type identifier; sending a resource extraction result of the second virtual resource to the terminal;
the terminal is also configured to display the resource extraction result on the target page;
and the resource amount of the first virtual resource is larger than that of the second virtual resource.
Optionally, the system further includes: a resource creation server and a resource management server;
a resource creation server configured to execute a resource generation instruction corresponding to the target page, generate a target virtual resource, and transmit the target virtual resource to the resource management server;
the resource management server is configured to execute obtaining of preset configuration information, and the preset configuration information represents the proportion of the first virtual resource in the target virtual resource; and configured to perform splitting the first virtual resource from the target virtual resource based on preset configuration information; and the system is configured to split the residual virtual resources into a preset number of second virtual resources, wherein the residual virtual resources are the virtual resources obtained after the first virtual resources are split from the target virtual resources.
Optionally, the resource management server is further configured to perform, when the resource amount of any one of the preset number of second virtual resources is greater than the resource amount of the first virtual resource, replacement processing on the virtual resource whose resource amount is greater than the resource amount of the first virtual resource and the first virtual resource.
Optionally, the resource management server is further configured to store the first virtual resource and a preset number of second virtual resources in the target database;
extracting virtual resources for the terminal based on the resource type identifier includes: and extracting the virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, the service server is further configured to perform, in the case that the first virtual resource is extracted, distributing the extracted virtual resource to the terminal.
Optionally, the system further includes a message queue and a resource distribution server;
the service server is also configured to execute the successful extraction message corresponding to the virtual resource sent to the message queue;
and the resource distribution server is configured to execute the distribution of the extracted virtual resources to the terminal after the successful extraction message is monitored.
With regard to the system in the above-described embodiment, the specific manner in which each operation is performed has been described in detail in the embodiment related to the method, and will not be described in detail here.
FIG. 8 is a block diagram illustrating a resource distribution apparatus according to an example embodiment. Referring to fig. 8, the apparatus includes:
a resource obtaining request receiving module 810 configured to execute a resource obtaining request sent by a receiving terminal in response to a resource getting instruction triggered based on resource getting information in a target page;
a resource type identifier obtaining module 820 configured to execute obtaining a resource type identifier corresponding to the terminal, where the resource type identifier represents resource type information of a virtual resource that can be received by the terminal;
a virtual resource extraction module 830 configured to perform extraction of virtual resources for the terminal based on the resource type identifier;
a resource extraction result information sending module 840 configured to execute sending resource extraction result information to the terminal, so that the terminal displays the resource extraction result information on the target page
Optionally, the virtual resource extraction module 830 includes:
the first virtual resource extraction unit is configured to extract a first virtual resource for the terminal under the condition that the resource type identifier is the first resource type identifier, wherein the first virtual resource is a virtual resource with the largest resource amount in the virtual resources to be extracted;
in the case of extracting the first virtual resource, the resource extraction result information sending module 840 is specifically configured to execute sending a resource extraction success result to the terminal.
Optionally, the virtual resource extraction module 830 further includes:
a second virtual resource extraction unit configured to extract a second virtual resource for the terminal when the first virtual resource is not extracted or the resource type identifier is a second resource type identifier;
the resource extraction result information sending module 840 is specifically configured to execute sending of a resource extraction result of the second virtual resource to the terminal;
and the resource amount of the first virtual resource is larger than that of the second virtual resource.
Optionally, the apparatus further comprises:
the identification acquisition request receiving module is configured to execute a resource type identification acquisition request sent by a receiving terminal before the resource acquisition request is sent by the receiving terminal in response to a resource pickup instruction triggered based on resource pickup information in a target page;
the task execution information acquisition module is configured to execute task execution information of a preset task of a target object corresponding to the acquisition terminal;
the resource type identifier generating module is configured to execute the resource type identifier corresponding to the terminal generated based on the task execution information;
a resource type identifier sending module configured to execute sending the resource type identifier to the terminal;
optionally, the resource obtaining request includes a resource type identifier, and the resource type identifier obtaining module is specifically configured to extract the resource type identifier from the resource obtaining request.
Optionally, the resource type identifier generating module includes:
the first resource type identifier generating unit is configured to generate a first resource type identifier for the terminal under the condition that the task execution information is completed;
and the second resource type identifier generating unit is configured to generate a second resource type identifier for the terminal under the condition that the task execution information is incomplete.
Optionally, the resource type identifier obtaining module 820 includes:
the task execution information acquisition unit is configured to execute task execution information of a preset task of a target object corresponding to the terminal;
and the resource type identifier generating unit is configured to generate the resource type identifier corresponding to the terminal based on the task execution information.
Optionally, the apparatus further comprises:
a target virtual resource generation module configured to execute a resource generation instruction corresponding to a target page and generate a target virtual resource;
the preset configuration information acquisition module is configured to execute acquisition of preset configuration information, and the preset configuration information represents the proportion of the first virtual resource in the target virtual resource;
the first virtual resource splitting module is configured to split a first virtual resource from a target virtual resource based on preset configuration information;
and the second virtual resource splitting module is configured to split the remaining virtual resources into a preset number of second virtual resources, wherein the remaining virtual resources are the virtual resources obtained after the first virtual resources are split from the target virtual resources.
Optionally, the apparatus further comprises:
and the resource replacing module is configured to execute replacement processing on the virtual resource with the resource amount larger than the first virtual resource and the first virtual resource under the condition that the resource amount of any one of the second virtual resources with the preset number is larger than the resource amount of the first virtual resource.
Optionally, the apparatus further comprises:
a virtual resource storage module configured to perform storage of the first virtual resource and a preset number of second virtual resources in a target database;
the virtual resource extraction module 830 is specifically configured to perform extraction of virtual resources for the terminal from the target database based on the resource type identifier.
Optionally, the apparatus further comprises:
and the virtual resource distribution module is configured to execute the distribution of the extracted virtual resource to the terminal under the condition that the first virtual resource is extracted.
Optionally, the virtual resource distribution module is specifically configured to execute sending of a successful extraction message corresponding to the virtual resource to the message queue, so that the resource distribution server distributes the extracted virtual resource to the terminal after monitoring the successful extraction message.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an electronic device for resource distribution, which may be a server, according to an example embodiment, and an internal structure diagram of the electronic device may be as shown in fig. 9. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a resource distribution method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the resource distribution method as in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a resource distribution method in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the resource distribution method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for resource distribution, comprising:
receiving a resource acquisition request sent by a terminal in response to a resource getting instruction triggered based on resource getting information in a target page;
acquiring a resource type identifier corresponding to the terminal, wherein the resource type identifier represents resource type information of virtual resources available to the terminal;
extracting virtual resources for the terminal based on the resource type identifier;
and sending resource extraction result information to the terminal so that the terminal can display the resource extraction result information on the target page.
2. The resource distribution method according to claim 1, wherein the extracting virtual resources for the terminal based on the resource type identifier comprises:
under the condition that the resource type identifier is a first resource type identifier, extracting a first virtual resource for the terminal, wherein the first virtual resource is a virtual resource with the largest resource amount in the virtual resources to be extracted;
when the virtual resource is extracted, the sending the resource extraction result information to the terminal includes: and sending a successful resource extraction result to the terminal.
3. The resource distribution method according to claim 2, wherein the extracting virtual resources for the terminal based on the resource type identifier further comprises:
under the condition that the first virtual resource is not extracted or the resource type identifier is a second resource type identifier, extracting a second virtual resource for the terminal;
the sending of the resource extraction result information to the terminal includes: sending a resource extraction result of the second virtual resource to the terminal;
wherein the resource amount of the first virtual resource is greater than the resource amount of the second virtual resource.
4. The resource distribution method according to claim 1, wherein before receiving the resource acquisition request sent by the terminal in response to the resource pickup instruction triggered based on the resource pickup information in the target page, the method further comprises:
receiving a resource type identifier acquisition request sent by the terminal;
acquiring task execution information of a preset task of a target object corresponding to the terminal;
generating a resource type identifier corresponding to the terminal based on the task execution information;
and sending the resource type identifier to the terminal.
5. The resource distribution method according to claim 4, wherein the resource obtaining request includes the resource type identifier, and the obtaining the resource type identifier corresponding to the terminal includes:
and extracting the resource type identification from the resource acquisition request.
6. A resource distribution apparatus, comprising:
the resource acquisition request receiving module is configured to execute a resource acquisition request sent by a receiving terminal in response to a resource getting instruction triggered based on the resource getting information in the target page;
a resource type identifier obtaining module, configured to perform obtaining of a resource type identifier corresponding to the terminal, where the resource type identifier represents resource type information of a virtual resource retrievable by the terminal;
a virtual resource extraction module configured to perform extraction of virtual resources for the terminal based on the resource type identifier;
and the resource extraction result information sending module is configured to send the resource extraction result information to the terminal so that the terminal can display the resource extraction result information on the target page.
7. A resource distribution system, comprising: a terminal and a service server;
the terminal is configured to display a target page including resource pickup information, and to execute a resource pickup instruction triggered based on the resource pickup information and send a resource acquisition request to the service server; and is configured to perform the resource extraction result information being presented at the target page;
the service server is configured to execute acquiring a resource type identifier corresponding to the terminal, wherein the resource type identifier represents resource type information of a virtual resource which can be received by the terminal; and configured to perform the extraction of virtual resources for the terminal based on the resource type identification; and configured to perform transmitting resource extraction result information to the terminal.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource distribution method of any one of claims 1 to 5.
9. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the resource distribution method of any one of claims 1 to 5.
10. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the resource distribution method of any of claims 1 to 5.
CN202110425923.1A 2021-04-20 2021-04-20 Resource distribution method, device, system, electronic equipment and storage medium Pending CN113329231A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110425923.1A CN113329231A (en) 2021-04-20 2021-04-20 Resource distribution method, device, system, electronic equipment and storage medium
PCT/CN2021/132980 WO2022222469A1 (en) 2021-04-20 2021-11-25 Resource distribution method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110425923.1A CN113329231A (en) 2021-04-20 2021-04-20 Resource distribution method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113329231A true CN113329231A (en) 2021-08-31

Family

ID=77414938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110425923.1A Pending CN113329231A (en) 2021-04-20 2021-04-20 Resource distribution method, device, system, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113329231A (en)
WO (1) WO2022222469A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022222469A1 (en) * 2021-04-20 2022-10-27 北京达佳互联信息技术有限公司 Resource distribution method and apparatus
CN115578115A (en) * 2022-09-21 2023-01-06 支付宝(杭州)信息技术有限公司 Resource decimation processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312296A1 (en) * 2014-04-24 2015-10-29 Hisense Co., Ltd Method and device for pushing multimedia resource and display terminal
WO2018108035A1 (en) * 2016-12-13 2018-06-21 腾讯科技(深圳)有限公司 Information processing and virtual resource exchange method, apparatus, and device
WO2019072197A1 (en) * 2017-10-11 2019-04-18 上海掌门科技有限公司 Red packet distribution method, device, and medium
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2659698C (en) * 2008-03-21 2020-06-16 Dressbot Inc. System and method for collaborative shopping, business and entertainment
US10872322B2 (en) * 2008-03-21 2020-12-22 Dressbot, Inc. System and method for collaborative shopping, business and entertainment
CN108665294A (en) * 2017-03-30 2018-10-16 阿里巴巴集团控股有限公司 Virtual resource object processing method, device and computer system
CN111494964B (en) * 2020-06-30 2020-11-20 腾讯科技(深圳)有限公司 Virtual article recommendation method, model training method, device and storage medium
CN112040262B (en) * 2020-08-31 2021-11-02 腾讯科技(深圳)有限公司 Virtual resource object processing method and device
CN112100204A (en) * 2020-09-18 2020-12-18 广州华多网络科技有限公司 Virtual resource regulation and control method and device, computer equipment and storage medium
CN112188299B (en) * 2020-10-13 2022-08-23 北京达佳互联信息技术有限公司 Virtual resource processing method, device, terminal and storage medium
CN113329231A (en) * 2021-04-20 2021-08-31 北京达佳互联信息技术有限公司 Resource distribution method, device, system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312296A1 (en) * 2014-04-24 2015-10-29 Hisense Co., Ltd Method and device for pushing multimedia resource and display terminal
WO2018108035A1 (en) * 2016-12-13 2018-06-21 腾讯科技(深圳)有限公司 Information processing and virtual resource exchange method, apparatus, and device
WO2019072197A1 (en) * 2017-10-11 2019-04-18 上海掌门科技有限公司 Red packet distribution method, device, and medium
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022222469A1 (en) * 2021-04-20 2022-10-27 北京达佳互联信息技术有限公司 Resource distribution method and apparatus
CN115578115A (en) * 2022-09-21 2023-01-06 支付宝(杭州)信息技术有限公司 Resource decimation processing method and device
CN115578115B (en) * 2022-09-21 2023-09-08 支付宝(杭州)信息技术有限公司 Resource lottery processing method and device

Also Published As

Publication number Publication date
WO2022222469A1 (en) 2022-10-27

Similar Documents

Publication Publication Date Title
CN110620812B (en) Interactive information pushing method and device, computer equipment and storage medium
CN107169094B (en) Information aggregation method and device
CN113329231A (en) Resource distribution method, device, system, electronic equipment and storage medium
CN113051458A (en) Data processing method and device, electronic equipment and storage medium
CN113949697B (en) Data distribution method, device, electronic equipment and storage medium
CN113315981B (en) Task data updating method, device and system, electronic equipment and storage medium
CN108809810B (en) Instant messaging-based message record checking method and system and computer equipment
CN113469736A (en) Resource distribution control method, device, system, electronic device and storage medium
US20220303324A1 (en) Method and system for multi-service processing
CN113805991A (en) Object prompting method and device, electronic equipment and storage medium
CN113781119A (en) Virtual resource sending method and device, electronic equipment and storage medium
CN113329232B (en) Resource distribution method and device, electronic equipment and storage medium
US11418553B2 (en) Video connection method and apparatus, and non-transitory computer-readable storage medium
CN115412774A (en) Interactive processing method, device, electronic equipment, storage medium and program product
CN107770162B (en) Method and device for preventing gift from being brushed in live broadcast platform
CN113467855A (en) Webpage request processing method and device, electronic equipment and storage medium
CN112565455A (en) Multi-event synchronous processing method, computer equipment and storage medium
CN113238860B (en) Task request processing method and device, electronic equipment and storage medium
CN113630612B (en) Data processing and data displaying method and device, electronic equipment and medium
CN115714876A (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN112765404B (en) Visiting information processing method, device, system, equipment and storage medium
CN104519374A (en) Method and system for conducting an interactive survey in a cable television network
CN113420236B (en) Method and device for displaying list data, electronic equipment and storage medium
CN114095740B (en) Information processing method, information processing device, electronic equipment and storage medium
CN113469735A (en) Resource processing method and device, electronic equipment and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210831