Resource value display method and computer program product
By calculating the value of the target resource and displaying its relationship with the resource acquisition conditions, the problem of the mismatch between the preferential conditions and the actual payment price in the food delivery platform is solved, improving the user experience and information authenticity.
Patent Information
- Application Number
- CN202410703198.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-06
AI Technical Summary
When existing food delivery platforms display the value of resources, the preferential conditions do not correspond to the actual price paid, leading to misleading users and affecting user experience and stickiness.
By calculating the resource acquisition conditions and the original resource value, the target resource value is calculated, and the target resource value and the relationship text information with the resource acquisition conditions are displayed in the list of resources to be selected to ensure that users understand the true resource value.
It improves the authenticity of information, avoids misleading users, and improves user stickiness and shopping experience.
Smart Images

Figure CN118608236A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a resource value display method and a computer program product. Background Art
[0002] With the rapid development of internet technology, online food delivery services have emerged. Users log in to food delivery platforms and browse and order the resources they need, including food, goods, and services. Compared to e-commerce platforms, food delivery platforms offer a key advantage: faster delivery. This advantage allows them to provide greater convenience for users.
[0003] After logging into the food delivery platform, users can select a store and enter the store. A list of available resources is displayed for the user to choose from. Each resource's value is also displayed for the user's reference. Users can obtain the resource by paying the price.
[0004] The value of resources is closely related to promotional conditions such as events and discounts. Different promotional conditions have different values for resources. Examples of promotional conditions include discounts for purchases over a certain amount, discounts, and first-three-item discounts. Although users can see what discounts are available from the resource list, the displayed resource value is generally the pre-discount price or a portion of the discounted price (e.g., the first-item price), which is often inconsistent with the final total cost.
[0005] If users want to know the final discount result after using the preferential conditions, they need to calculate it by themselves. It can be seen that the resource value displayed in the relevant technology does not correspond to the preferential conditions, which is easy to mislead users (for example, making users mistakenly believe that the price of any quantity is the first-item price).
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute an existing solution known to ordinary technicians in this field. Summary of the Invention
[0007] The purpose of this application is to provide a resource value display method and computer program product, which can overcome the problem of misleading consumers caused by the mismatch between resource value and preferential conditions existing in related technologies. Specifically, based on the resource acquisition conditions and the original resource value, the target resource value corresponding to the resource acquisition conditions can be calculated. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition conditions are displayed, so that users can understand the real resource value under the resource acquisition conditions. The real resource value can also be understood as the settlement value when the resource acquisition conditions are met, rather than the value before the resource acquisition conditions are met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0008] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.
[0009] According to one aspect of the present application, a method for displaying resource value is provided, the method comprising:
[0010] In the list of resources to be selected, the target resource, the target resource value, and text information used to represent the relationship between the target resource value and the resource acquisition conditions are displayed; among them, the target resource value is calculated based on the resource acquisition conditions and the original resource value corresponding to the target resource, and the target resource corresponds to the resource acquisition conditions.
[0011] According to one aspect of the present application, a resource value display device is provided, the device comprising:
[0012] a resource value determination unit, configured to determine the original resource value corresponding to the target resource when a resource acquisition condition corresponding to the target resource is detected;
[0013] A resource value calculation unit, used to calculate the target resource value based on resource acquisition conditions and the original resource value;
[0014] The resource value display unit is used to display the target resource, the target resource value, and text information used to represent the relationship between the target resource value and the resource acquisition conditions in the list of candidate resources.
[0015] According to one aspect of the present application, a resource value display device is provided, the device comprising:
[0016] The display unit is used to display the target resource, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition conditions in the list of selectable resources; wherein the target resource value is calculated based on the resource acquisition conditions and the original resource value corresponding to the target resource, and the target resource corresponds to the resource acquisition conditions.
[0017] According to one aspect of the present application, a computer program product is provided, including a computer program, where the computer program is used to implement the above method.
[0018] According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented.
[0019] According to one aspect of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above method by executing the executable instructions.
[0020] The exemplary embodiments of the present application may have some or all of the following beneficial effects:
[0021] In the resource value display method provided in an example embodiment of the present application, the problem of misleading consumers caused by the mismatch between resource value and preferential conditions existing in related technologies can be overcome. Specifically, the target resource value corresponding to the resource acquisition condition can be calculated based on the resource acquisition condition and the original resource value. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition condition are displayed, so that users can understand the real resource value under the resource acquisition condition. The real resource value can also be understood as the settlement value when the resource acquisition condition is met, rather than the value before the resource acquisition condition is met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0022] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0024] Figure 1 The following schematically shows a flow chart of a resource value display method according to an embodiment of the present application;
[0025] Figure 2 Schematically shows a partial schematic diagram a of a user interface according to an embodiment of the present application;
[0026] Figure 3 Schematically shows a partial schematic diagram b of a user interface according to an embodiment of the present application;
[0027] Figure 4 Schematically shows a partial schematic diagram c of a user interface according to an embodiment of the present application;
[0028] Figure 5 Schematically shows a partial schematic diagram d of a user interface according to an embodiment of the present application;
[0029] Figure 6 Schematically shows a partial schematic diagram e of a user interface according to an embodiment of the present application;
[0030] Figure 7 Schematically shows a flow chart of a resource value display method according to another embodiment of the present application;
[0031] Figure 8 The following schematically shows a structural block diagram of a resource value display device according to an embodiment of the present application;
[0032] Figure 9 Schematically shows a structural block diagram of a resource value display device according to another embodiment of the present application;
[0033] Figure 10 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present application is shown. DETAILED DESCRIPTION
[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; on the contrary, these embodiments are provided so that this application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present application.
[0035] In addition, the accompanying drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0036] See also Figure 1 , Figure 1 The flowchart of the resource value display method according to one embodiment of the present application is schematically shown. Figure 1 As shown, the resource value display method may include: step S110.
[0037] Step S110: In the list of resources to be selected, the target resource, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition condition are displayed; wherein the target resource value is calculated based on the resource acquisition condition and the original resource value corresponding to the target resource, and the target resource corresponds to the resource acquisition condition.
[0038] Implementation Figure 1 The method shown can overcome the problem of misleading consumers caused by the mismatch between resource value and preferential conditions in related technologies. Specifically, the target resource value corresponding to the resource acquisition condition can be calculated based on the resource acquisition condition and the original resource value. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition condition are displayed, so that users can understand the real resource value under the resource acquisition condition. The real resource value can also be understood as the settlement value when the resource acquisition condition is met, rather than the value before the resource acquisition condition is met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0039] The above steps of this exemplary embodiment are described in more detail below.
[0040] As an optional embodiment, the method further includes:
[0041] When a resource acquisition condition corresponding to a target resource is detected, the original resource value corresponding to the target resource is determined; and the target resource value is calculated based on the resource acquisition condition and the original resource value.
[0042] It can be seen that implementing this optional embodiment can avoid the problem of misleading users and improve the authenticity of the displayed information.
[0043] Specifically, in the related art, only the first-item discount price (e.g., ¥0.99) is displayed to the user. However, the minimum purchase quantity of the product may be multiple (e.g., 2), and the price of the second and subsequent items (e.g., ¥15) is usually higher than the first-item discount price. In this case, the first-item discount price displayed on the interface will usually cause a certain degree of misunderstanding to the user, making the user think that no matter how many items are purchased, the price of each item is the same as the first-item discount price. Under this misunderstanding, the price of purchasing multiple items of the product does not meet the user's expectations, which is likely to have a negative impact on user stickiness. In addition, in the related art, some products with first-item discounts also have conditions for multiple-item discounts. For example, the preferential condition for product A is that a minimum purchase of 10 items is required, but only the first item price is discounted at ¥0.15. However, in the display interface, only ¥0.15 is usually displayed, and users can easily misunderstand that all 10 items of product A purchased can enjoy the discounted price of ¥0.15. In addition, in the related art, there are various other discount methods. However, since the value displayed does not match the discount, there is generally a problem that it is easy for users to misunderstand.
[0044] In order to solve the problems of related technologies, this application can first detect the resource acquisition conditions corresponding to the target resource, and then calculate the target resource value based on the resource acquisition conditions and the original resource value, and display the target resource, target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition conditions in the list of candidate resources.
[0045] The environment used in the embodiment of the present application may also be a food delivery platform or other quick shopping platform (such as a next-day delivery platform, a cloud supermarket platform, etc.), which is not limited in the embodiment of the present application. In the platform used to implement the present application, any number of online stores of merchants can be displayed, and any online store can be used to display multiple resources and the values corresponding to each resource in the list of resources to be selected; wherein, the multiple resources displayed by an online store can be in the same category (such as daily necessities) or in different categories (such as pet supplies and daily necessities), which is not limited in the embodiment of the present application. Merchants can configure a variety of resource acquisition conditions according to sales strategies, so that different resources correspond to different resource acquisition conditions, the same resource corresponds to the same resource acquisition condition, or different resources correspond to the same resource acquisition condition.
[0046] Resources refer to products such as goods, offline services, virtual courses, virtual e-vouchers, etc. that can be obtained by paying corresponding value in exchange. Target resources refer to any resource in the list of resources to be selected. The list of resources to be selected refers to a list of resources that users can browse and select. The resource acquisition conditions corresponding to the target resource can be used to limit the exclusive sales method of the target resource (for example, half price for the first two items), or to limit the scope of discounts applicable to the target resource (for example, the scope of activities such as 10 yuan off for purchases over 99 yuan).
[0047] The original resource value corresponding to the target resource refers to the sales price or product list price, etc. The product list price is the base price set by the merchant based on the retail guide price or the authentic retail price provided by the brand. The sales price is calculated based on the product list price, taking into account directly available discounts. It does not require users to take other actions, such as placing an order to participate in discount activities, using coupons, or becoming a member, to directly obtain the price. When a sales price exists, the product list price can also be displayed as a strike-through price, indicating that the product was sold at the strike-through price before the sales price.
[0048] Whether it specifically refers to the sales price or the product price depends on the merchant's configuration of the resources. If only the product price is configured for the resource, the original resource value is the product price. If the merchant configures sales, the original resource value is the sales price.
[0049] The original resource value and target resource value of the target resource are both derived from the value type list. The value type list defines various types of resource values and the type codes corresponding to each resource value. The type codes can be used to construct interface codes to implement an accurate resource interface. For example, the value type list can be schematically represented as follows:
[0050]
[0051]
[0052] In step S120, the target resource value is calculated based on the resource acquisition condition and the original resource value.
[0053] Specifically, the target resource value may be a value that matches the resource acquisition condition. For example, when the resource acquisition condition includes a minimum resource acquisition quantity, the target resource value and its text information are exemplarily represented as "2 pieces for a total price of ¥69.9", wherein the minimum resource acquisition quantity indicates that the resource acquisition condition is satisfied when the purchase quantity is greater than or equal to the minimum resource acquisition quantity; when the resource acquisition condition includes a maximum number of resources eligible for a discount, the target resource value and its text information are exemplarily represented as "first 2 pieces for ¥32.7 / piece", wherein the maximum number of resources eligible for a discount indicates that the resource acquisition condition is satisfied when the purchase quantity is less than or equal to the maximum number of resources eligible for a discount; when the resource acquisition condition includes a minimum resource acquisition quantity and a maximum number of resources eligible for a discount, the target resource value and its text information are exemplarily represented as "2 pieces for a total price of ¥69.9"; when the resource acquisition condition includes a non-discount activity, the target resource value and its text information are exemplarily represented as "buy 3 pieces for a price of ¥24.7 / piece", wherein the applicable scope of the non-discount activity may be limited to the target resource or to a collection of multiple resources including the target resource.
[0054] In addition, optionally, the method of calculating the target resource value based on the resource acquisition conditions and the original resource value is: determining the inventory quantity corresponding to the target resource, calculating the target resource value based on the inventory quantity, resource acquisition conditions and the original resource value, and avoiding the target resource value being related to the target resource that exceeds the inventory quantity.
[0055] As an optional embodiment of step S120, the resource acquisition condition includes a minimum resource acquisition quantity, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including:
[0056] Step S1201a: Calculate the target resource value that satisfies the minimum resource acquisition quantity based on the original resource value. The target resource value is used to represent the total value of the target resource that satisfies the minimum resource acquisition quantity.
[0057] It can be seen that the implementation of this optional embodiment can display to the user the target resource value required to meet the minimum resource acquisition quantity when the resource acquisition conditions include the minimum resource acquisition quantity, which can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0058] Specifically, when the resource acquisition conditions include a minimum resource acquisition quantity (e.g., 2), the original resource value can be the original price (e.g., ¥109). Based on the original resource value, the minimum resource acquisition quantity, and the preferential conditions specified in the resource acquisition conditions (e.g., 20% off for 2 items, 20 yuan off for 2 items, etc.), the target resource value related to the minimum resource acquisition quantity can be calculated (e.g., ¥69.9), and the target resource value and related text information (e.g., total price of 2 items is ¥69.9) can be displayed at the same time.
[0059] In the embodiments of this application, when a user purchases the target resource quantity that reaches the minimum resource acquisition quantity, the resource acquisition conditions are met, which can also be understood as meeting the conditions for enjoying the discount. Related technologies typically only prompt users about the existence of discount activities, while the actual price is unrelated to the discount activity. This application displays the target resource value for users, making it easier for users to understand the total value of the target resource after enjoying the discount, avoiding misunderstandings.
[0060] For details, please refer to Figure 2 , Figure 2 Schematically shows a partial diagram a of a user interface according to an embodiment of the present application. Figure 2 As shown, if the target resource is "XX brand salted carrots" and the resource acquisition condition corresponding to the target resource includes a minimum resource acquisition quantity (e.g., 2), the target resource value (e.g., ¥69.9) 210 that meets the minimum resource acquisition quantity can be calculated based on the original resource value (e.g., 109) 230, and at the same time, text information related to the target resource value (e.g., total price of 2 pieces) is displayed. When a control 220 for triggering the expression "minimum purchase of 2 pieces" is detected, the target resource with the minimum resource acquisition quantity can be added to the list of resources to be settled at the target resource value; wherein the list of resources to be settled can also be generally understood as a shopping cart. It should be noted that after calculating the target resource value (e.g., ¥69.9) 210, in addition to displaying the target resource value (e.g., ¥69.9) 210, the original resource value (e.g., 109) 230 can also be displayed in the form of a strike-through price for user comparison and reference.
[0061] As an optional embodiment of step S120, the resource acquisition condition includes a maximum number of resources eligible for discount, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including:
[0062] Step S1201b: Determine the discount value corresponding to the target resource within the maximum number of resources eligible for discount;
[0063] Step S1202b: Determine the discount value as the target resource value; wherein the text information is used to indicate the discount conditions of the target resource value.
[0064] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after meeting the maximum number of resources that can be discounted when the resource acquisition conditions include the maximum number of resources that can be discounted. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0065] Specifically, when the resource acquisition condition includes the maximum number of resources eligible for a discount, the resource value of each target resource within the maximum number of resources eligible for a discount can be directly calculated, and the average resource value (e.g., ¥32.7 / item) can be used as the target resource value. At the same time, text information related to the target resource value (e.g., first two items) can be displayed. For example, the text information can indicate that the purchase condition for the user to enjoy the discounted price of ¥32.7 / item is: first two items.
[0066] Related technologies usually only display the price of the first item, which may cause users to misunderstand that the price of each item of the target resource purchased is the same as the price of the first item. However, this application can determine and display the average resource value based on the maximum number of resources that can enjoy a discount, which can avoid users from misunderstanding the resource value.
[0067] For details, please refer to Figure 3 , Figure 3 Schematically shows a partial diagram b of a user interface according to an embodiment of the present application. Figure 3 As shown, if the target resource is "XX brand salted carrots" and the resource acquisition condition corresponding to the target resource includes the maximum number of resources that can be discounted (e.g., 2), then the target resource value (e.g., ¥32.7) 310 that satisfies the minimum resource acquisition quantity can be calculated based on the original resource value (e.g., ¥54.4) 330. At the same time, text information related to the target resource value (e.g., the total price of the first two items) is displayed. When a control 320 for triggering the purchase of additional target resources is detected, a specified number of target resources can be added to the list of resources to be settled at the target resource value. The specified number is consistent with the number of times control 320 is triggered; the list of resources to be settled can also be generally understood as a shopping cart. It should be noted that after calculating the target resource value (e.g., ¥32.7) 310, in addition to displaying the target resource value (e.g., ¥32.7) 310, the original resource value (e.g., ¥54.4) 330 can also be displayed as a strike-through price for user comparison and reference.
[0068] In addition, in response to a triggering operation on control 320, a prompt message (e.g., "The purchase limit for each discounted item is N. The system will automatically select the discounted item based on the principle of maximum discount") may be displayed regarding the maximum number of resources that can be discounted, where N is a positive integer. This prompt message can help users purchase additional resources based on their discount needs.
[0069] As an optional embodiment of step S120, the resource acquisition condition includes a minimum resource acquisition quantity and a maximum resource quantity that can enjoy a discount. The target resource value is calculated based on the resource acquisition condition and the original resource value, including:
[0070] Step S1201c: Determine the discount value corresponding to the target resource if the minimum resource acquisition quantity is greater than the minimum resource acquisition quantity and the maximum resource quantity eligible for discount is less than the maximum resource quantity eligible for discount;
[0071] Step S1202c: Sum up the value of each resource to obtain the target resource value.
[0072] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after satisfying both the minimum resource acquisition quantity and the maximum number of resources that can enjoy a discount when the resource acquisition conditions include both the minimum resource acquisition quantity and the maximum number of resources that can enjoy a discount. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0073] Specifically, if there is a minimum number of resources to be obtained and a maximum number of resources that can enjoy a discount, then Figure 2 The target resource value is displayed in the manner shown.
[0074] As an optional embodiment of step S120, the resource acquisition condition includes a non-discount activity, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including:
[0075] Step S1201d: Determine the minimum resource quantity for non-discounted activities based on the original resource value;
[0076] Step S1202d: Based on the minimum resource quantity and the original resource value, generate a non-discounted activity unit price corresponding to the target resource as the target resource value.
[0077] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after satisfying non-discount activities (such as full-discount activities) when the resource acquisition conditions include non-discount activities. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0078] Specifically, the applicable scope of non-discount activities may include one or more resources, and non-discount activities include but are not limited to: store coupon activities, store discount activities, new customer discount activities, invitation gift activities, etc.
[0079] Among them, the minimum resource quantity for non-discount activities is determined based on the original resource value, including: for the target resource, determining the minimum resource quantity that meets the participation threshold of the non-discount activity based on the original resource value; or, considering that the non-discount activity is not only applicable to the target resource, the minimum resource quantity corresponding to each resource that meets the participation threshold of the non-discount activity can be determined for the resource set including the target resource based on the value of each original resource in the resource set.
[0080] See also Figure 4 , Figure 4Schematically shows a partial schematic diagram c of a user interface according to an embodiment of the present application. Figure 4 As shown, if the target resource is "XX brand salted carrots" and the resource acquisition condition corresponding to the target resource includes a non-discount activity, the non-discount activity can be represented by the text message "10 off for purchases over 99" 410. Then, the target resource value (e.g., 24.7 / item) 440 that satisfies the non-discount activity can be calculated based on the original resource value (e.g., 59.9), and at the same time, text information related to the target resource value (e.g., buy 3 items) is displayed. When a control 430 for triggering the purchase of additional target resources is detected, a specified number of target resources can be added to the list of resources to be settled at the target resource value, and the specified number is consistent with the number of times the control 320 is triggered; wherein the list of resources to be settled can also be generally understood as a shopping cart. It should be noted that the text message "Available price" 420 can also be displayed for the target resource value (e.g., 24.7 / item) 440 to prompt the user of the value type of the target resource value (e.g., 24.7 / item) 440.
[0081] In step S130, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition condition are displayed in the list of resources to be selected.
[0082] Specifically, text information can be used to represent the relationship between the visual target resource value and the non-visual resource acquisition conditions. The candidate resource list is used to display multiple resources and their corresponding values.
[0083] As an optional embodiment of step S130, in the list of resources to be selected, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition condition are displayed, including:
[0084] Step S1301: When the target resource value is less than the original resource value, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition conditions are displayed in the candidate resource list.
[0085] It can be seen that implementing this optional embodiment can improve the execution accuracy of the display instruction and avoid wasting display resources when the target resource value is greater than or equal to the original resource value.
[0086] Specifically, if the target resource value is greater than or equal to the original resource value, there is no need to display the target resource value or the text information used to represent the relationship between the target resource value and the resource acquisition conditions. This can save display resources and avoid the problem of cumbersome interface display.
[0087] As an optional embodiment, the method further includes:
[0088] Step S140: In response to the resource selection operation for the target resource, the target resource is added to the list of resources to be settled;
[0089] Step S150: If the target resource quantity in the list of resources to be settled meets the maximum number of resources eligible for discount, the displayed target resource value is replaced with the original resource value for display; if the target resource quantity in the list of resources to be settled meets the minimum number of resources for non-discount activities, the target resource value is hidden;
[0090] Step S160: updating the text information. The updated text information is used to represent the relationship between the target resource value and the resource acquisition condition before the resource selection operation.
[0091] It can be seen that the implementation of this optional embodiment can realize the linkage between the target resource value and the list of resources to be settled (ie, the shopping cart), realize the real-time update of the target resource value, and avoid misunderstanding of the target resource value to the user.
[0092] Specifically, the user can refer to the displayed target resource value and its corresponding text information to decide whether to purchase the target resource. When a resource selection operation for the target resource is detected, the target resource can be added to the shopping cart. When the number of target resources in the pending settlement resource list meets the maximum number of resources eligible for discount, it can be considered that if the user continues to purchase the target resource, the preferential price will not be available. Therefore, the displayed target resource value needs to be replaced with the original resource value. At the same time, the text information needs to be updated to avoid users misunderstanding that the target resource still enjoys a preferential price if it is continued to be purchased.
[0093] See also Figure 5 , Figure 5 Schematically shows a partial diagram d of a user interface according to an embodiment of the present application. Figure 5 As shown, assuming the target resource is "XX brand salted carrots," in response to two resource selection operations on the add-to-purchase control 530, the two target resources can be added to the list of resources to be settled. At this time, if it is detected that the number of target resources in the list of resources to be settled meets the maximum number of resources that can enjoy a discount, the displayed target resource value (e.g., ¥32.7 / item) 540 can be replaced with the original resource value (e.g., ¥54.4) 510 for display, and the text information can be updated at the same time; wherein, the method of updating the text information is: updating the content, display location and / or style of the text information. In addition, the user can also trigger the purchase reduction control 520 to reduce the number of target resources in the list of resources to be settled. In response to the operation of triggering the purchase reduction control 520, the target resource value and text information can also be adaptively updated to match the number of resources in the shopping cart.
[0094] As an optional embodiment, the method further includes:
[0095] Step S170: If there is a resource set in the resource list to be settled that meets the usage conditions of non-discount activities, the resource value corresponding to each resource in the resource set is displayed and updated, and the updated resource value is used to represent the value when no discount activities are used.
[0096] It can be seen that by implementing this optional embodiment, after the use conditions of the non-discount activity are met, the value of the resources used for the non-discount activity can be updated in a timely manner to avoid user misunderstanding.
[0097] Specifically, non-discount promotions can apply to multiple products. For example, if a non-discount promotion is expressed as "Get 10 off pet supplies when you spend 99," then each resource in the pet supplies category will automatically receive a 10% discount when you add more resources to the 99-level purchase. Based on this, upon detecting that the conditions for using the non-discount promotion are met, the resource value corresponding to each resource in the resource collection can be updated, so that the updated resource value is displayed as the original price.
[0098] See also Figure 6 , Figure 6 Schematically shows a partial schematic diagram e of a user interface according to an embodiment of the present application. Figure 6 As shown, assuming that the target resource is "XX brand salted carrots" and the resource acquisition conditions corresponding to the target resource include a non-discount activity, the non-discount activity can be represented by the text message "10 off for purchases over 99" 610. If there is a resource set in the pending resource list that meets the usage conditions of the non-discount activity, the resource value corresponding to each resource in the resource set can be displayed and updated. For the target resource in the resource set, the updated resource value can be represented as ¥59.9 620. In addition, the user can also trigger the purchase reduction control 630 to reduce the number of target resources in the pending resource list, or trigger the purchase increase control 640 to reduce the number of target resources in the pending resource list.
[0099] As an optional embodiment, the method further includes:
[0100] Step S180: before detecting a resource selection operation, displaying the target resource value and text information in a first format, and displaying the original resource value in a second format;
[0101] Step S190: After the resource selection operation is detected, and the number of target resources in the list of resources to be settled meets the maximum number of resources that can enjoy a discount, the target resource value and text information are displayed in the second style, and the original resource value is displayed in the first style; after the resource selection operation is detected, and the number of target resources in the list of resources to be settled does not meet the maximum number of resources that can enjoy a discount, the target resource value and text information are displayed in the first style, and the original resource value is displayed in the second style.
[0102] It can be seen that the implementation of this optional embodiment can distinguish different resource values through different styles, and prompt the user of the value they need to pay after continuing to select the target resource through style conversion, which can help improve the user's value perception, avoid user misunderstanding, and help improve user stickiness.
[0103] Specifically, there is no priority difference between the first style and the second style, and one or more of the display size, display position, display color, display brightness, display transparency, etc. of the first style and the second style may be different.
[0104] Because this application is applicable to various systems (e.g., Android, iOS, and mini-programs), steps S180 and S190 can be implemented as a domain-specific language (DSL). The DSL logic is implemented in JavaScript code, and the DSL logic implemented in JavaScript code is executed by various JS engines (e.g., Google V8, QuickJS, etc.). Different technology stacks can render different prices based on the DSL description.
[0105] See also Figure 7 , Figure 7 The following schematically shows a flow chart of a resource value display method according to another embodiment of the present application. Figure 7 As shown, the resource value display method includes: steps S710 to S728.
[0106] Step S710: When resource acquisition conditions corresponding to the target resource are detected, the original resource value corresponding to the target resource is determined. If the resource acquisition conditions include a minimum resource acquisition quantity, step S712 is executed; if the resource acquisition conditions include a maximum resource quantity eligible for a discount, step S714 is executed; if the resource acquisition conditions include both a minimum resource acquisition quantity and a maximum resource quantity eligible for a discount, step S716 is executed; if the resource acquisition conditions include a non-discount activity, step S718 is executed.
[0107] Step S712: Calculate the target resource value that satisfies the minimum resource acquisition quantity based on the original resource value. The target resource value is used to represent the total value of the target resource that satisfies the minimum resource acquisition quantity.
[0108] Step S714: Determine the discount value corresponding to the target resource within the maximum number of resources eligible for discount, and determine the discount value as the target resource value; wherein the text information is used to indicate the discount conditions for the target resource value.
[0109] Step S716: Determine the discount value corresponding to the target resource, which is greater than the minimum resource acquisition quantity and less than the maximum number of resources that can enjoy a discount, and sum up the value of each resource to obtain the target resource value.
[0110] Step S718: Determine the minimum resource quantity for the non-discounted activity based on the original resource value, and generate the non-discounted activity unit price corresponding to the target resource as the target resource value based on the minimum resource quantity and the original resource value.
[0111] Step S720: When the target resource value is less than the original resource value, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition conditions are displayed in the candidate resource list. The target resource value and text information are displayed in a first format, and the original resource value is displayed in a second format.
[0112] Step S722: In response to the resource selection operation for the target resource, the target resource is added to the list of resources to be settled.
[0113] Step S724: If the target resource quantity in the pending settlement resource list meets the maximum number of resources eligible for a discount, the displayed target resource value is replaced with the original resource value. If the target resource quantity in the pending settlement resource list meets the minimum number of resources for a non-discount activity, the target resource value is hidden. If there is a resource set in the pending settlement resource list that meets the usage conditions for a non-discount activity, the resource value corresponding to each resource in the resource set is updated, and the updated resource value is used to represent the value without the discount activity.
[0114] Step S726: updating the text information. The updated text information is used to represent the relationship between the target resource value and the resource acquisition condition before the resource selection operation.
[0115] Step S728: If the target resource quantity in the list of resources to be settled meets the maximum number of resources eligible for a discount, the target resource value and text information are displayed in the second format, and the original resource value is displayed in the first format. If the target resource quantity in the list of resources to be settled does not meet the maximum number of resources eligible for a discount, the target resource value and text information are displayed in the first format, and the original resource value is displayed in the second format.
[0116] It should be noted that steps S710 to S728 are Figure 1 The steps shown and their embodiments correspond to each other, Figure 7 Shown is Figure 1 An optional implementation method of each implementation, but this does not mean Figure 1 Each embodiment must be in accordance with Figure 7 For the specific implementation of steps S710 to S728, please refer to Figure 1 The steps and embodiments shown are not described in detail here.
[0117] It can be seen that implementation Figure 7The method shown can overcome the problem of misleading consumers caused by the mismatch between resource value and preferential conditions in related technologies. Specifically, based on the resource acquisition conditions and the original resource value, the target resource value corresponding to the resource acquisition conditions can be calculated. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition conditions are displayed. This allows users to understand the true resource value under the resource acquisition conditions. The true resource value can also be understood as the settlement value when the resource acquisition conditions are met, rather than the value before the resource acquisition conditions are met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help improve user stickiness.
[0118] See also Figure 8 , Figure 8 The structure block diagram of the resource value display device in one embodiment of the present application is schematically shown. Figure 1 The method shown corresponds to Figure 8 As shown, the resource value display device 800 includes:
[0119] The resource value determination unit 801 is configured to determine the original resource value corresponding to the target resource when a resource acquisition condition corresponding to the target resource is detected;
[0120] The resource value calculation unit 802 is used to calculate the target resource value based on the resource acquisition conditions and the original resource value;
[0121] The resource value display unit 803 is used to display the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition condition in the candidate resource list.
[0122] It can be seen that implementation Figure 8 The device shown can overcome the problem of misleading consumers caused by the mismatch between resource value and preferential conditions in related technologies. Specifically, based on the resource acquisition conditions and the original resource value, the target resource value corresponding to the resource acquisition conditions can be calculated. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition conditions are displayed, so that users can understand the real resource value under the resource acquisition conditions. The real resource value can also be understood as the settlement value when the resource acquisition conditions are met, rather than the value before the resource acquisition conditions are met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0123] As an optional embodiment, the resource acquisition condition includes a minimum resource acquisition quantity, and the resource value calculation unit 802 calculates the target resource value based on the resource acquisition condition and the original resource value, including:
[0124] The target resource value that satisfies the minimum resource acquisition quantity is calculated based on the original resource value, and the target resource value is used to represent the total value of the target resource that satisfies the minimum resource acquisition quantity.
[0125] It can be seen that the implementation of this optional embodiment can display to the user the target resource value required to meet the minimum resource acquisition quantity when the resource acquisition conditions include the minimum resource acquisition quantity, which can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0126] As an optional embodiment, the resource acquisition condition includes the maximum number of resources eligible for discount. The resource value calculation unit 802 calculates the target resource value based on the resource acquisition condition and the original resource value, including:
[0127] Determine the discount value corresponding to the target resource within the maximum number of resources eligible for discount;
[0128] The discount value is determined as the target resource value; wherein the text information is used to indicate the discount conditions for the target resource value.
[0129] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after meeting the maximum number of resources that can be discounted when the resource acquisition conditions include the maximum number of resources that can be discounted. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0130] As an optional embodiment, the resource acquisition condition includes a minimum resource acquisition quantity and a maximum resource quantity that can enjoy a discount. The resource value calculation unit 802 calculates the target resource value based on the resource acquisition condition and the original resource value, including:
[0131] Determine the discount value corresponding to the target resource, which is above the minimum resource acquisition quantity and below the maximum number of resources eligible for discount;
[0132] Sum up the value of each resource to get the target resource value.
[0133] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after satisfying both the minimum resource acquisition quantity and the maximum number of resources that can enjoy a discount when the resource acquisition conditions include both the minimum resource acquisition quantity and the maximum number of resources that can enjoy a discount. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0134] As an optional embodiment, the resource acquisition condition includes a non-discount activity, and the resource value calculation unit 802 calculates the target resource value based on the resource acquisition condition and the original resource value, including:
[0135] Determine the minimum resource quantity for non-discounted activities based on the original resource value;
[0136] Based on the minimum resource quantity and the original resource value, a non-discounted activity unit price corresponding to the target resource is generated as the target resource value.
[0137] It can be seen that the implementation of this optional embodiment can display to the user the target resource value that needs to be paid after satisfying non-discount activities (such as full-discount activities) when the resource acquisition conditions include non-discount activities. This can avoid the user's misunderstanding of the displayed value and help improve user stickiness.
[0138] As an optional embodiment, the resource value display unit 803 displays the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition condition in the candidate resource list, including:
[0139] When the target resource value is less than the original resource value, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition conditions are displayed in the candidate resource list.
[0140] It can be seen that implementing this optional embodiment can improve the execution accuracy of the display instruction and avoid wasting display resources when the target resource value is greater than or equal to the original resource value.
[0141] As an optional embodiment, the method further includes:
[0142] a resource adding unit, configured to, in response to a resource selection operation on a target resource, add the target resource to a list of resources to be settled;
[0143] The value replacement unit is used to replace the displayed target resource value with the original resource value if the target resource quantity in the pending settlement resource list meets the maximum resource quantity eligible for discount; if the target resource quantity in the pending settlement resource list meets the minimum resource quantity for non-discount activities, the target resource value is hidden;
[0144] The text updating unit is used to update text information, and the updated text information is used to represent the relationship between the target resource value and the resource acquisition condition before the resource selection operation.
[0145] It can be seen that the implementation of this optional embodiment can realize the linkage between the target resource value and the list of resources to be settled (ie, the shopping cart), realize the real-time update of the target resource value, and avoid misunderstanding of the target resource value to the user.
[0146] As an optional embodiment, the method further includes:
[0147] The display update unit is used to display and update the resource value corresponding to each resource in the resource set if there is a resource set that meets the usage conditions of non-discount activities in the resource list to be settled. The updated resource value is used to represent the value when no discount activities are used.
[0148] It can be seen that by implementing this optional embodiment, after the use conditions of the non-discount activity are met, the value of the resources used for the non-discount activity can be updated in a timely manner to avoid user misunderstanding.
[0149] As an optional embodiment, the method further includes:
[0150] a style control unit, configured to display the target resource value and text information in a first style and the original resource value in a second style before detecting a resource selection operation;
[0151] The style control unit is further configured to, after detecting a resource selection operation and the number of target resources in the to-be-settled resource list meets the maximum number of resources eligible for a discount, display the target resource value and text information in the second style and display the original resource value in the first style;
[0152] The style control unit is also used to display the target resource value and text information in the first style and the original resource value in the second style after detecting a resource selection operation and the target resource quantity in the list of resources to be settled does not meet the maximum number of resources that can enjoy a discount.
[0153] It can be seen that the implementation of this optional embodiment can distinguish different resource values through different styles, and prompt the user of the value they need to pay after continuing to select the target resource through style conversion, which can help improve the user's value perception, avoid user misunderstanding, and help improve user stickiness.
[0154] See also Figure 9 , Figure 9 The structure block diagram of the resource value display device in one embodiment of the present application is schematically shown. Figure 1 The method shown corresponds to Figure 9 As shown, the resource value display device 900 includes:
[0155] Display unit 901 is used to display the target resource, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition condition in the list of selectable resources; wherein the target resource value is calculated based on the resource acquisition condition and the original resource value corresponding to the target resource, and the target resource corresponds to the resource acquisition condition.
[0156] It can be seen that implementation Figure 9 The device shown can overcome the problem of misleading consumers caused by the mismatch between resource value and preferential conditions in related technologies. Specifically, based on the resource acquisition conditions and the original resource value, the target resource value corresponding to the resource acquisition conditions can be calculated. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition conditions are displayed, so that users can understand the real resource value under the resource acquisition conditions. The real resource value can also be understood as the settlement value when the resource acquisition conditions are met, rather than the value before the resource acquisition conditions are met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0157] As an optional embodiment, the method further includes:
[0158] The detection unit is used to determine the original resource value corresponding to the target resource when a resource acquisition condition corresponding to the target resource is detected; and calculate the target resource value based on the resource acquisition condition and the original resource value.
[0159] It can be seen that implementing this optional embodiment can avoid the problem of misleading users and improve the authenticity of the displayed information.
[0160] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.
[0161] Since the various functional modules of the resource value display device in the example embodiment of the present application correspond to the steps of the example embodiment of the resource value display method described above, for details not disclosed in the device embodiment of the present application, please refer to the embodiment of the resource value display method described above. Also, since the various functional modules of the resource value display device in the example embodiment of the present application correspond to the steps of the example embodiment of the resource value display method described above, for details not disclosed in the device embodiment of the present application, please refer to the embodiment of the resource value display method described above.
[0162] See also Figure 10 , Figure 10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application is shown.
[0163] It should be noted that Figure 10 The computer system 1000 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0164] like Figure 10 As shown, computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage unit 1008 into a random access memory (RAM) 1003. Various programs and data required for system operation are also stored in RAM 1003. CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to bus 1004.
[0165] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 1008 including a hard disk; and a communication section 1009 including a network interface card such as a LAN card or a modem. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. Removable media 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1010 as needed, so that computer programs read therefrom can be installed in the storage section 1008 as needed.
[0166] In particular, according to an embodiment of the present application, the process described with reference to the flowchart above can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1009, and / or installed from a removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the various functions defined in the method and apparatus of the present application are executed.
[0167] The exemplary embodiments of the present disclosure further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, implements the above-mentioned solution display method.
[0168] In one embodiment, a computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. The computer-readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk drive (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing the computer program, such as a read-only memory, NAND flash memory, and the like.
[0169] In one embodiment, the computer program product may be an intangible product containing a computer program. For example, the computer program product may be implemented as a virtual digital product, such as a digital file such as an executable file or installation package storing the computer program.
[0170] The code of the computer program can be written in one or more programming languages. Programming languages include C, Java, C++, etc. The program code can be executed entirely on the user computing device, partially on the user computing device, or as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device via any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., via an Internet connection provided by a carrier).
[0171] Computer programs can be carried or transmitted through electrical, magnetic, optical, electromagnetic, infrared and other signals. Electronic devices can convert signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, it can enable the processor of the electronic device to execute) the method steps of various exemplary embodiments of the present disclosure, such as the above-mentioned scheme display method, which includes the following steps: when a resource acquisition condition corresponding to a target resource is detected, determining the original resource value corresponding to the target resource; calculating the target resource value based on the resource acquisition condition and the original resource value; displaying the target resource, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition condition in the list of selected resources.
[0172] By executing the above method steps through a computer program, the problem of misleading consumers caused by the mismatch between resource value and preferential conditions existing in related technologies can be overcome. Specifically, based on the resource acquisition conditions and the original resource value, the target resource value corresponding to the resource acquisition conditions can be calculated. In the list of selected resources, the target resource, the target resource value, and the text information used to characterize the relationship between the target resource value and the resource acquisition conditions are displayed. This allows users to understand the real resource value under the resource acquisition conditions. The real resource value can also be understood as the settlement value when the resource acquisition conditions are met, rather than the value before the resource acquisition conditions are met or the price that meets some resource acquisition conditions (such as the first-item price). This can avoid the problem of misleading users, improve the authenticity of the displayed information, and thus help to improve user stickiness.
[0173] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0174] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.
[0175] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the claims.
Claims
1. A resource value display method, characterized in that: include: In the list of resources to be selected, the target resources, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition condition are displayed; wherein the target resource value is calculated based on the resource acquisition condition and the original resource value corresponding to the target resource, and the target resource corresponds to the resource acquisition condition.
2. The method according to claim 1, characterized in that Also includes: When a resource acquisition condition corresponding to a target resource is detected, determining the original resource value corresponding to the target resource; The target resource value is calculated based on the resource acquisition condition and the original resource value.
3. The method according to claim 2, characterized in that The resource acquisition condition includes a minimum resource acquisition quantity, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including: A target resource value that satisfies the minimum resource acquisition quantity is calculated based on the original resource value, and the target resource value is used to represent the total value of the target resource that satisfies the minimum resource acquisition quantity.
4. The method according to claim 2, characterized in that: The resource acquisition condition includes the maximum number of resources that can enjoy a discount, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including: Determine the discount value corresponding to the target resource within the maximum number of resources eligible for discount; The discount value is determined as the target resource value; wherein the text information is used to indicate the discount conditions for the target resource value.
5. The method according to claim 2, characterized in that: The resource acquisition condition includes a minimum resource acquisition quantity and a maximum resource quantity that can enjoy a discount. The target resource value is calculated based on the resource acquisition condition and the original resource value, including: The value of each resource corresponding to the target resource is determined in sequence above the minimum resource acquisition quantity and below the maximum resource quantity that can enjoy a discount; The value of each resource is summed up to obtain the target resource value.
6. The method according to claim 2, characterized in that The resource acquisition condition includes a non-discount activity, and the target resource value is calculated based on the resource acquisition condition and the original resource value, including: Determining a minimum resource quantity for the non-discounted activity based on the original resource value; Based on the minimum resource quantity and the original resource value, a non-discounted activity unit price corresponding to the target resource is generated as the target resource value.
7. The method according to claim 1, characterized in that In the list of resources to be selected, the target resource, the target resource value, and text information used to characterize the relationship between the target resource value and the resource acquisition condition are displayed, including: When the target resource value is less than the original resource value, the target resource, the target resource value, and text information representing the relationship between the target resource value and the resource acquisition condition are displayed in the list of available resources.
8. The method according to claim 1, characterized in that Also includes: In response to a resource selection operation for the target resource, adding the target resource to a list of resources to be settled; If the target resource quantity in the to-be-settled resource list meets the maximum number of resources that can enjoy a discount, the displayed target resource value is replaced with the original resource value for display; If the target resource quantity in the to-be-settled resource list meets the minimum resource quantity of the non-discounted activity, then the target resource value is hidden; The text information is updated, and the updated text information is used to represent the relationship between the target resource value and the resource acquisition condition before the resource selection operation.
9. The method according to claim 8, characterized in that Also includes: If there is a resource set that meets the usage conditions of non-discount activities in the list of resources to be settled, the resource value corresponding to each resource in the resource set is displayed and updated, and the updated resource value is used to represent the value when no discount activities are used.
10. The method according to claim 8, characterized in that Also includes: Before detecting the resource selection operation, displaying the target resource value and the text information in a first style, and displaying the original resource value in a second style; After the resource selection operation is detected, and the number of target resources in the to-be-settled resource list meets the maximum number of resources that can enjoy a discount, the target resource value and the text information are displayed in the second style, and the original resource value is displayed in the first style; After the resource selection operation is detected, and the target resource quantity in the to-be-settled resource list does not meet the maximum number of resources that can enjoy a discount, the target resource value and the text information are displayed in the first style, and the original resource value is displayed in the second style.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
