Product type selection method and device, electronic equipment and storage medium

By using a tree structure diagram in the product selection system for parameter matching and verification, the problems of low accuracy of selection results and slow query speed in the prior art are solved, and a more efficient product selection process is achieved.

CN118917915APending Publication Date: 2024-11-08CHONGQING CHUANYI AUTOMATION CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410983370.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

When the existing product selection system handles a wide range of parameter combinations and options, the selection results are low accuracy, slow query speed, and complex correlation between parameters and constraint rules, resulting in inconvenience in adding and changing rules.

Method used

By obtaining the expected parameters of the target personnel, matching them with the parameters in the preset parameter library, establishing a tree structure diagram for storage and matching, and checksum updates based on the tree structure diagram to improve the accuracy and efficiency of the selection results.

Benefits of technology

It improves the accuracy and efficiency of the selection results, simplifies the modification process of parameters and constraint rules, and improves the speed and flexibility of product selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917915A_ABST
    Figure CN118917915A_ABST
Patent Text Reader

Abstract

The invention provides a product type selection method and device, electronic equipment and a storage medium, and the product type selection method comprises the steps: obtaining an expected parameter when a target person performs product type selection, matching the expected parameter with a parameter in a preset parameter library, determining a preliminary type selection result of a product according to a matching result, and based on the parameter in the preset parameter library, determining a preliminary type selection result of the product; verifying the preliminary model selection result, and determining a final model selection result according to a verification result; according to the method, after the preliminary model selection result is obtained, the preliminary model selection result is verified based on the parameters in the preset parameter library, the accuracy of the model selection result is improved, in addition, the tree structure diagram stores the parameters in the preset parameter library, and when the expected parameters are matched with the node content in the tree structure diagram, the accuracy of the model selection result is improved. The method has higher parameter reading rate and parameter screening efficiency, can improve the parameter matching efficiency, and further improves the product type selection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial automation technology, and in particular to a product selection method, device, electronic equipment and storage medium. Background Art

[0002] Product selection in the industrial field has too many parameters and options, which leads to complicated selection processes and steps. Moreover, for sales personnel or users who are not familiar with technology, it is easy to choose the wrong model, resulting in the product not meeting the expected requirements. Therefore, in order to solve these problems, it is necessary to create a product selection system, and when selecting products, recommend selection results based on the configured product parameter filtering rules and various selected parameters.

[0003] The method used by common product selection systems to recommend selection results is to exhaustively list various parameter combinations and their options, form a rule matrix and store it in a relational database. When in use, the matrix is ​​traversed from the database based on the selected parameters and their options to find and return the selection results.

[0004] The above technical processing method has the following disadvantages: 1. After obtaining the selection result, the selection result cannot be verified, and the accuracy of the selection result is not high; 2. When there are many parameter combinations and options, the query and traversal speed in the relational database is slow; 3. After the option constraint rules are configured, because there are too many associations between parameters, options, and constraint rules, it is inconvenient to add and change rules. Summary of the invention

[0005] In view of the above-mentioned shortcomings of the prior art, the present application provides a product selection method, device, electronic device and storage medium to solve the above-mentioned technical problems.

[0006] According to one aspect of an embodiment of the present application, a product selection method is provided, including: obtaining expected parameters for a target person when selecting a product, the target person including a product salesperson or a product purchaser; matching the expected parameters with parameters in a preset parameter library, and determining a preliminary selection result of the product based on the matching result; verifying the preliminary selection result based on the parameters in the preset parameter library, and determining a final selection result based on the verification result.

[0007] In one embodiment of the present application, if the parameters in the preset parameter library have a preset constraint relationship, the process of matching the expected parameters with the parameters in the preset parameter library includes: establishing a tree structure diagram according to the preset constraint relationship, and storing the parameters in the preset parameter library in the nodes in the tree structure diagram, and the tree structure diagram is located in a preset cache space; matching the expected parameters with the node content in the tree structure diagram to obtain a matching result.

[0008] In one embodiment of the present application, after the parameters in the preset parameter library are stored in the nodes in the tree structure diagram, the method includes: if the node content in the tree structure diagram is modified, the modified node content is saved, and the parameters in the preset parameter library are updated with the modified node content; if the node constraint relationship in the tree structure diagram is modified, the modified node constraint relationship is saved, and the parameter constraint relationship in the preset parameter library is updated with the modified node constraint relationship.

