Data processing method, device, electronic device and storage medium
By splitting the target virtual resources into multiple virtual resources and distributing them in a unified manner, the problems of poor reusability and low efficiency of the resource distribution system are solved, efficient and unified control of resource distribution is achieved, and system reusability and efficiency are improved.
Patent Information
- Application Number
- CN202110158117.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-04
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-02-04
AI Technical Summary
The existing resource distribution system has poor reusability and low efficiency in the case of multiple resource distribution activities, resulting in low resource distribution efficiency.
By splitting the target virtual resources into multiple virtual resources and distributing them separately when preset conditions are met, a unified resource budget and control of multiple resource distribution activities is achieved, and the reusability and efficiency of the resource distribution system are improved.
It realizes unified resource budget and control over multiple resource distribution activities, improves the efficiency of resource distribution and system reusability, and improves the fluency of information browsing process and the speed and reliability of resource distribution.
Smart Images

Figure CN113051458B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a data processing method, device, electronic device and storage medium. Background Art
[0002] In some Internet platforms, some resource distribution activities are often held to increase the number of visits within the platform. In some scenarios, when users browse related pages, if the preset trigger conditions corresponding to the resource distribution activities are met, a certain amount of virtual resources will be distributed to users; however, in order to enrich resource distribution activities and better increase the number of visits within the platform, multiple resource distribution activities with different trigger conditions are often set; in the related art, in the case of multiple resource distribution activities, it is often necessary to separately control the budget and resource distribution of multiple resource distribution activities, resulting in poor reusability of the resource distribution system and low resource distribution efficiency. Summary of the invention
[0003] The present disclosure provides a data processing method, device, electronic device and storage medium to at least solve the problems of poor reusability and low resource distribution efficiency of resource distribution systems in related technologies. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0005] A first resource acquisition request sent by a receiving terminal in response to a resource acquisition instruction triggered based on resource acquisition information in a target page;
[0006] Extracting a first virtual resource, and sending the extraction result information and target task execution information of the first virtual resource to the terminal if there is a corresponding second virtual resource for the first virtual resource and the target object corresponding to the target page meets a preset condition; so that the terminal displays 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;
[0007] receiving a second resource acquisition request sent by the terminal when monitoring that the target task is completed based on the target task execution information;
[0008] The second virtual resource is extracted, and 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.
[0009] Optionally, the method further includes:
[0010] generating a target virtual resource in response to a target instruction corresponding to the target page;
[0011] Splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0012] The first number is greater than or equal to the second number.
[0013] Optionally, splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources includes:
[0014] Obtaining historical live broadcast information of the target anchor corresponding to the terminal;
[0015] Determine the first quantity and the second quantity according to the historical live broadcast information;
[0016] The target virtual resource is split based on the first number and the second number to obtain the first number of first virtual resources and the second number of second virtual resources.
[0017] Optionally, after extracting the first virtual resource, the method further includes:
[0018] The first virtual resource is distributed to the terminal.
[0019] Optionally, distributing the first virtual resource to the terminal includes:
[0020] A first successful extraction message corresponding to the first virtual resource is sent to a message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
[0021] Optionally, after extracting the second virtual resource, the method further includes:
[0022] The second virtual resource is distributed to the terminal.
[0023] Optionally, distributing the first virtual resource to the terminal includes:
[0024] A second successful extraction message corresponding to the second virtual resource is sent to a message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second successful extraction message.
[0025] Optionally, the preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
[0026] According to a second aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0027] Display the target page including resource collection information;
[0028] In response to a resource collection instruction triggered based on the resource collection information, sending a first resource acquisition request to a second server so that the second server extracts a first virtual resource;
[0029] receiving the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
[0030] Displaying the target task execution information and the extraction result information on the target page;
[0031] When it is detected that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server so that the second server extracts the second virtual resource;
[0032] receiving extraction prompt information of the second virtual resource sent by the second server;
[0033] The extraction prompt information is displayed on the target page.
[0034] Optionally, sending the second resource acquisition request to the second server includes:
[0035] Implicitly call the preset interface;
[0036] A second resource acquisition request is sent to the second server based on the preset interface.
[0037] Optionally, the target task includes a sharing task, and after displaying the target task execution information and the extraction result information on the target page, the method further includes:
[0038] In response to a task execution instruction triggered based on the target task execution information, monitoring task progress information of the sharing task;
[0039] The completion status information of the sharing task is determined based on the task progress information.
[0040] According to a third aspect of an embodiment of the present disclosure, there is provided a data processing system, including: a terminal and a second server;
[0041] The terminal is configured to execute and display a target page including resource collection information; and is configured to execute, in response to a resource collection instruction triggered based on the resource collection information, sending a first resource acquisition request to the second server; and is configured to execute displaying the target task execution information and extraction result information on the target page; and is configured to execute, in the case of monitoring that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server; and is configured to execute displaying the extraction prompt information on the target page;
[0042] The second server is configured to extract the first virtual resource, and when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions, send the extraction result information and target task execution information of the first virtual resource to the terminal; and is configured to extract the second virtual resource and send the extraction prompt information of the second virtual resource to the terminal;
[0043] The first virtual resource and the second virtual resource are derived from the same target virtual resource.
[0044] Optionally, the system further includes: a third server and a fourth server;
[0045] 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;
[0046] The fourth server is configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0047] The first number is greater than or equal to the second number.
[0048] Optionally, after extracting the first virtual resource, the second server is further configured to distribute the first virtual resource to the terminal.
[0049] Optionally, the system further includes a message queue and a first server;
[0050] The second server is further configured to execute sending a first successful extraction message corresponding to the first virtual resource to the message queue;
[0051] The first server is further configured to distribute the first virtual resource to the terminal after detecting the first successful extraction message.
[0052] Optionally, after extracting the second virtual resource, the second server is further configured to distribute the second virtual resource to the terminal.
[0053] Optionally, the system further includes a message queue and a first server;
[0054] The second server is further configured to execute sending a second successful extraction message corresponding to the second virtual resource to the message queue;
[0055] The first server is further configured to distribute the second virtual resource to the terminal after detecting the second successful extraction message.
[0056] Optionally, the target task includes a sharing task, and after the target task execution information and the extraction result information are displayed on the target page, the terminal is also configured to execute a task execution instruction in response to being triggered based on the target task execution information, monitor the task progress information of the sharing task; and is configured to determine the completion status information of the sharing task based on the task progress information.
[0057] According to a fourth aspect of an embodiment of the present disclosure, there is provided a data processing device, including:
[0058] A 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 collection instruction triggered based on resource collection information in a target page;
[0059] A first virtual resource extraction module is configured to execute extraction of a first virtual resource;
[0060] The information sending module is configured to send the extraction result information and target task execution information of the first virtual resource to the terminal when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; so that the terminal displays 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;
[0061] A second resource acquisition request module is configured to execute and receive a second resource acquisition request sent by the terminal when monitoring that the target task is completed based on the target task execution information;
[0062] A second virtual resource extraction module is configured to extract the second virtual resource;
[0063] The extraction prompt information sending module is configured to execute sending 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.
[0064] Optionally, the device further comprises:
[0065] A target virtual resource generation module is configured to execute a target instruction corresponding to the target page to generate a target virtual resource;
[0066] A virtual resource splitting module, configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0067] The first number is greater than or equal to the second number.
[0068] Optionally, the virtual resource splitting module includes:
[0069] A historical live broadcast information acquisition unit, configured to acquire historical live broadcast information of a target anchor corresponding to the terminal;
[0070] a quantity determination unit, configured to determine the first quantity and the second quantity according to the historical live broadcast information;
[0071] The resource splitting unit is configured to split the target virtual resource based on the first quantity and the second quantity to obtain the first quantity of first virtual resources and the second quantity of second virtual resources.
[0072] Optionally, the device further comprises:
[0073] The first virtual resource distribution module is configured to distribute the first virtual resource to the terminal after extracting the first virtual resource.
[0074] Optionally, the first virtual resource distribution module includes:
[0075] 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.
[0076] Optionally, the device further comprises:
[0077] The second virtual resource distribution module is configured to distribute the second virtual resource to the terminal after extracting the second virtual resource.
[0078] Optionally, distributing the first virtual resource to the terminal includes:
[0079] The second successful extraction message sending unit is configured to send a second successful 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 successful extraction message.
[0080] Optionally, the preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
[0081] According to a fifth aspect of an embodiment of the present disclosure, there is provided a data processing device, including:
[0082] A target page display module, configured to execute and display a target page including resource collection information;
[0083] A first resource acquisition request sending module is configured to execute a resource acquisition instruction in response to being triggered based on the resource acquisition information, and send a first resource acquisition request to the second server so that the second server extracts the first virtual resource;
[0084] The information receiving module is configured to receive the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
[0085] An information display module is configured to display the target task execution information and the extraction result information on the target page;
[0086] A second resource acquisition request sending module is configured to execute, when monitoring that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server so that the second server extracts the second virtual resource;
[0087] an extraction prompt information receiving module, configured to receive extraction prompt information of the second virtual resource sent by the second server;
[0088] The extraction prompt information display module is configured to display the extraction prompt information on the target page.
[0089] Optionally, the second resource acquisition request sending module includes:
[0090] A preset interface calling unit, configured to perform implicit calling of a preset interface;
[0091] The second resource acquisition request sending unit is configured to send a second resource acquisition request to the second server based on the preset interface.
[0092] Optionally, the target task includes a sharing task, and the device further includes:
[0093] A task progress information monitoring module is configured to monitor the task progress information of the sharing task in response to a task execution instruction triggered based on the target task execution information after displaying the target task execution information and the extraction result information on the target page;
[0094] The completion status information determination module is configured to determine the completion status information of the sharing task based on the task progress information.
[0095] According to the sixth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the first aspect or the second aspect above.
[0096] According to the seventh aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect or the second aspect of the embodiment of the present disclosure.
[0097] According to an eighth aspect of an embodiment of the present disclosure, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect or the second aspect of the embodiment of the present disclosure.
[0098] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0099] By splitting the virtual resources corresponding to multiple resource distribution activities from the same target virtual resources, unified resource budget control and resource distribution control can be achieved for multiple resource distribution activities, effectively improving the efficiency of resource distribution and the reusability of the resource distribution system.
[0100] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0101] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0102] Figure 1is a schematic diagram of an application environment according to an exemplary embodiment;
[0103] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment;
[0104] Figure 3 is a schematic diagram showing a target page including resource collection information according to an exemplary embodiment;
[0105] Figure 4 is a flow chart of another data processing method according to an exemplary embodiment;
[0106] Figure 5 is a schematic diagram showing a target page displaying target task execution information and extraction result information according to an exemplary embodiment;
[0107] Figure 6 is a flow chart of another data processing method according to an exemplary embodiment;
[0108] Figure 7 is a flow chart of another data processing method according to an exemplary embodiment;
[0109] Figure 8 is a block diagram of a data processing device according to an exemplary embodiment;
[0110] Fig. 9 is a block diagram of another data processing device according to an exemplary embodiment;
[0111] Fig.10 is a block diagram of an electronic device for data processing according to an exemplary embodiment;
[0112] Fig.11 It is a block diagram of an electronic device for data processing according to an exemplary embodiment. DETAILED DESCRIPTION
[0113] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0114] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0115] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, 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 .
[0116] In a specific embodiment, the terminal 500 can be used to provide information browsing services to users. In a specific embodiment, the terminal 500 can be a viewer terminal in a live broadcast service. Accordingly, the terminal 500 can be used to provide services during the live broadcast process to the viewers in the live broadcast service. In a specific embodiment, the second server 200 can be a server corresponding to the terminal 500, and is used to provide background services for the terminal 500.
[0117] In actual applications, some live broadcast platforms often divert traffic by distributing virtual resources to the audience. Accordingly, different resource distribution activities may correspond to different background services. The third server 300 may be a server corresponding to a certain resource distribution activity, used to provide background services for resource distribution. The fourth server 400 may be a resource management server, used to manage the target virtual resources corresponding to the resource distribution activity. The first server 100 may be a resource distribution server, used to distribute virtual resources.
[0118] In an optional embodiment, the above-mentioned servers (first server 100, second server 200, third server 300, fourth server 400 and terminal 500) can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0119] In an optional embodiment, the terminal 500 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android, IOS, Linux, Windows, etc.
[0120] In addition, it should be noted that Figure 1 What is shown is only one application environment provided by the present disclosure. In actual 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. Specifically, the service functions of the first server 100, the third server 300 and the fourth server 400 may be integrated into the second server 200.
[0121] In the embodiments of this specification, 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 via wired or wireless communication, which is not limited in this disclosure.
[0122] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment. Figure 2 As shown, the data processing method may include the following steps.
[0123] In step S201, the terminal displays a target page including resource collection information.
[0124] In a specific embodiment, the target page may be an information browsing page. In a specific embodiment, taking the live broadcast service as an example, the target page may be a live broadcast page of the audience. Specifically, the resource collection information may be used to trigger a collection instruction of the first virtual resource. In a specific embodiment, the resource collection information may be a resource collection control.
[0125] In a specific embodiment, taking the live broadcast business as an example, the corresponding tasks can be set in advance for a resource distribution activity in the live broadcast room in combination with actual application needs. When the task is completed, the resource collection information can be displayed on the corresponding live broadcast page so that users can participate in the corresponding resource distribution activity.
[0126] In an optional embodiment, the tasks set for the live broadcast room may include tasks set for the anchor (i.e., the information publisher) of the live broadcast room. In a specific embodiment, the preset task corresponding to the anchor end may be that the preset virtual items received by the anchor end reach a preset amount, which may be set in combination with actual application requirements.
[0127] In another optional embodiment, the tasks set for the live broadcast room may include tasks set for viewers of the live broadcast room. In a specific embodiment, the preset task corresponding to the viewer end may be when the viewing time of the viewer end reaches a preset time, which may be set in combination with actual application requirements.
[0128] In a specific embodiment, during the live broadcast process, if the preset task is completed, a target instruction can be triggered to trigger the display of resource collection information. Accordingly, the above-mentioned display of the target page including the resource collection information can include: displaying the target page in response to the live broadcast page loading instruction; and displaying the resource collection information on the target page in response to the target instruction.
[0129] In a specific embodiment, the resource collection information can be displayed in the target page in the form of a pop-up window, such as Figure 3 As shown, Figure 3 The diagram is a schematic diagram showing a target page including resource collection information according to an exemplary embodiment.
[0130] In an optional embodiment, the target instruction triggered by the completion of the preset task can also be used to trigger the background server to perform a preparation operation for the resource distribution activity. Accordingly, the above method can also include: a preparation operation for the resource distribution activity (an operation of creating virtual resources and splitting virtual resources). Specifically, the preparation operation for the resource distribution activity can include:
[0131] The second server generates a target virtual resource in response to a target instruction corresponding to the target page;
[0132] The second server splits the target virtual resource into a first number of first virtual resources and a second number of second virtual resources.
[0133] In a specific embodiment, the second server may be a server corresponding to the above-mentioned information browsing service.
[0134] In the above embodiment, when the task corresponding to the resource distribution activity is completed, the target virtual resources are created and split in advance, and by splitting the virtual resources corresponding to multiple resource distribution activities from one target virtual resource, it is convenient to perform unified resource budget control and subsequent resource distribution control on the multiple resource distribution activities, which can effectively improve the efficiency of subsequent resource distribution and the reusability of the resource distribution system.
[0135] In another optional embodiment, Figure 4 As shown, the preparation operations for the resource distribution activity may also include:
[0136] In step S219, the third server generates a target virtual resource in response to a target instruction corresponding to the target page.
[0137] In step S221, the third server sends the target virtual resource to the fourth server;
[0138] 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.
[0139] Specifically, the third server may be a server corresponding to the resource distribution activity. The fourth server may be the resource management server.
[0140] In the above embodiment, the creation and splitting of the target virtual resource are separated from the second server, which can effectively reduce the system pressure of the second server and improve the fluency of the information browsing process.
[0141] In a specific embodiment, a message queue can be set up on the second server side. When the preset task is completed, a message (i.e., the above-mentioned target instruction) that can represent the completion of the preset task is sent to the message queue. At the same time, the third server can respond to the target instruction in a timely manner by monitoring the message queue to generate the target virtual resources. Specifically, the target virtual resources can include but are not limited to virtual currency, electronic coupons, etc. with a preset amount of resources. In actual applications, each anchor can correspond to target virtual resources with different amounts of resources, which can be specifically set in combination with actual applications.
[0142] In the embodiments of this specification, the first virtual resource may be a virtual resource corresponding to a certain 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 virtual resources to the audience end when the first preset task is completed, and the virtual resource activity corresponding to the second virtual resource may be an activity of distributing virtual resources to the audience end when the second preset task is completed, wherein the first preset task and the second preset task are different tasks.
[0143] The first virtual resource and the second virtual resource may correspond to the same or different virtual resource types, for example, they may both 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.
[0144] In a specific embodiment, the first number is greater than or equal to the second number. Generally, the first number is greater than the second number.
[0145] In a specific embodiment, a resource splitting service may be provided on the fourth server side, and the resource splitting service may periodically scan whether the fourth server has unsplit target virtual resources. If it is scanned that the fourth server has unsplit target virtual resources, the above-mentioned step of splitting the target virtual resources into a first number of first virtual resources and a second number of second virtual resources may be performed. In a specific embodiment, splitting the target virtual resources into a first number of first virtual resources and a second number of second virtual resources may include: obtaining historical browsing information of the target information publisher corresponding to the terminal; determining the first number and the second number based on the historical browsing information; splitting the target virtual resources based on the first number and the second number to obtain a first number of first virtual resources and a second number of second virtual resources. Specifically, the historical browsing information may be information that can characterize the browsing status of the historical information published by the target information publisher.
[0146] In a specific embodiment, taking the live broadcast service as an example, the above-mentioned splitting of the target virtual resources into a first number of first virtual resources and a second number of second virtual resources may include: obtaining historical live broadcast information of the target anchor corresponding to the terminal; determining the first number and the second number based on the historical live broadcast information; splitting the target virtual resources based on the first number and the second number to obtain a first number of first virtual resources and a second number of second virtual resources.
[0147] In a specific embodiment, the target anchor may be the anchor of the live broadcast room corresponding to the terminal. Specifically, the historical live broadcast information may be information that can characterize the number of online viewers of the target anchor during the historical live broadcast. Optionally, it may be the number of online viewers during multiple historical live broadcasts of the target anchor. In an optional embodiment, the average number of online viewers during multiple live broadcasts of the target anchor may be calculated, and the average number of online viewers may be used as the first quantity. In another optional embodiment, the average number of online viewers per hour during multiple live broadcasts of the target anchor may be calculated. Accordingly, in combination with the live broadcast duration of the current live broadcast, the product of the live broadcast duration of the current live broadcast and the above-mentioned average number of online viewers per hour may be used as the first quantity.
[0148] In a specific embodiment, the second number may be any value less than or equal to the first number, for example, 10% of the first number. Specifically, the percentage of the second number relative to the first number may be set based on actual application requirements.
[0149] In a specific embodiment, after determining the number of first virtual resources (first number) and the number of second virtual resources (second number), if the first virtual resources and the second virtual resources correspond to the same virtual resource type and the resource amount of a single virtual resource is the same, the total number of target virtual resources (i.e., the above-mentioned preset resource amount) can be divided by the sum of the first number and the second number to obtain the resource amount of each first virtual resource and the second virtual resource, thereby splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources.
[0150] Optionally, the target virtual resource of the preset resource amount may be pre-divided into two parts: one part is used to be split into a first number of first virtual resources (assuming the target virtual resource of the first resource amount), and the other part is used to be split into a second number of second virtual resources (assuming the target virtual resource of the second resource amount). 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 can be set in combination with actual application requirements.
[0151] Specifically, the resource amounts of the single first virtual resources may be different or the same. If the resource amounts of the single first virtual resources are the same, the first resource amount may be divided by the first quantity to determine the resource amount of the single first virtual resource. If the resource amounts of the single first virtual resources are different, the target virtual resource of the first resource amount may be split into the first quantity of first virtual resources in combination with a preset algorithm.
[0152] Specifically, the resource amounts of the single second virtual resources may be different or the same. If the resource amounts of the single second virtual resources are the same, the second resource amount may be divided by the second number to determine the resource amount of the single second virtual resource. If the resource amounts of the single second virtual resources are different, the target virtual resource of the second resource amount may be split into the second number of second virtual resources in combination with a preset algorithm.
[0153] In a specific embodiment, after the target virtual resource is split into a first number of first virtual resources and a second number of second virtual resources, identification information of each first virtual resource and each second virtual resource, as well as attribute information of each first virtual resource and each second virtual resource can be generated. Specifically, the attribute information can include but is not limited to resource quantity, identification information, resource distribution activity type, and resource status information. Specifically, the resource status information can include but is not limited to creation status, extraction status (the virtual resource has been extracted but not yet distributed to the corresponding audience end), and distribution status (the virtual resource has been distributed to the corresponding audience end). Optionally, the attribute information can be stored in a database.
[0154] In addition, it should be noted that, in the case where one target page corresponds to more resource distribution activities, the target virtual resources can also be split into a certain number of virtual resources corresponding to each of the more resource distribution activities.
[0155] In the above embodiment, during the virtual resource splitting process, the number of virtual resources corresponding to different resource distribution activities is determined in combination with the historical live broadcast information of different anchors, which can improve the rationality of resource splitting and further improve the resource collection rate.
[0156] In step S203, in response to the resource collection instruction triggered based on the resource collection information, the terminal sends a first resource acquisition request to the second server.
[0157] In a specific embodiment, the resource collection instruction may be triggered by an active operation of the user, such as a triggering operation such as clicking on resource collection information.
[0158] In another specific embodiment, the resource collection instruction may be triggered automatically, for example, by setting a timed task to automatically trigger the resource collection instruction after a preset time after the resource collection information is displayed.
[0159] In step S205 , the second server extracts the first virtual resource.
[0160] In a specific embodiment, the second server extracting the first virtual resource may include the second server extracting a first virtual resource from a first number of first virtual resources. Specifically, the identification information of a first virtual resource may be extracted from a database storing the attribute information of the first number of first virtual resources, and the extraction state in the attribute information may be modified.
[0161] 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.
[0162] In the above embodiment, after the first virtual resource is extracted, the first virtual resource is distributed in a timely manner, which can effectively ensure the efficiency and accuracy of resource distribution.
[0163] In an optional embodiment, distributing the first virtual resource to the terminal may include:
[0164] The second server sends a first successful extraction message corresponding to the first virtual resource to the message queue;
[0165] After monitoring the first successful extraction message, the first server distributes the first virtual resource to the terminal.
[0166] In a specific embodiment, the first server may be the resource distribution server mentioned above. Specifically, the first server may monitor the first successful extraction message by subscribing to messages in a message queue; accordingly, after monitoring the first successful extraction message, the first virtual resource extracted may be distributed to the terminal.
[0167] In the above embodiment, during the first virtual resource distribution process, the resource distribution task is separated from the second server by combining with the message queue, which can effectively reduce the system pressure of the second server, improve the fluency of the information browsing process, and improve the speed and reliability of resource distribution.
[0168] In an optional embodiment, in order to avoid message queue failure and resource omission, after the second server extracts the first virtual resource, the first successful extraction message can be backed up to a database so that the first server can regularly monitor the first successful extraction message from the database to improve the accuracy of resource distribution.
[0169] In step S207, when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions, the second server sends the extraction result information of the first virtual resource and the target task execution information to the terminal.
[0170] 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 first virtual resource may be a second virtual resource that is derived from 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. In a specific embodiment, the preset condition represents the collection information of the second virtual resource by the target object corresponding to the target page within a preset time period. Optionally, the target object corresponding to the target page meets the preset condition and may include: the audience corresponding to the target page participates in the collection of the second virtual resource for the first time within the preset time period. Specifically, the preset time period may be set in combination with actual applications, for example, it may be from 0:00 to 24:00 every day.
[0171] In a specific embodiment, when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions, the second server sends the extraction result information and the target task execution information to the terminal. Specifically, the target task execution information can be used to trigger the execution of the target task. Specifically, the target task can be set in combination with actual application requirements. Optionally, the target task execution information can be a target task execution control. Specifically, the target task execution information and the extraction result information can be returned to the terminal together through an application program interface.
[0172] In step S209, the terminal displays the target task execution information and the extraction result information on the target page.
[0173] In a specific embodiment, the target task execution information and the extraction result information may be displayed in the target page in the form of a pop-up window. Specifically, the extraction result information may include information such as the resource amount of the extracted first virtual resource.
[0174] In a specific embodiment, assuming that the target task is a sharing task, and in the live broadcast service, the sharing task can be a sharing live broadcast room, such as Figure 5 As shown, Figure 5 The diagram is a schematic diagram showing a target page displaying target task execution information and extraction result information according to an exemplary embodiment. Figure 5 The target task execution information may be a target task execution control, wherein the control 501 may be a target task execution control.
[0175] In an optional embodiment, the execution of the target task (sharing the live broadcast room) can be triggered by a trigger operation such as clicking a target task execution control.
[0176] In step S211, when it is detected that the target task is completed based on the target task execution information, the terminal sends a second resource acquisition request to the second server.
[0177] In a specific embodiment, after the execution of the target task is triggered based on the target task execution information, the terminal can monitor the completion status information of the target task, and when the target task is detected to be completed, the terminal sends a second resource acquisition request to the second server. In a specific embodiment, the above method may also include: in response to the task execution instruction triggered based on the target task execution information, monitoring the task progress information of the shared task; and determining the completion status information of the shared task based on the task progress information.
[0178] In a specific embodiment, a preset interface may be implicitly called, and a second resource acquisition request may be sent to the second server based on the preset interface.
[0179] In the above embodiment, the preset interface is implicitly called to send the second resource acquisition request to the second server, so that the second virtual resource can be automatically extracted.
[0180] In step S213, the second server extracts the second virtual resource.
[0181] In a specific embodiment, the second server extracting the second virtual resource may include the second server extracting a second virtual resource from a second number of second virtual resources. Specifically, the identification information of a second virtual resource may be extracted from a database storing the attribute information of the second number of second virtual resources, and the extraction state in the attribute information may be modified.
[0182] 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.
[0183] In the above embodiment, after the first virtual resource is extracted, the first virtual resource is distributed in a timely manner, which can effectively ensure the efficiency and accuracy of resource distribution.
[0184] In an optional embodiment, the second server distributing the first virtual resource to the terminal may include:
[0185] The second server sends a second successful extraction message corresponding to the second virtual resource to the message queue;
[0186] After monitoring the second successful extraction message, the first server distributes the second virtual resource to the terminal.
[0187] In a specific embodiment, the first server may monitor the second successful extraction message by subscribing to messages in a message queue; accordingly, after monitoring the second successful extraction message, the extracted second virtual resource may be distributed to the terminal.
[0188] In the above embodiment, during the first virtual resource distribution process, the resource distribution task is separated from the second server by combining with the message queue, which can effectively reduce the system pressure of the second server, improve the fluency of the information browsing process, and improve the speed and reliability of resource distribution.
[0189] In an optional embodiment, in order to avoid message queue failure and resource omission, after the second server extracts the second virtual resource, the second successful extraction message can be backed up to a database so that the first server can regularly monitor the second successful extraction message from the database to improve the accuracy of resource distribution.
[0190] In step S215, the second server sends extraction prompt information of the second virtual resource to the terminal.
[0191] In step S217, the terminal displays extraction prompt information on the target page.
[0192] In a specific embodiment, the extraction prompt information can be used to prompt the viewer corresponding to the terminal to extract the second virtual resource.
[0193] In a specific embodiment, the extraction prompt information can be displayed in the target page in the form of a pop-up window, and a corresponding close button can be set accordingly to close the pop-up window. In another specific embodiment, the extraction prompt information can also be displayed in the form of a bubble, and optionally, it can be automatically closed after being displayed for a certain period of time.
[0194] It can be seen from the technical solutions provided in the above embodiments of this specification that in the embodiments of this specification, by splitting the virtual resources corresponding to multiple resource distribution activities from the same target virtual resources, unified resource budget control and resource distribution control can be achieved for multiple resource distribution activities, effectively improving the efficiency of resource distribution and the reusability of the resource distribution system.
[0195] In an optional embodiment, the second server is used as the execution subject to introduce a data processing method in the embodiment of the present disclosure. Specifically, Figure 6 As shown, Figure 6 is a flow chart of a data processing method according to an exemplary embodiment. The method may include the following steps:
[0196] In step S601, a first resource acquisition request is sent by a receiving terminal in response to a resource acquisition instruction triggered by resource acquisition information in a target page.
[0197] In step S603, a first virtual resource is extracted.
[0198] In step S605, when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions, the extraction result information of the first virtual resource and the target task execution information are sent to the terminal; so that the terminal displays 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;
[0199] In step S607, the receiving terminal sends a second resource acquisition request when monitoring that the target task is completed based on the target task execution information.
[0200] In step S609, the second virtual resource is extracted.
[0201] In step S611, 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.
[0202] Optionally, the above method further includes:
[0203] generating a target virtual resource in response to a target instruction corresponding to the target page;
[0204] Splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0205] The first quantity is greater than or equal to the second quantity.
[0206] Optionally, splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources includes:
[0207] Get the historical live broadcast information of the target anchor corresponding to the terminal;
[0208] Determine the first quantity and the second quantity according to the historical live broadcast information;
[0209] The target virtual resource is split based on the first quantity and the second quantity to obtain a first quantity of first virtual resources and a second quantity of second virtual resources.
[0210] Optionally, after extracting the first virtual resource, the method further includes:
[0211] The first virtual resource is distributed to the terminal.
[0212] Optionally, distributing the first virtual resource to the terminal includes:
[0213] A first successful extraction message corresponding to the first virtual resource is sent to the message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
[0214] Optionally, after extracting the second virtual resource, the method further includes:
[0215] The second virtual resource is distributed to the terminal.
[0216] Optionally, distributing the first virtual resource to the terminal includes:
[0217] A second successful extraction message corresponding to the second virtual resource is sent to the message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second successful extraction message.
[0218] Optionally, the preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
[0219] Regarding the method in the above embodiment, the specific manner of executing each operation has been described in detail in the interactive side method embodiment of the method, and will not be elaborated here.
[0220] In an optional embodiment, taking the above terminal as the execution subject, a data processing method in the embodiment of the present disclosure is introduced. Specifically, Figure 7 As shown, Figure 7is a flow chart of a data processing method according to an exemplary embodiment. The method may include the following steps:
[0221] In step S701, a target page including resource collection information is displayed;
[0222] In step S703, in response to the resource collection instruction triggered by the resource collection information, a first resource acquisition request is sent to the second server, so that the second server extracts the first virtual resource;
[0223] In step S705, receiving the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
[0224] In step S707, the target task execution information and the extraction result information are displayed on the target page;
[0225] 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 the second virtual resource;
[0226] In step S711, receiving the extraction prompt information of the second virtual resource sent by the second server;
[0227] In step S713, extraction prompt information is displayed on the target page.
[0228] Optionally, sending the second resource acquisition request to the second server includes:
[0229] Implicitly call the preset interface;
[0230] A second resource acquisition request is sent to the second server based on the preset interface.
[0231] Optionally, the target task includes a sharing task, and after displaying the target task execution information and the extraction result information on the target page, the method further includes:
[0232] In response to a task execution instruction triggered based on the target task execution information, monitoring task progress information of the shared task;
[0233] The completion status information of the shared task is determined based on the task progress information.
[0234] Regarding the method in the above embodiment, the specific manner of executing each operation has been described in detail in the interactive side method embodiment of the method, and will not be elaborated here.
[0235] In an optional embodiment, the present disclosure also provides a data processing system, including: a terminal and a second server;
[0236] The terminal is configured to execute and display a target page including resource collection information; and is configured to execute a resource collection instruction triggered based on the resource collection information, and send a first resource acquisition request to a second server; and is configured to execute displaying target task execution information and extraction result information on the target page; and is configured to execute, in the case of monitoring that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server; and is configured to execute displaying extraction prompt information on the target page;
[0237] The second server is configured to extract the first virtual resource, and send the extraction result information of the first virtual resource and the target task execution information to the terminal if the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; and is configured to extract the second virtual resource and send the extraction prompt information of the second virtual resource to the terminal;
[0238] The first virtual resource and the second virtual resource are derived from the same target virtual resource.
[0239] Optionally, the above system further includes: a third server and a fourth server;
[0240] The third server is configured to execute a target instruction in response to the target page, generate a target virtual resource, and send the target virtual resource to the fourth server;
[0241] A fourth server is configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0242] The first number is greater than or equal to the second number.
[0243] Optionally, after extracting the first virtual resource, the second server is further configured to distribute the first virtual resource to the terminal.
[0244] Optionally, the above system further includes a message queue and a first server;
[0245] The second server is further configured to execute sending a first successful extraction message corresponding to the first virtual resource to the message queue;
[0246] The first server is further configured to distribute the first virtual resource to the terminal after detecting the first successful extraction message.
[0247] Optionally, after extracting the second virtual resource, the second server is further configured to distribute the second virtual resource to the terminal.
[0248] Optionally, the above system further includes a message queue and a first server;
[0249] The second server is further configured to execute sending a second successful extraction message corresponding to the second virtual resource to the message queue;
[0250] The first server is further configured to distribute the second virtual resource to the terminal after detecting the second successful extraction message.
[0251] Optionally, the target task includes a sharing task. After displaying the target task execution information and extracting the result information on the target page, the terminal is also configured to execute a task execution instruction in response to a trigger based on the target task execution information, monitor the task progress information of the sharing task; and is configured to determine the completion status information of the sharing task based on the task progress information.
[0252] Regarding the system in the above embodiment, the specific manner in which each device (terminal, server) performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0253] Figure 8 is a block diagram of a data processing device according to an exemplary embodiment. Figure 8 , the device comprises:
[0254] The first resource acquisition request receiving module 810 may be configured to execute a first resource acquisition request sent by a receiving terminal in response to a resource acquisition instruction triggered based on resource acquisition information in a target page;
[0255] The first virtual resource extraction module 820 is configured to extract the first virtual resource;
[0256] The information sending module 830 is configured to send the extraction result information of the first virtual resource and the target task execution information to the terminal when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; so that the terminal displays 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;
[0257] The second resource acquisition request module 840 is configured to execute the second resource acquisition request sent by the receiving terminal when monitoring that the target task is completed based on the target task execution information;
[0258] The second virtual resource extraction module 850 is configured to extract the second virtual resource;
[0259] The extraction prompt information sending module 860 is configured to execute sending 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.
[0260] Optionally, the above device further includes:
[0261] A target virtual resource generation module is configured to execute a target instruction corresponding to a target page to generate a target virtual resource;
[0262] A virtual resource splitting module, configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources;
[0263] The first number is greater than or equal to the second number.
[0264] Optionally, the virtual resource splitting module includes:
[0265] A historical live broadcast information acquisition unit is configured to acquire historical live broadcast information of a target anchor corresponding to the terminal;
[0266] A quantity determination unit, configured to determine a first quantity and a second quantity according to historical live broadcast information;
[0267] 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 quantity of first virtual resources and a second quantity of second virtual resources.
[0268] Optionally, the above device further includes:
[0269] The first virtual resource distribution module is configured to distribute the first virtual resource to the terminal after extracting the first virtual resource.
[0270] Optionally, the first virtual resource distribution module includes:
[0271] 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.
[0272] Optionally, the above device further includes:
[0273] The second virtual resource distribution module is configured to distribute the second virtual resource to the terminal after extracting the second virtual resource.
[0274] Optionally, distributing the first virtual resource to the terminal includes:
[0275] The second successful extraction message sending unit is configured to send a second successful 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 successful extraction message.
[0276] Optionally, the preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
[0277] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0278] Fig. 9 is a block diagram of another data processing device according to an exemplary embodiment. Fig. 9 , the device comprises:
[0279] The target page display module 910 is configured to execute and display the target page including resource claiming information;
[0280] A first resource acquisition request sending module 920 is configured to execute a resource acquisition instruction in response to being triggered based on resource acquisition information, and send a first resource acquisition request to the second server so that the second server extracts the first virtual resource;
[0281] The information receiving module 930 is configured to receive the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the first virtual resource and the second virtual resource are derived from the same target virtual resource;
[0282] The information display module 940 is configured to display the target task execution information and the extraction result information on the target page;
[0283] The second resource acquisition request sending module 950 is configured to execute, when monitoring that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server so that the second server extracts the second virtual resource;
[0284] The extraction prompt information receiving module 960 is configured to receive the extraction prompt information of the second virtual resource sent by the second server;
[0285] The extraction prompt information display module 970 is configured to display the extraction prompt information on the target page.
[0286] Optionally, the second resource acquisition request sending module 950 includes:
[0287] A preset interface calling unit, configured to perform implicit calling of a preset interface;
[0288] The second resource acquisition request sending unit is configured to send a second resource acquisition request to the second server based on a preset interface.
[0289] Optionally, the target task includes a sharing task, and the above device further includes:
[0290] The task progress information monitoring module is configured to monitor the task progress information of the shared task in response to the task execution instruction triggered based on the target task execution information after displaying the target task execution information and extracting the result information on the target page;
[0291] The completion status information determination module is configured to determine the completion status information of the shared task based on the task progress information.
[0292] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0293] Fig.10 is a block diagram of an electronic device for data processing according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a data processing method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0294] Fig.11 is a block diagram of an electronic device for data processing according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method is implemented.
[0295] Those skilled in the art will understand that Fig.10 or Fig.11 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0296] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the data processing method in the embodiment of the present disclosure.
[0297] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the data processing method in the embodiment of the present disclosure.
[0298] In an exemplary embodiment, a computer program product containing instructions is also provided. When the computer program product is run on a computer, the computer is caused to execute the data processing method in the embodiment of the present disclosure.
[0299] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0300] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0301] It should be understood that the present disclosure is not limited to the exact structures that have been 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
1. A data processing method, characterized in that: include: A first resource acquisition request sent by a receiving terminal in response to a resource acquisition instruction triggered based on resource acquisition information in a target page; Extract a first virtual resource, and if a corresponding second virtual resource exists for the first virtual resource and the target object corresponding to the target page meets a preset condition, send the extraction result information and target task execution information of the first virtual resource to the terminal; so that the terminal displays the target task execution information and the extraction result information on the target page; wherein the second virtual resource corresponding to the first virtual resource is the second virtual resource that exists and is derived from the same target virtual resource as the first virtual resource, and both the first virtual resource and the second virtual resource are obtained by splitting the target virtual resource; receiving a second resource acquisition request sent by the terminal when monitoring that the target task is completed based on the target task execution information; The second virtual resource is extracted, and 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.
2. The data processing method according to claim 1, characterized in that: The method further comprises: generating a target virtual resource in response to a target instruction corresponding to the target page; Splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources; The first number is greater than or equal to the second number.
3. The data processing method according to claim 2, characterized in that: The step of splitting the target virtual resource into a first number of first virtual resources and a second number of second virtual resources comprises: Obtaining historical live broadcast information of the target anchor corresponding to the terminal; Determine the first quantity and the second quantity according to the historical live broadcast information; The target virtual resource is split based on the first number and the second number to obtain the first number of first virtual resources and the second number of second virtual resources.
4. The data processing method according to claim 1, characterized in that: After extracting the first virtual resource, the method further includes: The first virtual resource is distributed to the terminal.
5. The data processing method according to claim 4, characterized in that: The distributing the first virtual resource to the terminal comprises: A first successful extraction message corresponding to the first virtual resource is sent to a message queue, so that the first server distributes the first virtual resource to the terminal after monitoring the first successful extraction message.
6. The data processing method according to claim 1, characterized in that: After extracting the second virtual resource, the method further includes: The second virtual resource is distributed to the terminal.
7. The data processing method according to claim 6, characterized in that: The distributing the first virtual resource to the terminal comprises: A second successful extraction message corresponding to the second virtual resource is sent to a message queue, so that the first server distributes the second virtual resource to the terminal after monitoring the second successful extraction message.
8. The data processing method according to any one of claims 1 to 7, characterized in that: The preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
9. A data processing method, characterized in that: include: Display the target page including resource collection information; In response to a resource collection instruction triggered based on the resource collection information, sending a first resource acquisition request to a second server so that the second server extracts a first virtual resource; Receive the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the second virtual resource corresponding to the first virtual resource is the second virtual resource that is derived from the same target virtual resource as the first virtual resource, and the first virtual resource and the second virtual resource are both obtained by splitting the target virtual resource; Displaying the target task execution information and the extraction result information on the target page; When it is detected that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server so that the second server extracts the second virtual resource; receiving extraction prompt information of the second virtual resource sent by the second server; The extraction prompt information is displayed on the target page.
10. The data processing method according to claim 9, characterized in that: The sending the second resource acquisition request to the second server comprises: Implicitly call the preset interface; A second resource acquisition request is sent to the second server based on the preset interface.
11. The data processing method according to claim 9, characterized in that: The target task includes a sharing task, and after the target task execution information and the extraction result information are displayed on the target page, the method further includes: In response to a task execution instruction triggered based on the target task execution information, monitoring task progress information of the sharing task; The completion status information of the sharing task is determined based on the task progress information.
12. A data processing system, characterized in that: include: Terminal and second server; The terminal is configured to execute and display a target page including resource collection information; and configured to execute, in response to a resource collection instruction triggered based on the resource collection information, send a first resource acquisition request to the second server; and being configured to display target task execution information and extraction result information on the target page; and being configured to execute, in a case where it is monitored that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server; and being configured to execute displaying the extraction prompt information on the target page; The second server is configured to extract the first virtual resource, and send the extraction result information of the first virtual resource and the target task execution information to the terminal when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; And is configured to execute the extraction of the second virtual resource and send an extraction prompt message of the second virtual resource to the terminal; wherein the second virtual resource corresponding to the first virtual resource is a second virtual resource that exists and originates from the same target virtual resource as the first virtual resource, and the first virtual resource and the second virtual resource are both split from the target virtual resource.
13. The data processing system according to claim 12, characterized in that The system further comprises: 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 is configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources; The first number is greater than or equal to the second number.
14. The data processing system according to claim 13, characterized in that: After extracting the first virtual resource, the second server is further configured to distribute the first virtual resource to the terminal.
15. The data processing system according to claim 14, characterized in that The system also includes a message queue and a first server; The second server is further configured to execute sending a first successful extraction message corresponding to the first virtual resource to the message queue; The first server is further configured to distribute the first virtual resource to the terminal after detecting the first successful extraction message.
16. The data processing system according to claim 13, characterized in that After extracting the second virtual resource, the second server is further configured to distribute the second virtual resource to the terminal.
17. The data processing system according to claim 16, characterized in that The system also includes a message queue and a first server; The second server is further 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 distribute the second virtual resource to the terminal after detecting the second successful extraction message.
18. The data processing system according to claim 12, characterized in that: The target task includes a sharing task, and after the target task execution information and the extraction result information are displayed on the target page, the terminal is further configured to execute a task execution instruction triggered in response to the target task execution information, and monitor the task progress information of the sharing task; and is configured to determine the completion status information of the sharing task based on the task progress information.
19. A data processing device, characterized in that: include: A 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 collection instruction triggered based on resource collection information in a target page; A first virtual resource extraction module is configured to execute extraction of a first virtual resource; The information sending module is configured to send the extraction result information and target task execution information of the first virtual resource to the terminal when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; so that the terminal can display the target task execution information and the extraction result information on the target page; wherein the second virtual resource corresponding to the first virtual resource is the second virtual resource that is derived from the same target virtual resource as the first virtual resource, and the first virtual resource and the second virtual resource are both split from the target virtual resource; A second resource acquisition request module is configured to execute and receive a second resource acquisition request sent by the terminal when monitoring that the target task is completed based on the target task execution information; A second virtual resource extraction module is configured to extract the second virtual resource; The extraction prompt information sending module is configured to execute sending 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.
20. The data processing device according to claim 19, characterized in that The device also includes: A target virtual resource generation module is configured to execute a target instruction corresponding to the target page to generate a target virtual resource; A virtual resource splitting module, configured to execute splitting of the target virtual resource into a first number of first virtual resources and a second number of second virtual resources; The first number is greater than or equal to the second number.
21. The data processing device according to claim 20, characterized in that The virtual resource splitting module includes: A historical live broadcast information acquisition unit, configured to acquire historical live broadcast information of a target anchor corresponding to the terminal; a quantity determination unit, configured to determine the first quantity and the second quantity according to the historical live broadcast information; The resource splitting unit is configured to split the target virtual resource based on the first quantity and the second quantity to obtain the first quantity of first virtual resources and the second quantity of second virtual resources.
22. The data processing device according to claim 19, characterized in that The device also includes: The first virtual resource distribution module is configured to distribute the first virtual resource to the terminal after extracting the first virtual resource.
23. The data processing device according to claim 22, characterized in that 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.
24. The data processing device according to claim 20, characterized in that The device also includes: The second virtual resource distribution module is configured to distribute the second virtual resource to the terminal after extracting the second virtual resource.
25. The data processing device according to claim 24, characterized in that The distributing the first virtual resource to the terminal comprises: The second successful extraction message sending unit is configured to send a second successful 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 successful extraction message.
26. The data processing device according to any one of claims 19 to 25, characterized in that: The preset condition represents the collection information of the second virtual resource of the target object corresponding to the target page within a preset time period.
27. A data processing device, characterized in that: include: A target page display module, configured to execute and display a target page including resource collection information; A first resource acquisition request sending module is configured to execute a resource acquisition instruction in response to being triggered based on the resource acquisition information, and send a first resource acquisition request to the second server so that the second server extracts the first virtual resource; The information receiving module is configured to receive the extraction result information of the first virtual resource and the target task execution information sent by the second server when the first virtual resource has a corresponding second virtual resource and the target object corresponding to the target page meets the preset conditions; wherein the second virtual resource corresponding to the first virtual resource is a second virtual resource that is derived from the same target virtual resource as the first virtual resource, and the first virtual resource and the second virtual resource are both obtained by splitting the target virtual resource; An 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 is configured to execute, when monitoring that the target task is completed based on the target task execution information, sending a second resource acquisition request to the second server so that the second server extracts the second virtual resource; an extraction prompt information receiving module, configured to receive extraction prompt information of the second virtual resource sent by the second server; The extraction prompt information display module is configured to display the extraction prompt information on the target page.
28. The data processing device according to claim 27, characterized in that The second resource acquisition request sending module includes: A preset interface calling unit, configured to perform implicit calling of a preset interface; The second resource acquisition request sending unit is configured to send a second resource acquisition request to the second server based on the preset interface.
29. The data processing device according to claim 27, characterized in that The target task includes a sharing task, and the device further includes: A task progress information monitoring module is configured to monitor the task progress information of the sharing task in response to a task execution instruction triggered based on the target task execution information after displaying the target task execution information and the extraction result information on the target page; The completion status information determination module is configured to determine the completion status information of the sharing task based on the task progress information.
30. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the data processing method according to any one of claims 1 to 11.
31. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data processing method as described in any one of claims 1 to 11.
32. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the data processing method according to any one of claims 1 to 11 is implemented.
