Resource information processing method and device, electronic equipment and storage medium
By displaying the consumption of resource pools and resource packs and automatically switching to resource pack consumption, the problem of server resource exhaustion and interruption was solved, improving server utilization and task continuity.
Patent Information
- Application Number
- CN202511157232.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-11-14
AI Technical Summary
In internet platforms, servers of those requesting object delivery often experience resource exhaustion and interruptions when executing object delivery tasks due to limited delivery resources, resulting in low utilization.
By displaying the resource pool consumption and resource pack consumption associated with the current account, the system automatically switches to the matching resource pack consumption to ensure that the resource pool consumption remains unchanged when the preset conditions are met. Resources are replenished using resource packs to avoid resource exhaustion and interruption.
This increases the duration of continuous object delivery tasks on the server, improves server utilization, allows users to clearly understand resource consumption progress, avoids resource confusion, and ensures task continuity.
Smart Images

Figure CN120950171A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of Internet and computer technology, and in particular to a resource information processing method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of internet technology, object delivery on internet platforms can increase the interaction between internet users and the delivered objects, making the delivered objects known to more internet users. In related technologies, when the server associated with the internet platform executes the object delivery task, the object delivery requester often needs to consume corresponding delivery resources.
[0003] However, the number of delivery resources associated with the object delivery account used by the object delivery requester is often limited. This means that the server will often be interrupted during the continuous execution of object delivery tasks because the delivery resources associated with the object delivery account are exhausted. This is not conducive to improving the server's execution time of object delivery tasks and results in low server utilization. Summary of the Invention
[0004] This disclosure provides a resource information processing method, apparatus, electronic device, and storage medium to at least solve the problem of low utilization rate of servers used for object deployment in related technologies. The technical solution of this disclosure is as follows:
[0005] According to a first aspect of the present disclosure, a resource information processing method is provided, comprising:
[0006] In response to the operation of initiating an object delivery task, the first resource consumption of the resource pool associated with the current account is displayed; the object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed;
[0007] When the first resource consumption meets the preset resource package usage conditions, the second resource consumption of the resource package that matches the resource package usage conditions is displayed; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the process of the second resource consumption increasing.
[0008] In one possible implementation, the step of displaying the first resource consumption of the resource pool associated with the current account in response to the operation of initiating the execution of the object delivery task includes:
[0009] The object delivery configuration page displays the entry point for the object delivery task; the object delivery configuration page is used to configure the object delivery method for the target object;
[0010] In response to the trigger operation of the startup entry, the task status information of the object delivery task is displayed, and the first resource consumption of the resource pool is displayed; the increase method of the first resource consumption is matched with the object delivery method.
[0011] In one possible implementation, the method further includes:
[0012] The resource package display entry is shown on the object delivery configuration page;
[0013] In response to the triggering operation of the resource package display entry, a resource package display list is displayed; the resource package display list displays at least one resource package associated with the current account, as well as resource package description information corresponding to each resource package;
[0014] The resource package description information includes at least one of the following: resource package usage period, initial resource quantity, resource package usage conditions, or resource package usage status.
[0015] In one possible implementation, the method further includes:
[0016] When the second resource consumption of the resource package reaches the initial resource amount of the resource package, the first resource consumption of the resource pool is controlled to increase again as the object delivery task is executed;
[0017] The system displays a first message indicating that the resource package has been used up.
[0018] In one possible implementation, the method further includes:
[0019] Displays the total remaining resources for the current account;
[0020] When the first resource consumption meets the preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources in the resource pool and the second remaining resources in the target resource package. The target resource package is a resource package that matches the resource package usage conditions among at least one resource package associated with the current account.
[0021] If the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first remaining resources in the resource pool.
[0022] In one possible implementation, the method further includes:
[0023] When the first resource consumption meets the preset resource package usage conditions, a second prompt message is displayed showing the total remaining resources of the current account, including the second remaining resources of the target resource package; the display position of the second prompt message is associated with the display position of the total remaining resources.
[0024] According to a second aspect of the present disclosure, a resource information processing apparatus is provided, comprising:
[0025] The response unit is configured to perform an operation in response to initiating an object delivery task, displaying the first resource consumption of the resource pool associated with the current account; the object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed;
[0026] The display unit is configured to display a second resource consumption of a resource package that matches the resource package usage conditions when the first resource consumption meets the preset resource package usage conditions; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption.
[0027] In one possible implementation, the response unit is specifically configured to execute a startup entry that displays the object delivery task in the object delivery configuration page; the object delivery configuration page is used to configure the object delivery method for the target object; in response to the triggering operation of the startup entry, it displays task status information for starting the object delivery task, and displays the first resource consumption of the resource pool; the increase method of the first resource consumption matches the object delivery method.
[0028] In one possible implementation, the device is further configured to display a resource package display entry on the object delivery configuration page; in response to a triggering operation on the resource package display entry, display a resource package display list; the resource package display list displays at least one resource package associated with the current account, and resource package description information corresponding to each resource package; wherein the resource package description information includes at least one of the resource package usage period, initial resource quantity, resource package usage conditions, or resource package usage status of the corresponding resource package.
[0029] In one possible implementation, the device is further configured to, upon the second resource consumption of the resource package reaching the initial resource amount of the resource package, control the first resource consumption of the resource pool to increase again with the execution of the object delivery task; and display a first prompt message indicating that the resource package has been used up.
[0030] In one possible implementation, the device is further configured to display the total remaining resources of the current account; if the first resource consumption meets preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources of the resource pool and the second remaining resources of a target resource package, the target resource package being a resource package that matches the resource package usage conditions among at least one resource package associated with the current account; if the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first remaining resources of the resource pool.
[0031] In one possible implementation, the device is further configured to display a second prompt message indicating that, when the first resource consumption meets preset resource package usage conditions, the total remaining resources of the current account include the second remaining resources of the target resource package; the display position of the second prompt message is associated with the display position of the total remaining resources.
[0032] According to a third aspect of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the resource information processing method as described in the first aspect or any possible implementation thereof.
[0033] According to a fourth aspect of the present disclosure, a storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the resource information processing method as described in the first aspect or any possible implementation thereof.
[0034] According to a fifth aspect of the present disclosure, a computer program product is provided, the program product including a computer program stored in a readable storage medium, wherein at least one processor of a device reads from the readable storage medium and executes the computer program, causing the device to perform the resource information processing method described in the first aspect or any possible implementation thereof.
[0035] The technical solutions provided by the embodiments of this disclosure bring at least the following beneficial effects: In response to the operation of initiating an object delivery task, the first resource consumption of the resource pool associated with the current account is displayed; the object delivery task is a task that continuously delivers resources to target objects; the first resource consumption increases as the object delivery task is executed; when the first resource consumption meets preset resource package usage conditions, the second resource consumption of a resource package matching the resource package usage conditions is displayed; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption, allowing the user to intuitively see the progress of the current delivery task's consumption of resources in the resource pool and clearly understand the remaining resource quota; in the first When resource consumption reaches the preset resource package usage conditions, the system automatically switches to display the second resource consumption of the matching resource package while keeping the first resource consumption unchanged. This allows users to clearly perceive changes in resource sources and avoids confusion between the consumption status of resources deployed in the resource pool and supplementary resources in the resource package. Simultaneously, since the server needs to consume the deployment resources associated with the current account to continuously execute object deployment tasks, the coordinated consumption of basic deployment resources in the resource pool and supplementary deployment resources in the resource package effectively increases the total amount of deployment resources available for the current account. This ensures that object deployment tasks are not interrupted due to the depletion of basic deployment resources in the resource pool, effectively extending the duration of continuous object deployment task execution and improving server utilization.
[0036] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0038] Figure 1 This is an application environment diagram illustrating a resource information processing method according to an exemplary embodiment.
[0039] Figure 2 This is a flowchart illustrating a resource information processing method according to an exemplary embodiment.
[0040] Figure 3 This is a schematic diagram illustrating a first type of object delivery configuration page according to an exemplary embodiment.
[0041] Figure 4 This is a schematic diagram illustrating a second type of object delivery configuration page according to an exemplary embodiment.
[0042] Figure 5 This is a schematic diagram illustrating the display state changes of a terminal according to an exemplary embodiment.
[0043] Figure 6 This is a schematic diagram illustrating a resource package display list according to an exemplary embodiment.
[0044] Figure 7 This is a schematic diagram illustrating a third type of object delivery configuration page according to an exemplary embodiment.
[0045] Figure 8 This is a flowchart illustrating another resource information processing method according to an exemplary embodiment.
[0046] Figure 9 This is a block diagram illustrating a resource information processing apparatus according to an exemplary embodiment.
[0047] Figure 10 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0048] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure.
[0050] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0051] The resource information processing method provided in this disclosure can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on another network server.
[0052] In response to the operation of initiating the object delivery task, terminal 102 sends an execution instruction for the object delivery task to server 104; server 104 responds to the execution instruction to start executing the object delivery task and performs corresponding deduction operations on the basic delivery resources in the resource pool associated with the current account; terminal 102 displays the first resource consumption of the resource pool associated with the current account; the object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed.
[0053] When the first resource consumption meets the preset resource package usage conditions, the server 104 performs a corresponding deduction operation on the supplementary resources deployed in the resource package that matches the resource package usage conditions; the terminal 102 displays the second resource consumption of the resource package that matches the resource package usage conditions; the second resource consumption increases as the object deployment task is executed, and the first resource consumption remains unchanged during the process of the second resource consumption increasing.
[0054] The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0055] Figure 2 This is a flowchart illustrating a resource information processing method according to an exemplary embodiment, such as... Figure 2 As shown, this method is used Figure 1 The terminal 102 includes the following steps.
[0056] In step S202, in response to the operation of starting the execution of the object delivery task, the first resource consumption of the resource pool associated with the current account is displayed.
[0057] Among them, the object delivery task is the task of continuously delivering to the target object.
[0058] The target audience can refer to a content publishing account, media content, virtual space, or other entity that needs to obtain more interactive information (such as page views, comments, private messages, and data sent). For example, the target audience could be one or more video publishing accounts that the current account wants to promote.
[0059] The resource pool can include the basic delivery resources currently available to the account. These basic delivery resources support the server in continuously executing delivery tasks to the target audience.
[0060] In other words, during the execution of the object delivery task by the server, the basic delivery resources associated with the current account need to be deducted accordingly; once the basic delivery resources associated with the current account have been deducted, the server can stop executing the object delivery task.
[0061] In practical applications, the first resource consumption of the resource pool represents the amount of basic delivery resources deducted from the current account. In other words, the first resource consumption can increase as object delivery tasks are executed.
[0062] In practice, users can input control commands to the terminal to initiate the object delivery task. In response, the terminal can instruct the server to begin executing the task. During the execution of the task, the server can deduct resources associated with the current account. In other words, the quantity of resources associated with the current account decreases as the task is executed. The terminal can display the first resource consumption of the resource pool associated with the current account, indicating the reduction in the quantity of resources associated with the current account.
[0063] In step S204, if the first resource consumption meets the preset resource package usage conditions, the second resource consumption of the resource package that matches the resource package usage conditions is displayed.
[0064] Among them, the resource package usage conditions can refer to the conditions that trigger the resource package to be in an available state; in practical applications, the resource package usage conditions can refer to the first resource consumption reaching a preset resource consumption threshold.
[0065] The resource package may include supplementary resources. These supplementary resources are not available for unconditional use by the current account, but rather are subject to conditions. Specifically, the resource package has an initial resource quantity and usage conditions. The initial resource quantity refers to the number of supplementary resources included in the resource package.
[0066] Different resource packs have different initial resource quantities and usage conditions; for example, resource pack A has an initial resource quantity of 100 units, and the usage condition for resource pack A is that the first resource consumption of the resource pool reaches 50 units; resource pack B has an initial resource quantity of 200 units, and the usage condition for resource pack B is that the first resource consumption of the resource pool reaches 100 units.
[0067] In practice, if the first resource consumption meets the preset resource package usage conditions, the terminal can display the second resource consumption of the resource package that matches the usage conditions. The second resource consumption increases as the object delivery task is executed, while the first resource consumption remains unchanged during this increase.
[0068] Specifically, when the first resource consumption meets the preset resource package usage conditions, during the execution of the object delivery task, the server can pause the corresponding deduction operation on the delivery resources in the resource pool associated with the current account; at the same time, the server can start the corresponding deduction operation on the delivery resources in the resource package that matches the resource package usage conditions; in this way, the second resource consumption of the resource package displayed on the terminal can increase as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption.
[0069] For example, when the first resource consumption of the resource pool reaches 50 units, the resource package that matches the usage conditions of the resource package is the aforementioned resource package A. The terminal can display the second resource consumption of resource package A as the object delivery task is executed. The second resource consumption can increase as the object delivery task is executed, and the first resource consumption remains unchanged during the process of the second resource consumption increasing.
[0070] When the second resource consumption of resource package A reaches 100 units, it indicates that resource package A has been used up. The terminal continues to display the first resource consumption of the resource pool. The first resource consumption increases as the object delivery task is executed until the first resource consumption of the resource pool reaches 100 units, triggering the consumption of supplementary delivery resources in resource package B.
[0071] In the above resource information processing method, in response to the operation of starting an object delivery task, the first resource consumption of the resource pool associated with the current account is displayed; the object delivery task is a task that continuously delivers resources to target objects; the first resource consumption increases as the object delivery task is executed; when the first resource consumption meets preset resource package usage conditions, the second resource consumption of a resource package matching the resource package usage conditions is displayed; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption, allowing the user to intuitively see the progress of the current delivery task in consuming the resources in the resource pool and clearly understand the remaining resource quota; when the first resource consumption reaches... Under preset resource package usage conditions, by automatically switching the display of the second resource consumption of the matching resource package while keeping the first resource consumption unchanged, users can clearly perceive changes in resource sources and avoid confusion between the consumption status of the deployed resources in the resource pool and the supplementary resources in the resource package. At the same time, since the server needs to consume the deployment resources associated with the current account to continuously execute object deployment tasks, the coordinated consumption of the basic deployment resources in the resource pool and the supplementary deployment resources in the resource package can effectively increase the total amount of deployment resources that the current account can consume. This ensures that the object deployment task will not be interrupted due to the depletion of the basic deployment resources in the resource pool, which can effectively increase the duration of the server's continuous execution of object deployment tasks and effectively improve server utilization.
[0072] In an exemplary embodiment, in response to the operation of initiating the execution of an object delivery task, the first resource consumption of the resource pool associated with the current account is displayed, including: displaying the start entry of the object delivery task in the object delivery configuration page; in response to the triggering operation of the start entry, starting the execution of the object delivery task according to the object delivery method, and displaying the first resource consumption of the resource pool; the increase method of the first resource consumption is matched with the object delivery method.
[0073] The object delivery configuration page is used to configure the object delivery method for the target object.
[0074] In practical applications, the target audience delivery method can be determined based on at least one target audience delivery setting item; the target audience delivery setting item may include the target audience delivery purpose, the target content to be delivered, the daily delivery resource limit, the target audience, etc.
[0075] like Figure 3As shown, each target audience setting can be displayed in sections on the target audience configuration page 300. The first section 310 of the target audience configuration page 300 allows users to set the target audience's purpose and the content of the target audience. The second section 320 of the target audience configuration page 300 allows users to set the daily target audience limit (i.e., daily budget) and the target audience. In practical applications, different target audience delivery methods result in different target audience resource consumption methods, and the increase in the first resource consumption amount in the resource pool is related to the target audience resource consumption method.
[0076] In practical applications, the terminal can display the object delivery task startup entry 340 in the third section 330 of the object delivery configuration page 300; the user can input a trigger operation on the startup entry 340 by clicking on it; the terminal responds to the trigger operation on the startup entry 340 and begins executing the object delivery task according to the object delivery method. Specifically, the terminal can display the task status information 350 of the object delivery task in the third section 330 of the object delivery configuration page 300, such as... Figure 4 As shown.
[0077] During the execution of the object delivery task, the terminal begins to adjust the amount of resources in the resource pool. Specifically, as the object delivery task progresses, the terminal can reduce the resources in the resource pool according to a preset resource consumption rate. Additionally, the terminal can display the initial resource consumption of the resource pool (e.g., ...). Figure 3 (Today's consumption: XXX units)
[0078] In this embodiment, the technical solution displays the first resource consumption of the resource pool associated with the current account in response to the operation of starting the object delivery task. By displaying the start entry of the object delivery task on the object delivery configuration page, the user can control the server to start the object delivery task according to the object delivery method by triggering the start entry, and display the task status information of the object delivery task, thereby making it convenient for the user to quickly start the execution of the object delivery task.
[0079] In one exemplary embodiment, the method further includes: displaying a resource package display entry in the object delivery configuration page; and displaying a resource package display list in response to a trigger operation on the resource package display entry.
[0080] The resource package display list shows at least one resource package associated with the current account, as well as a description of each resource package.
[0081] The resource package description information includes at least one of the following: the resource package usage period, the initial amount of resources, the resource package usage conditions, or the resource package usage status.
[0082] In specific implementation, such as Figure 5 As shown, the terminal can also display a resource package display entry 510 on the object delivery configuration page, and receive requests to control the terminal to display a resource package display list through this resource package display entry 510. Specifically, the user can input a trigger operation on the resource package display entry 510 by clicking on the resource package display entry 510 on the object delivery configuration page 300. The terminal receives the trigger operation on the resource package display entry 510 and, in response to the trigger operation on the resource package display entry 510, displays the resource package display list 520.
[0083] The terminal can display at least one resource package associated with the current account, along with a description of each resource package, in the resource package display list 520. For example, the terminal can display the usage period of each resource package in the resource package display list 520 (e.g., Figure 5 The text information includes phrases such as "starting to be consumed on April 24, 2025" and "valid until May 30, 2026," the initial amount of resources in each resource package (e.g., the amount of the red envelope), and the usage conditions of each resource package (e.g., ...). Figure 5 The text message "Used after 50 consumption" or the resource pack usage status of each resource pack; where the resource pack usage status can include inactive, activated, unused, used, available, etc.
[0084] In practical applications, resource packages can include various types, such as red envelopes and coupons; for ease of understanding by those skilled in the art, Figure 6 An exemplary diagram of another resource package display list is provided; such as Figure 6 As shown, the resource package display list can display resource packages of the coupon type; in actual applications, the coupon type resource package also includes multiple subtypes; the terminal can display resource packages of different subtypes in the resource package display list, such as the first type of coupon or the second type of coupon.
[0085] The technical solution of this embodiment displays a resource package display entry on the object delivery configuration page, and displays a resource package display list in response to the triggering operation of the resource package display entry. This allows users to control the terminal to display at least one resource package associated with the current account and the resource package description information corresponding to each resource package by triggering the resource package display entry. This makes it easy for users to clearly understand the specific situation of at least one resource package associated with the current account, such as the resource package usage period, initial resource quantity, resource package usage conditions, or resource package usage status.
[0086] In an exemplary embodiment, the method further includes: when the second resource consumption of the resource package reaches the initial resource amount of the resource package, controlling the first resource consumption of the resource pool to increase again as the object delivery task is executed; and displaying a first prompt message indicating that the resource package has been used up.
[0087] In specific implementation, as mentioned above, when the resource package is in an available state, the terminal can prioritize adjusting the second resource consumption of the resource package as the object delivery task is executed, while the first remaining resource in the resource pool can remain unchanged; when the second resource consumption of the resource package reaches the initial resource amount of the resource package, the terminal can control the first resource consumption of the resource pool to increase again as the object delivery task is executed; in addition, the terminal can also display the first prompt message that the resource package has been used up.
[0088] For example, suppose the initial resource quantity of the current account is 500 units; the initial resource quantity of resource package A is 100 units; the resource package A's usage condition is that the first resource consumption of the resource pool reaches 50 units; when the first resource consumption of the resource pool is 50 units, the terminal can start displaying the second resource consumption of resource package A, which increases as the object delivery task is executed; when the second resource consumption of resource package A reaches the initial resource quantity of resource package A of 100 units, the terminal can display the first prompt message that resource package A has been used up. Furthermore, the terminal will then re-control the display of the first resource consumption of the resource pool increasing as the object delivery task is executed, until the remaining first resource quantity of the resource pool is 0 units, triggering the cessation of the aforementioned object delivery task.
[0089] In this embodiment, when the second resource consumption of the resource package reaches the initial resource amount of the resource package, the first resource consumption of the resource pool is increased again as the object delivery task is executed, and a first prompt message indicating that the resource package has been used up is displayed. In this way, users can promptly handle situations where the resources in the resource package have been consumed, and the object delivery task can be continuously executed until the resources in the resource pool are consumed.
[0090] In an exemplary embodiment, the method further includes: displaying the total remaining resources of the current account; and when the first resource consumption meets the preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources of the resource pool and the second remaining resources of the target resource package.
[0091] If the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first resource remaining amount in the resource pool.
[0092] The target resource package is the resource package that matches the usage conditions among at least one resource package associated with the current account. For example, the target resource package could be a resource package that is currently available for use.
[0093] In specific implementation, when the terminal displays the total remaining resources of the current account, if the first resource consumption meets the preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources in the resource pool and the second remaining resources in the target resource package. For example, suppose the initial resource quantity of the current account is 500 units; the initial resource quantity of resource package A is 100 units, and the resource package usage condition of resource package A is that the first resource consumption of the resource pool reaches 50 units; the initial resource quantity of resource package B is 200 units, and the resource package usage condition of resource package B is that the resource consumption of the resource pool reaches 100 units; if the first resource consumption of the resource pool is 50 units, then resource package A is a usable resource package, i.e., resource package A is the target resource package; at this time, the terminal can display the total remaining resources of the current account (e.g., account balance) as the sum of the first remaining resources of the resource pool (450 units) and the second remaining resources of resource package A (100 units), i.e., 550 units. When the first resource consumption of the resource pool is 80 units, as mentioned above, when the target resource package is in an available state, the terminal prioritizes adjusting the second resource consumption of the target resource package, and the first resource remaining amount of the resource pool can remain unchanged; at this time, the terminal can display the total remaining amount of resources of the current account (e.g., account balance) as the sum of the first resource remaining amount of the resource pool (450 units) and the second resource remaining amount of resource package A (70 units), i.e., 520 units.
[0094] Additionally, when the terminal displays the total remaining resources of the current account, if the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first remaining resources in the resource pool. Continuing the previous example, if the first resource consumption of the resource pool is 30 units, it does not meet the resource package usage conditions for both resource package A and resource package B. In this case, both resource package A and resource package B are unavailable. The terminal can then display the total remaining resources of the current account (e.g., account balance) as the first remaining resources in the resource pool, which is 470 units.
[0095] The technical solution of this embodiment can effectively display the amount of resources that the user can currently use, by displaying the total remaining amount of resources in the current account as the sum of the first remaining amount of resources in the resource pool and the second remaining amount of resources in the target resource package when the first resource consumption meets the preset resource package usage conditions, and by displaying the total remaining amount of resources in the current account as the first remaining amount of resources in the resource pool when the first resource consumption does not meet the preset resource package usage conditions.
[0096] In an exemplary embodiment, the method further includes: when the first resource consumption meets the preset resource package usage conditions, displaying a second prompt message indicating that the total remaining resources of the current account include the second remaining resources of the target resource package.
[0097] The display position of the second prompt message is associated with the display position of the remaining resource quantity. Optionally, the distance between the display position of the second prompt message and the display position of the remaining resource quantity can be less than a preset distance threshold. Specifically, the second prompt message can be displayed on one side of the remaining resource quantity, such as at the end of the remaining resource quantity display.
[0098] In specific implementation, when the first resource consumption meets the preset resource package usage conditions, the terminal can display the remaining total resources and a second prompt message on the object delivery configuration page, so as to remind the user that the remaining total resources of the current account include the second remaining resources of the target resource package.
[0099] For example, the terminal can display the total remaining resources for the current account in the resource information display area of the object delivery configuration page (e.g., Figure 7 The first text information 710 of "account balance x units" in the middle, and the second prompt information displayed at the end of the total remaining resources (e.g., Figure 7 The second text information 720 in the text includes "the amount of the red envelope".
[0100] In this embodiment, when the first resource consumption meets the preset resource package usage conditions, the terminal displays a second prompt message that the current account's remaining resource amount includes the second remaining resource amount of the target resource package. This allows the user to quickly and clearly understand the composition of the current account's remaining resource amount based on the second prompt message, making it easier for the user to understand the status of having obtained the resources in the target resource package.
[0101] Figure 8 This is a flowchart illustrating another resource information processing method according to an exemplary embodiment, such as... Figure 8 As shown, this method is used Figure 1 The terminal 102 includes the following steps.
[0102] In step S802, the resource package display entry is displayed on the object delivery configuration page. The object delivery configuration page is used to configure the object delivery method for the target object.
[0103] In step S804, in response to the triggering operation of the resource package display entry, a resource package display list is displayed; the resource package display list displays at least one resource package associated with the current account, as well as resource package description information corresponding to each resource package.
[0104] In step S806, the entry point for starting the object delivery task is displayed on the object delivery configuration page.
[0105] In step S808, in response to the triggering operation of the startup entry, the task status information of the object delivery task is displayed, and the first resource consumption of the resource pool is displayed; the first resource consumption increases as the object delivery task is executed, and the increase of the first resource consumption matches the object delivery method.
[0106] In step S810, if the first resource consumption meets the preset resource package usage conditions, the second resource consumption of the resource package that matches the resource package usage conditions is displayed; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the process of the second resource consumption increasing.
[0107] In step S812, when the second resource consumption of the resource package reaches the initial resource amount of the resource package, the first resource consumption of the display resource pool is increased again as the object delivery task is executed.
[0108] In step S814, a first prompt message indicating that the resource package has been used up is displayed.
[0109] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a resource information processing method described above, and will not be repeated here.
[0110] It should be understood that, although Figure 1 and Figure 8 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 and Figure 8 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0111] It is understood that the same / similar parts between the various embodiments of the methods described above in this specification can be referred to each other. Each embodiment focuses on the differences from other embodiments, and relevant parts can be referred to the description of other method embodiments.
[0112] Figure 9 This is a block diagram of a resource information processing apparatus according to an exemplary embodiment. (Refer to...) Figure 9 The device includes:
[0113] The response unit 910 is configured to perform an operation in response to starting an object delivery task, displaying the first resource consumption of the resource pool associated with the current account; the object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed;
[0114] The display unit 920 is configured to display a second resource consumption of a resource package that matches the resource package usage conditions when the first resource consumption meets the preset resource package usage conditions; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption.
[0115] In one possible implementation, the response unit 910 is specifically configured to execute a startup entry for displaying the object delivery task on an object delivery configuration page; the object delivery configuration page is used to configure the object delivery method for the target object; in response to the triggering operation of the startup entry, it displays task status information for starting the object delivery task and displays the first resource consumption of the resource pool; the increase method of the first resource consumption matches the object delivery method.
[0116] In one possible implementation, the device is further configured to display a resource package display entry on the object delivery configuration page; in response to a triggering operation on the resource package display entry, display a resource package display list; the resource package display list displays at least one resource package associated with the current account, and resource package description information corresponding to each resource package; wherein the resource package description information includes at least one of the resource package usage period, initial resource quantity, resource package usage conditions, or resource package usage status of the corresponding resource package.
[0117] In one possible implementation, the device is further configured to, upon the second resource consumption of the resource package reaching the initial resource amount of the resource package, control the first resource consumption of the resource pool to increase again with the execution of the object delivery task; and display a first prompt message indicating that the resource package has been used up.
[0118] In one possible implementation, the device is further configured to display the total remaining resources of the current account; if the first resource consumption meets preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources of the resource pool and the second remaining resources of a target resource package, the target resource package being a resource package that matches the resource package usage conditions among at least one resource package associated with the current account; if the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first remaining resources of the resource pool.
[0119] In one possible implementation, the device is further configured to display a second prompt message indicating that, when the first resource consumption meets preset resource package usage conditions, the total remaining resources of the current account include the second remaining resources of the target resource package; the display position of the second prompt message is associated with the display position of the total remaining resources.
[0120] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0121] Figure 10 This is a block diagram illustrating an electronic device 1000 for performing the above-described resource information processing method according to an exemplary embodiment. For example, the electronic device 1000 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0122] Reference Figure 10The electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power supply component 1006, multimedia component 1008, audio component 1010, input / output (I / O) interface 1012, sensor component 1014, and communication component 1016.
[0123] Processing component 1002 typically controls the overall operation of electronic device 1000, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1002 may include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.
[0124] Memory 1004 is configured to store various types of data to support the operation of electronic device 1000. Examples of such data include instructions for any application or method operating on electronic device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, optical disk, or graphene storage.
[0125] Power supply component 1006 provides power to various components of electronic device 1000. Power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1000.
[0126] Multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1008 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1000 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0127] Audio component 1010 is configured to output and / or input audio signals. For example, audio component 1010 includes a microphone (MIC) configured to receive external audio signals when electronic device 1000 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
[0128] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0129] Sensor assembly 1014 includes one or more sensors for providing state assessments of various aspects of electronic device 1000. For example, sensor assembly 1014 can detect the on / off state of electronic device 1000, the relative positioning of components such as the display and keypad of electronic device 1000, changes in position of electronic device 1000 or its components, the presence or absence of user contact with electronic device 1000, orientation or acceleration / deceleration of device 1000, and temperature changes of electronic device 1000. Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1014 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0130] Communication component 1016 is configured to facilitate wired or wireless communication between electronic device 1000 and other devices. Electronic device 1000 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0131] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0132] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, which can be executed by a processor 1020 of an electronic device 1000 to perform the above-described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0133] In an exemplary embodiment, a computer program product is also provided, the computer program product including instructions that can be executed by the processor 1020 of the electronic device 1000 to perform the above method.
[0134] It should be noted that the above-mentioned apparatus, electronic equipment, computer-readable storage medium, computer program product, etc., may also include other implementation methods according to the description of the method embodiments. For specific implementation methods, please refer to the description of the relevant method embodiments, which will not be elaborated here.
[0135] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0136] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A resource information processing method, characterized in that, include: In response to the operation of initiating an object delivery task, the first resource consumption of the resource pool associated with the current account is displayed; the object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed; When the first resource consumption meets the preset resource package usage conditions, the second resource consumption of the resource package that matches the resource package usage conditions is displayed; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the process of the second resource consumption increasing.
2. The resource information processing method according to claim 1, characterized in that, The operation of initiating the execution of the object delivery task displays the first resource consumption of the resource pool associated with the current account, including: The object delivery configuration page displays the entry point for the object delivery task; the object delivery configuration page is used to configure the object delivery method for the target object; In response to the trigger operation of the startup entry, the task status information of the object delivery task is displayed, and the first resource consumption of the resource pool is displayed; the increase method of the first resource consumption is matched with the object delivery method.
3. The resource information processing method according to claim 2, characterized in that, The method further includes: The resource package display entry is shown on the object delivery configuration page; In response to the triggering operation of the resource package display entry, a resource package display list is displayed; the resource package display list displays at least one resource package associated with the current account, as well as resource package description information corresponding to each resource package; The resource package description information includes at least one of the following: resource package usage period, initial resource quantity, resource package usage conditions, or resource package usage status.
4. The resource information processing method according to claim 1, characterized in that, The method further includes: When the second resource consumption of the resource package reaches the initial resource amount of the resource package, the first resource consumption of the resource pool is controlled to increase again as the object delivery task is executed; The system displays a first message indicating that the resource package has been used up.
5. The resource information processing method according to any one of claims 1 to 4, characterized in that, The method further includes: Displays the total remaining resources for the current account; When the first resource consumption meets the preset resource package usage conditions, the total remaining resources are the sum of the first remaining resources in the resource pool and the second remaining resources in the target resource package. The target resource package is a resource package that matches the resource package usage conditions among at least one resource package associated with the current account. If the first resource consumption does not meet the preset resource package usage conditions, the total remaining resources are the first remaining resources in the resource pool.
6. The resource information processing method according to claim 5, characterized in that, The method further includes: When the first resource consumption meets the preset resource package usage conditions, a second prompt message is displayed showing the total remaining resources of the current account, including the second remaining resources of the target resource package; the display position of the second prompt message is associated with the display position of the total remaining resources.
7. A resource information processing device, characterized in that, include: The response unit is configured to perform an operation in response to initiating the task of delivering the target object, and displays the first resource consumption of the resource pool associated with the current account; The object delivery task is a task that continuously delivers to the target object; the first resource consumption increases as the object delivery task is executed; The display unit is configured to display a second resource consumption of a resource package that matches the resource package usage conditions when the first resource consumption meets the preset resource package usage conditions; the second resource consumption increases as the object delivery task is executed, and the first resource consumption remains unchanged during the increase of the second resource consumption.
8. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the resource information processing method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the resource information processing method as described in any one of claims 1 to 6.
10. A computer program product, the computer program product comprising instructions, characterized in that, When the instruction is executed by the processor of the electronic device, the electronic device is able to perform the resource information processing method as described in any one of claims 1 to 6.