[0009] In one embodiment of the present application, if the matching result includes multiple parameters, the process of determining the preliminary selection result of the product based on the matching result includes: combining the multiple parameters to obtain a parameter combination, and determining the preliminary selection result based on the parameter combination and the target mapping relationship, wherein the target mapping relationship is pre-established based on the parameter combination and the preliminary selection result.

[0010] In one embodiment of the present application, if the preliminary selection result includes a preliminary selection model, and the parameters in the preset parameter library include multiple preset selection models, then the process of verifying the preliminary selection result based on the parameters in the preset parameter library includes: if the preliminary selection model is consistent with one of the preset selection models, then the verification result is determined to be a successful verification; if the preliminary selection model is inconsistent with all the preset selection models, then the verification result is determined to be a failed verification.

[0011] In one embodiment of the present application, if the expected parameter includes an expected parameter name and optional items of the expected parameter name, and the parameters in the preset parameter library include multiple preset parameter names and optional items of each preset parameter name, then based on the parameters in the preset parameter library, the process of verifying the preliminary selection result includes: if the expected parameter name is consistent with one of the preset parameter names, and if the optional items of the expected parameter name are consistent with an optional item of the preset parameter name that is consistent with the comparison, then the verification result is determined to be a successful verification; if the expected parameter name is inconsistent with all the preset parameter names, then the verification result is determined to be a verification failure; or, if the expected parameter name is consistent with one of the preset parameter names, and the optional items of the expected parameter name are inconsistent with all the optional items of the preset parameter name that is consistent with the comparison, then the verification result is determined to be a verification failure.

[0012] In one embodiment of the present application, if the verification result includes verification success and verification failure, the process of determining the final selection result based on the verification result includes: if the verification result is verification success, the preliminary selection result is used as the final selection result; if the verification result is verification failure, the target person is reminded to adjust the expected parameters, and select the product based on the adjusted expected parameters.

[0013] According to one aspect of an embodiment of the present application, a product selection device is provided, including: a parameter acquisition module, used to obtain expected parameters when a target person makes a product selection, the target person including a product salesperson or a product purchaser; a parameter matching module, used to match the expected parameters with parameters in a preset parameter library, and determine a preliminary selection result of the product based on the matching result; a result verification module, used to verify the preliminary selection result based on the parameters in the preset parameter library, and determine the final selection result based on the verification result.

[0014] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the product selection method as described above.

[0015] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the product selection method described above.

[0016] Beneficial effects of the present invention: The present invention obtains the expected parameters of the target personnel when selecting a product, matches the expected parameters with the parameters in the preset parameter library, determines the preliminary selection result of the product according to the matching result, verifies the preliminary selection result based on the parameters in the preset parameter library, and determines the final selection result according to the verification result. In the above process, after obtaining the preliminary selection result, the preliminary selection result is verified based on the parameters in the preset parameter library, which improves the accuracy of the selection result. In addition, the tree structure diagram stores the parameters in the preset parameter library. When the expected parameters are matched with the node content in the tree structure diagram, it has a faster parameter reading rate and parameter screening efficiency, can improve the parameter matching efficiency, further improve the efficiency of product selection, and update the parameters in the preset parameter library through the modified node content in the tree structure diagram, or, the parameter constraint relationship in the preset parameter library is updated through the modified node constraint relationship in the tree structure diagram, so that the modification of the parameters in the preset parameter library is faster, more flexible and more convenient.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0019] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;

[0020] Figure 2 is a flow chart of a product selection method shown in an exemplary embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a product selection system shown in an exemplary embodiment of the present application;

[0022] Figure 4 A block diagram of a product selection device suitable for implementing an embodiment of the present application is shown;

[0023] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0026] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0027] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0028] The technical solution of the embodiment of the present application involves related technologies such as welding of steel structure parts, which is specifically described by the following embodiments:

[0029] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.

