Waterfall page display method and device and related equipment
By receiving data requests for waterfall-style pagination from the front-end device, obtaining the product list, and determining the display strategy, the problem of not being able to fully display the value of products in existing technologies is solved. This enables the simultaneous display of cash and points prices, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JINGDONG TECH HLDG CO LTD
- Filing Date
- 2022-01-26
- Publication Date
- 2026-06-12
AI Technical Summary
Existing waterfall layout technology cannot fully display the value information of products, nor can it simultaneously display cash and points prices.
By receiving the waterfall pagination data request from the front-end device, the product list is obtained, and the display strategy is determined according to the exchange strategy of the product pool, including displaying the product exchange resource data in the form of cash, pure points, or a combination of points and cash.
It enables a comprehensive display of product value information, simultaneously showing both cash and points prices, thus enhancing the user experience.
Smart Images

Figure CN116541620B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of e-commerce data processing technology, and in particular to a waterfall layout page display method, apparatus and related equipment. Background Technology
[0002] Waterfall layout, also known as waterfall design, is a popular website page layout. In e-commerce scenarios, it's a frequently used technique for online shopping malls, allowing users to continuously scroll down and browse product data, demonstrating user dwell time on the page and potentially generating purchase orders.
[0003] In related technologies, waterfall layouts are divided into two types: one is a pure cash-based waterfall layout, where the product price is displayed in cash; the other is a points-based waterfall layout, where the product price is displayed in points or a combination of points and cash. Because these two types of waterfall layouts can only display a single product, they cannot comprehensively showcase the product's value information. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a waterfall-style page display method, apparatus, and related equipment to solve the problem that the prior art cannot fully display product value information.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] The first aspect of this invention discloses a waterfall-style page display method, applied to a server, the method comprising:
[0007] Receive waterfall pagination data requests sent by the front-end device;
[0008] Based on the waterfall pagination data request, retrieve the corresponding product list;
[0009] Iterate through the product list and obtain the current exchange resource data for each product in the product list;
[0010] Based on the product pool in which the product list is located, the exchange strategy for the product is determined, with each product pool corresponding to one exchange strategy;
[0011] Based on the exchange strategy, a display strategy for displaying the current exchange resource data of the product is determined, wherein the display strategy includes displaying the current exchange resource data of the product in one or more combinations of multiple exchange methods;
[0012] When the product list has been traversed, the waterfall flow data formed by the display strategies of all products is sent to the front-end device, so that the front-end device can render the waterfall flow data and display the rendered waterfall flow page.
[0013] Optionally, the step of requesting the corresponding product list based on the waterfall pagination data includes:
[0014] Query the product pool index that matches the scene identifier in the waterfall pagination data request;
[0015] Based on the product pool index and the pagination parameters in the waterfall pagination data request, the corresponding product list is queried from the pre-established database, and the product list is stored using an array.
[0016] Optionally, determining the display strategy for the current exchange resource data of the product based on the exchange strategy includes:
[0017] If the exchange strategy for the determined commodity is a cash exchange strategy, the current exchange resource data for the commodity will be displayed directly in the cash exchange manner;
[0018] If the exchange strategy for the determined product is a points exchange strategy, the current exchange resource data for the product will be displayed using the points exchange method.
[0019] Optionally, displaying the current exchange resource data of the product using a points exchange method includes:
[0020] Determine the display type of the points redemption strategy for the product;
[0021] If the product's points redemption strategy is displayed as a pure points display, query the points-to-cash exchange rate corresponding to the scene identifier.
[0022] The points exchange resource data of the product is calculated based on the points-to-cash exchange rate. The points exchange resource data of the product is the product of the current exchange resource data of the product and the points-to-cash exchange rate.
[0023] The pointNum field of the product attribute is updated using the product's point exchange resource data, and the product's point exchange resource data is displayed in a pure point exchange manner.
[0024] If the product's points redemption strategy is displayed as a mixed points and cash display, query the points-to-cash exchange rate and points-to-cash conversion ratio corresponding to the scene identifier.
[0025] The remaining cash exchange resource data of the product is calculated based on the points exchange ratio. The remaining cash exchange resource data of the product is the product of the difference between 1 and the points exchange ratio and the current exchange resource data of the product.
[0026] The value corresponding to the pointCash field of the product attribute is updated using the remaining cash exchange resource data;
[0027] Based on the points-to-cash exchange rate and the remaining cash exchange resource data, the points-to-cash exchange resource data of the product is calculated. The points-to-cash exchange resource data of the product is the product of the difference between the current exchange resource data of the product and the remaining cash exchange resource data of the product and the points-to-cash exchange rate.
[0028] The value of the pointNum field of the product attribute is updated using the product's points exchange resource data;
[0029] The points exchange resource data and the remaining cash exchange resource data of the product are displayed using a mixed exchange method of points and cash.
[0030] A second aspect of this invention discloses a waterfall-style page display method, applied to a front-end device, the method comprising:
[0031] Send a request for waterfall pagination data to the server;
[0032] Receive the waterfall flow data returned by the server based on the waterfall flow pagination data request;
[0033] The product list in the waterfall data is traversed to obtain the display strategy corresponding to each product, and the corresponding product is displayed based on the display strategy. The display strategy includes displaying the current exchange resource data of the product in one or more combinations of multiple exchange methods.
[0034] Optionally, displaying the corresponding products based on the display strategy includes:
[0035] If the display strategy is a cash exchange method, the current exchange resource data of the product will be displayed directly in the cash exchange method;
[0036] If the display strategy is a pure points exchange method, obtain the value corresponding to the pointNum field of the product attribute, and display the value corresponding to the pointNum field in a pure points exchange method.
[0037] If the display strategy is a mixed exchange of points and cash, the values corresponding to the pointNum field and the pointCash field of the product attribute are obtained respectively, and the values corresponding to the pointNum field and the pointCash field are displayed in a mixed exchange of points and cash.
[0038] A third aspect of this invention discloses a waterfall-style page display device, applied to a server, the device comprising:
[0039] The receiving module is used to receive waterfall pagination data requests sent by the front-end device;
[0040] The acquisition module is used to obtain the corresponding product list according to the waterfall pagination data request; traverse the product list and obtain the current exchange resource data of each product in the product list;
[0041] The determination module is used to determine the exchange strategy of the products based on the product pool in which the product list is located, with each product pool corresponding to a pricing strategy; and to determine the display strategy for displaying the current exchange resource data of the products based on the exchange strategy, wherein the display strategy includes displaying the current exchange resource data of the products using one or more of a variety of exchange methods.
[0042] The sending module is used to send the waterfall flow data formed by the display strategies of all products to the front-end device after traversing the product list, so that the front-end device can render the waterfall flow data and display the rendered waterfall flow page.
[0043] A fourth aspect of this invention discloses a waterfall-style page display device, applied to a front-end device, the device comprising:
[0044] The sending module is used to send requests for waterfall pagination data to the server;
[0045] The receiving module is used to receive the waterfall data fed back by the server based on the waterfall pagination data request;
[0046] The display module is used to traverse the product list in the waterfall data, obtain the display strategy corresponding to each product, and display the corresponding product based on the display strategy. The display strategy includes displaying the current exchange resource data of the product in one or more combinations of multiple exchange methods.
[0047] A fifth aspect of this invention discloses an electronic device, including a processor and a memory;
[0048] The memory is used to store computer programs;
[0049] When the processor is used to call and execute the computer program stored in the memory, it implements the waterfall page display method as described in any one of the first and second aspects of the embodiments of the present invention.
[0050] The sixth aspect of the present invention discloses a computer storage medium storing computer-executable instructions. When the computer-executable instructions are loaded and executed by a processor, the waterfall page display method as described in any one of the first and second aspects of the present invention is implemented.
[0051] A waterfall layout page display method, apparatus, and related devices provided by the above embodiments of the present invention include: receiving a waterfall layout pagination data request sent by a front-end device; obtaining a corresponding product list according to the waterfall layout pagination data request; traversing the product list to obtain the current exchange resource data of each product in the product list; determining the exchange strategy of the product according to the product pool in which the product list is located, with each product pool corresponding to one exchange strategy; determining a display strategy for displaying the current exchange resource data of the product according to the exchange strategy, the display strategy including displaying the current exchange resource data of the product using one or more of a variety of exchange methods; when the product list has been traversed, sending the waterfall layout data formed by the display strategies of all products to the front-end device, so that the front-end device renders the waterfall layout data and displays the rendered waterfall layout page. In this solution, upon receiving a waterfall pagination data request from the front-end device, the corresponding product list is obtained based on the request. While traversing the product list, the display strategy for the current exchanged resource data of each product is determined. After traversing the product list, the waterfall data formed by the display strategies of all products is sent to the front-end device, thereby comprehensively displaying the product value information. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0053] Figure 1 A flowchart illustrating a waterfall-style page display method provided in an embodiment of the present invention;
[0054] Figure 2 This is a schematic diagram of a process for obtaining a product list according to an embodiment of the present invention;
[0055] Figure 3 A flowchart illustrating a product display strategy provided in an embodiment of the present invention;
[0056] Figure 4This invention provides a schematic flowchart illustrating the display of current exchange resource data for goods using a points-based exchange method, as provided in an embodiment of the invention.
[0057] Figure 5 A flowchart illustrating another waterfall-style page display method provided in an embodiment of the present invention;
[0058] Figure 6 A flowchart illustrating a process for displaying corresponding products based on a display strategy, provided as an embodiment of the present invention;
[0059] Figure 7 This is a schematic diagram of the structure of a waterfall-style page display device provided in an embodiment of the present invention;
[0060] Figure 8 This is an interactive schematic diagram of a waterfall-style page display provided in an embodiment of the present invention;
[0061] Figure 9 This is a schematic diagram of the structure of an electronic device 90 provided in an embodiment of the present invention. Detailed Implementation
[0062] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0063] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0064] As can be seen from the background technology, the existing waterfall layout can only realize a single product waterfall layout and cannot fully display product value information.
[0065] Therefore, embodiments of the present invention provide a waterfall flow page display method, apparatus, and related equipment. In this solution, when a waterfall flow pagination data request is received from a front-end device, the corresponding product list is obtained based on the waterfall flow pagination data request. When traversing the product list, the display strategy for the current exchange resource data of each product is determined. After traversing the product list, the waterfall flow data formed by the display strategies of all products is sent to the front-end device, thereby comprehensively displaying the product value information.
[0066] like Figure 1 The diagram shown is a flowchart of a waterfall layout page display method provided by an embodiment of the present invention. This method is applied to the server side and mainly includes the following steps:
[0067] Step S101: Receive the waterfall pagination data request sent by the front-end device.
[0068] In the specific implementation step S101, the server receives the waterfall pagination data request sent by the front-end device. In other words, the front-end device requests the server to obtain the waterfall pagination data.
[0069] Step S102: Obtain the corresponding product list based on the waterfall pagination data request.
[0070] In the specific implementation step S102, the server retrieves the corresponding product list from the pre-established database based on the waterfall pagination data request.
[0071] Optionally, the waterfall pagination data request includes a scene identifier and pagination parameters. Step S102 involves obtaining the corresponding product list based on the waterfall pagination data request, such as... Figure 2 The diagram shown illustrates a process for obtaining a product list according to an embodiment of the present invention, mainly including the following steps:
[0072] Step S201: Query the product pool index that matches the scene identifier in the waterfall pagination data request.
[0073] In step S201, the scene identifier is sceneID.
[0074] There is a pre-defined correspondence between the product pool index and the scene identifier, which can be pre-processed by the data processing module.
[0075] It should be noted that the product pool index can be represented by a Key.
[0076] In the specific implementation step S201, the server queries the product pool index that matches the scene identifier in the waterfall pagination data request by using the scene identifier.
[0077] Step S202: Based on the product pool index and the pagination parameters in the waterfall pagination data request, query the corresponding product list from the pre-established database.
[0078] In step S202, the product list is stored using an array.
[0079] Optionally, the database can be ES (Elasticsearch).
[0080] Optionally, the array can be represented using an ArrayList.
[0081] Preferably, the product list can be stored in an ordered manner using an ArrayList.
[0082] In the specific implementation step S202, after the server retrieves the product pool index, it further queries the pre-established database for a list of products that match the product pool index and the pagination parameters in the waterfall flow pagination data request.
[0083] Step S103: Traverse the product list and obtain the current exchange resource data for each product in the product list.
[0084] In step S103, the current exchanged resource data includes, but is not limited to, the current sales price.
[0085] In the specific implementation of step S103, the server, while traversing the product list, obtains the current exchange resource data for each product in the product list.
[0086] Step S104: Determine the product exchange strategy based on the product pool in which the product list is located.
[0087] In step S104, each product pool corresponds to a swapping strategy.
[0088] The product pool contains configuration information for the corresponding exchange strategy.
[0089] Optionally, the exchange strategy may include, but is not limited to, a price strategy.
[0090] Preferably, each exchange strategy is stored using a SET to facilitate subsequent existence checks.
[0091] Understandably, each pricing strategy is stored using a SET.
[0092] In this embodiment of the invention, there are two exchange strategies for goods: one is a points exchange strategy, and the other is a cash exchange strategy.
[0093] In the specific implementation of step S104, during the process of traversing the product list, the server first determines the product pool in which the product list is located. Then, based on the product pool in which the product list is located, the server knows the configuration information of the exchange strategy configured in the product pool, and thus determines the product exchange strategy based on the configuration information.
[0094] Step S105: Based on the exchange strategy, determine the display strategy for the current exchange resource data of the displayed goods.
[0095] In step S105, the display strategy includes displaying the current exchange resource data of the goods in one or more combinations of multiple exchange methods.
[0096] In practical applications, display strategies include displaying the current exchange resource data of goods directly through cash exchange, displaying the current exchange resource data of goods through pure points exchange, or displaying the current exchange resource data of goods through a combination of points and cash exchange.
[0097] In this embodiment of the invention, the display strategy is pre-marked with the product price type priceShowType, that is, the product is pre-marked with the product price type priceShowType.
[0098] Product price types are divided into cash price, pure points price, and a combination of points and cash price.
[0099] In the specific implementation of step S105, if the exchange strategy determined at this time is a cash exchange strategy, then the display strategy for the current exchange resource data of the goods is further determined based on the cash exchange strategy (the current exchange resource data of the goods is directly displayed in the cash exchange method); if the exchange strategy determined at this time is a points exchange strategy, then the display strategy for the current exchange resource data of the goods is further determined based on the points exchange strategy (the current exchange resource data of the goods is displayed in the pure points exchange method, or the current exchange resource data of the goods is displayed in the mixed points and cash exchange method).
[0100] Step S106: Determine whether the product list has been traversed. If yes, proceed to step S107; otherwise, return to step S103.
[0101] Step S107: Send the waterfall data formed by the display strategies of all products to the front-end device, so that the front-end device can render the waterfall data and display the rendered waterfall page.
[0102] In the specific implementation step S107, after the server completes the traversal of the product list, it forms the display strategies of all products into waterfall data and sends the waterfall data to the front-end device. The front-end device receives the waterfall data, renders it, and then displays the rendered waterfall page.
[0103] A waterfall layout page display method provided by this invention involves receiving a waterfall layout pagination data request from a front-end device; obtaining a corresponding product list based on the request; traversing the product list to obtain the current exchange resource data for each product; determining the product exchange strategy based on the product pool in which the product list belongs; determining the display strategy for the current exchange resource data of the displayed products based on the exchange strategy; and, upon completion of traversing the product list, sending the waterfall layout data formed by the display strategies of all products to the front-end device, enabling the front-end device to render the waterfall layout data and display the rendered waterfall layout page. In this solution, upon receiving a waterfall layout pagination data request from the front-end device, the corresponding product list is obtained based on the request. While traversing the product list, a display strategy for displaying the current exchange resource data of each product is determined. After completing the traversal of the product list, the waterfall layout data formed by the display strategies of all products is sent to the front-end device, thereby comprehensively displaying product value information.
[0104] Based on the waterfall page display method provided in the above embodiments of the present invention, the process of executing step S105, which determines the display strategy of the current exchange resource data of the displayed goods according to the exchange strategy, is as follows: Figure 3 The diagram shown is a flowchart illustrating a product display strategy according to an embodiment of the present invention, which mainly includes the following steps:
[0105] Step S301: Determine whether the exchange strategy for the determined goods is a cash exchange strategy. If yes, proceed to step S302; otherwise, proceed to step S303. Specifically, in implementing step S301, it is determined whether the exchange strategy for the determined goods is a cash exchange strategy. If yes, it indicates that the exchange strategy for the determined goods is a cash exchange strategy, and step S302 is executed. If no, it indicates that the exchange strategy for the determined goods is a points exchange strategy, and step S303 is executed.
[0106] Step S302: Directly display the current exchange resource data of the goods using a cash exchange method. In the specific implementation of step S302, under the premise that the determined exchange strategy of the goods is a cash exchange strategy, the current exchange resource data of the goods are directly displayed using a cash exchange method.
[0107] Step S303: Display the current exchange resource data of the product in the form of points exchange.
[0108] In the specific implementation of step S303, under the premise that the exchange strategy for the determined goods is the points exchange strategy, the current exchange resource data of the goods is displayed in the points exchange method.
[0109] For example, in steps S301 to S303, if the current selling price of the product is 10 yuan, and the determined exchange strategy for the product is a cash exchange strategy, the current selling price of the product is directly displayed in the cash exchange manner, that is, the current selling price of the product of 10 yuan is directly displayed.
[0110] When the exchange strategy for the determined product is a points exchange strategy, the current selling price of the product is displayed in the form of points exchange. Specifically, the current selling price of the product is first converted into points according to the conversion rules. If the conversion rule at this time is 1 yuan = 5 points, then the current selling price of the product is 10 yuan = 50 points. Therefore, the current selling price of the product is displayed as 50 points.
[0111] Optionally, step S303 involves displaying the current exchange resource data of the goods using a points exchange method, such as... Figure 4 The diagram shown illustrates a process for displaying current exchange resource data of goods using a points-based exchange method, according to an embodiment of the present invention. The process mainly includes the following steps:
[0112] Step S401: Determine the display type of the product's points redemption strategy. If the product's points redemption strategy is a pure points display type, proceed to step S402. If the product's points redemption strategy is a mixed points and cash display type, proceed to step S405. Step S402: Query the points-to-cash exchange rate corresponding to the scene identifier.
[0113] In step S402, the points-to-cash exchange rate is 1 yuan cash = N points, which can be pre-configured by the system backend, where N is a real number greater than 1.
[0114] Optionally, 1 yuan cash = 10 points, or 1 yuan cash = 20 points, but this invention does not impose any limitations.
[0115] In the specific implementation step S402, the server queries the points-to-cash exchange rate corresponding to the scene identifier, provided that the display type of the product's points exchange strategy is a pure points display type.
[0116] Step S403: Calculate the points exchange resource data for the goods based on the points-to-cash exchange rate. In step S403, the points exchange resource data includes, but is not limited to, the points price.
[0117] The points exchange resource data for a product is the product of the product's current exchange resource data and the points-to-cash exchange rate, that is: points exchange resource data for a product = current exchange resource data for the product * points-to-cash exchange rate.
[0118] It is understandable that the points price of a product is the product of the product's current selling price and the points-to-cash exchange rate, that is: points price of a product = current selling price of the product * points-to-cash exchange rate.
[0119] In the specific implementation step S403, the server uses the current exchange resource data of the product and the queried points-to-cash exchange rate to perform multiplication calculation to obtain a specific value, which is the points-to-exchange resource data of the product.
[0120] Step S404: Update the value of the pointNum field of the product attribute using the product's points exchange resource data, and display the product's points exchange resource data in a pure points exchange manner.
[0121] In the specific implementation step S404, the server updates the value corresponding to the pointNum field of the product's points quantity using the calculated product's points exchange resource data, and displays the product's points exchange resource data in a pure points exchange mode.
[0122] For example, in steps S401 to S404, if the current selling price of the product is 10 yuan, the determined exchange strategy for the product is a points exchange strategy. In this case, the display type of the product's points exchange strategy is a pure points display type.
[0123] Specifically, first, the point-to-cash exchange rate corresponding to the scene identifier is found to be 1 yuan = 10 points. Then, the current selling price of the product (10 yuan) is multiplied by the found point-to-cash exchange rate (1 yuan = 10 points), i.e., 10 * 10 = 100 points, resulting in a point price of 100 points for the product. Next, the calculated point price of the product is used to update the value of the pointNum field corresponding to the product's point quantity, and the point price of the product is displayed in a pure point exchange manner, i.e., displaying the current selling price of the product as 100 points.
[0124] Step S405: Query the points-to-cash exchange rate and points-to-cash conversion ratio corresponding to the scene identifier.
[0125] In step S405, the points redemption ratio can be represented by skuPointRate, which is the proportion of the cash value of a product that can be paid for with points. This ratio can be pre-configured by the system backend.
[0126] In the specific implementation step S405, the server, after determining that the display type of the product's points exchange strategy is a mixed display type of points plus cash, queries the points-to-cash exchange rate and points-to-cash ratio corresponding to the scene identifier.
[0127] Step S406: Calculate the remaining cash exchange resource data for the goods based on the points exchange ratio.
[0128] In step S406, the remaining cash exchange resource data includes, but is not limited to, the remaining cash price.
[0129] The remaining cash exchange resource data of a product is the product of the difference between 1 and the points exchange ratio and the current exchange resource data of the product, that is: remaining cash exchange resource data of a product = (1 - points exchange ratio) * current exchange resource data of the product.
[0130] It is understandable that the remaining cash price of a product is the product of the difference between the remaining cash price of the product and the points redemption ratio, and the current selling price of the product. That is: remaining cash price of the product = (1 - points redemption ratio) * current selling price of the product.
[0131] In the specific implementation step S406, the server first uses 1 and the points exchange ratio to perform a subtraction calculation to obtain a specific difference. Then, it uses this difference to perform a multiplication calculation with the current exchange resource data of the product to obtain a specific value, which is the remaining cash exchange resource data of the product.
[0132] Step S407: Update the value of the pointCash field corresponding to the commodity support cash price in the commodity attribute using the remaining cash exchange resource data.
[0133] Step S408: Calculate the points exchange resource data for the goods based on the points-to-cash exchange rate and the remaining cash exchange resource data.
[0134] In step S408, the points exchange resource data of a product is the product of the difference between the current exchange resource data and the remaining cash exchange resource data of the product and the points-to-cash exchange rate, that is: points exchange resource data of a product = (current exchange resource data of the product - remaining cash exchange resource data of the product) * points-to-cash exchange rate.
[0135] It is understandable that the points price of a product is the product of the difference between the current selling price of the product and the remaining cash price of the product and the points-to-cash exchange rate, that is: points price of a product = (current selling price of the product - remaining cash price of the product) * points-to-cash exchange rate.
[0136] In the specific implementation step S408, the server first uses the current exchange resource data of the product and the remaining cash exchange resource data of the product to perform a subtraction calculation to obtain a specific difference. Then, it uses this difference to perform a multiplication calculation with the points-to-cash exchange rate to obtain a specific value, which is the points-to-exchange resource data of the product.
[0137] Step S409: Update the value of the pointNum field of the product attribute using the product's points exchange resource data.
[0138] Step S410: Display the points exchange resource data and the remaining cash exchange resource data of the goods in a mixed exchange method of points and cash.
[0139] It is understandable that the points price and the remaining cash price of the goods are displayed using a mixed exchange method of points and cash.
[0140] For example, in steps S405 to S410, if the current selling price of the product is 10 yuan, the determined pricing strategy for the product is a points exchange strategy. In this case, the display type of the product's points exchange strategy is a mixed display type of points plus cash.
[0141] Specifically, the exchange rate for points to cash corresponding to the scene identifier is 1 yuan = 10 points, and the points exchange ratio is 0.3.
[0142] Then, subtract 1 from the points exchange rate to calculate 1-0.3=0.7, resulting in a difference of 0.7. Then, multiply 0.7 by the current selling price of the product, 10 yuan, to calculate 0.7*10=7. The remaining cash price of the product is 7 yuan.
[0143] Next, the value of the pointCash field is updated using the calculated remaining cash price of the goods.
[0144] Next, subtract the current selling price of the product (10 yuan) from the remaining cash price (7 yuan) to get a difference of 3. Then, multiply this difference of 3 with the points-to-cash exchange rate (1 yuan = 10 points) to get 3 * 10 = 30, thus obtaining the product's points price as 30 points.
[0145] Next, the value of the pointNum field is updated using the calculated points price of the product.
[0146] Finally, the points price and the remaining cash price of the product are displayed using a mixed exchange method of points and cash, that is, the points price of the product is displayed as 30 points and the remaining cash price of the product is 7 yuan.
[0147] Based on the waterfall layout page display method provided by the embodiments of the present invention, when traversing the product list, the display strategy for displaying the current exchange resource data of each product is further determined according to the determined exchange strategy, so as to comprehensively display the product value information.
[0148] Based on the above embodiments of the present invention Figure 1 The waterfall layout page display method shown is as follows: Figure 5 The diagram shown is a flowchart of another waterfall-style page display method provided by an embodiment of the present invention. This method is applied to a front-end device and mainly includes the following steps:
[0149] Step S501: Send a waterfall pagination data request to the server.
[0150] In the specific implementation step S501, the front-end device requests the server to obtain the waterfall pagination data; in other words, the front-end device sends a waterfall pagination data request to the server.
[0151] Step S502: Receive the waterfall data returned by the server based on the waterfall pagination data request.
[0152] In step S502, the waterfall data is formed by the display strategy of all products.
[0153] In the specific implementation step S502, the front-end device receives waterfall data formed by the display strategy of all products, which is fed back by the server based on the waterfall pagination data request.
[0154] Step S503: Traverse the product list in the waterfall data, obtain the display strategy corresponding to each product, and display the corresponding product based on the display strategy.
[0155] In step S503, the display strategy includes displaying the current exchange resource data of the goods in one or more combinations of multiple exchange methods.
[0156] In practical applications, display strategies include directly displaying the current exchange resource data of a product through cash exchange, displaying the current selling price of a product through pure points exchange, or displaying the current exchange resource data of a product through a combination of points and cash exchange.
[0157] It should be noted that the display strategy is pre-marked with the product price type (priceShowType), and the corresponding display strategy for the product can be determined based on the product price type (priceShowType).
[0158] Understandably, products are displayed based on their priceShowType.
[0159] In the specific implementation step S503, the product list in the waterfall data is traversed, and the display strategy corresponding to each product is obtained according to the pre-marked product price type priceShowType. The corresponding product is then displayed based on the display strategy.
[0160] Optionally, step S503 involves displaying the corresponding product based on the display strategy, such as... Figure 6 The diagram shown illustrates a process for displaying corresponding products based on a display strategy, according to an embodiment of the present invention. The process mainly includes the following steps:
[0161] Step S601: Determine the display strategy corresponding to the product. If the display strategy is cash exchange, proceed to step S602; if the display strategy is pure points exchange, proceed to step S603; if the display strategy is a mixed points and cash exchange, proceed to step S604. It should be noted that the product's display strategy is determined based on the pre-marked priceShowType. If the display strategy is cash exchange, proceed to step S602; if the display strategy is pure points exchange, proceed to step S603; if the display strategy is a mixed points and cash exchange, proceed to step S604.
[0162] Step S602: Directly display the current exchange resource data of the goods in cash exchange mode.
[0163] In the specific implementation step S602, if the display strategy corresponding to the product is determined to be cash exchange method, then the current exchange resource data of the product is directly displayed in cash exchange method.
[0164] Step S603: Obtain the value corresponding to the pointNum field of the product attribute, and display the value corresponding to the pointNum field in a pure points exchange method.
[0165] In the specific implementation step S603, if it is determined that the display strategy corresponding to the product is a pure points exchange method, then the value corresponding to the pointNum field of the product attribute is obtained, and the value corresponding to the pointNum field is displayed in a pure points manner.
[0166] Step S604: Obtain the values of the pointNum and pointCash fields of the product attributes respectively, and display the values of the pointNum and pointCash fields in a mixed exchange method of points and cash.
[0167] In the specific implementation step S604, if the display strategy corresponding to the product is determined to be a mixed exchange method of points and cash, then the value corresponding to the pointNum field of the product attribute and the value corresponding to the pointCash field of the product attribute are obtained, and the values corresponding to the pointNum field and the pointCash field are displayed in the mixed exchange method of points and cash.
[0168] According to the embodiments of the present invention, a waterfall flow page display method is provided. After receiving the waterfall flow data returned by the server based on the waterfall flow pagination data request, the method traverses the product list in the waterfall flow data to obtain the display strategy corresponding to each product, and uses the display strategy to display the corresponding product, thereby comprehensively displaying the product value information.
[0169] Compared with the above embodiments of the present invention Figure 1 Corresponding to the waterfall page display method shown, this embodiment of the invention also provides a waterfall page display device, such as... Figure 7 As shown, the device is applied to the server side and includes: a receiving module 701, an acquiring module 702, a determining module 703, and a sending module 704.
[0170] The receiving module 701 is used to receive waterfall pagination data requests sent by the front-end device.
[0171] The acquisition module 702 is used to obtain the corresponding product list based on the waterfall pagination data request; it iterates through the product list and obtains the current exchange resource data for each product in the product list.
[0172] The determination module 703 is used to determine the exchange strategy of the products based on the product pool in which the product list is located, wherein each product pool corresponds to an exchange strategy; and to determine the display strategy for displaying the current exchange resource data of the products based on the exchange strategy, wherein the display strategy includes displaying the current exchange resource data of the products in one or more combinations of multiple exchange methods.
[0173] The sending module 704 is used to send the waterfall flow data formed by the display strategies of all products to the front-end device after traversing the product list, so that the front-end device can render the waterfall flow data and display the rendered waterfall flow page.
[0174] Optionally, based on the above Figure 7 The acquisition module 702 shown is specifically used for:
[0175] Query the product pool index that matches the scene identifier in the waterfall pagination data request; based on the product pool index and the pagination parameters in the waterfall pagination data request, query the corresponding product list from the pre-built database, where the product list is stored using an array.
[0176] Optionally, based on the above Figure 7 The determination module 703 shown, which is used to determine the display strategy of the current exchange resource data of the displayed goods according to the exchange strategy, includes:
[0177] In the first display unit, if the determined exchange strategy for the goods is a cash exchange strategy, the current exchange resource data of the goods will be displayed directly in the cash exchange method.
[0178] The second display unit is used to display the current exchange resource data of a product if the exchange strategy for that product is a points exchange strategy.
[0179] Optionally, based on the above Figure 7 The determination module 703 shown includes the second display unit, which comprises:
[0180] The judgment sub-unit is used to determine the type of points-based price display for a product.
[0181] The first query sub-unit is used to query the points-to-cash exchange rate corresponding to the scenario identifier if the product's points exchange strategy is displayed as a pure points display.
[0182] The first calculation subunit is used to calculate the points exchange resource data of the goods based on the points-to-cash exchange rate.
[0183] The points exchange resource data for a product is the product of the product's current exchange resource data and the points-to-cash exchange rate.
[0184] The first display sub-unit is used to update the value of the pointNum field of the product attribute using the product's points exchange resource data, and to display the product's points exchange resource data in a pure points exchange manner.
[0185] The second query sub-unit is used to query the points-to-cash exchange rate and points-to-cash conversion ratio corresponding to the scenario identifier if the product's points exchange strategy is displayed as a mixed points-plus-cash display.
[0186] The second calculation subunit is used to calculate the remaining cash exchange resource data of goods based on the points redemption ratio.
[0187] Among them, the remaining cash exchange resource data of the goods is the product of the difference between 1 and the points exchange ratio and the current exchange resource data of the goods.
[0188] The first update subunit is used to update the value of the pointCash field corresponding to the commodity support cash price of the commodity attribute using the remaining cash exchange resource data.
[0189] The third calculation subunit is used to calculate the points exchange resource data of goods based on the points-to-cash exchange rate and the remaining cash exchange resource data.
[0190] Among them, the points exchange resource data of a commodity is the product of the difference between the current exchange resource data of the commodity and the remaining cash exchange resource data of the commodity and the points-to-cash exchange rate.
[0191] The second update subunit is used to update the value of the pointNum field of the product attribute using the product's points exchange resource data.
[0192] The second display sub-unit is used to display the points exchange resource data and the remaining cash exchange resource data of the goods in a mixed exchange method of points and cash.
[0193] It should be noted that the specific principles and execution processes of each module in the waterfall page display device disclosed in the above embodiments of the present invention are the same as those of the waterfall page display method of the present invention. Please refer to the corresponding parts of the waterfall page display method disclosed in the above embodiments of the present invention, which will not be repeated here.
[0194] A waterfall-style page display device provided by this invention receives a waterfall-style pagination data request sent by a front-end device; obtains a corresponding product list based on the request; traverses the product list to obtain the current exchange resource data for each product; determines the exchange strategy for the products based on the product pool in which the product list belongs; determines the display strategy for the current exchange resource data of the displayed products based on the exchange strategy; and, after traversing the product list, sends the waterfall-style data formed by the display strategies of all products to the front-end device, enabling the front-end device to render the waterfall-style data and display the rendered waterfall-style page. In this solution, upon receiving a waterfall-style pagination data request from the front-end device, the corresponding product list is obtained based on the request. While traversing the product list, a display strategy for displaying the current exchange resource data of each product is determined. After traversing the product list, the waterfall-style data formed by the display strategies of all products is sent to the front-end device, thereby comprehensively displaying product value information.
[0195] Compared with the above embodiments of the present invention Figure 5 Corresponding to the waterfall page display method shown, this embodiment of the invention also provides another waterfall page display device, which is applied to a front-end device and includes: a sending module, a receiving module, and a display module.
[0196] The sending module is used to send requests for waterfall pagination data to the server.
[0197] The receiving module is used to receive waterfall data from the server based on the waterfall pagination data request.
[0198] The display module is used to traverse the product list in the waterfall data, obtain the display strategy for each product, and display the corresponding product based on the display strategy.
[0199] The display strategy includes displaying the current exchange resource data of the goods in one or more combinations of various exchange methods.
[0200] Optionally, based on the display module shown above, the display module is specifically used for:
[0201] If the display strategy is cash exchange, the current exchange resource data of the product is displayed directly in cash exchange mode; if the display strategy is pure points exchange, the value of the pointNum field of the product attribute is obtained and displayed in pure points exchange mode; if the display strategy is a mixed points and cash exchange mode, the values of the pointNum field and pointCash field of the product attribute are obtained respectively and displayed in a mixed points and cash exchange mode.
[0202] It should be noted that the specific principles and execution processes of each module in the waterfall page display device disclosed in the above embodiments of the present invention are the same as those of the waterfall page display method of the present invention. Please refer to the corresponding parts of the waterfall page display method disclosed in the above embodiments of the present invention, which will not be repeated here.
[0203] According to the embodiments of the present invention, a waterfall flow page display method is provided. After receiving the waterfall flow data returned by the server based on the waterfall flow pagination data request, the method traverses the product list in the waterfall flow data to obtain the display strategy corresponding to each product, and uses the display strategy to display the corresponding product, thereby comprehensively displaying the product value information.
[0204] Corresponding to the waterfall page display method and device shown in the above embodiments of the present invention, the present invention also provides a waterfall page display system, which includes a server and a front-end device.
[0205] The server is configured to receive waterfall pagination data requests from the front-end device; obtain the corresponding product list based on the waterfall pagination data requests; traverse the product list to obtain the current exchange resource data for each product; determine the exchange strategy for the products based on the product pool to which the product list belongs, with each product pool corresponding to one exchange strategy; determine the display strategy for the current exchange resource data of the products based on the exchange strategy, the display strategy including displaying the current exchange resource data of the products using one or more of a variety of exchange methods; when the product list has been traversed, send the waterfall data formed by the display strategies of all products to the front-end device, so that the front-end device can render the waterfall data and display the rendered waterfall page.
[0206] The front-end device is used to send a waterfall flow pagination data request to the server; receive waterfall flow data fed back by the server based on the waterfall flow pagination data request; traverse the product list in the waterfall flow data, obtain the display strategy corresponding to each product, and display the corresponding product based on the display strategy. The display strategy includes the current exchange resource data of displaying the product in one or more combinations of multiple exchange methods.
[0207] According to the waterfall page display system provided by the embodiments of the present invention, when a waterfall pagination data request is received from a front-end device, the corresponding product list is obtained based on the waterfall pagination data request. When traversing the product list, the display strategy for the current exchange resource data of each product is determined. After traversing the product list, the waterfall data formed by the display strategies of all products is sent to the front-end device, thereby enabling a comprehensive display of product value information.
[0208] Based on the waterfall page display method and system shown in the above embodiments of the present invention, the present invention also provides an interactive schematic diagram of waterfall page display, as follows: Figure 8 As shown.
[0209] Step S801: The front-end device sends a waterfall pagination data request to the server.
[0210] Step S802: The server requests the corresponding product list based on the waterfall pagination data.
[0211] Step S803: The server iterates through the product list and obtains the current exchange resource data for each product in the product list.
[0212] Step S804: The server determines the product exchange strategy based on the product pool in which the product list is located.
[0213] Step S805: The server determines the display strategy for the current exchange resource data of the displayed product based on the exchange strategy.
[0214] Step S806: When the server has finished traversing the product list, it sends the waterfall flow data formed by the display strategies of all products to the front-end device.
[0215] Step S807: The front-end device traverses the product list in the waterfall data, obtains the display strategy corresponding to each product, and displays the corresponding product based on the display strategy.
[0216] According to the waterfall page display system provided by the embodiments of the present invention, when the server receives a waterfall pagination data request sent by the front-end device, it obtains the corresponding product list based on the waterfall pagination data request. When traversing the product list, it determines the display strategy for the current exchange resource data of each product. After traversing the product list, it sends the waterfall data formed by the display strategies of all products to the front-end device. The front-end device renders the waterfall data, thereby comprehensively displaying the product value information.
[0217] Based on the waterfall page display device and system disclosed in the above embodiments, each of the above modules can be implemented by a hardware device consisting of a processor and a memory. Specifically, each of the above modules is stored as a program unit in the memory, and the processor executes the program units stored in the memory to implement the waterfall page display.
[0218] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and the waterfall layout can be achieved by adjusting kernel parameters.
[0219] This disclosure provides a computer storage medium including a waterfall page display program, wherein the program, when executed by a processor, implements the waterfall page display method as described in any one of claims 1 to 6.
[0220] This disclosure provides a processor for running a program, wherein the program executes the waterfall page display method disclosed in the above embodiments.
[0221] This disclosure provides an electronic device, such as... Figure 9 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this disclosure.
[0222] The electronic device 90 in this embodiment may be a server, PC, PAD, mobile phone, etc.
[0223] The electronic device 90 includes at least one processor 901, at least one memory 902 connected to the processor, and a bus 903.
[0224] The processor 901 and the memory 902 communicate with each other via the bus 903.
[0225] Processor 901 is used to execute programs stored in memory.
[0226] The memory 902 is used to store a program that is at least used for: receiving a waterfall pagination data request sent by the front-end device; obtaining the corresponding product list according to the waterfall pagination data request; traversing the product list and obtaining the current exchange resource data of each product in the product list; determining the product exchange strategy according to the product pool in which the product list is located; determining the display strategy of the current exchange resource data of the displayed products according to the exchange strategy; and when the product list has been traversed, sending the waterfall data formed by the display strategies of all products to the front-end device, so that the front-end device renders the waterfall data and displays the rendered waterfall page.
[0227] This application also provides a computer program product, which, when executed on an electronic device, is suitable for executing a program that initializes the following method steps:
[0228] Receive the waterfall pagination data request sent by the front-end device; obtain the corresponding product list according to the waterfall pagination data request; traverse the product list and obtain the current exchange resource data of each product in the product list; determine the product exchange strategy according to the product pool in which the product list belongs; determine the display strategy of the current exchange resource data of the displayed products according to the exchange strategy; when the product list has been traversed, send the waterfall data formed by the display strategies of all products to the front-end device, so that the front-end device renders the waterfall data and displays the rendered waterfall page.
[0229] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0230] In a typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input / output interfaces, network interfaces, etc.
[0231] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM, and memory includes at least one memory chip. Memory is an example of computer-readable media.
[0232] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0233] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0234] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0235] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A waterfall-style page display method, characterized in that, Applied to the server side, the method includes: Receive waterfall pagination data requests sent by the front-end device; Based on the waterfall pagination data request, retrieve the corresponding product list; Iterate through the product list and obtain the current exchange resource data for each product in the product list; the current exchange resource data includes at least the current selling price, which includes the cash price and / or the points price; Based on the product pool in which the product list is located, determine the exchange strategy for the product, with each product pool corresponding to one exchange strategy; Based on the exchange strategy, a display strategy for displaying the current exchange resource data of the product is determined, wherein the display strategy includes displaying the current exchange resource data of the product in one or more combinations of multiple exchange methods; When the product list has been traversed, the waterfall flow data formed by the display strategies of all products is sent to the front-end device, so that the front-end device can render the waterfall flow data and display the rendered waterfall flow page.
2. The method according to claim 1, characterized in that, The step of requesting the corresponding product list based on the waterfall pagination data includes: Query the product pool index that matches the scene identifier in the waterfall pagination data request; Based on the product pool index and the pagination parameters in the waterfall pagination data request, the corresponding product list is queried from the pre-established database, and the product list is stored using an array.
3. The method according to claim 1, characterized in that, The step of determining the display strategy for the current exchange resource data of the product based on the exchange strategy includes: If the exchange strategy for the determined commodity is a cash exchange strategy, the current exchange resource data for the commodity will be displayed directly in the cash exchange manner; If the exchange strategy for the determined product is a points exchange strategy, the current exchange resource data for the product will be displayed using the points exchange method.
4. The method according to claim 3, characterized in that, The method of displaying the current exchange resource data of the product through points exchange includes: Determine the display type of the points redemption strategy for the product; If the product's points redemption strategy is displayed as a pure points display, query the points-to-cash exchange rate corresponding to the scenario identifier. The points exchange resource data of the product is calculated based on the points-to-cash exchange rate. The points exchange resource data of the product is the product of the current exchange resource data of the product and the points-to-cash exchange rate. The pointNum field of the product attribute is updated using the product's point exchange resource data, and the product's point exchange resource data is displayed in a pure point exchange manner. If the product's points redemption strategy is displayed as a mixed points and cash display, query the points-to-cash exchange rate and points-to-cash conversion ratio corresponding to the scene identifier. The remaining cash exchange resource data of the product is calculated based on the points exchange ratio. The remaining cash exchange resource data of the product is the product of the difference between 1 and the points exchange ratio and the current exchange resource data of the product. The value corresponding to the pointCash field of the product attribute is updated using the remaining cash exchange resource data; Based on the points-to-cash exchange rate and the remaining cash exchange resource data, the points-to-cash exchange resource data of the product is calculated. The points-to-cash exchange resource data of the product is the product of the difference between the current exchange resource data of the product and the remaining cash exchange resource data of the product and the points-to-cash exchange rate. The value of the pointNum field of the product attribute is updated using the product's points exchange resource data; The points exchange resource data and the remaining cash exchange resource data of the product are displayed using a mixed exchange method of points and cash.
5. A waterfall-style page display method, characterized in that, Applied to a front-end device, the method includes: Send a request for waterfall pagination data to the server; Receive the waterfall flow data returned by the server based on the waterfall flow pagination data request; The system iterates through the product list in the waterfall data, obtains the display strategy for each product, and displays the corresponding product based on the display strategy. The display strategy includes displaying the current exchange resource data of the product using one or more of a variety of exchange methods. The current exchange resource data includes at least the current selling price, which includes the cash price and / or the points price. The display strategy is determined based on the exchange strategy, which determines the display strategy for the current exchange resource data of the product. The exchange strategy is determined based on the product pool in which the product list belongs, with each product pool corresponding to one exchange strategy.
6. The method according to claim 5, characterized in that, The process of displaying the corresponding products based on the display strategy includes: If the display strategy is a cash exchange method, the current exchange resource data of the product will be displayed directly in the cash exchange method; If the display strategy is a pure points exchange method, obtain the value corresponding to the pointNum field of the product attribute, and display the value corresponding to the pointNum field in a pure points exchange method. If the display strategy is a mixed exchange of points and cash, the values corresponding to the pointNum field and the pointCash field of the product attribute are obtained respectively, and the values corresponding to the pointNum field and the pointCash field are displayed in a mixed exchange of points and cash.
7. A waterfall-style page display device, characterized in that, Applied to the server side, the device includes: The receiving module is used to receive waterfall pagination data requests sent by the front-end device; The acquisition module is used to obtain the corresponding product list according to the waterfall pagination data request; traverse the product list and obtain the current exchange resource data of each product in the product list; the current exchange resource data includes at least the current sales price, and the current sales price includes cash price and / or points price; The determination module is used to determine the exchange strategy of the products based on the product pool in which the product list is located, with each product pool corresponding to a pricing strategy; and to determine the display strategy for displaying the current exchange resource data of the products based on the exchange strategy, wherein the display strategy includes displaying the current exchange resource data of the products using one or more of a variety of exchange methods. The sending module is used to send the waterfall flow data formed by the display strategies of all products to the front-end device after traversing the product list, so that the front-end device can render the waterfall flow data and display the rendered waterfall flow page.
8. A waterfall-style page display device, characterized in that, Applied to a front-end device, the device includes: The sending module is used to send requests for waterfall pagination data to the server; The receiving module is used to receive the waterfall data fed back by the server based on the waterfall pagination data request; The display module is used to traverse the product list in the waterfall data, obtain the display strategy corresponding to each product, and display the corresponding product based on the display strategy. The display strategy includes displaying the current exchange resource data of the product in one or more combinations of multiple exchange methods. The current exchange resource data includes at least the current selling price, which includes the cash price and / or the points price. The display strategy is determined based on the exchange strategy to display the current exchange resource data of the product. The exchange strategy is determined based on the product pool in which the product list belongs, and each product pool corresponds to one exchange strategy.
9. An electronic device, characterized in that, Including processor and memory; The memory is used to store computer programs; When the processor calls and executes the computer program stored in the memory, it implements the waterfall page display method as described in any one of claims 1 to 6.
10. A computer storage medium, characterized in that, The computer storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the waterfall page display method as described in any one of claims 1 to 6.