Method and device for determining price of article and storage medium
By receiving attribute values in the customized item interface and automatically generating prices using pre-designed pricing rules, the problems of cumbersome and inaccurate pricing of customized items are solved, and efficient and accurate customized item price generation is achieved.
Patent Information
- Application Number
- CN202510706341.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-09
AI Technical Summary
In the prior art, the pricing rules for customized items are numerous and complex, resulting in a cumbersome, time-consuming, and inaccurate price determination process. In particular, errors are prone to occur when using Excel spreadsheets, affecting the accuracy of customized item prices.
A method and apparatus are provided for receiving user attribute values by displaying an item customization interface, automatically generating customized item prices based on pre-configured and boundary-checked pre-designed pricing rules, and performing boundary checks when editing customized item combinations to ensure the continuity and integrity of pricing rules.
It improves the accuracy and generation efficiency of customized item prices, reduces manual operation errors, ensures the continuity and integrity of pricing rules, and enhances user experience.
Smart Images

Figure CN120612141A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, and storage medium for determining an item price. Background Art
[0002] In many fields, such as home decoration and advertising, it is usually necessary to specify items of specific specifications. For example, in the home decoration field, it may be necessary to customize doors with specific sizes or specific colors; in the advertising field, it may be necessary to customize billboards with specific sizes or specific materials, and so on.
[0003] Customized items often have different prices due to different attributes such as material, size, and color. In related technologies, the price of customized items is usually determined by relying on Excel spreadsheets and formulas. However, when there are many pricing rules (pricing attributes) for customized items, errors may occur when using Excel spreadsheets to determine prices, or prices may not be obtained, affecting the accuracy of the determined prices of customized items. Summary of the Invention
[0004] In order to solve the above technical problems, the present disclosure is proposed. Embodiments of the present disclosure provide a method, apparatus, and storage medium for determining the price of an item.
[0005] According to one aspect of an embodiment of the present disclosure, a method for determining a price of an item is provided, comprising:
[0006] In response to receiving an item customization operation, displaying an item customization interface corresponding to the item customization operation, wherein the item customization operation carries the item type of the item to be customized;
[0007] receiving attribute values of the item to be customized set by the user through the item customization interface;
[0008] Determining, based on the attribute values of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized, wherein the pre-designed pricing rule is a pre-configured pricing rule that has undergone boundary verification;
[0009] Based on the attribute values of the item to be customized and using the pre-set pricing rules, a price of the item to be customized is generated.
[0010] In some optional embodiments, the item customization interface includes at least one customized item combination corresponding to the item type of the item to be customized;
[0011] The receiving the attribute value of the item to be customized set by the user through the item customization interface includes:
[0012] Determining available customized product combinations based on a selection operation triggered by the user for the at least one customized product combination;
[0013] Receive the attribute value of the item to be customized input by the user on the information setting interface corresponding to the available customized product combination.
[0014] In some optional implementations, the pre-designed pricing rule includes the attribute value range;
[0015] The determining, based on the attribute value of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized includes:
[0016] Comparing the attribute values of the item to be customized with the attribute value range of any pricing rule corresponding to the available customized product combination one by one according to the attributes, and obtaining a pricing rule that matches the item to be customized;
[0017] The pricing rule that matches the item to be customized is determined as the pre-designed pricing rule.
[0018] In some optional implementations, the pre-designed pricing rule further includes a pricing condition, where the pricing condition is a constraint condition on the attribute values of at least two attributes;
[0019] After obtaining the pricing rules that match the item to be customized, the method further includes:
[0020] In response to the attribute value of the item to be customized input by the user not satisfying the pricing condition included in the pre-set pricing rule, generating a prompt message;
[0021] The prompt information is output so that the user can reset the attribute value of the item to be customized.
[0022] In some optional embodiments, the pre-designed pricing rules include a pricing algorithm;
[0023] The step of generating a price for the item to be customized based on the attribute value of the item to be customized and using the pre-set pricing rules includes:
[0024] The pricing algorithm is used to calculate the attribute values of the item to be customized to generate the price of the item to be customized.
[0025] In some optional embodiments, the method further includes:
[0026] In response to receiving an edit operation for a customized product combination, performing a boundary check on the customized product combination after the edit according to a preset check method, the preset check method including at least one of the following: overlap check with other existing customized product combinations, check for coverage by pricing rules, continuity check of attribute value ranges corresponding to different pricing rules, and overlap check of attribute value ranges corresponding to different pricing rules; the edit operation including at least one of the following: add, modify, and delete;
[0027] In response to the verification result indicating that the verification is passed, the customized product combination after the editing is completed is stored.
[0028] According to another aspect of an embodiment of the present disclosure, there is provided an apparatus for determining a price of an item, comprising:
[0029] a display module configured to, in response to receiving an item customization operation, display an item customization interface corresponding to the item customization operation, wherein the item customization operation carries the item type of the item to be customized;
[0030] A receiving module, configured to receive attribute values of the item to be customized set by the user through the item customization interface;
[0031] a determination module, configured to determine, based on the attribute values of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized, wherein the pre-designed pricing rule is a pricing rule that is pre-configured and has undergone boundary verification;
[0032] A generating module is used to generate a price of the item to be customized based on the attribute value of the item to be customized and using the pre-designed pricing rules.
[0033] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores computer program instructions, and when the computer program instructions are executed, the method for determining the price of an item is implemented.
[0034] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device including:
[0035] a memory for storing a computer program product;
[0036] The processor is configured to execute the computer program product stored in the memory, and when the computer program product is executed, the method for determining the price of an item is implemented.
[0037] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including computer program instructions, which implement the above method for determining the price of an item when the computer program instructions are executed by a processor.
[0038] Based on the embodiments of the present disclosure, for scenarios where the price of a customized item needs to be determined, upon receiving an item customization operation triggered by a user or designer, an item customization interface corresponding to the item customization operation can be displayed; the attribute values of the item to be customized set by the user through the item customization interface can be received; based on the attribute values of the item to be customized, pre-designed pricing rules for the item to be customized can be determined; and based on the attribute values of the item to be customized, the price of the item to be customized can be generated using the pre-designed pricing rules. Thus, when an item needs to be customized, the technical solution of the present disclosure matches the attribute values of multiple attributes of the item to be customized input by the user to the corresponding pre-designed pricing rules, thereby automatically generating the price of the item to be customized; since the pre-designed pricing rules are pricing rules that match the attribute values of the item to be customized, the price generated according to the pre-designed pricing rules is more accurate. In addition, after editing the customized product combination, a boundary check can be automatically performed, which helps to ensure the continuity and integrity of the pricing rules, thereby improving the accuracy and reliability of the price of the item to be customized generated according to the pricing rules.
[0039] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and other purposes, features, and advantages of the present disclosure will become more apparent through a more detailed description of the embodiments of the present disclosure in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and are not intended to limit the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.
[0041] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0042] Figure 1 A system architecture diagram applicable to the method for determining item prices disclosed herein;
[0043] Figure 2 A flowchart of an embodiment of a method for determining an item price according to the present disclosure;
[0044] Figure 3 A flow chart for determining pre-designed pricing rules in the method for determining item prices disclosed herein;
[0045] Figure 4 A schematic diagram of pre-designed pricing rules corresponding to custom product combinations available in the method for determining item prices disclosed herein;
[0046] Figure 5 A flow chart for editing a customized product combination in the method for determining product prices disclosed herein;
[0047] Figure 6 A schematic diagram of editing a customized product combination disclosed herein;
[0048] Figure 7 This is a schematic structural diagram of another embodiment of the device for determining item prices disclosed herein;
[0049] Figure 8 This is a schematic structural diagram of another embodiment of the device for determining item prices disclosed herein;
[0050] Figure 9 A structural diagram of an electronic device provided in accordance with an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0051] In the related art, when pricing customized items, for example, when customizing a cabinet, the price of the cabinet to be customized needs to be determined based on the cabinet's projected area, door height, drawers, material, whether it contains light strips, and other attributes. The attributes of the cabinet price are relatively numerous, making it difficult to determine the price. The related art usually relies on complex Excel spreadsheets and formulas, which requires users to have high Excel operation skills. This is particularly difficult for ordinary users and can easily lead to confusion and errors in the configuration process, affecting the final pricing accuracy, and may cause customer dissatisfaction and trust issues. In addition, because the pricing rules for customized items are numerous and complex, involving multiple attributes such as material, size, and color, each attribute has different pricing rules, making the pricing process very cumbersome and time-consuming. In addition, the readability of pricing using Excel formulas is also poor, and Excel spreadsheets do not have a boundary verification function. Therefore, errors such as some customized items corresponding to multiple pricing formulas or some customized items having no matching pricing formulas may occur, reducing the accuracy of pricing.
[0052] To address the technical issues in related technologies, the present disclosure provides a method, device, and storage medium for determining item prices. This technical solution rapidly identifies matching pre-set pricing rules based on the attribute values of the item being customized, and automatically generates prices using these pre-set pricing rules with high accuracy.
[0053] The technical solutions of the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0054] Example Architecture
[0055] Figure 1 FIG. 1 shows a system architecture to which the method for determining the price of an item according to an embodiment of the present disclosure can be applied. Figure 1As shown, the system architecture may include a client device 11, a customization server 12, and an operator-side device 13. The client device 11 and the customization server 12 may communicate via a network providing a communication link, and the operator-side device 13 and the customization server 12 may also communicate via a network providing a communication link. The network may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0056] The client device 11 may be installed with an application capable of customizing items, such as a home improvement application. A designer or user may log in to the application and input the attribute information of the item to be customized through the client interface.
[0057] The client device 11 can be any electronic device that can realize item customization, including but not limited to mobile terminals such as mobile phones, mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), and portable Android devices (PADs).
[0058] The customization server 12 can be a server that provides various services. For example, based on the attribute information uploaded by the client device 11, it matches the pre-designed pricing rules for determining the price of the item to be customized; or it automatically verifies the customized product combination and pricing rules input by the operator through the operation terminal device 13.
[0059] The operation-end device 13 can be any maintenance device capable of setting rules and customizing product combinations, including but not limited to computers, laptops, and other devices. Through the operation-end device 13, operators can create customized product combinations based on various customizable minimum stock keeping units (SKUs) and set pre-designed pricing rules.
[0060] It should be noted that the method for determining the price of an item provided in the embodiment of the present disclosure may be executed by the customization server 12 , and accordingly, the device for determining the price of an item may be provided in the customization server 12 .
[0061] It should be understood that Figure 1 The number of client devices 11, customization servers 12, and operation-end devices 13 in the embodiment is merely illustrative. Any number of client devices 11, customization servers 12, and operation-end devices 13 may be provided according to implementation requirements.
[0062] In this system architecture, a database may be provided in the customization server 12 for storing various customized product combinations and pricing rules corresponding to the customized product combinations.
[0063] Exemplary Methods
[0064] Figure 2 This is a flow chart of an embodiment of a method for determining an item price disclosed herein; the method for determining an item price can be applied to electronic devices (such as computer systems, servers), such as Figure 2 As shown, the method for determining the price of an item includes the following steps:
[0065] In step 201, in response to receiving an item customization operation, an item customization interface corresponding to the item customization operation is displayed, where the item customization operation carries the item type of the item to be customized.
[0066] The item customization action indicates the actions triggered by the user on the application interface to customize an item. The item customization interface allows users to set the attributes of the item to be customized. The item type indicates the category of the item to be customized, such as cabinet, ceiling rail, or floor rail.
[0067] Specifically, the user can trigger the item customization operation through a customization entry on the application interface, such as a customization button.
[0068] As an example, when a user wants to customize a cabinet, he or she may enter "cabinet" in the customization search box of the application interface, and the client interface may then display the item customization interface corresponding to the cabinet.
[0069] In step 202, the attribute values of the item to be customized set by the user through the item customization interface are received.
[0070] Among them, the attributes of the item to be customized are used to describe the intuitive characteristics, functions and applications of the item. For example, the attributes of the item to be customized include the size of the item (such as length, width, height, projected area), shape (such as round, square or irregular shape), material (such as metal, plastic or wood), color and other attributes. It can also include the switch position of the item, adjustment method, etc.
[0071] In this embodiment, the user can input the attribute values of various attributes of the item to be customized through the item customization interface.
[0072] As an example, when a user wants to customize a hanging rail, he can use the item customization interface of the hanging rail to set the color of the hanging rail to mixed oil white, the glass to double-sided white oil sand + grid, the width to 1800 mm, the height to 1600 mm, the thickness to 2400 mm, and so on.
[0073] In an embodiment of the present disclosure, the item customization interface may include at least one customized product combination corresponding to the item type of the item to be customized. When a user inputs the attribute value of the item to be customized through the item customization interface, the available customized product combinations may be first determined based on the selection operation triggered by the user for at least one customized product combination; and then the attribute value of the item to be customized entered by the user on the information setting interface corresponding to the available customized product combination may be received.
[0074] As an example, when a user wants to customize a hanging rail, there are two customized product combinations for customizing the hanging rail on the item customization interface of the hanging rail. The user selects the first customized product combination as the available customized product combination according to the customization requirements, and the device can display the information setting interface corresponding to the available customized product combination, so that the user can enter the attribute values of multiple attributes of the item to be customized through the information setting interface of the available customized product combination.
[0075] In step 203, based on the attribute values of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized is determined. The pre-designed pricing rule is a pricing rule that is pre-configured and has undergone boundary verification.
[0076] The pre-designed pricing rule is a pre-set standard that should be followed when calculating the price of the item to be customized based on the attribute information of the item to be customized. The standard has undergone boundary verification and the verification result is verification passed.
[0077] In the disclosed embodiment, each customized product combination may correspond to multiple pricing rules. After setting the attribute values of multiple attributes of the items to be customized according to each customized product combination, a specific pricing rule may be matched.
[0078] As an example, a cabinet can have two corresponding customized product combinations, one of which is a cabinet package with a projected area of 34 square meters. There are four pricing rules corresponding to this customized product combination, and the cabinet configurations corresponding to these four pricing rules are different. When the user selects this customized product combination to set the attribute value of the attribute information of the item to be customized, it can match a specific pricing rule among these four pricing rules.
[0079] In step 204, based on the attribute values of the item to be customized and using pre-set pricing rules, a price of the item to be customized is generated.
[0080] Among them, the pre-designed pricing rules include a specific pricing algorithm, which can be used to calculate the attribute values of multiple attributes of the customized items to generate the price of the customized items. For example, a pricing algorithm for doors is "(height-1000)*1.5+(thickness-20)*34+1000". If the height of the cabinet to be customized is 1900 mm and the thickness of the door is 30 mm, according to the pricing algorithm, the price can be obtained as (1900-1000)*1.5+(30-20)*34+1000=2690 yuan.
[0081] In other implementations, different pricing rules may correspond to a specific price. This price may be calculated by operators using a preset pricing algorithm, or may be an empirical price determined based on market conditions or commodity supply and demand. This implementation, after determining a matching pre-set pricing rule based on the attribute values of the item being customized, directly uses the price in that pre-set pricing rule as the price of the item being customized, eliminating the need for calculation and resulting in greater efficiency.
[0082] In the above steps 201 to 204, for scenarios where the price of a customized item needs to be determined, upon receiving an item customization operation triggered by a user or designer, the item customization interface corresponding to the item customization operation can be displayed; the attribute values of multiple attributes of the item to be customized set by the user through the item customization interface can be received; based on the attribute values of the multiple attributes of the item to be customized, the pre-designed pricing rules for the item to be customized can be determined; and based on the attribute values of the multiple attributes of the item to be customized, the price of the item to be customized can be generated using the pre-designed pricing rules. Therefore, when an item needs to be customized, the technical solution of the present disclosure matches the attribute values of the multiple attributes of the item to be customized input by the user to the corresponding pre-designed pricing rules, thereby automatically generating the price of the item to be customized; since the pre-designed pricing rules are pricing rules that match the attribute values of the multiple attributes of the item to be customized, the price generated according to the pre-designed pricing rules is more accurate.
[0083] In order to better illustrate the solution of determining the price of an item disclosed in the present invention, another embodiment is described below.
[0084] Figure 3 This is a flow chart of determining the pre-designed pricing rules in the method for determining the price of an item disclosed in the present invention; this embodiment takes how to determine the pre-designed pricing rules for an item to be customized as an example for illustrative purposes. Figure 3 As shown, the following steps are included:
[0085] In step 301, the attribute values of the item to be customized are compared with the attribute value range of any pricing rule corresponding to the available customized product combination one by one according to the attributes to obtain the pricing rule matching the item to be customized.
[0086] In the embodiment of the present disclosure, the correspondence between customized product combinations and pricing rules is an n:n relationship. One customized product combination corresponds to one or more pricing rules, and one pricing rule corresponds to one or more customized product combinations. After the available customized product combinations are determined according to the selection operation triggered by the user, one or more pricing rules corresponding to the available customized product combinations can be obtained.
[0087] Among them, the correspondence between the customized product combination and the pricing rules is pre-configured by the operation personnel and stored in the database, so one or more pricing rules corresponding to the available customized product combination can be obtained in the database.
[0088] In the embodiment of the present disclosure, a pricing rule includes the attribute value range of each attribute information of the customized item, and also includes pricing conditions and pricing algorithms.
[0089] For example, see Figure 4 , which illustrates the four pricing rules corresponding to the available customized product combination 1 of "hanging rail, floor rail". The first pricing rule illustrates the attribute value ranges of each attribute information of the customized item as "track - unlimited, pattern - unlimited, glass - unlimited, opening - unlimited, door lock - unlimited, width - 1800-3200 (mm), height - 1600-2200 (mm), thickness - 240-500 (mm)". The second pricing rule illustrates the attribute value ranges of each attribute information of the customized item as "track - unlimited, pattern - unlimited, glass - unlimited, opening - unlimited, door lock - unlimited, width - 3201-3600 (mm), height - 2201-2400 (mm), thickness - 240-500 (mm)". According to the above two pricing rules, it can be seen that the attribute value ranges of each attribute information of different pricing rules may be different.
[0090] Among them, the pricing condition is a constraint condition for the attribute values of at least two attributes among multiple attributes. For example, the attribute value range is "unlimited height, unlimited width", but the pricing condition is "width*height is greater than 2". This pricing condition constrains the product of width and height to be greater than 2. If this pricing condition is not met, the pricing algorithm in the pricing rule cannot be used to determine the price of the customized item.
[0091] It is understandable that if the valuation condition is empty, such as Figure 4 If the pricing conditions in the four pricing rules shown in the figure are all empty, it can be understood that there are no pricing conditions. As long as the attribute value range of the pricing rule is met, the pricing algorithm in the pricing rule can be used to determine the price of the customized item.
[0092] In the disclosed embodiment, by comparing the attribute values of multiple attributes of the item to be customized with the attribute value ranges of multiple attributes of any pricing rule corresponding to the available customized product combination, a pricing rule matching the item to be customized can be obtained.
[0093] In step 302, it is determined that the pricing rule that matches the item to be customized is a pre-set pricing rule.
[0094] The pre-set pricing rules are matching pricing rules determined based on the attribute values of each attribute information of the item to be customized.
[0095] In the embodiment of the present disclosure, after determining the matching pre-designed pricing rules based on the attribute values of each attribute information of the item to be customized, it is further possible to determine whether the pricing conditions in the pre-designed pricing rules are met. In response to the fact that the attribute values of multiple attributes of the item to be customized input by the user do not meet the pricing conditions included in the pre-designed pricing rules, a prompt message is generated and output so that the user can reset the attribute values of the item to be customized.
[0096] Through the above steps 301 to 302, it is possible to determine the matching pre-designed pricing rules based on the attribute information of the item to be customized, and the pricing conditions in the pre-designed pricing rules can be further used to screen the pricing algorithms applicable to the item to be customized, which is beneficial to improving the accuracy of the price of the item to be customized generated by the application.
[0097] Since prices fluctuate due to the influence of various factors such as market supply and demand and currency value, in order to provide accurate prices for users' customized items, the technical solution disclosed in this disclosure can edit existing customized product combinations or add new customized product combinations based on the operations of operators. Figure 5 This is a flowchart of editing a customized product combination in the method for determining the price of an item disclosed in the present invention; this embodiment uses how to edit a customized product combination as an example to illustrate, Figure 5 As shown, the following steps are included:
[0098] In step 501, in response to receiving an editing operation for a customized product combination, a boundary check is performed on the customized product combination after the editing is completed according to a preset check method.
[0099] The editing operation includes at least one of the following: add, change, and delete. The operator can add a customized product combination and add the corresponding pricing rules (grouped attribute value range, pricing conditions, and pricing algorithm) for the customized product combination. Figure 6The figure shows how operators can use a windowed interface to assist in entering pricing formulas within pricing rules. Using the formula editor, operators can enter and edit pricing algorithms to meet the pricing requirements of different customized products and various complex pricing scenarios, ensuring the accuracy and flexibility of the prices determined by the pricing algorithms for customized items. Operators can also modify the pricing rules for existing customized product combinations, delete existing combinations, or merge different pricing rules for existing combinations.
[0100] In the embodiment of the present disclosure, when the user triggers the edit completion operation through the interface, such as through Figure 6 Click the "Finish" button in the interface shown to get the customized product combination after editing.
[0101] Among them, the preset verification method includes at least one of the following: overlap verification with other existing customized product combinations, verification covered by pricing rules, continuity verification of attribute value ranges corresponding to different pricing rules, and overlap verification of attribute value ranges corresponding to different pricing rules.
[0102] Specifically, the overlap check with other existing customized product combinations refers to: systematically checking all customized product combinations of the same type of items to ensure that there is no overlap or conflict between different customized product combinations. This check can effectively prevent pricing errors caused by overlapping customized product combinations.
[0103] Pricing rule coverage verification automatically verifies that all custom product combinations are covered by existing pricing rules. This ensures that each custom product combination has a corresponding pricing rule, preventing situations where some custom product combinations lack a corresponding pricing rule, thereby improving comprehensiveness and accuracy of pricing.
[0104] Continuity checking of attribute value ranges across different pricing rules detects gaps between them. This ensures that all custom product combinations are covered by the pricing rules, avoiding gaps between them and ensuring the continuity and integrity of the pricing rules.
[0105] Overlap check for attribute value ranges corresponding to different pricing rules: Automatically check for overlap between different pricing rules. This check promptly identifies and corrects overlapping pricing rules, ensuring that each pricing rule is independent and unique, thereby improving the accuracy and reliability of pricing rules.
[0106] In some optional implementations, a dynamic script rule engine, such as the QLExpress (QuickLanguage Express) rule engine, can be introduced to define the boundary conditions of the pricing rules, implement the above-mentioned verification of customized product combinations, and uniformly manage and schedule various pricing rules.
[0107] Furthermore, if a verification result of passing is obtained through the above-mentioned preset verification method, step 502 can be executed. If a verification result of failing is obtained through the above-mentioned preset verification method, the operating personnel can be reminded to re-edit the customized product combination.
[0108] In step 502 , in response to the verification result indicating that the verification is passed, the customized product combination after editing is stored.
[0109] In the disclosed embodiment, the edited customized product combination and the corresponding pricing rules can be stored in a database to enable subsequent designers or users to generate prices for the customized items when customizing the items.
[0110] Through the above steps 501 to 502, the implementation method of editing the customized product combination is disclosed, which provides a good solution for scenarios in various fields where the prices of customized products need to be updated. By performing boundary verification on the edited customized product combination, the continuity and integrity of the pricing rules can be ensured, thereby improving the accuracy and reliability of the pricing rules.
[0111] Corresponding to the aforementioned embodiment of the method for determining the price of an item, the present disclosure also provides an embodiment corresponding to the apparatus for determining the price of an item.
[0112] Exemplary devices
[0113] Figure 7 FIG. 1 is a schematic diagram of a structure of an embodiment of a device for determining an item price disclosed herein, wherein the device is applied to an electronic device (such as a computer system or a server). Figure 7 As shown, the device includes:
[0114] A display module 71 is configured to display an item customization interface corresponding to an item customization operation in response to receiving the item customization operation, wherein the item customization operation includes an item type of the item to be customized;
[0115] A receiving module 72 is configured to receive attribute values of an item to be customized set by a user through the item customization interface;
[0116] A determination module 73 is configured to determine a pre-designed pricing rule for the item to be customized based on the attribute values of the item to be customized, wherein the pre-designed pricing rule is a pricing rule that is pre-configured and has undergone boundary verification;
[0117] The generating module 74 is used to generate the price of the item to be customized based on the attribute values of the item to be customized and using pre-set pricing rules.
[0118] Figure 8 This is a structural diagram of another embodiment of the device for determining the price of an item disclosed in the present invention, as shown in FIG. Figure 8 As shown, in Figure 7 Based on the illustrated embodiment, in one embodiment, the item customization interface includes at least one customized item combination corresponding to the item type of the item to be customized;
[0119] The receiving module 72 may include:
[0120] A first determining submodule 721 is configured to determine available customized product combinations based on a selection operation triggered by a user for at least one customized product combination;
[0121] The input submodule 722 is used to receive attribute values of the items to be customized input by the user on the information setting interface corresponding to the available customized product combination.
[0122] In one embodiment, the pre-designed pricing rules include attribute value ranges for a plurality of attributes;
[0123] The determination module 73 may include:
[0124] The comparison submodule 731 is configured to compare the attribute values of the item to be customized with the attribute value range of any pricing rule corresponding to the available customized product combination one by one, and obtain a pricing rule that matches the item to be customized;
[0125] The second determining submodule 732 is configured to determine that the pricing rule that matches the item to be customized is a pre-set pricing rule.
[0126] In one embodiment, the pre-designed pricing rule further includes a pricing condition, which is a constraint condition on the attribute values of at least two attributes among the multiple attributes;
[0127] The device for determining the price of an item may further include:
[0128] a prompt module 75 for generating a prompt message in response to the attribute value of the item to be customized input by the user not satisfying the pricing conditions included in the pre-set pricing rules;
[0129] The output module 76 is used to output prompt information so that the user can reset the attribute value of the item to be customized.
[0130] In one embodiment, the pre-designed pricing rules include a pricing algorithm;
[0131] The generation module 74 is used to calculate the attribute values of the item to be customized using a pricing algorithm to generate a price for the item to be customized.
[0132] In one embodiment, the device for determining the price of an item may further include:
[0133] Verification module 77 is configured to, in response to receiving an edit operation on a customized product combination, perform boundary verification on the customized product combination after the edit according to a preset verification method, wherein the preset verification method includes at least one of the following: overlap verification with other existing customized product combinations, verification of coverage by pricing rules, continuity verification of attribute value ranges corresponding to different pricing rules, and overlap verification of attribute value ranges corresponding to different pricing rules; and editing operations include at least one of the following: adding, modifying, and deleting.
[0134] The storage module 78 is configured to store the customized product combination after editing in response to the verification result indicating that the verification is passed.
[0135] The modules and units in the device disclosed herein can also be divided into finer granularity according to actual needs, and can be specifically set according to actual needs.
[0136] The apparatus of the embodiments of the present disclosure may be used to implement the methods of the above-mentioned embodiments of the present disclosure. The two methods correspond to each other in specific implementation, and the specific implementations of the relevant parts are mutually referenced and will not be repeated here.
[0137] Exemplary electronic devices, computer program products, and computer-readable storage media
[0138] An embodiment of the present disclosure further provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, implementing the method for determining the price of an item according to any of the above embodiments of the present disclosure.
[0139] Below, reference Figure 9 An electronic device according to an embodiment of the present disclosure is described, in which a device for implementing a method according to an embodiment of the present disclosure may be integrated. Figure 9 A structural diagram of an electronic device provided in an exemplary embodiment of the present disclosure, such as Figure 9 As shown, the electronic device includes one or more processors 91, one or more computer-readable storage media memory 92, and a computer program stored in the memory and executable on the processor. When the program in the memory 92 is executed, the above-mentioned method for determining the price of an item can be implemented.
[0140] Specifically, in actual applications, the electronic device may further include components such as an input device 93 and an output device 94, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown). Those skilled in the art will understand that Figure 9The structure of the electronic device shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or certain components, or different component arrangements.
[0141] in:
[0142] The processor 91 can be a central processing unit (CPU) or other form of processing unit with the ability to determine the price of an item and / or the ability to execute instructions. It performs various functions and processes data by running or executing software programs and / or modules stored in the memory 92, and calling data stored in the memory 92, thereby monitoring the electronic device as a whole.
[0143] The memory 92 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 91 may execute the program instructions to implement the method for determining the price of an item and / or other desired functions of the various embodiments of the present disclosure described above. Various contents such as input signals, signal components, and noise components may also be stored in the computer-readable storage medium.
[0144] The input device 93 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0145] The output device 94 can output various information to the outside, including determined distance information, direction information, etc. The output device 94 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0146] The electronic device may also include a power supply for supplying power to various components, which may be logically connected to the processor 91 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply may also include any components such as one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0147] Of course, to simplify, Figure 9 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device may further include any other appropriate components according to specific application scenarios.
[0148] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to perform the steps in the method of determining the price of an item according to various embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
[0149] The computer program product may be written in any combination of one or more programming languages to implement the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0150] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, causes the processor to execute the steps of the method for determining the price of an item according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0151] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0152] The basic principles of the present disclosure have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this disclosure are merely illustrative and not restrictive, and should not be construed as necessarily possessed by each embodiment of the present disclosure. Furthermore, the specific details disclosed above are provided for illustrative purposes and to facilitate understanding, rather than as limitations. These details do not limit the present disclosure to necessarily being implemented using these specific details.
[0153] Each embodiment in this specification is described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. For system embodiments, since they largely correspond to method embodiments, their description is relatively simple. For relevant parts, references to the description of the method embodiments are sufficient.
[0154] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk, etc. Various media that can store program codes.
[0155] The methods and apparatus of the present disclosure may be implemented in many ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers recording media that store programs for executing the methods according to the present disclosure.
[0156] The description of the present disclosure is provided for purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the disclosed form. Many modifications and variations will be apparent to those skilled in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure and to enable those skilled in the art to understand the present disclosure and design various embodiments with various modifications suitable for specific applications.
Claims
1. A method for determining the price of an item, characterized in that: include: In response to receiving an item customization operation, displaying an item customization interface corresponding to the item customization operation, wherein the item customization operation carries the item type of the item to be customized; receiving attribute values of the item to be customized set by the user through the item customization interface; Determining, based on the attribute values of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized, wherein the pre-designed pricing rule is a pre-configured pricing rule that has undergone boundary verification; Based on the attribute values of the item to be customized and using the pre-set pricing rules, a price of the item to be customized is generated.
2. The method according to claim 1, characterized in that The item customization interface includes at least one customized item combination corresponding to the item type of the item to be customized; The receiving the attribute value of the item to be customized set by the user through the item customization interface includes: Determining available customized product combinations based on a selection operation triggered by the user for the at least one customized product combination; Receive the attribute value of the item to be customized input by the user on the information setting interface corresponding to the available customized product combination.
3. The method according to any one of claims 1-2, characterized in that The pre-designed pricing rules include the attribute value range; The determining, based on the attribute value of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized includes: Comparing the attribute values of the item to be customized with the attribute value range of any pricing rule corresponding to the available customized product combination one by one according to the attributes, and obtaining a pricing rule that matches the item to be customized; The pricing rule that matches the item to be customized is determined as the pre-designed pricing rule.
4. The method according to claim 3, characterized in that The pre-designed pricing rules further include pricing conditions, which are constraints on attribute values of at least two attributes; After obtaining the pricing rules that match the item to be customized, the method further includes: In response to the attribute value of the item to be customized input by the user not satisfying the pricing condition included in the pre-set pricing rule, generating a prompt message; The prompt information is output so that the user can reset the attribute value of the item to be customized.
5. The method according to any one of claims 1 to 4, characterized in that: The pre-designed pricing rules include a pricing algorithm; The step of generating a price for the item to be customized based on the attribute value of the item to be customized and using the pre-set pricing rules includes: The pricing algorithm is used to calculate the attribute values of the item to be customized to generate the price of the item to be customized.
6. The method according to claim 2, characterized in that Also includes: In response to receiving an edit operation for a customized product combination, performing a boundary check on the customized product combination after the edit according to a preset check method, the preset check method including at least one of the following: overlap check with other existing customized product combinations, check for coverage by pricing rules, continuity check of attribute value ranges corresponding to different pricing rules, and overlap check of attribute value ranges corresponding to different pricing rules; the edit operation including at least one of the following: add, modify, and delete; In response to the verification result indicating that the verification is passed, the customized product combination after the editing is completed is stored.
7. A device for determining the price of an item, characterized in that include: a display module configured to, in response to receiving an item customization operation, display an item customization interface corresponding to the item customization operation, wherein the item customization operation carries the item type of the item to be customized; A receiving module, configured to receive attribute values of the item to be customized set by the user through the item customization interface; a determination module, configured to determine, based on the attribute values of the item to be customized, a pre-designed pricing rule corresponding to the item to be customized, wherein the pre-designed pricing rule is a pricing rule that is pre-configured and has undergone boundary verification; A generating module is used to generate a price of the item to be customized based on the attribute value of the item to be customized and using the pre-designed pricing rules.
8. A computer-readable storage medium, wherein the storage medium stores computer program instructions, and when the computer program instructions are executed, the method according to any one of claims 1 to 6 is implemented.
9. An electronic device, comprising: a memory for storing a computer program product; A processor is configured to execute the computer program product stored in the memory, and when the computer program product is executed, implements the method described in any one of claims 1 to 6.
10. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