[0030] Reference Figure 1 As shown, the system architecture may include a data storage device 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. The relevant technical personnel may use the computer device 102 to obtain the expected parameters of the target personnel when selecting the product, match the expected parameters with the parameters in the preset parameter library, determine the preliminary selection result of the product according to the matching result, verify the preliminary selection result based on the parameters in the preset parameter library, and determine the final selection result according to the verification result. The data storage device 101 is used to store the expected parameters of the target personnel when selecting the product. In this embodiment, the data storage device 101 uses a read-only memory (ROM) or a random access memory (RAM) to store the expected parameters of the target personnel when selecting the product, and provides them to the computer device 102 for processing.

[0031] Schematically, after obtaining the expected parameters of the data storage device 101, the computer device 102 matches the expected parameters with the parameters in the preset parameter library, determines the preliminary selection result of the product based on the matching result, verifies the preliminary selection result based on the parameters in the preset parameter library, and determines the final selection result based on the verification result. In the above process, after obtaining the preliminary selection result, the preliminary selection result is verified based on the parameters in the preset parameter library, which improves the accuracy of the selection result. In addition, the tree structure diagram stores the parameters in the preset parameter library. When the expected parameters are matched with the node content in the tree structure diagram, it has a faster parameter reading rate and parameter screening efficiency, which can improve the parameter matching efficiency and further improve the efficiency of product selection. The parameters in the preset parameter library are updated through the modified node content in the tree structure diagram, or the parameter constraint relationship in the preset parameter library is updated through the modified node constraint relationship in the tree structure diagram, so that the modification of the parameters in the preset parameter library is faster, more flexible and more convenient.

[0032] It should be noted that the product selection method provided in the embodiment of the present application is generally executed by the computer device 102 , and accordingly, the product selection device is generally provided in the computer device 102 .

[0033] The implementation details of the technical solution of the embodiment of the present application are described in detail below:

[0034] Figure 2 is a flowchart of a product selection method shown in an exemplary embodiment of the present application. The product selection method can be executed by a computing processing device. The computing processing device can be Figure 1 The computer device 102 shown in FIG. Figure 2 As shown, the product selection method at least includes steps S210 to S230, which are described in detail as follows:

[0035] In step S210, the expected parameters of the target person when selecting a product are obtained.

[0036] In one embodiment of the present application, the target personnel include product sales personnel, product purchasers, developers who develop the product selection system, testers who test the product selection system, and the like.

[0037] In this embodiment, taking a car as an example, the expected parameters include vehicle type, vehicle color, tire size, vehicle size, etc. Taking a mobile phone as an example, the expected parameters include mobile phone color, mobile phone size, screen size, etc. Here, the product category and product parameters are not specifically limited.

[0038] In step S220, the expected parameters are matched with the parameters in the preset parameter library, and the preliminary selection result of the product is determined based on the matching result.

[0039] In this embodiment, the process of matching the expected parameters with the parameters in the preset parameter library includes: comparing the expected parameters with the parameters in the preset parameter library, if the expected parameters are consistent with the parameters in the preset parameter library, then the successfully matched expected parameters are used as the matching results; if the expected parameters are inconsistent with the parameters in the preset parameter library, then the expected parameters are adjusted, and the adjusted expected parameters are compared with the parameters in the preset parameter library again, until the adjusted expected parameters are consistent with the parameters in the preset parameter library again.

[0040] In this embodiment, the preset parameter library may be a NoSQL database, and the parameters in the preset parameter library are obtained by pre-collection and configuration. The parameters in the preset parameter library at least include a set of all parameters of a certain category of products.

[0041] In step S230, the preliminary selection result is verified based on the parameters in the preset parameter library, and the final selection result is determined according to the verification result.

[0042] In this embodiment, after the preliminary selection result is obtained, the preliminary selection result is verified based on the parameters in the preset parameter library, thereby improving the accuracy of the selection result.

[0043] In one embodiment of the present application, if the parameters in the preset parameter library have a preset constraint relationship, the process of matching the expected parameters with the parameters in the preset parameter library includes:

[0044] According to the preset constraint relationship, a tree structure diagram is established, and the parameters in the preset parameter library are stored in the nodes in the tree structure diagram.

[0045] In this embodiment, the preset constraint relationship includes the association relationship between parameters in the preset parameter library, the belonging relationship between parameters in the preset parameter library, etc. The tree structure diagram is located in the preset cache space, and the preset cache space and the preset parameter library form a two-level storage structure.

[0046] The expected parameters are matched with the node contents in the tree structure diagram to obtain a matching result.

