CN113051458A - Data processing method and device, electronic equipment and storage medium - Google Patents
Data processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113051458A CN113051458A CN202110158117.2A CN202110158117A CN113051458A CN 113051458 A CN113051458 A CN 113051458A CN 202110158117 A CN202110158117 A CN 202110158117A CN 113051458 A CN113051458 A CN 113051458A
- Authority
- CN
- China
- Prior art keywords
- resource
- virtual resource
- target
- information
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000000605 extraction Methods 0.000 claims abstract description 155
- 238000000034 method Methods 0.000 claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000001960 triggered effect Effects 0.000 claims description 28
- 238000012545 processing Methods 0.000 claims description 17
- 239000000284 extract Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 description 32
- 238000012544 monitoring process Methods 0.000 description 23
- 238000010586 diagram Methods 0.000 description 19
- 238000002360 preparation method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9532—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to a data processing method, a device, an electronic device and a storage medium, wherein the method comprises the steps of receiving a first resource acquisition request sent by a terminal in response to a resource getting instruction; extracting a first virtual resource, and sending extraction result information of the first virtual resource to a terminal under the condition that the first virtual resource has a corresponding second virtual resource and meets a preset condition, wherein the extraction result information carries target task execution information; so that the terminal displays the extraction result information and the target task execution information on a target page; the first virtual resource and the second virtual resource are derived from the same target virtual resource; receiving a second resource acquisition request sent by the terminal under the condition that the target task is monitored to be completed; and extracting the second virtual resource, and sending extraction prompt information of the second virtual resource to the terminal so that the terminal displays the extraction prompt information on the target page. By utilizing the embodiment of the invention, the efficiency of resource distribution and the reusability of a resource distribution system can be improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
In some internet platforms, resource distribution activities are often performed in order to increase the amount of access within the platform. In some scenes, in the process of browsing related pages by a user, if a preset trigger condition corresponding to a resource distribution activity is met, a certain amount of virtual resources are distributed to the user; however, in order to enrich resource distribution activities and better improve the access amount in the platform, a plurality of resource distribution activities with different trigger conditions are often set; in the related art, when there are a plurality of resource distribution activities, budget control, resource distribution control, and the like are often required for each of the plurality of resource distribution activities, which leads to problems such as poor reusability of the resource distribution system and low resource distribution efficiency.
Disclosure of Invention
The present disclosure provides a data processing method, an apparatus, an electronic device, and a storage medium, so as to at least solve the problems of poor reusability of a resource distribution system and low resource distribution efficiency in the related art. 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 data processing method, including:
receiving a first resource acquisition request sent by a terminal in response to a resource getting instruction triggered based on resource getting information in a target page;
extracting a first virtual resource, and sending extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; enabling the terminal to display the target task execution information and the extraction result information on the target page; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
receiving a second resource acquisition request sent by the terminal under the condition that the terminal monitors that the target task is completed based on the target task execution information;
and extracting the second virtual resource, and sending extraction prompt information of the second virtual resource to the terminal so that the terminal displays the extraction prompt information on the target page.
Optionally, the method further includes:
responding to a target instruction corresponding to the target page, and generating a target virtual resource;
splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, the splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources includes:
acquiring historical live broadcast information of a target anchor corresponding to the terminal;
determining the first quantity and the second quantity according to the historical live broadcast information;
splitting the target virtual resource based on the first quantity and the second quantity to obtain a first virtual resource of the first quantity and a second virtual resource of the second quantity.
Optionally, after the extracting the first virtual resource, the method further includes:
and distributing the first virtual resource to the terminal.
Optionally, the distributing the first virtual resource to the terminal includes:
and sending a first successful extraction message corresponding to the first virtual resource to a message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
Optionally, after the extracting the second virtual resource, the method further includes:
and distributing the second virtual resource to the terminal.
Optionally, the distributing the first virtual resource to the terminal includes:
and sending a second successful extraction message corresponding to the second virtual resource to a message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second successful extraction message.
Optionally, the preset condition represents the information of obtaining the second virtual resource of the target object corresponding to the target page within a preset time period.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, including:
displaying a target page including resource pickup information;
responding to a resource getting instruction triggered based on the resource getting information, and sending a first resource obtaining request to a second server so that the second server extracts a first virtual resource;
receiving extraction result information and target task execution information of the first virtual resource, which are sent by the second server under the condition that the first virtual resource has the corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
displaying the target task execution information and the extraction result information on the target page;
sending a second resource acquisition request to the second server under the condition that the target task execution information is monitored to be completed based on the target task execution information, so that the second server extracts a second virtual resource;
receiving extraction prompt information of the second virtual resource sent by the second server;
and displaying the extraction prompt information on the target page.
Optionally, the sending the second resource obtaining request to the second server includes:
implicitly calling a preset interface;
and sending a second resource acquisition request to the second server based on the preset interface.
Optionally, the target task includes a sharing task, and after the target page shows the target task execution information and the extraction result information, the method further includes:
responding to a task execution instruction triggered based on the target task execution information, and monitoring task progress information of the shared task;
and determining the completion condition information of the sharing task based on the task progress information.
According to a third aspect of embodiments of the present disclosure, there is provided a data processing system comprising: a terminal and a second server;
the terminal is configured to display a target page including resource extraction information; and configured to execute sending a first resource acquisition request to the second server in response to a resource pickup instruction triggered based on the resource pickup information; and is configured to perform the presentation of the target task execution information and the extraction result information on the target page; and configured to send a second resource acquisition request to the second server in a case where completion of the target task based on the target task execution information is monitored; and configured to perform presentation of the extraction prompt in the destination page;
the second server is configured to extract a first virtual resource, and send extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; and configured to perform extraction of the second virtual resource, and send extraction prompt information of the second virtual resource to the terminal;
wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource.
Optionally, the system further includes: a third server and a fourth server;
the third server is configured to execute a target instruction corresponding to the target page, generate a target virtual resource and send the target virtual resource to a fourth server;
the fourth server configured to perform a split of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, after extracting the first virtual resource, the second server is further configured to perform distribution of the first virtual resource to the terminal.
Optionally, the system further includes a message queue and a first server;
the second server is further configured to perform sending of a first successful extraction message corresponding to the first virtual resource to the message queue;
the first server is further configured to perform the distribution of the first virtual resource to the terminal upon monitoring the first successful extraction message.
Optionally, after the extracting of the second virtual resource, the second server is further configured to perform distributing the second virtual resource to the terminal.
Optionally, the system further includes a message queue and a first server;
the second server is further configured to perform sending a second successful extraction message corresponding to the second virtual resource to the message queue;
the first server is further configured to perform the distribution of the second virtual resource to the terminal upon monitoring the second successful extraction message.
Optionally, the target task includes a sharing task, and after the target page shows the target task execution information and the extraction result information, the terminal is further configured to execute a task execution instruction triggered based on the target task execution information, and monitor task progress information of the sharing task; and the shared task processing system is configured to determine the completion information of the shared task based on the task progress information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus comprising:
the first resource acquisition request receiving module is configured to execute a first 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 first virtual resource extraction module configured to perform extraction of a first virtual resource;
the information sending module is configured to send extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; enabling the terminal to display the target task execution information and the extraction result information on the target page; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
the second resource acquisition request module is configured to execute a second resource acquisition request sent by the terminal under the condition that the terminal monitors that the target task is completed based on the target task execution information;
a second virtual resource extraction module configured to perform extraction of the second virtual resource;
and the extraction prompt information sending module is configured to execute sending of the extraction prompt information of the second virtual resource to the terminal, so that the terminal displays the extraction prompt information on the target page.
Optionally, the apparatus further comprises:
a target virtual resource generation module configured to execute a target instruction corresponding to the target page and generate a target virtual resource;
a virtual resource splitting module configured to perform splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, the virtual resource splitting module includes:
a historical live broadcast information acquisition unit configured to perform acquisition of historical live broadcast information of a target anchor corresponding to the terminal;
a quantity determination unit configured to perform determining the first quantity and the second quantity according to the historical live broadcast information;
a resource splitting unit configured to split the target virtual resource based on the first quantity and the second quantity to obtain a first virtual resource of the first quantity and a second virtual resource of the second quantity.
Optionally, the apparatus further comprises:
a first virtual resource distribution module configured to perform distribution of the first virtual resource to the terminal after the extraction of the first virtual resource.
Optionally, the first virtual resource distribution module includes:
the first successful extraction message sending unit is configured to send a first successful extraction message corresponding to the first virtual resource to a message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
Optionally, the apparatus further comprises:
a second virtual resource distribution module configured to perform distribution of the second virtual resource to the terminal after the extraction of the second virtual resource.
Optionally, the distributing the first virtual resource to the terminal includes:
and the second success extraction message sending unit is configured to execute sending of a second success extraction message corresponding to the second virtual resource to a message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second success extraction message.
Optionally, the preset condition represents the information of obtaining the second virtual resource of the target object corresponding to the target page within a preset time period.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
a target page display module configured to perform displaying a target page including resource pickup information;
a first resource obtaining request sending module configured to execute a resource getting instruction triggered based on the resource getting information, and send a first resource obtaining request to a second server so as to enable the second server to extract a first virtual resource;
the information receiving module is configured to execute and receive extraction result information and target task execution information of the first virtual resource, which are sent by the second server when the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
the information display module is configured to display the target task execution information and the extraction result information on the target page;
a second resource acquisition request sending module configured to send a second resource acquisition request to the second server to enable the second server to extract a second virtual resource when it is monitored that the target task is completed based on the target task execution information;
an extraction prompt message receiving module configured to perform receiving of extraction prompt messages of the second virtual resource sent by the second server;
and the extraction prompt information display module is configured to display the extraction prompt information on the target page.
Optionally, the second resource obtaining request sending module includes:
the preset interface calling unit is configured to execute implicit calling of a preset interface;
a second resource obtaining request sending unit configured to execute sending a second resource obtaining request to the second server based on the preset interface.
Optionally, the target task includes a sharing task, and the apparatus further includes:
the task progress information monitoring module is configured to monitor task progress information of the shared task in response to a task execution instruction triggered based on the target task execution information after the target page shows the target task execution information and the extraction result information;
and the completion information determining module is configured to determine the completion information of the sharing task based on the task progress information.
According to a sixth aspect of 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 or second aspects above.
According to a seventh aspect of 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 or second aspects of the embodiments of the present disclosure.
According to an eighth 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 or second 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 splitting the virtual resources corresponding to the resource distribution activities from the same target virtual resource, unified resource budget control and resource distribution control can be performed on the resource distribution activities, and the resource distribution efficiency and the resource distribution system reusability are effectively 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 data processing 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 flow diagram illustrating another data processing method in accordance with an exemplary embodiment;
FIG. 5 is a diagram illustrating a destination page having destination task execution information and extraction result information, according to an illustrative embodiment;
FIG. 6 is a flow diagram illustrating another data processing method in accordance with an exemplary embodiment;
FIG. 7 is a flow diagram illustrating another data processing method in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a data processing apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating another data processing apparatus in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating an electronic device for data processing in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating an electronic device for data processing 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.
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 first server 100, a second server 200, a third server 300, a fourth server 400, and a terminal 500.
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 second server 200 may be a server corresponding to the terminal 500, and is configured to provide a background service for the 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 third server 300 may be a server corresponding to a resource distribution activity, and is configured to provide a background service for resource distribution. The fourth server 400 may be a resource management server for managing a target virtual resource corresponding to a resource distribution activity. The first server 100 may be a resource distribution server for performing distribution of virtual resources.
In an optional embodiment, the servers (the first server 100, the second server 200, the third server 300, the fourth server 400, and the terminal 500) 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 Content Delivery Network (CDN), and a big data and artificial intelligence platform.
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.
In addition, 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 first server 100, the second server 200, the third server 300, and the fourth server 400 are the same server, and specifically, the service functions of the first server 100, the third server 300, and the fourth server 400 may all be integrated in the second server 200.
In this embodiment of the present disclosure, the first server 100, the second server 200, the third server 300, the fourth 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 data processing method according to an exemplary embodiment, which may include the following steps, as shown in fig. 2.
In step S201, the terminal displays a target page including resource procurement 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 preset 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 preset task corresponding to the viewer side may be that the viewing duration of the viewer side 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 a preset task is completed, a target 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 target 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 target instruction triggered by the completion of the preset task 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 second server responds to a target instruction corresponding to the target page to generate a target virtual resource;
the second server splits the target virtual resource into a first number of first virtual resources and a second number of second virtual resources.
In a specific embodiment, the second server may be a server corresponding to the information browsing service.
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 virtual resources corresponding to the multiple resource distribution activities are split from one target virtual resource, so that uniform resource budget control and subsequent resource distribution control can be performed on the multiple resource distribution activities, and the efficiency of subsequent resource distribution and the reusability of the resource distribution system can be effectively improved.
In another alternative embodiment, as shown in fig. 4, the preparation operation of the resource distribution activity may also include:
in step S219, the third server generates a target virtual resource in response to a target instruction corresponding to the target page.
In step S221, the third server transmits the target virtual resource to the fourth server;
in step S223, the fourth server splits the target virtual resource into a first number of first virtual resources and a second number of second virtual resources.
Specifically, the third server may be a server corresponding to the resource distribution activity. The fourth server may be the resource management server described above.
In the embodiment, the creation and the splitting of the target virtual resource are separated from the second server, so that the system pressure of the second server can be effectively reduced, and the fluency in the information browsing process is improved.
In a specific embodiment, the second server side may set a message queue, and send a message (i.e., the target instruction) that may represent that the preset task is completed to the message queue when the preset task is completed, and meanwhile, the third server may respond to the target instruction in time by monitoring the message queue to generate the target virtual resource. 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 this embodiment, the first virtual resource may be a virtual resource corresponding to a resource distribution activity, and the second virtual resource may be a virtual resource corresponding to another resource distribution activity. Specifically, for example, the virtual resource activity corresponding to the first virtual resource may be an activity of distributing the virtual resource to the audience when the first preset task is completed, and the virtual resource activity corresponding to the second virtual resource may be an activity of distributing the virtual resource to the audience like the audience when the second preset task is completed, where the first preset task and the second preset task are different tasks.
The first virtual resource and the second virtual resource may be the same or different in corresponding virtual resource types. For example, the resources may all be the same virtual currency, or the first virtual resource may be a certain virtual currency, and the other virtual resource may be another virtual currency, or an electronic coupon, etc.
In a specific embodiment, the first number is equal to or greater than the second number, and generally, the first number is greater than the second number.
In a specific embodiment, a fourth server side may be provided with a resource splitting service, where the resource splitting service may periodically scan whether the fourth server has an undisrupted target virtual resource, and if it is scanned that the fourth server has an undisrupted target virtual resource, the step of splitting the target virtual resource into the first number of first virtual resources and the second number of second virtual resources may be performed. In a specific embodiment, splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources may include: acquiring historical browsing information of a target information publisher corresponding to a terminal; determining a first quantity and a second quantity according to historical browsing information; splitting the target virtual resources based on the first quantity and the second quantity to obtain a first virtual resource with a first quantity and a second virtual resource with a second quantity. Specifically, the historical browsing information may be information capable of representing browsing conditions of the historical information issued by the target information issuer.
In a specific embodiment, taking a live broadcast service as an example, the splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources may include: acquiring historical live broadcast information of a target anchor corresponding to a terminal; determining a first quantity and a second quantity according to historical live broadcast information; splitting the target virtual resources based on the first quantity and the second quantity to obtain a first virtual resource with a first quantity and a second virtual resource with a second quantity.
In a specific embodiment, the target anchor may be an anchor of a live broadcast room corresponding to the terminal, specifically, the historical live broadcast information may be information capable of representing an online audience count condition of the target anchor in the historical live broadcast process, and optionally, the historical live broadcast information may be an online audience count in a multi-live historical live broadcast process of the target anchor. In an alternative embodiment, an average online viewer count in the target anchor multi-view process may be calculated as the first number. In another alternative embodiment, the average online viewer count per hour in the target 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 may be taken as the first number in combination with the live broadcast duration of the current live broadcast.
In a specific embodiment, the second amount may be any value less than or equal to the second amount, for example, 10% of the first amount, and specifically, the percentage of the second amount relative to the first amount may be set according to the actual application requirement.
In a specific embodiment, after determining the number (first number) of the first virtual resources and the number (second number) of the second virtual resources, if the types of the virtual resources corresponding to the first virtual resources and the second virtual resources are the same and the resource amounts of the individual virtual resources are the same, the total number of the target virtual resources (i.e., the preset resource amount) may be divided by the sum of the first number and the second number to obtain the resource amount of each of the first virtual resources and the second virtual resources, so as to split the target virtual resources into the first number of the first virtual resources and the second number of the second virtual resources.
Optionally, the target virtual resource with the preset resource amount may be divided into two parts in advance: one part for splitting into a first number of first virtual resources (assumed as target virtual resources for a first amount of resources) and another part for splitting into a second number of second virtual resources (assumed as target virtual resources for a second amount of resources). Wherein the sum of the first resource amount and the second resource amount is equal to the preset resource amount. Specifically, the division of the first resource amount and the second resource amount may be set in combination with the actual application requirements.
Specifically, the resource amount of a single first virtual resource may be different or the same, and if the resource amount of a single first virtual resource is the same, the resource amount of the single first virtual resource may be determined by dividing the first resource amount by the first amount. If the resource amount of a single first virtual resource is different, a preset algorithm may be combined to split the target virtual resource of the first resource amount into a first number of first virtual resources.
Specifically, the resource amount of the single second virtual resource may be different or the same, and if the resource amount of the single second virtual resource is the same, the resource amount of the single second virtual resource may be determined by dividing the second resource amount by the second number. If the resource amount of a single second virtual resource is different, a preset algorithm can be combined to split the target virtual resource of the second resource amount into a second number of second virtual resources.
In a specific embodiment, after splitting the target virtual resource into the first number of first virtual resources and the second number of second virtual resources, identification information of each first virtual resource and each second virtual resource, and attribute information of each first virtual resource and each second virtual resource may be generated, and specifically, the attribute information may include, but is not limited to, an amount of resources, identification information, a type of resource distribution activity, 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). Alternatively, the attribute information may be stored in a database.
In addition, it should be noted that, in the case that one target page corresponds to more resource distribution activities, the ajiang target virtual resource may also be split into a certain number of virtual resources corresponding to the more resource distribution activities.
In the above embodiment, in the process of splitting the virtual resources, the determination of the number of the virtual resources corresponding to different resource distribution activities is performed by combining the historical live broadcast information of different anchor broadcasters, so that the rationality of splitting the resources can be improved, and further the resource picking rate is improved.
In step S203, in response to the resource pickup instruction triggered based on the resource pickup information, the terminal sends a first resource acquisition request to the second 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 second server extracts the first virtual resource.
In a particular embodiment, the second server extracting the first virtual resource may include the second server extracting one first virtual resource from a first number of first virtual resources. Specifically, the identification information of one first virtual resource may be extracted from a database storing attribute information of a first number of first virtual resources, and the extraction state in the attribute information may be modified.
In an optional embodiment, after the second server extracts the first virtual resource, the method may further include: the second server distributes the first virtual resource to the terminal.
In the above embodiment, after the first virtual resource is extracted, the first virtual resource is distributed in time, so that the resource distribution efficiency and accuracy can be effectively ensured.
In an optional embodiment, the distributing the first virtual resource to the terminal may include:
the second server sends a first successful extraction message corresponding to the first virtual resource to the message queue;
and the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
In a specific embodiment, the first server may be the resource distribution server. Specifically, the first server may monitor the first successful extraction message by subscribing to the message in the message queue; correspondingly, after monitoring the first successful extraction message, the extracted first virtual resource can be distributed to the terminal.
In the embodiment, in the first virtual resource distribution process, the task of resource distribution is separated from the second server by combining the message queue, so that the system pressure of the second 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 second server extracts the first virtual resource, the first successful extraction message may be backed up to a certain database, so that the first server may monitor the first successful extraction message from the database at regular time, so as to improve accuracy of resource distribution.
In step S207, when the first virtual resource has the corresponding second virtual resource and the target object corresponding to the target page meets the preset condition, the second server sends the extraction result information and the target task execution information of the first virtual resource to the terminal.
In a specific embodiment, the first virtual resource and the second virtual resource are derived from the same target virtual resource. The second virtual resource corresponding to the existence of the first virtual resource may be a second virtual resource existing in the same target virtual resource as the first virtual resource. Specifically, the target object corresponding to the target page may be an audience corresponding to the target page, and in a specific embodiment, the preset condition represents the pickup information of the second virtual resource of the target object corresponding to the target page in a preset time period. Optionally, the step of enabling the target object corresponding to the target page to meet the preset condition may include: and the audience corresponding to the target page participates in the acquisition of the second virtual resource for the first time within a preset time period. Specifically, the preset time period may be set in combination with actual applications, and may be, for example, 0 to 24 points per day.
In a specific embodiment, when the first virtual resource has a corresponding second virtual resource and a target object corresponding to a target page meets a preset condition, the second server sends extraction result information and target task execution information to the terminal. Specifically, the target task execution information may be used to trigger execution of the target task. Specifically, the target task may be set in combination with the actual application requirement. Optionally, the target task execution information may be a target task execution control. Specifically, the target task execution information and the extraction result information may be returned to the terminal through an application program interface.
In step S209, the terminal presents the target task execution information and the extraction result information on the target page.
In a specific embodiment, the target task execution information and the extraction result information may be presented in a target page in a form of a popup window. Specifically, the extraction result information may include information such as the resource amount of the extracted first virtual resource.
In a specific embodiment, it is assumed that the target task is a sharing task, and in the live broadcast service, the sharing task may be a sharing live broadcast room, as shown in fig. 5, where fig. 5 is a schematic diagram illustrating a target page with target task execution information and extraction result information according to an exemplary embodiment. The target task execution information in fig. 5 may be a target task execution control, where the control 501 may be the target task execution control.
In an alternative embodiment, the execution of the target task (share live room) may be triggered by clicking a trigger operation such as a target task execution control.
In step S211, the terminal sends a second resource acquisition request to the second server when it is monitored that the target task is completed based on the target task execution information.
In a specific embodiment, after triggering the execution of the target task based on the target task execution information, the terminal may monitor completion information of the target task, and send a second resource acquisition request to the second server when monitoring that the target task is completed. In a specific embodiment, the method may further include: responding to a task execution instruction triggered based on target task execution information, and monitoring task progress information of a shared task; and determining the completion condition information of the sharing task based on the task progress information.
In a specific embodiment, the preset interface may be implicitly invoked, and the second resource acquisition request is sent to the second server based on the preset interface.
In the above embodiment, the second server sends the second resource acquisition request by implicitly calling the preset interface, so that the automatic extraction of the second virtual resource can be realized.
In step S213, the second server extracts the second virtual resource.
In a particular embodiment, the second server extracting the second virtual resource may include the second server extracting one second virtual resource from a second number of second virtual resources. Specifically, the identification information of one second virtual resource may be extracted from a database storing attribute information of a second number of second virtual resources, and the extraction state in the attribute information may be modified.
In an optional embodiment, after the second server extracts the second virtual resource, the method may further include: the second server distributes the second virtual resource to the terminal.
In the above embodiment, after the first virtual resource is extracted, the first virtual resource is distributed in time, so that the resource distribution efficiency and accuracy can be effectively ensured.
In an optional embodiment, the distributing, by the second server, the first virtual resource to the terminal may include:
the second server sends a second success extraction message corresponding to the second virtual resource to the message queue;
and the first server distributes the second virtual resource to the terminal after monitoring the second successful extraction message.
In a specific embodiment, the first server may monitor the second successful extraction message by subscribing to the message in the message queue; correspondingly, after the second successful extraction message is monitored, the extracted second virtual resource can be distributed to the terminal.
In the embodiment, in the first virtual resource distribution process, the task of resource distribution is separated from the second server by combining the message queue, so that the system pressure of the second 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, in order to avoid a situation of resource miss due to a message queue failure, after the second server extracts the second virtual resource, the second successful extraction message may be backed up to a certain database, so that the first server may listen to the second successful extraction message from the database at regular time, so as to improve the accuracy of resource distribution.
In step S215, the second server transmits the extraction prompt information of the second virtual resource to the terminal.
In step S217, the terminal displays the extraction prompt information on the destination page.
In a specific embodiment, the extraction prompting information may be used to prompt the viewer corresponding to the terminal to extract the second virtual resource.
In a specific embodiment, the extraction prompt message may be displayed in the target page in the form of a popup window, and correspondingly, a corresponding close button may be provided to close the popup window. In another specific embodiment, the extraction prompt message may be displayed in the form of a bubble, and optionally, may be displayed for a certain time and then automatically turned off.
As can be seen from the technical solutions provided in the embodiments of the present specification, by splitting the virtual resources corresponding to multiple resource distribution activities from the same target virtual resource, unified resource budget control and resource distribution control can be performed on multiple resource distribution activities, so that the efficiency of resource distribution and the reusability of a resource distribution system are effectively improved.
In an alternative embodiment, the second server is taken as an execution subject, and a data processing method in the embodiment of the present disclosure is described, specifically, as shown in fig. 6, fig. 6 is a flowchart illustrating a data processing method according to an exemplary embodiment. The method may comprise the steps of:
in step S601, a first resource obtaining request sent by the terminal in response to a resource getting instruction triggered based on the resource getting information in the target page is received.
In step S603, a first virtual resource is extracted.
In step S605, when the second virtual resource corresponding to the first virtual resource exists and the target object corresponding to the target page meets the preset condition, sending the extraction result information of the first virtual resource and the target task execution information to the terminal; so that the terminal displays target task execution information and extraction result information on a target page; the first virtual resource and the second virtual resource are derived from the same target virtual resource;
in step S607, the receiving terminal receives the second resource acquisition request sent when it is monitored that the target task is completed based on the target task execution information.
In step S609, the second virtual resource is extracted.
In step S611, the extraction prompt information of the second virtual resource is sent to the terminal, so that the terminal displays the extraction prompt information on the target page.
Optionally, the method further includes:
responding to a target instruction corresponding to the target page, and generating a target virtual resource;
splitting a target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources includes:
acquiring historical live broadcast information of a target anchor corresponding to a terminal;
determining a first quantity and a second quantity according to historical live broadcast information;
splitting the target virtual resources based on the first quantity and the second quantity to obtain a first virtual resource with a first quantity and a second virtual resource with a second quantity.
Optionally, after extracting the first virtual resource, the method further includes:
the first virtual resource is distributed to the terminal.
Optionally, the distributing the first virtual resource to the terminal includes:
and sending a first successful extraction message corresponding to the first virtual resource to the message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
Optionally, after extracting the second virtual resource, the method further includes:
and distributing the second virtual resource to the terminal.
Optionally, the distributing the first virtual resource to the terminal includes:
and sending a second success extraction message corresponding to the second virtual resource to the message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second success extraction message.
Optionally, the preset condition represents the information of obtaining the second virtual resource of the target object corresponding to the target page within a preset time period.
With regard to the method in the above-described embodiment, the specific manner in which each operation is performed has been described in detail in the embodiment of the interactive side method related to the method, and will not be described in detail here.
In an alternative embodiment, the terminal is used as an execution subject to describe a data processing method in the embodiment of the present disclosure, and specifically, as shown in fig. 7, fig. 7 is a flowchart illustrating a data processing method according to an exemplary embodiment. The method may comprise the steps of:
in step S701, a target page including resource pickup information is displayed;
in step S703, in response to a resource getting instruction triggered based on the resource getting information, sending a first resource obtaining request to the second server, so that the second server extracts the first virtual resource;
in step S705, receiving extraction result information and target task execution information of the first virtual resource, which are sent by the second server when the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; the first virtual resource and the second virtual resource are derived from the same target virtual resource;
in step S707, the target task execution information and the extraction result information are displayed on the target page;
in step S709, when it is monitored that the target task is completed based on the target task execution information, a second resource acquisition request is sent to the second server, so that the second server extracts a second virtual resource;
in step S711, receiving an extraction prompt message of the second virtual resource sent by the second server;
in step S713, the extraction prompt information is presented on the destination page.
Optionally, sending the second resource obtaining request to the second server includes:
implicitly calling a preset interface;
and sending a second resource acquisition request to the second server based on the preset interface.
Optionally, the target task includes a sharing task, and after the target page shows the target task execution information and the extraction result information, the method further includes:
responding to a task execution instruction triggered based on target task execution information, and monitoring task progress information of a shared task;
and determining the completion condition information of the shared task based on the task progress information.
With regard to the method in the above-described embodiment, the specific manner in which each operation is performed has been described in detail in the embodiment of the interactive side method related to the method, and will not be described in detail here.
In an optional embodiment, an embodiment of the present disclosure further provides a data processing system, including: a terminal and a second server;
a terminal configured to perform displaying a target page including resource pickup information; and configured to execute sending a first resource acquisition request to the second server in response to a resource pickup instruction triggered based on the resource pickup information; and is configured to perform displaying the target task execution information and the extraction result information on the target page; and configured to send a second resource acquisition request to the second server upon monitoring completion of the target task based on the target task execution information; and is configured to perform the presentation of the extraction prompt information on the target page;
the second server is configured to extract the first virtual resource, and send extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the corresponding second virtual resource exists in the first virtual resource and a target object corresponding to a target page meets a preset condition; and configured to perform extraction of the second virtual resource, and send extraction prompt information of the second virtual resource to the terminal;
the first virtual resource and the second virtual resource are derived from the same target virtual resource.
Optionally, the system further includes: a third server and a fourth server;
the third server is configured to execute a target instruction corresponding to the target page, generate a target virtual resource and send the target virtual resource to the fourth server;
a fourth server configured to perform a split of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, after extracting the first virtual resource, the second server is further configured to perform distribution of the first virtual resource to the terminal.
Optionally, the system further includes a message queue and a first server;
the second server is also configured to execute sending of a first successful extraction message corresponding to the first virtual resource to the message queue;
the first server is further configured to perform the distribution of the first virtual resource to the terminal upon monitoring the first successful extraction message.
Optionally, after extracting the second virtual resource, the second server is further configured to perform distribution of the second virtual resource to the terminal.
Optionally, the system further includes a message queue and a first server;
the second server is also configured to execute sending a second successful extraction message corresponding to the second virtual resource to the message queue;
the first server is further configured to perform the distribution of the second virtual resource to the terminal upon monitoring the second successful extraction message.
Optionally, the target task includes a sharing task, and after the target page displays target task execution information and extracts result information, the terminal is further configured to execute a task execution instruction triggered based on the target task execution information, and monitor task progress information of the sharing task; and is configured to perform determining completion information for the shared task based on the task progress information.
With regard to the system in the above-described embodiment, the specific manner in which each device (terminal, server) performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating a data processing apparatus according to an example embodiment. Referring to fig. 8, the apparatus includes:
a first resource obtaining request receiving module 810, which may be configured to execute a first 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 first virtual resource extraction module 820 configured to perform extraction of a first virtual resource;
the information sending module 830 is configured to send, to the terminal, extraction result information of the first virtual resource and target task execution information when the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; so that the terminal displays target task execution information and extraction result information on a target page; the first virtual resource and the second virtual resource are derived from the same target virtual resource;
a second resource acquisition request module 840 configured to execute a second resource acquisition request sent by the receiving terminal when it is monitored that the target task is completed based on the target task execution information;
a second virtual resource extraction module 850 configured to perform extraction of the second virtual resource;
and the extraction prompt information sending module 860 is configured to execute sending of the extraction prompt information of the second virtual resource to the terminal, so that the terminal displays the extraction prompt information on the target page.
Optionally, the apparatus further comprises:
a target virtual resource generation module configured to execute a target instruction corresponding to a target page and generate a target virtual resource;
a virtual resource splitting module configured to perform splitting of a target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
Optionally, the virtual resource splitting module includes:
the historical live broadcast information acquisition unit is configured to acquire the historical live broadcast information of the target anchor corresponding to the terminal;
a quantity determination unit configured to perform determining a first quantity and a second quantity from the historical live information;
the resource splitting unit is configured to split the target virtual resource based on the first quantity and the second quantity to obtain a first virtual resource with the first quantity and a second virtual resource with the second quantity.
Optionally, the apparatus further comprises:
and the first virtual resource distribution module is configured to distribute the first virtual resource to the terminal after the first virtual resource is extracted.
Optionally, the first virtual resource distribution module includes:
the first successful extraction message sending unit is configured to send a first successful extraction message corresponding to the first virtual resource to the message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
Optionally, the apparatus further comprises:
and the second virtual resource distribution module is configured to distribute the second virtual resource to the terminal after the second virtual resource is extracted.
Optionally, the distributing the first virtual resource to the terminal includes:
and the second success extraction message sending unit is configured to execute sending of a second success extraction message corresponding to the second virtual resource to the message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second success extraction message.
Optionally, the preset condition represents the information of obtaining the second virtual resource of the target object corresponding to the target page within a preset time period.
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 another data processing apparatus according to an example embodiment. Referring to fig. 9, the apparatus includes:
a target page display module 910 configured to perform displaying a target page including resource pickup information;
a first resource obtaining request sending module 920, configured to execute a resource obtaining instruction triggered based on the resource obtaining information, and send a first resource obtaining request to the second server, so that the second server extracts the first virtual resource;
an information receiving module 930 configured to perform receiving of extraction result information and target task execution information of the first virtual resource, which are sent by the second server when the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; the first virtual resource and the second virtual resource are derived from the same target virtual resource;
an information presentation module 940 configured to perform presentation of the target task execution information and the extraction result information on the target page;
a second resource obtaining request sending module 950 configured to send a second resource obtaining request to the second server to enable the second server to extract a second virtual resource, in a case that it is monitored that the target task is completed based on the target task execution information;
an extraction prompt information receiving module 960 configured to perform receiving of extraction prompt information of the second virtual resource sent by the second server;
and an extraction prompt information presentation module 970 configured to perform presentation of the extraction prompt information on the target page.
Optionally, the second resource obtaining request sending module 950 includes:
the preset interface calling unit is configured to execute implicit calling of a preset interface;
and the second resource acquisition request sending unit is configured to execute sending of a second resource acquisition request to the second server based on the preset interface.
Optionally, the target task includes a sharing task, and the apparatus further includes:
the task progress information monitoring module is configured to monitor task progress information of the shared task in response to a task execution instruction triggered based on the target task execution information after the target task execution information and the extraction result information are displayed on the target page;
and the completion information determining module is configured to determine the completion information of the shared task based on the task progress information.
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. 10 is a block diagram illustrating an electronic device for data processing, which may be a terminal, according to an exemplary embodiment, and an internal structure thereof may be as shown in fig. 10. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through 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 data processing method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Fig. 11 is a block diagram illustrating an electronic device for data processing, which may be a server, according to an example embodiment, and an internal structure thereof may be as shown in fig. 11. 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 data processing method.
It will be understood by those skilled in the art that the configurations shown in fig. 10 or 11 are only block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the electronic device to which the present disclosure is applied, and a particular electronic device may include more or less components than those shown in the figures, 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 data processing 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 data processing method in an embodiment 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 data processing 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 data processing method, comprising:
receiving a first resource acquisition request sent by a terminal in response to a resource getting instruction triggered based on resource getting information in a target page;
extracting a first virtual resource, and sending extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; enabling the terminal to display the target task execution information and the extraction result information on the target page; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
receiving a second resource acquisition request sent by the terminal under the condition that the terminal monitors that the target task is completed based on the target task execution information;
and extracting the second virtual resource, and sending extraction prompt information of the second virtual resource to the terminal so that the terminal displays the extraction prompt information on the target page.
2. The data processing method of claim 1, wherein the method further comprises:
responding to a target instruction corresponding to the target page, and generating a target virtual resource;
splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
wherein the first number is greater than or equal to the second number.
3. The data processing method of claim 2, wherein the splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources comprises:
acquiring historical live broadcast information of a target anchor corresponding to the terminal;
determining the first quantity and the second quantity according to the historical live broadcast information;
splitting the target virtual resource based on the first quantity and the second quantity to obtain a first virtual resource of the first quantity and a second virtual resource of the second quantity.
4. A data processing method, comprising:
displaying a target page including resource pickup information;
responding to a resource getting instruction triggered based on the resource getting information, and sending a first resource obtaining request to a second server so that the second server extracts a first virtual resource;
receiving extraction result information and target task execution information of the first virtual resource, which are sent by the second server under the condition that the first virtual resource has the corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
displaying the target task execution information and the extraction result information on the target page;
sending a second resource acquisition request to the second server under the condition that the target task execution information is monitored to be completed based on the target task execution information, so that the second server extracts a second virtual resource;
receiving extraction prompt information of the second virtual resource sent by the second server;
and displaying the extraction prompt information on the target page.
5. A data processing system, comprising: a terminal and a second server;
the terminal is configured to display a target page including resource extraction information; and configured to execute sending a first resource acquisition request to the second server in response to a resource pickup instruction triggered based on the resource pickup information; and is configured to perform displaying target task execution information and extraction result information on the target page; and configured to send a second resource acquisition request to the second server in a case where completion of the target task based on the target task execution information is monitored; and configured to perform presentation of the extraction prompt in the destination page;
the second server is configured to extract a first virtual resource, and send extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; and configured to perform extraction of the second virtual resource, and send extraction prompt information of the second virtual resource to the terminal;
wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource.
6. A data processing apparatus, comprising:
the first resource acquisition request receiving module is configured to execute a first 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 first virtual resource extraction module configured to perform extraction of a first virtual resource;
the information sending module is configured to send extraction result information and target task execution information of the first virtual resource to the terminal under the condition that the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; enabling the terminal to display the target task execution information and the extraction result information on the target page; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
the second resource acquisition request module is configured to execute a second resource acquisition request sent by the terminal under the condition that the terminal monitors that the target task is completed based on the target task execution information;
a second virtual resource extraction module configured to perform extraction of the second virtual resource;
and the extraction prompt information sending module is configured to execute sending of the extraction prompt information of the second virtual resource to the terminal, so that the terminal displays the extraction prompt information on the target page.
7. A data processing apparatus, comprising:
a target page display module configured to perform displaying a target page including resource pickup information;
a first resource obtaining request sending module configured to execute a resource getting instruction triggered based on the resource getting information, and send a first resource obtaining request to a second server so as to enable the second server to extract a first virtual resource;
the information receiving module is configured to execute and receive extraction result information and target task execution information of the first virtual resource, which are sent by the second server when the first virtual resource has a corresponding second virtual resource and a target object corresponding to the target page meets a preset condition; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
the information display module is configured to display the target task execution information and the extraction result information on the target page;
a second resource acquisition request sending module configured to send a second resource acquisition request to the second server to enable the second server to extract a second virtual resource when it is monitored that the target task is completed based on the target task execution information;
an extraction prompt message receiving module configured to perform receiving of extraction prompt messages of the second virtual resource sent by the second server;
and the extraction prompt information display module is configured to display the extraction prompt information on the target page.
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 data processing method of any one of claims 1 to 4.
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 data processing method of any of claims 1 to 4.
10. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the data processing method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110158117.2A CN113051458A (en) | 2021-02-04 | 2021-02-04 | Data processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110158117.2A CN113051458A (en) | 2021-02-04 | 2021-02-04 | Data processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113051458A true CN113051458A (en) | 2021-06-29 |
Family
ID=76508900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110158117.2A Pending CN113051458A (en) | 2021-02-04 | 2021-02-04 | Data processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113051458A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114710774A (en) * | 2022-03-04 | 2022-07-05 | 阿里云计算有限公司 | Resource management method, device and storage medium |
CN115474068A (en) * | 2022-08-05 | 2022-12-13 | 北京达佳互联信息技术有限公司 | Virtual resource processing method and device, electronic equipment and storage medium |
CN116028731A (en) * | 2023-03-29 | 2023-04-28 | 深圳市思为软件技术有限公司 | Display method of target event completion degree and related products |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599263A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | User interaction data processing method and device, storage medium and computer equipment |
CN110708565A (en) * | 2019-10-22 | 2020-01-17 | 广州虎牙科技有限公司 | Live broadcast interaction method and device, server and machine-readable storage medium |
US20200029112A1 (en) * | 2018-07-20 | 2020-01-23 | Beijing Youku Technology Co., Ltd. | Request Identification Method and Apparatus |
CN110780977A (en) * | 2019-10-25 | 2020-02-11 | 杭州安恒信息技术股份有限公司 | Task issuing method, device and system based on cloud computing and readable storage medium |
CN111078404A (en) * | 2019-12-09 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Computing resource determination method and device, electronic equipment and medium |
CN112035246A (en) * | 2020-08-07 | 2020-12-04 | 北京达佳互联信息技术有限公司 | Method, device and system for acquiring virtual resources, electronic equipment and storage medium |
CN112256424A (en) * | 2020-09-22 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device and system, electronic equipment and storage medium |
CN112291632A (en) * | 2020-11-04 | 2021-01-29 | 腾讯科技(深圳)有限公司 | Live broadcast interaction method and device, electronic equipment and computer readable storage medium |
CN112274930A (en) * | 2020-11-17 | 2021-01-29 | 拉扎斯网络科技(上海)有限公司 | Resource processing method and device |
-
2021
- 2021-02-04 CN CN202110158117.2A patent/CN113051458A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200029112A1 (en) * | 2018-07-20 | 2020-01-23 | Beijing Youku Technology Co., Ltd. | Request Identification Method and Apparatus |
CN110599263A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | User interaction data processing method and device, storage medium and computer equipment |
CN110708565A (en) * | 2019-10-22 | 2020-01-17 | 广州虎牙科技有限公司 | Live broadcast interaction method and device, server and machine-readable storage medium |
CN110780977A (en) * | 2019-10-25 | 2020-02-11 | 杭州安恒信息技术股份有限公司 | Task issuing method, device and system based on cloud computing and readable storage medium |
CN111078404A (en) * | 2019-12-09 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Computing resource determination method and device, electronic equipment and medium |
CN112035246A (en) * | 2020-08-07 | 2020-12-04 | 北京达佳互联信息技术有限公司 | Method, device and system for acquiring virtual resources, electronic equipment and storage medium |
CN112256424A (en) * | 2020-09-22 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device and system, electronic equipment and storage medium |
CN112291632A (en) * | 2020-11-04 | 2021-01-29 | 腾讯科技(深圳)有限公司 | Live broadcast interaction method and device, electronic equipment and computer readable storage medium |
CN112274930A (en) * | 2020-11-17 | 2021-01-29 | 拉扎斯网络科技(上海)有限公司 | Resource processing method and device |
Non-Patent Citations (1)
Title |
---|
姜文浩: "当前我国网络游戏直播平台用户互动探究", 信息科技 社会科学Ⅱ辑, no. 01, 15 January 2020 (2020-01-15), pages 51 - 55 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114710774A (en) * | 2022-03-04 | 2022-07-05 | 阿里云计算有限公司 | Resource management method, device and storage medium |
CN115474068A (en) * | 2022-08-05 | 2022-12-13 | 北京达佳互联信息技术有限公司 | Virtual resource processing method and device, electronic equipment and storage medium |
CN115474068B (en) * | 2022-08-05 | 2023-12-12 | 北京达佳互联信息技术有限公司 | Virtual resource processing method, device, electronic equipment and storage medium |
CN116028731A (en) * | 2023-03-29 | 2023-04-28 | 深圳市思为软件技术有限公司 | Display method of target event completion degree and related products |
CN116028731B (en) * | 2023-03-29 | 2023-06-20 | 深圳市思为软件技术有限公司 | Display method of target event completion degree and related products |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113051458A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112817494B (en) | Data processing method and device, electronic equipment and storage medium | |
CN113238823A (en) | Information display method and device, electronic equipment and storage medium | |
WO2022252513A1 (en) | Target display method and apparatus | |
CN113329231A (en) | Resource distribution method, device, system, electronic equipment and storage medium | |
CN114938458B (en) | Object information display method and device, electronic equipment and storage medium | |
CN113127166B (en) | Multi-service processing method, device, system, electronic equipment and storage medium | |
CN113329232B (en) | Resource distribution method and device, electronic equipment and storage medium | |
CN113805991A (en) | Object prompting method and device, electronic equipment and storage medium | |
CN113315981B (en) | Task data updating method, device and system, electronic equipment and storage medium | |
CN114461897A (en) | Information processing method, device, electronic equipment and storage medium | |
CN113610558A (en) | Resource distribution method and device, electronic equipment and storage medium | |
CN113469735B (en) | Resource processing method and device, electronic equipment and storage medium | |
CN114661392B (en) | Information display method, information processing device, information display equipment and storage medium | |
CN113672829B (en) | Page display method and device, electronic equipment and storage medium | |
CN115361589A (en) | Page display 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 | |
CN114461896A (en) | Information processing method, information display method, information processing device and information display device, and storage medium | |
CN114217919A (en) | Task processing method and device, electronic equipment and storage medium | |
CN113420236A (en) | List data display method and device, electronic equipment and storage medium | |
CN114401413B (en) | Interactive prompt method and device for virtual space, electronic equipment and storage medium | |
CN114924782B (en) | Service update processing method and device, electronic equipment and storage medium | |
CN113645064B (en) | Task issuing method and device, electronic equipment and storage medium | |
CN114896489A (en) | Object recommendation information generation method, object recommendation information display method, object recommendation information generation device, object recommendation information display device, electronic equipment and 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 |