[0047] In this embodiment, the parameters in the preset parameter library are stored through a tree structure diagram. When the expected parameters are matched with the node contents in the tree structure diagram, compared with a single relational database storage structure, it has a faster parameter reading rate and parameter screening efficiency, can improve matching efficiency, and further improve product selection efficiency.

[0048] In one embodiment of the present application, after storing the parameters in the preset parameter library into the nodes in the tree structure diagram, the product selection method includes:

[0049] If the node content in the tree structure diagram is modified, the modified node content is saved, and the parameters in the preset parameter library are updated with the modified node content.

[0050] In this embodiment, by modifying the node content in the tree structure diagram and updating the corresponding parameters in the preset parameter library with the modified node content, the modification of the parameters in the preset parameter library is made faster, more flexible and more convenient.

[0051] If the node constraint relationship in the tree structure diagram is modified, the modified node constraint relationship is saved, and the parameter constraint relationship in the preset parameter library is updated with the modified node constraint relationship.

[0052] In this embodiment, the node constraint relationship in the tree structure diagram is modified, and the parameter constraint relationship in the preset parameter library is updated with the modified node constraint relationship, so that the modification of the parameter constraint relationship in the preset parameter library is faster, more flexible and more convenient.

[0053] In one embodiment of the present application, if the matching result includes multiple parameters, the process of determining the preliminary selection result of the product according to the matching result includes:

[0054] Multiple parameters are combined to obtain a parameter combination, and a preliminary selection result is determined based on the mapping relationship between the parameter combination and the target.

[0055] In this embodiment, taking the product of a car as an example, the parameter combination includes car brand, car type, car color, car length, number of car seats, car chassis height, and car tire size. After the options of car brand, car type, car color, car length, number of car seats, car chassis height, and car tire size are determined, a preliminary selection result is obtained based on the target mapping relationship.

[0056] In this embodiment, the options of the car brand are set according to the needs of the target person, and are not listed here one by one. The options of the car type include sedan, off-road vehicle, (Sport Utility Vehicle, SUV) sports utility vehicle, etc., the options of the car color include black, white, gray, blue, etc., the options of the car length include 3.5 meters, 4 meters, 4.6 meters, 4.8 meters, etc., the options of the number of car seats include 5 seats, 6 seats, 7 seats, etc., the options of the car chassis height include 15 centimeters, 25 centimeters, etc., and the options of the car tire size include 15 inches, 16 inches, etc.

[0057] In this embodiment, the target mapping relationship is pre-established based on the parameter combination and the preliminary selection result.

[0058] In one embodiment of the present application, if the preliminary selection result includes a preliminary selection model, and the parameters in the preset parameter library include multiple preset selection models, then based on the parameters in the preset parameter library, the process of verifying the preliminary selection result includes:

[0059] If the initially selected model is consistent with one of the preset selected models, the verification result is determined to be successful.

[0060] In this embodiment, the preliminary selected model is compared with the preset selected model, and the preliminary selected model is further verified to improve the accuracy of the preliminary selection result.

[0061] If the initial selected model is inconsistent with all the preset selected models, the verification result is determined to be a verification failure.

[0062] In this embodiment, the preliminary selected model is further verified by comparing it with the preset selected model. If the verification result is a verification failure, the target personnel are reminded to check the correctness of the expected parameters so that the product selection can be performed again after the expected parameters are corrected, or the target personnel are reminded to check the parameters in the preset parameter library, target mapping relationships, etc., so as to promptly discover and correct errors in the configuration process of the parameters in the preset parameter library, target mapping relationships, etc., thereby improving the accuracy of the preliminary selection results.

[0063] In one embodiment of the present application, if the expected parameter includes an expected parameter name and an option of the expected parameter name, and the parameters in the preset parameter library include multiple preset parameter names and an option of each preset parameter name, then based on the parameters in the preset parameter library, the process of verifying the preliminary selection result includes:

[0064] If the expected parameter name matches one of the preset parameter names, and if the optional items of the expected parameter name match one of the optional items of the preset parameter name, then the verification result is determined to be successful.

[0065] In this embodiment, by comparing the expected parameter names with the preset parameter names, and comparing the options of the expected parameter names with the options of the preset parameter names that match the comparison, the preliminary selected model is further verified to improve the accuracy of the preliminary selection results.

[0066] If the expected parameter name does not match all the preset parameter names, the verification result is determined to be a verification failure; or, if the expected parameter name matches one of the preset parameter names, and the optional items of the expected parameter name do not match all the optional items of the preset parameter names that match, the verification result is determined to be a verification failure.

[0067] In this embodiment, the preliminary selected model is further verified by comparing the expected parameter name with the preset parameter name, and comparing the optional items of the expected parameter name with the optional items of the preset parameter name that match the comparison. If the verification result is a verification failure, the target personnel are reminded to check the correctness of the expected parameters so that the product selection can be made again after the expected parameters are corrected, or the target personnel are reminded to check the parameters, target mapping relationships, etc. in the preset parameter library so as to promptly discover and correct errors that occur during the configuration process of the parameters, target mapping relationships, etc. in the preset parameter library, thereby improving the accuracy of the preliminary selection results.

[0068] In this embodiment, when selecting a product, the target person can enter the expected parameter name through the search box of the selection interface. After the expected parameter name is inconsistent with the parameter name in the preset parameter library, the selection interface will automatically prompt that the parameter name is entered incorrectly; after the expected parameter name is consistent with the parameter name in the preset parameter library, the selection interface will present automatically recommended options for the expected parameter name, and the input of all expected parameter names and all optional items under the expected parameter names can be completed in the above manner.

[0069] In one embodiment of the present application, if the verification result includes verification success and verification failure, the process of determining the final selection result according to the verification result includes:

[0070] If the verification result is successful, the preliminary selection result will be used as the final selection result.

[0071] In this embodiment, if the verification result is successful, the final selection result is fed back to the target person, and the final selection result is the selected model, etc.

[0072] If the verification result is a verification failure, the target personnel will be reminded to adjust the expected parameters and select products based on the adjusted expected parameters.

[0073] In this embodiment, if the verification result is a verification failure, it means that the expected parameters do not match the parameters in the preset parameter library, or the parameters in the preset parameter library, the target mapping relationship, etc. are not configured correctly. After the target personnel adjusts the expected parameters or verifies and corrects the parameters in the preset parameter library, the target mapping relationship, etc., the product selection is performed again to improve the accuracy of product selection.

[0074] Figure 3 is a schematic diagram of a product selection system shown in an exemplary embodiment of the present application. Figure 3As shown, the product selection system includes: a template configuration module, a parameter configuration module, an option configuration module and a rule verification module, wherein the template configuration module is used to define and configure the product selection template; the parameter configuration module is used to define and configure the parameter names under the product selection template; the option configuration module is used to define and configure the optional items of the parameter names under the product selection template; the rule verification module is used to verify the selected selection template, the selected parameter name, and the optional items of the selected parameter name. If the verification fails, the selection template, the parameter name or the optional items of the parameter name that fail the verification will be prompted that the verification fails; if all the selected selection templates, the selected parameter names, and the optional items of the selected parameter names pass the verification, then based on the combination of the selected selection templates, the selected parameter names, and the optional items of the selected parameter names, the preliminary selection result of the product is determined, and after the selected selection templates, the selected parameter names, and the optional items of the selected parameter names are verified again, the final selection result is output according to the re-verification result.

[0075] In this embodiment, the product selection template is established according to the product brand and product type, and the product selection template is configured with parameter names corresponding to the product brand and product type and optional items under each parameter name.

[0076] In this embodiment, the process of verifying the selected selection template, the selected parameter name, and the optional items of the selected parameter name includes: (1) judging whether the product brand and product type corresponding to the selected selection template are in the preset parameter library. If the product brand and product type corresponding to the selected selection template are not in the preset parameter library, it is judged that the selected selection template has not passed the verification, and a prompt is given that the selected selection template verification has not passed; if the product brand and product type corresponding to the selected selection template are in the preset parameter library, it is judged that the selected selection template has passed the verification, and the parameter name under the selected selection template is automatically recommended; (2) judging whether the selected parameter name is in the automatically recommended parameter name. If the selected parameter name is not in the automatically recommended parameter name, the selected selection template is judged to have passed the verification, and a prompt is given that the selected selection template verification has not passed. If the selected parameter name is within the automatically recommended parameter names, it is determined that the selected parameter name has not passed the verification, and a prompt is given that the verification of the selected parameter name has not passed; if the selected parameter name is within the automatically recommended parameter names, it is determined that the selected parameter name has passed the verification, and the optional items under the parameter name are automatically recommended; (3) it is determined whether the optional items of the selected parameter name are within the automatically recommended optional items. If the optional items of the selected parameter name are not within the automatically recommended optional items, it is determined that the optional items of the selected parameter name have not passed the verification, and a prompt is given that the verification of the optional items of the selected parameter name has not passed; if the optional items of the selected parameter name are within the automatically recommended optional items, it is determined that the optional items of the selected parameter name have passed the verification, until the verification of all selected parameter names and all optional items under the selected parameter names is completed.

[0077] In this embodiment, the process of outputting the final selection result according to the re-verification result includes: (1) if the re-verification fails, the target personnel adjusts the expected parameters or verifies and corrects the parameters in the preset parameter library, the target mapping relationship, etc.; (2) if the re-verification is successful, the preliminary selection result is used as the final selection result.

[0078] In this embodiment, the parameters in the preset parameter library are stored through the nodes in the tree structure diagram, and the parameter constraint relationship in the preset parameter library is represented by the node relationship in the tree structure diagram, so that the association relationship or belonging relationship between the parameters in the preset parameter library is more intuitive. At the same time, when the node content and node relationship change, it is only necessary to add and modify the corresponding tree nodes. Compared with modifying the parameters and parameter constraint relationships in the preset parameter library, it is faster, more flexible and more convenient, and solves the problem that the parameters and parameter constraint relationships in the preset parameter library are complex in configuration and inconvenient to change.

[0079] In this embodiment, the tree structure diagram is set in the memory cache, and the parameters in the preset parameter library are stored in the NoSQL database. A two-level storage structure combining the memory cache and the NoSQL database storage is adopted to improve the reading rate of the parameter name and the optional items under the parameter name, which can effectively solve the problem of slow traversal, screening, and verification of parameter names and traversal, screening, and verification of optional items under the parameter names when storing in a pure relational database.

[0080] The following describes an embodiment of the device of the present application, which can be used to execute the product selection method in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the product selection method in the above embodiment of the present application.

[0081] Figure 4 is a block diagram of a product selection device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the computer device 102. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.

[0082] like Figure 4 As shown, the exemplary product selection device includes:

[0083] The parameter acquisition module 401 is used to acquire the expected parameters of the target personnel when selecting products.

[0084] The parameter matching module 402 is used to match the expected parameters with the parameters in the preset parameter library, and determine the preliminary selection result of the product according to the matching result.

[0085] The result verification module 403 is used to verify the preliminary selection result based on the parameters in the preset parameter library, and determine the final selection result according to the verification result.

[0086] In one embodiment of the present application, the target personnel include product sales personnel, product purchasers, developers who develop the product selection system, testers who test the product selection system, and the like.

[0087] In this embodiment, taking a car as an example, the expected parameters include vehicle type, vehicle color, tire size, vehicle size, etc. Taking a mobile phone as an example, the expected parameters include mobile phone color, mobile phone size, screen size, etc. Here, the product category and product parameters are not specifically limited.

[0088] In this embodiment, the process of matching the expected parameters with the parameters in the preset parameter library includes: comparing the expected parameters with the parameters in the preset parameter library, if the expected parameters are consistent with the parameters in the preset parameter library, then the successfully matched expected parameters are used as the matching results; if the expected parameters are inconsistent with the parameters in the preset parameter library, then the expected parameters are adjusted, and the adjusted expected parameters are compared with the parameters in the preset parameter library again, until the adjusted expected parameters are consistent with the parameters in the preset parameter library again.

[0089] In this embodiment, the preset parameter library may be a NoSQL database, and the parameters in the preset parameter library are obtained by pre-collection and configuration. The parameters in the preset parameter library at least include a set of all parameters of a certain category of products.

[0090] In this embodiment, after the preliminary selection result is obtained, the preliminary selection result is verified based on the parameters in the preset parameter library, thereby improving the accuracy of the selection result.

[0091] It should be noted that the product selection device provided in the above embodiment and the product selection method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the product selection device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0092] An embodiment of the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the product selection method provided in the above-mentioned embodiments.

[0093] Figure 5 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0094] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

[0095] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.

[0096] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.

[0097] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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 of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0098] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0100] Another aspect of the present application further provides a computer-readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the product selection method provided in each of the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.

[0101] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0102] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0103] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0104] It should be understood that the above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection required by the claims.

Claims

1. A product selection method, characterized in that: include: Obtaining expected parameters of target personnel when selecting products, wherein the target personnel include product sales personnel or product purchase personnel; Matching the expected parameters with the parameters in the preset parameter library, and determining the preliminary selection result of the product according to the matching result; Based on the parameters in the preset parameter library, the preliminary selection result is verified, and the final selection result is determined according to the verification result.

2. The product selection method according to claim 1, characterized in that: If the parameters in the preset parameter library have a preset constraint relationship, the process of matching the expected parameters with the parameters in the preset parameter library includes: According to the preset constraint relationship, a tree structure diagram is established, and the parameters in the preset parameter library are stored in the nodes in the tree structure diagram, and the tree structure diagram is located in the preset cache space; The expected parameters are matched with the node contents in the tree structure diagram to obtain a matching result.

3. The product selection method according to claim 2, characterized in that: After storing the parameters in the preset parameter library into the nodes in the tree structure diagram, the method includes: If the node content in the tree structure diagram is modified, the modified node content is saved, and the parameters in the preset parameter library are updated with the modified node content; If the node constraint relationship in the tree structure diagram is modified, the modified node constraint relationship is saved, and the parameter constraint relationship in the preset parameter library is updated with the modified node constraint relationship.

4. The product selection method according to any one of claims 1 to 3, characterized in that: If the matching result includes multiple parameters, the process of determining the preliminary selection result of the product according to the matching result includes: A plurality of the parameters are combined to obtain a parameter combination, and the preliminary selection result is determined according to the parameter combination and a target mapping relationship, wherein the target mapping relationship is pre-established based on the parameter combination and the preliminary selection result.

5. The product selection method according to any one of claims 1 to 3, characterized in that: If the preliminary selection result includes a preliminary selection model, and the parameters in the preset parameter library include multiple preset selection models, then based on the parameters in the preset parameter library, the process of verifying the preliminary selection result includes: If the preliminary selected model is consistent with one of the preset selected models, the verification result is determined to be successful; If the preliminary selected model is inconsistent with all the preset selected models, the verification result is determined to be a verification failure.

6. The product selection method according to any one of claims 1 to 3, characterized in that: If the expected parameter includes an expected parameter name and an option for the expected parameter name, and the parameters in the preset parameter library include multiple preset parameter names and an option for each preset parameter name, then based on the parameters in the preset parameter library, the process of verifying the preliminary selection result includes: If the expected parameter name is matched with one of the preset parameter names, and if the optional items of the expected parameter name are matched with one of the optional items of the preset parameter name that is matched, then the verification result is determined to be successful. If the expected parameter name is inconsistent with all the preset parameter names, the verification result is determined to be a verification failure; or, if the expected parameter name is consistent with one of the preset parameter names, and the optional items of the expected parameter name are inconsistent with all the optional items of the consistent preset parameter names, the verification result is determined to be a verification failure.

7. The product selection method according to any one of claims 1 to 3, characterized in that: If the verification result includes verification success and verification failure, the process of determining the final selection result according to the verification result includes: If the verification result is successful, the preliminary selection result is used as the final selection result; If the verification result is a verification failure, the target person is reminded to adjust the expected parameters and select products based on the adjusted expected parameters.

8. A product selection device, characterized in that: include: A parameter acquisition module, used to acquire expected parameters when a target person makes a product selection, wherein the target person includes a product salesperson or a product purchaser; A parameter matching module is used to match the expected parameters with the parameters in the preset parameter library, and determine the preliminary selection result of the product according to the matching result; The result verification module is used to verify the preliminary selection result based on the parameters in the preset parameter library, and determine the final selection result according to the verification result.

9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the product selection method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is enabled to execute the product selection method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Rodless cylinder selection method and device based on multi-dimensional coupling analysis

    CN122796556A

  • Rodless cylinder selection method and device based on multi-dimensional coupling analysis

    CN122796556B