[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112016958A - Product selection method and device, electronic equipment and storage medium - Google Patents

Product selection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112016958A
CN112016958A CN202010833040.XA CN202010833040A CN112016958A CN 112016958 A CN112016958 A CN 112016958A CN 202010833040 A CN202010833040 A CN 202010833040A CN 112016958 A CN112016958 A CN 112016958A
Authority
CN
China
Prior art keywords
commodity
supply
product
attribute parameter
product selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010833040.XA
Other languages
Chinese (zh)
Other versions
CN112016958B (en
Inventor
覃琴艳
周琦
张涛
徐娟
康权君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010833040.XA priority Critical patent/CN112016958B/en
Publication of CN112016958A publication Critical patent/CN112016958A/en
Application granted granted Critical
Publication of CN112016958B publication Critical patent/CN112016958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0282Rating or review of business operators or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to the technical field of IT application, and discloses a product selection method. The embodiment of the invention firstly constructs the association relationship among products, supplied commodities and suppliers; analyzing a product selection instruction, and obtaining a supply commodity set according to the incidence relation; calculating the grade of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set selected by a user in advance; and selecting the optimal supply commodity in the supply commodity set according to the scores. The invention also provides a product selection device, an electronic device and a computer readable storage medium. The embodiment of the invention reduces the cost of development, operation and maintenance, can realize dynamic modification of product evaluation indexes, and can improve user experience.

Description

产品选择方法、装置、电子设备及存储介质Product selection method, device, electronic device and storage medium

技术领域technical field

本发明实施例涉及IT应用技术领域,特别涉及一种产品选择的方法、装置、电子设备及存储介质。Embodiments of the present invention relate to the technical field of IT applications, and in particular, to a method, an apparatus, an electronic device, and a storage medium for product selection.

背景技术Background technique

随着社会的发展,能够提供给用户的产品或者服务越来越多,而且同一款产品或者服务可能有多个不同的供应商提供。例如,网络运营领域可以提供流量、话费、短信等多款产品和服务给用户,而提供这些产品和服务的供应商通常有运营商总部、分省、第三方、第三方上游等。With the development of society, more and more products or services can be provided to users, and the same product or service may be provided by multiple different suppliers. For example, in the field of network operations, a variety of products and services such as traffic, phone bills, and text messages can be provided to users, and the providers of these products and services usually include operator headquarters, sub-provinces, third parties, and third-party upstreams.

发明人发现,产品提供平台在为用户在提供某项产品或者服务时,需要先对产品选择指令进行分类,根据不同的分类,接入不同类别的系统或者API(ApplicationProgramming Interface,应用程序接口)对产品选择指令进行解析,给所述平台增加开发运维成本;此外,在为用户选择产品或者服务时,主要利用固定的产品评价指标,如价格,对产品进行评价,所述产品评价指标不容易修改,用户体验较差。The inventor found that when a product providing platform provides users with a certain product or service, it needs to classify the product selection instructions first, and access different types of systems or API (Application Programming Interface) pairs according to different classifications. The product selection instruction is parsed, which increases the development, operation and maintenance cost of the platform; in addition, when selecting products or services for users, the product is mainly evaluated by using fixed product evaluation indicators, such as price, and the product evaluation indicators are not easy. Modification, the user experience is poor.

发明内容SUMMARY OF THE INVENTION

本发明实施方式的目的在于提供一种产品选择方法、装置、电子设备及存储介质,能够降低开发运维的成本,动态修改产品评价指标,提升用户体验。The purpose of the embodiments of the present invention is to provide a product selection method, apparatus, electronic device and storage medium, which can reduce the cost of development, operation and maintenance, dynamically modify product evaluation indicators, and improve user experience.

为解决上述技术问题,本发明的实施方式提供了一种产品选择方法,所述方法包括:In order to solve the above technical problems, embodiments of the present invention provide a product selection method, which includes:

构建产品、供应商品、供应商之间的关联关系;Build relationships between products, supply goods, and suppliers;

解析产品选择指令,根据所述关联关系得到供应商品集;Parse the product selection instruction, and obtain the supply commodity set according to the association relationship;

根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;Calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user;

根据所述评分选择所述供应商品集中最优的供应商品。According to the score, the best supply commodity in the supply commodity set is selected.

为了解决上述问题,本发明还提供一种产品选择装置,所述装置包括:In order to solve the above problems, the present invention also provides a product selection device, the device includes:

关联关系构建模块,用于构建产品、供应商品、供应商之间的关联关系;The relationship building module is used to build the relationship between products, supply goods, and suppliers;

选择指令解析模块,用于解析产品选择指令,根据所述关联关系得到供应商品集;The selection instruction parsing module is used to parse the product selection instruction, and obtain the supply commodity set according to the association relationship;

评分计算模块,用于根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;a score calculation module, configured to calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user;

最优商品选择模块,用于根据所述评分选择所述供应商品集中最优的供应商品。The optimal commodity selection module is configured to select the optimal supply commodity in the supply commodity set according to the score.

为了解决上述问题,本发明还提供一种电子设备,所述电子设备包括:In order to solve the above problems, the present invention also provides an electronic device, the electronic device includes:

存储器,存储至少一个指令;及a memory that stores at least one instruction; and

处理器,执行所述存储器中存储的指令以实现上述所述的产品选择方法。The processor executes the instructions stored in the memory to implement the product selection method described above.

为了解决上述问题,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个指令,所述至少一个指令被电子设备中的处理器执行以实现上述所述的产品选择方法。In order to solve the above problems, the present invention also provides a computer-readable storage medium, where at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor in an electronic device to implement the above-mentioned Product selection method.

本发明实施例构建产品、供应商品、供应商之间的关联关系,解析产品选择指令,根据所述关联关系从而得到供应商品集,本发明实施例根据所述关联关系实现了产品、供应商品、供应商之间的统一接口,降低了开发运维的成本。进一步地,本发明实施例根据产品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分,由于所述属性参数集是可以根据用户的选择动态调整的,因此得到的供应商品的评分并非固定的,提高了用户体验。The embodiment of the present invention builds an association relationship among products, supply commodities, and suppliers, parses the product selection instruction, and obtains a supply commodity set according to the association relationship. The embodiment of the present invention realizes the product, supply commodity, A unified interface between suppliers reduces the cost of DevOps. Further, the embodiment of the present invention calculates the score of each supply commodity in the supply commodity set according to the cost parameter of the product and the attribute parameter set pre-selected by the user, because the attribute parameter set can be dynamically adjusted according to the user's selection, Therefore, the obtained score of the supplied product is not fixed, which improves the user experience.

优选地,所述解析产品选择指令,根据所述关联关系得到供应商品集,包括:Preferably, the parsing of the product selection instruction to obtain a supply commodity set according to the association relationship includes:

解析所述产品选择指令得到产品编码;Parse the product selection instruction to obtain the product code;

利用所述产品编码索引出产品;Use the product code to index the product;

根据所述产品以及所述关联关系确定对应的供应商品集。A corresponding supply commodity set is determined according to the product and the association relationship.

优选地,所述根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分,包括:Preferably, calculating the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user includes:

根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数;Calculate the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user;

根据所述成本参数计算所述每个供应商品的成本系数;Calculate the cost coefficient of each supplied commodity according to the cost parameter;

根据所述每个供应商品的评价系数及成本系数,得到所述每个供应商品的评分。According to the evaluation coefficient and cost coefficient of each supplied commodity, the score of each supplied commodity is obtained.

优选地,所述根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数,包括:Preferably, the calculation of the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user includes:

将所述用户预先选择的属性参数集中的每个属性参数与对应的预设属性参数权重相乘,得到所述每个属性参数的权重值;Multiplying each attribute parameter in the attribute parameter set preselected by the user with the corresponding preset attribute parameter weight to obtain the weight value of each attribute parameter;

根据所述用户预先选择的属性参数集中包含的所有属性参数对应的权重值,得到所述每个供应商品的评价系数。According to the weight values corresponding to all the attribute parameters included in the attribute parameter set pre-selected by the user, the evaluation coefficient of each supplied commodity is obtained.

优选地,所述根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数,还包括:Preferably, the calculating the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user further includes:

将所述用户预先选择的属性参数集中属性参数的属性值及对应的属性参数权重转换为value值,将所述用户预先选择的属性参数集中属性参数的属性名称转化为key值;Converting the attribute value of the attribute parameter in the attribute parameter set preselected by the user and the corresponding attribute parameter weight into a value value, and converting the attribute name of the attribute parameter in the attribute parameter set preselected by the user into a key value;

汇总所有key值及value值得到属性参数的key-value集,并将所述key-value集存储在预设的空白数据表中,得到属性参数数据表;Summarize all key values and value values to obtain a key-value set of attribute parameters, and store the key-value set in a preset blank data table to obtain an attribute parameter data table;

根据所述属性参数数据表中每个value值,得到所述每个供应商品的评价系数。According to each value in the attribute parameter data table, the evaluation coefficient of each supplied commodity is obtained.

本发明实施例将属性参数及属性参数权重以key-value的形式存储,利用value值计算评价系数,属性参数特征种类变换时只用改变value值就能改变评价系数,从而改变评分,实现动态改变产品评价筛选指标,提高了产品选择的灵活性。In the embodiment of the present invention, attribute parameters and attribute parameter weights are stored in the form of key-value, and the evaluation coefficient is calculated by using the value value. When the attribute parameter feature type is transformed, the evaluation coefficient can be changed only by changing the value value, thereby changing the score and realizing dynamic change. Product evaluation and screening indicators improve the flexibility of product selection.

优选地,所述根据所述成本参数计算所述每个供应商品的成本系数,包括:Preferably, the calculating the cost coefficient of each supplied commodity according to the cost parameter includes:

将所述每个供应商品的成本参数及预设的成本参数权重相乘,得到所述每个供应商品的成本系数。Multiply the cost parameter of each supplied commodity and the preset cost parameter weight to obtain the cost coefficient of each supplied commodity.

优选地,所述根据所述评分选择所述供应商品集中最优的供应商品,包括:Preferably, the selecting the best supply commodity in the supply commodity set according to the score includes:

将所述供应商品集内的每个供应商品的评分进行汇总得到评分集;Aggregating the scores of each supply commodity in the supply commodity set to obtain a score set;

将所述评分集内的评分进行排序,得到最小评分;Sort the scores in the score set to obtain the minimum score;

在所述供应商品集内选择所述最小评分对应的供应商品作为最优的供应商品。In the supply commodity set, the supply commodity corresponding to the minimum score is selected as the optimal supply commodity.

综上所述,本发明实施例通过构建产品、供应商品、供应商之间的关联关系实现了产品、供应商品、供应商之间的统一接口,降低了开发运维的成本,根据用户的需求动态选择调整属性参数集,从而改变评分,实现动态改变产品评价筛选指标,提升了用户体验。To sum up, the embodiments of the present invention realize a unified interface among products, supply commodities, and suppliers by constructing the association relationship among products, supply commodities, and suppliers, and reduce the cost of development, operation and maintenance, according to the needs of users. Dynamically select and adjust the attribute parameter set, thereby changing the score, realizing the dynamic change of product evaluation and screening indicators, and improving the user experience.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.

图1为本发明第一实施例提供的产品选择方法流程示意图;1 is a schematic flowchart of a product selection method provided by a first embodiment of the present invention;

图2为本发明第一实施例提供的产品选择方法中产品、供应商品及供应商的关联关系示意图;2 is a schematic diagram of the association relationship between products, supply commodities and suppliers in the product selection method provided by the first embodiment of the present invention;

图3为本发明第一实施例提供的产品选择方法中得到供应商品集的详细实施流程示意图;3 is a schematic diagram of a detailed implementation flow of obtaining a supply commodity set in the product selection method provided by the first embodiment of the present invention;

图4为本发明第一实施例提供的产品选择方法中计算每个供应商品的评分的详细实施流程示意图;4 is a schematic diagram of a detailed implementation flow of calculating the score of each supplied commodity in the product selection method provided by the first embodiment of the present invention;

图5为本发明第一实施例提供的产品选择方法中计算每个供应商品的评价系数的详细实施流程示意图;5 is a schematic diagram of a detailed implementation flow of calculating the evaluation coefficient of each supplied commodity in the product selection method provided by the first embodiment of the present invention;

图6为本发明第二实施例提供的产品选择装置的模块示意图;6 is a schematic diagram of a module of a product selection device provided by a second embodiment of the present invention;

图7为本发明第三实施例提供的实现产品选择方法的电子设备的内部结构示意图;7 is a schematic diagram of the internal structure of an electronic device for implementing a product selection method provided by a third embodiment of the present invention;

本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The object realization, functional features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized.

本发明的实施方式涉及一种产品选择方法,本实施方式的核心在于实现了产品、供应商品、供应商之间的统一接口,降低开发运维的成本,以及动态调整供应商品的评分,提高用户体验。下面对本实施方式的产品选择实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The embodiment of the present invention relates to a product selection method. The core of this embodiment is to realize a unified interface among products, supply commodities, and suppliers, reduce the cost of development, operation and maintenance, and dynamically adjust the score of supply commodities, so as to improve the user experience. experience. The implementation details of the product selection in this embodiment will be specifically described below. The following content is only provided for the convenience of understanding, and is not necessary for implementing this solution.

请参阅图1所示,是本发明第一实施方式提供的产品选择方法的流程图,包括:Please refer to FIG. 1 , which is a flowchart of the product selection method provided by the first embodiment of the present invention, including:

S1、构建产品、供应商品、供应商之间的关联关系。S1. Build the relationship between products, supply goods, and suppliers.

所述产品可以是一个产品提供平台提供的产品类型。每一种产品可以包括不同供应商提供的供应商品。例如,参阅图2所示,一个产品提供平台提供的产品可以包括10M流量包、话费包以及短信包。其中,所述10M流量包这个平台产品包括的供应商品可以是供应商A提供的10M流量包1、供应商B提供的10M流量包2、以及供应商C提供的10M流量包3;同理,话费包这个平台产品可以包括供应商A提供的话费包2及供应商B提供的话费包1;等等。The product may be a product type provided by a product providing platform. Each product can include supplies from different suppliers. For example, as shown in FIG. 2 , the products provided by a product providing platform may include 10M traffic package, phone bill package and short message package. Wherein, the supply commodities included in the platform product of the 10M flow package may be the 10M flow package 1 provided by supplier A, the 10M flow package 2 provided by supplier B, and the 10M flow package 3 provided by supplier C; in the same way, The product of this platform can include the call charge package 2 provided by the supplier A and the call charge package 1 provided by the supplier B; and so on.

本发明其中一个实施例可以通过产品编码建立所述产品、供应商品、供应商之间的关联关系。In one embodiment of the present invention, an association relationship between the product, the supplied commodity, and the supplier can be established through the product code.

S2、解析产品选择指令,根据所述关联关系得到供应商品集。S2. Parse the product selection instruction, and obtain a supply commodity set according to the association relationship.

本发明其中一个实施例中,所述产品选择指令为用户在预设的产品提供平台选择订购某款产品而输入该产品的产品编码时产生。所述产品编码可从平台的订单数据库中获取。In one embodiment of the present invention, the product selection instruction is generated when the user selects and orders a certain product on a preset product providing platform and inputs the product code of the product. The product code can be obtained from the platform's order database.

详细地,参阅图3所示,本发明实施例所述解析产品选择指令,根据所述关联关系得到供应商品集,包括:In detail, referring to FIG. 3 , according to the embodiment of the present invention, the product selection instruction is parsed, and the supply commodity set is obtained according to the association relationship, including:

S21、解析所述产品选择指令得到产品编码。S21. Parse the product selection instruction to obtain a product code.

S22、利用所述产品编码索引出产品。S22, using the product code to index the product.

本发明实施例中,不同的产品编码对应不同的产品,产品编码和产品是一一对应的关系,因此,根据预设的产品编码及产品的对应关系,本发明实施例可以利用产品编码索引出产品。例如:某手机通信产品提供平台有10M流量包、50M流量包、100M流量包共三款产品,10M流量包产品编码“001”、50M流量包产品编码“002”、100M流量包产品编码“003”。当用户选择指令中的产品编码为001时,可以根据预设的产品编码及产品的对应关系,索引出产品编码对应的产品为10M流量包。In this embodiment of the present invention, different product codes correspond to different products, and there is a one-to-one correspondence between product codes and products. Therefore, according to the preset product codes and the corresponding relationship between products, the embodiment of the present invention can use the product code to index out product. For example: a mobile communication product platform has three products: 10M data package, 50M data package and 100M data package. The product code of 10M data package is "001", the product code of 50M data package is "002", and the product code of 100M data package is "003". ". When the product code in the user's selection instruction is 001, the product corresponding to the product code can be indexed as a 10M traffic packet according to the preset product code and the corresponding relationship between the products.

S23、根据所述产品以及所述关联关系确定对应的供应商品集。S23. Determine a corresponding supply commodity set according to the product and the association relationship.

如上所述,所述关联关系是产品、供应商品、供应商之间的关联关系,以及所述关联关系由产品编码建立,因此,本发明实施例根据所述产品以及所述关联关系能够确定所有供应商供应的供应商品,得到供应商品集。As described above, the association relationship is an association relationship between products, supply commodities, and suppliers, and the association relationship is established by product codes. Therefore, according to the product and the association relationship, the embodiment of the present invention can determine all The supply commodity supplied by the supplier, get the supply commodity set.

本发明其中一个实施例中,为了保证产品对应的供应商品的合理性,可以利用预设的限额对供应商品进行筛选,将符合限额的供应商品进行汇总得到供应商品集。其中,所述限额为产品的硬性要求,可由用户根据自身实际情况灵活设定。如产品的硬性要求为产品利润率0.5%以上。例如:某手机通信产品提供平台有10M流量包、50M流量包、100M流量包共三款产品,其中,10M流量包产品有A、B、C三家供应商提供的供应商品,当用户选择订购的产品为10M流量包时,用户选择订购的产品对应的供应商品也随之确认,即为A、B、C三家供应商提供的三款10M流量包的供应商品,进一步地利用预设的限额对供应商品进行筛选,发现A供应商提供的供应商品利润率过低,不符合企业的产品利润率0.5%以上的要求,因此,最终符合限额要求的只有B、C两家供应商提供的10M流量包的供应商品,将这两款10M流量包的供应商品汇总得到供应商品集。In one embodiment of the present invention, in order to ensure the rationality of the supply commodities corresponding to the products, the supply commodities may be screened by using a preset limit, and the supply commodities that meet the limit may be aggregated to obtain a supply commodity set. Among them, the limit is a rigid requirement of the product, which can be flexibly set by the user according to their actual situation. For example, the rigid requirement of the product is that the profit margin of the product is more than 0.5%. For example: a mobile communication product platform has three products: 10M data package, 50M data package, and 100M data package. Among them, the 10M data package product has the supply products provided by three suppliers, A, B, and C. When the user chooses to order When the product is a 10M data package, the supply products corresponding to the product the user chooses to order are also confirmed, that is, the supply products of the three 10M data packages provided by the three suppliers A, B, and C. Further use the preset limit to After screening the supply goods, it was found that the profit margin of the supply goods provided by supplier A was too low and did not meet the requirements of the enterprise's product profit rate of more than 0.5%. Therefore, only the 10M traffic provided by the two suppliers B and C finally met the limit requirements. The supply commodities of the package, the supply commodities of the two 10M traffic packages are aggregated to obtain the supply commodity set.

S3、根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分。S3. Calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user.

本发明实施例中所述供应商品包含成本参数及属性参数集,其中所述成本参数为所述供应商品的成本,所述属性参数集为供应商品不稳定性属性的集合。所述供应商品的不稳定属性的种类会随着所述供应商品的使用环境不同或供应商品的种类不同也在逐渐变化,因此用户可以根据实际情况或者需要预先从所述属性参数集选择一种或者多种属性参数。所述供应商品以手机通讯商品为例,则所述属性参数集可以包括:延迟时间速率、供应失败率等。In the embodiment of the present invention, the supply commodity includes a cost parameter and an attribute parameter set, wherein the cost parameter is the cost of the supply commodity, and the attribute parameter set is a set of instability attributes of the supply commodity. The types of unstable attributes of the supply goods will gradually change with the use environment of the supply goods or the types of supply goods, so the user can select one from the attribute parameter set in advance according to the actual situation or needs. Or a variety of attribute parameters. The supply commodity is a mobile communication commodity as an example, and the attribute parameter set may include: delay time rate, supply failure rate, and the like.

进一步地,所述供应商品集内包含多款供应商品,但本发明实施例最终需要挑选出一款最优的供应商品作为产品的供应商品,因此需要对所述供应商品集内的供应商品进行筛选。本发明实施例利用所述供应商品集内每个供应商品的评分来对所述供应商品集内的商品进行筛选。Further, the supply commodity set includes a plurality of supply commodities, but in the embodiment of the present invention, an optimal supply commodity needs to be selected as the supply commodity of the product. filter. The embodiment of the present invention uses the score of each supply commodity in the supply commodity set to filter the commodities in the supply commodity set.

详细地,所述成本参数及属性参数集为供应商品的重要评价因素,因此,本发明实施例根据供应商品的成本参数及属性参数集计算所述供应商品集内每个供应商品的评分。详细地,参阅图4所示,所述计算所述供应商品集内每个供应商品的评分,包括:In detail, the set of cost parameters and attribute parameters is an important evaluation factor for the supply commodity. Therefore, the embodiment of the present invention calculates the score of each supply commodity in the supply commodity set according to the cost parameter and attribute parameter set of the supply commodity. In detail, referring to FIG. 4 , the calculation of the score of each supply commodity in the supply commodity set includes:

S31、根据用户预先选择的属性参数集计算所述每个供应商品的评价系数。S31. Calculate the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user.

本发明实施例将所述用户预先选择的属性参数集中的每个属性参数与对应的预设属性参数权重相乘,得到所述每个属性参数的权重值;进一步地,将所述用户预先选择的属性参数集中包含的所有属性参数对应的权重值进行求和计算,得到所述每个供应商品的评价系数。其中,所述评价系数用来衡量供应商品的稳定性。所述供应商品以某手机通讯商品为例,所述属性参数包括:延迟时间速率、供应失败率两种属性参数,其中,延迟时间速率为0.2,延迟时间速率的预设属性参数权重为0.2,因此延迟时间速率这个属性参数的权重值为0.2*0.2;供应失败率为0.05,供应失败率的预设属性参数权重为0.8,因此供应失败率这个属性参数权重值为0.05*0.8。所述供应商品的评价系数为0.2*0.2+0.05*0.8。其中,各属性参数权重之和为1。In the embodiment of the present invention, each attribute parameter in the attribute parameter set pre-selected by the user is multiplied by the corresponding preset attribute parameter weight to obtain the weight value of each attribute parameter; further, the user pre-selected The weight values corresponding to all the attribute parameters contained in the attribute parameter set of , are summed and calculated to obtain the evaluation coefficient of each supplied commodity. Wherein, the evaluation coefficient is used to measure the stability of the supplied commodities. The supply commodity is a mobile communication commodity as an example, the attribute parameters include two attribute parameters: delay time rate and supply failure rate, wherein the delay time rate is 0.2, and the preset attribute parameter weight of the delay time rate is 0.2, Therefore, the weight value of the delay time rate attribute parameter is 0.2*0.2; the supply failure rate is 0.05, and the default attribute parameter weight of the supply failure rate is 0.8, so the attribute parameter weight of the supply failure rate is 0.05*0.8. The evaluation coefficient of the supplied commodity is 0.2*0.2+0.05*0.8. Among them, the sum of the weights of each attribute parameter is 1.

S32、根据所述成本参数计算所述每个供应商品的成本系数。S32. Calculate the cost coefficient of each supplied commodity according to the cost parameter.

本发明实施例将所述每个供应商品的成本参数及预设的成本参数权重相乘,得到所述每个供应商品的成本系数。所述成本系数用来衡量供应商品的成本。所述供应商品以某手机通讯商品为例,所述成本参数为10,成本参数的预设的成本参数系数为0.6,所述供应商品的成本系数为0.6*10。In the embodiment of the present invention, the cost parameter of each supplied commodity and the preset cost parameter weight are multiplied to obtain the cost coefficient of each supplied commodity. The cost factor is used to measure the cost of supplying the commodity. The supply commodity is a mobile communication commodity as an example, the cost parameter is 10, the preset cost parameter coefficient of the cost parameter is 0.6, and the cost coefficient of the supply commodity is 0.6*10.

S33、根据所述每个供应商品的评价系数及成本系数,得到所述每个供应商品的评分。S33. Obtain a score of each supplied commodity according to the evaluation coefficient and cost coefficient of each supplied commodity.

本发明实施例将所述每个供应商品的评价系数乘上预设评价系数权重得到评价系数权重值,将所述的每个供应商品评价系数权重值与成本系数相加,得到所述每个供应商品的评分。其中,所述评价系数权重与成本参数权重之和为1。In the embodiment of the present invention, the evaluation coefficient of each supply commodity is multiplied by the preset evaluation coefficient weight to obtain the evaluation coefficient weight value, and the evaluation coefficient weight value of each supply commodity is added to the cost coefficient to obtain the each supply commodity. The rating of the offered item. The sum of the evaluation coefficient weight and the cost parameter weight is 1.

所述评分可以表征供应商品的成本及稳定性。The score can characterize the cost and stability of supplying goods.

进一步地,由于每个供应商品都具有成本参数,但不同的供应商品的属性参数集包含的属性参数种类可能会增加或减少,以及不同情况下用户需要的属性参数种类不相同,为了便于动态的修改所述每个供应商品的评价系数,参阅图5所示,本发明实施例另一个实施例中,根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数,包括:Further, since each supply commodity has a cost parameter, the types of attribute parameters contained in the attribute parameter sets of different supply commodities may increase or decrease, and the types of attribute parameters required by users are different in different situations. Modifying the evaluation coefficient of each supply commodity, as shown in FIG. 5 , in another embodiment of the embodiment of the present invention, calculating the evaluation coefficient of each supply commodity according to the attribute parameter set pre-selected by the user, including:

S311、将所述用户预先选择的属性参数集中属性参数的属性值及对应的属性参数权重转换为value值,将所述用户预先选择的属性参数集中属性参数的属性名称转化为key值。S311. Convert the attribute value of the attribute parameter in the attribute parameter set preselected by the user and the corresponding attribute parameter weight into a value value, and convert the attribute name of the attribute parameter in the attribute parameter set preselected by the user into a key value.

本发明实施例中,所述供应商品以某手机通讯商品为例,所述属性参数包括:延迟时间速率、供应失败率两种属性参数,其中,延迟时间速率为0.2,延迟时间速率的预设属性参数权重为0.2,因此,延迟时间速率属性参数的key值为:延迟时间速率,较佳地,利用“|”分隔延迟时间速率参数值0.2及延迟时间速率的属性参数权重0.2,得到延迟时间速率属性参数的value值为:0.2|0.2;供应失败率为0.05,供应失败率的预设属性参数权重为0.8,供应失败率属性参数的key值为:供应失败率,较佳地,利用“|”分隔供应失败率参数值0.05及供应失败率的属性参数权重0.8,得到供应失败率属性参数的value值为:0.05|0.8。In the embodiment of the present invention, the supply commodity is a mobile communication commodity as an example, and the attribute parameters include two attribute parameters: delay time rate and supply failure rate, wherein the delay time rate is 0.2, and the delay time rate is preset The attribute parameter weight is 0.2. Therefore, the key value of the delay time rate attribute parameter is: delay time rate. Preferably, use "|" to separate the delay time rate parameter value of 0.2 and the delay time rate attribute parameter weight of 0.2 to obtain the delay time. The value of the rate attribute parameter is: 0.2|0.2; the supply failure rate is 0.05, the preset attribute parameter weight of the supply failure rate is 0.8, and the key value of the supply failure rate attribute parameter is: supply failure rate, preferably, use " |" separates the supply failure rate parameter value of 0.05 and the supply failure rate attribute parameter weight of 0.8, and obtains the value of the supply failure rate attribute parameter: 0.05|0.8.

S312、汇总所有key值及value值得到属性参数key-value集,并将所述key-value集存储在预设的空白数据表中,得到属性参数数据表。S312. Summarize all key values and value values to obtain an attribute parameter key-value set, and store the key-value set in a preset blank data table to obtain an attribute parameter data table.

S313、根据所述属性参数数据表中每个value值,得到所述每个供应商品的评价系数。S313. Obtain the evaluation coefficient of each supplied commodity according to each value in the attribute parameter data table.

详细地,计算所述属性参数数据表中每个value值包含的两个参数的乘积得到每个value值的value值积。例如:value值为0.2|0.2,那么该value值对应的value值积为0.2*0.2=0.04。Specifically, the product of two parameters included in each value in the attribute parameter data table is calculated to obtain the value product of each value. For example, if the value is 0.2|0.2, then the value product corresponding to the value is 0.2*0.2=0.04.

进一步地,将所述属性参数数据表所有value值对应的value值积相加得到所述每个供应商品的评价系数。Further, the value value product corresponding to all the value values of the attribute parameter data table is added to obtain the evaluation coefficient of each supplied commodity.

具体的,本发明实施例对属性参数种类进行增减时,直接对属性参数数据表中的数据进行增减,计算评价系数可以直接调用数据增减后的属性参数数据表,不需要再等待属性参数修改完成,将所述数据增减后的属性参数数据表中所有value值对应的value值积相加得到所述每个供应商品的评价系数,实现评价系数的动态修改,从而实现评分的动态修改。Specifically, when the attribute parameter type is increased or decreased in the embodiment of the present invention, the data in the attribute parameter data table is directly increased or decreased, and the attribute parameter data table after the data increase or decrease can be directly called for calculating the evaluation coefficient, and there is no need to wait for the attribute parameter data table. After the parameter modification is completed, the product of the value values corresponding to all the value values in the attribute parameter data table after the data increase and decrease is added to obtain the evaluation coefficient of each supplied commodity, so as to realize the dynamic modification of the evaluation coefficient, so as to realize the dynamic evaluation of the score. Revise.

S4、根据所述评分,选择所述供应商品集中最优的供应商品。S4. Select the best supply commodity in the supply commodity set according to the score.

本发明实施例中所述评分根据所述每个供应商品的评价系数及成本系数得出的,其中,所述成本系数表征供应商品的成本,供应商品的成本越低则成本系数越低;所述评价系数表征供应商品的不稳定性,供应商品越稳定则评价系数越低,因此,所述评分越低则供应商品的成本越低,越稳定。In the embodiment of the present invention, the score is obtained according to the evaluation coefficient and cost coefficient of each supplied commodity, wherein the cost coefficient represents the cost of the supplied commodity, and the lower the cost of the supplied commodity, the lower the cost coefficient; The evaluation coefficient represents the instability of the supplied commodity. The more stable the supplied commodity, the lower the evaluation coefficient. Therefore, the lower the score, the lower the cost of the supplied commodity and the more stable it is.

进一步地,本发明实施例将所述供应商品集内的每个供应商品的评分进行汇总得到评分集;将所述评分集内的评分进行排序,得到最小评分;在所述供应商品集内选择所述最小评分对应的供应商品作为最优的供应商品。Further, in the embodiment of the present invention, the scores of each supply commodity in the supply commodity set are aggregated to obtain a score set; the scores in the score set are sorted to obtain the minimum score; The supply commodity corresponding to the minimum score is regarded as the optimal supply commodity.

本发明实施例构建产品、供应商品、供应商之间的关联关系,解析产品选择指令,根据所述关联关系从而得到供应商品集,本发明实施例根据所述关联关系实现了产品、供应商品、供应商之间的统一接口,降低了开发运维的成本。进一步地,本发明实施例根据产品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分,由于所述用户预先选择的属性参数集是动态可调整,因此得到的供应商品的评分并非固定的,提高了用户体验。The embodiment of the present invention builds an association relationship among products, supply commodities, and suppliers, parses the product selection instruction, and obtains a supply commodity set according to the association relationship. The embodiment of the present invention realizes the product, supply commodity, A unified interface between suppliers reduces the cost of DevOps. Further, the embodiment of the present invention calculates the score of each supply commodity in the supply commodity set according to the cost parameter of the product and the attribute parameter set preselected by the user. Since the attribute parameter set preselected by the user is dynamically adjustable, therefore The obtained ratings of the supplied goods are not fixed, which improves the user experience.

如图6所示,是本发明第二实施例提供的产品选择装置的模块示意图。As shown in FIG. 6 , it is a schematic block diagram of the product selection device provided by the second embodiment of the present invention.

本发明所述产品选择装置100可以安装于电子设备中。根据实现的功能,所述产品选择装置可以包括关联关系构建模块101、选择指令解析模块102、评分计算模块103、最优商品选择模块104。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The product selection device 100 of the present invention can be installed in an electronic device. According to the realized functions, the product selection device may include an association relationship building module 101 , a selection instruction analysis module 102 , a score calculation module 103 , and an optimal product selection module 104 . The modules described in the present invention can also be called units, which refer to a series of computer program segments that can be executed by the electronic device processor and can perform fixed functions, and are stored in the memory of the electronic device.

在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:

关联关系构建模块101,用于构建产品、供应商品、供应商之间的关联关系;An association relationship building module 101, used to build an association relationship between products, supply commodities, and suppliers;

选择指令解析模块102,用于解析产品选择指令,根据所述关联关系得到供应商品集;a selection instruction parsing module 102, configured to parse a product selection instruction, and obtain a supply commodity set according to the association relationship;

评分计算模块103,用于根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;A score calculation module 103, configured to calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user;

最优商品选择模块104,用于根据所述评分选择所述供应商品集中最优的供应商品。The optimal commodity selection module 104 is configured to select the optimal supply commodity in the supply commodity set according to the score.

本申请所提供的产品选择装置100中的模块能够在使用时同上述的产品选择方法一样,在于通过构建产品、供应商品、供应商之间的关联关系,解析产品选择指令,根据所述关联关系从而得到供应商品集;进一步地,根据产品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分,根据所述评分选择所述供应商品集中最优的供应商品。因此,本申请所提供的产品选择装置100中的模块能在具体运行时可以取得上述的方法实施例一样的技术效果,即实现了产品、供应商品、供应商之间的统一接口,降低了开发运维的成本,以及可以动态调整供应商品的评分,提高了用户体验。The modules in the product selection device 100 provided by the present application can be used in the same way as the above-mentioned product selection method, in that the product selection instruction is parsed by constructing the association relationship between products, supply commodities and suppliers, and according to the association relationship Thereby, a supply commodity set is obtained; further, the score of each supply commodity in the supply commodity set is calculated according to the cost parameter of the product and the attribute parameter set pre-selected by the user, and the optimal supply in the supply commodity set is selected according to the score. commodity. Therefore, the modules in the product selection device 100 provided by the present application can achieve the same technical effects as the above-mentioned method embodiments during specific operation, that is, a unified interface among products, supply commodities, and suppliers is realized, and the development time is reduced. The cost of operation and maintenance, and the ability to dynamically adjust the score of the supplied goods, improve the user experience.

如图7所示,是本发明第三实施例提供的实现产品选择方法的电子设备的内部结构示意图。As shown in FIG. 7 , it is a schematic diagram of the internal structure of the electronic device for implementing the product selection method provided by the third embodiment of the present invention.

所述电子设备1可以包括处理器12、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器12上运行的计算机程序,如产品选择程序10。The electronic device 1 may include a processor 12, a memory 11 and a bus, and may also include a computer program, such as a product selection program 10, stored in the memory 11 and executable on the processor 12.

其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(SecureDigital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如产品选择程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, CD etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1 . In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a pluggable mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software installed in the electronic device 1 and various types of data, such as codes of product selection programs, etc., but also can be used to temporarily store data that has been output or will be output.

所述处理器12在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器12是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行产品选择程序10等),以及选择存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。The processor 12 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one or more integrated circuits. Central processing unit (Central Processing Unit, CPU), microprocessor, digital processing chip, graphics processor and combination of various control chips, etc. The processor 12 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, by running or executing the program or module (for example, executing the program) stored in the memory 11. product selection program 10, etc.), and select data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器12等之间的连接通信。The bus may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (extended industry standard architecture, EISA for short) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. The bus is configured to enable connection communication between the memory 11 and at least one processor 12 and the like.

图7仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图7示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 7 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the electronic device 1, and may include fewer or more components than those shown in the figure. components, or a combination of certain components, or a different arrangement of components.

例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器12逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for powering the various components, preferably, the power source may be logically connected to the at least one processor 12 through a power management device, so that the power source can be managed by the power source. The device implements functions such as charge management, discharge management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The electronic device 1 may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。Further, the electronic device 1 may also include a network interface, optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.

可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may further include a user interface, and the user interface may be a display (Display), an input unit (eg, a keyboard (Keyboard)), optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like. The display may also be appropriately called a display screen or a display unit, which is used for displaying information processed in the electronic device 1 and for displaying a visualized user interface.

应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only used for illustration, and are not limited by this structure in the scope of the patent application.

所述电子设备1中的所述存储器11存储的产品选择程序10是多个指令的组合,在所述处理器10中运行时,可以实现与上述方法项相同的技术实施手段,在此不再赘述。The product selection program 10 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, the same technical implementation means as the above method item can be implemented, which is not repeated here. Repeat.

进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Further, if the modules/units integrated in the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) .

所述计算机可读存储介质上存储有产品选择程序,所述产品选择程序可被一个或多个处理器执行,以实现如下操作:A product selection program is stored on the computer-readable storage medium, and the product selection program can be executed by one or more processors to achieve the following operations:

构建产品、供应商品、供应商之间的关联关系;Build relationships between products, supply goods, and suppliers;

解析产品选择指令,根据所述关联关系得到供应商品集;Parse the product selection instruction, and obtain the supply commodity set according to the association relationship;

根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;Calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user;

根据所述评分选择所述供应商品集中最优的供应商品。According to the score, the best supply commodity in the supply commodity set is selected.

在本发明所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division manners in actual implementation.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It will be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the invention.

因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and range of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim.

此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the system claims can also be implemented by one unit or means by means of software or hardware. Second-class terms are used to denote names and do not denote any particular order.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1.一种产品选择方法,其特征在于,所述方法包括:1. a product selection method, is characterized in that, described method comprises: 构建产品、供应商品、供应商之间的关联关系;Build relationships between products, supply goods, and suppliers; 解析产品选择指令,根据所述关联关系得到供应商品集;Parse the product selection instruction, and obtain the supply commodity set according to the association relationship; 根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;Calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user; 根据所述评分选择所述供应商品集中最优的供应商品。According to the score, the best supply commodity in the supply commodity set is selected. 2.根据权利要求1所述的产品选择方法,其特征在于,所述解析产品选择指令,根据所述关联关系得到供应商品集,包括:2 . The product selection method according to claim 1 , wherein the analyzing the product selection instruction, and obtaining the supply commodity set according to the association relationship, comprising: 2 . 解析所述产品选择指令得到产品编码;Parse the product selection instruction to obtain the product code; 利用所述产品编码索引出产品;Use the product code to index the product; 根据所述产品以及所述关联关系确定与所述产品对应的供应商品集。A supply commodity set corresponding to the product is determined according to the product and the association relationship. 3.根据权利要求1所述的产品选择方法,其特征在于,所述根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分,包括:3 . The product selection method according to claim 1 , wherein calculating each supply in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user. 4 . Product ratings, including: 根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数;Calculate the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user; 根据所述成本参数计算所述每个供应商品的成本系数;Calculate the cost coefficient of each supplied commodity according to the cost parameter; 根据所述每个供应商品的评价系数及成本系数,得到所述每个供应商品的评分。According to the evaluation coefficient and cost coefficient of each supplied commodity, the score of each supplied commodity is obtained. 4.根据权利要求3所述的产品选择方法,其特征在于,所述根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数,包括:4. The product selection method according to claim 3, wherein the calculating the evaluation coefficient of each supplied commodity according to the attribute parameter set pre-selected by the user comprises: 将所述用户预先选择的属性参数集中的每个属性参数与对应的预设属性参数权重相乘,得到所述每个属性参数的权重值;Multiplying each attribute parameter in the attribute parameter set preselected by the user with the corresponding preset attribute parameter weight to obtain the weight value of each attribute parameter; 根据所述用户预先选择的属性参数集中包含的所有属性参数的权重值,得到所述每个供应商品的评价系数。According to the weight values of all attribute parameters included in the attribute parameter set pre-selected by the user, the evaluation coefficient of each supplied commodity is obtained. 5.根据权利要求3所述的产品选择方法,其特征在于,所述根据所述用户预先选择的属性参数集计算所述每个供应商品的评价系数,包括:5. The product selection method according to claim 3, wherein the calculating the evaluation coefficient of each supplied commodity according to the attribute parameter set preselected by the user comprises: 将所述用户预先选择的属性参数集中属性参数的属性值及对应的属性参数权重转换为value值,将所述用户预先选择的属性参数集中属性参数的属性名称转化为key值;Convert the attribute value of the attribute parameter in the attribute parameter set preselected by the user and the corresponding attribute parameter weight into a value value, and convert the attribute name of the attribute parameter in the attribute parameter set preselected by the user into a key value; 汇总所有key值及value值得到属性参数的key-value集,并将所述key-value集存储在预设的空白数据表中,得到属性参数数据表;Summarize all key values and value values to obtain a key-value set of attribute parameters, and store the key-value set in a preset blank data table to obtain an attribute parameter data table; 根据所述属性参数数据表中每个value值,得到所述每个供应商品的评价系数。According to each value in the attribute parameter data table, the evaluation coefficient of each supplied commodity is obtained. 6.根据权利要求3所述的产品选择方法,其特征在于,所述根据所述成本参数计算所述每个供应商品的成本系数,包括:6. The product selection method according to claim 3, wherein the calculating the cost coefficient of each supplied commodity according to the cost parameter comprises: 将所述每个供应商品的成本参数及预设的成本参数权重相乘,得到所述每个供应商品的成本系数。Multiplying the cost parameter of each supplied commodity and the preset cost parameter weight to obtain the cost coefficient of each supplied commodity. 7.根据权利要求1所述的产品选择方法,其特征在于,所述根据所述评分选择所述供应商品集中最优的供应商品,包括:7. The product selection method according to claim 1, wherein the selecting the optimal supply commodity in the supply commodity set according to the score comprises: 将所述供应商品集内的每个供应商品的评分进行汇总得到评分集;Aggregating the scores of each supply commodity in the supply commodity set to obtain a score set; 将所述评分集内的评分进行排序,得到最小评分;Sort the scores in the score set to obtain the minimum score; 在所述供应商品集内选择所述最小评分对应的供应商品作为最优的供应商品。In the supply commodity set, the supply commodity corresponding to the minimum score is selected as the optimal supply commodity. 8.一种产品选择装置,其特征在于,所述装置包括:8. A product selection device, characterized in that the device comprises: 关联关系构建模块,用于构建产品、供应商品、供应商之间的关联关系;The relationship building module is used to build the relationship between products, supply goods, and suppliers; 选择指令解析模块,用于解析产品选择指令,根据所述关联关系得到供应商品集;The selection instruction parsing module is used to parse the product selection instruction, and obtain the supply commodity set according to the association relationship; 评分计算模块,用于根据所述供应商品集中每个供应商品的成本参数和用户预先选择的属性参数集计算所述供应商品集内每个供应商品的评分;a score calculation module, configured to calculate the score of each supply commodity in the supply commodity set according to the cost parameter of each supply commodity in the supply commodity set and the attribute parameter set pre-selected by the user; 最优商品选择模块,用于根据所述评分选择所述供应商品集中最优的供应商品。An optimal commodity selection module, configured to select the optimal supply commodity in the supply commodity set according to the score. 9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至7中任一项所述的产品选择方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the execution of any one of claims 1 to 7 method of product selection. 10.一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的产品选择方法。10. A computer-readable storage medium storing a computer program, wherein the computer program implements the product selection method according to any one of claims 1 to 7 when the computer program is executed by a processor.
CN202010833040.XA 2020-08-18 2020-08-18 Product selection method, device, electronic equipment and storage medium Active CN112016958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010833040.XA CN112016958B (en) 2020-08-18 2020-08-18 Product selection method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010833040.XA CN112016958B (en) 2020-08-18 2020-08-18 Product selection method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112016958A true CN112016958A (en) 2020-12-01
CN112016958B CN112016958B (en) 2024-03-22

Family

ID=73504997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010833040.XA Active CN112016958B (en) 2020-08-18 2020-08-18 Product selection method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112016958B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112819533A (en) * 2021-01-29 2021-05-18 深圳脉腾科技有限公司 Information pushing method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213729A1 (en) * 2010-02-26 2011-09-01 Jiri Pechanec Automatic selection of cheapest suppliers for product assembly
CN105898093A (en) * 2016-05-17 2016-08-24 北京奇虎科技有限公司 Method and device for managing flow distributors, and flow recharging system
US20170026249A1 (en) * 2014-10-03 2017-01-26 Jeremy Lynn Littlejohn Method for gathering traffic analytics data about a communication network
CN106934680A (en) * 2015-12-29 2017-07-07 阿里巴巴集团控股有限公司 A kind of method and device for business processing
CN107545448A (en) * 2016-06-24 2018-01-05 南京中兴软件有限责任公司 Commodity display methods, apparatus and system
CN108415921A (en) * 2017-09-25 2018-08-17 平安科技(深圳)有限公司 Supplier recommends method, apparatus and computer readable storage medium
CN109800989A (en) * 2019-01-21 2019-05-24 石家庄职业技术学院(石家庄广播电视大学) Using the supplier selection method of evaluation index classification overall merit
CN110070244A (en) * 2018-01-22 2019-07-30 北京京东尚科信息技术有限公司 Supplier evaluation method, system, electronic equipment and computer-readable medium
CN110378770A (en) * 2019-07-25 2019-10-25 上海尊溢商务信息咨询有限公司 A kind of method and device that e-commerce operation selects money to recommend
CN111353793A (en) * 2018-12-20 2020-06-30 中国移动通信集团天津有限公司 CRM (customer relationship management) service recommendation method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213729A1 (en) * 2010-02-26 2011-09-01 Jiri Pechanec Automatic selection of cheapest suppliers for product assembly
US20170026249A1 (en) * 2014-10-03 2017-01-26 Jeremy Lynn Littlejohn Method for gathering traffic analytics data about a communication network
CN106934680A (en) * 2015-12-29 2017-07-07 阿里巴巴集团控股有限公司 A kind of method and device for business processing
CN105898093A (en) * 2016-05-17 2016-08-24 北京奇虎科技有限公司 Method and device for managing flow distributors, and flow recharging system
CN107545448A (en) * 2016-06-24 2018-01-05 南京中兴软件有限责任公司 Commodity display methods, apparatus and system
CN108415921A (en) * 2017-09-25 2018-08-17 平安科技(深圳)有限公司 Supplier recommends method, apparatus and computer readable storage medium
CN110070244A (en) * 2018-01-22 2019-07-30 北京京东尚科信息技术有限公司 Supplier evaluation method, system, electronic equipment and computer-readable medium
CN111353793A (en) * 2018-12-20 2020-06-30 中国移动通信集团天津有限公司 CRM (customer relationship management) service recommendation method and device
CN109800989A (en) * 2019-01-21 2019-05-24 石家庄职业技术学院(石家庄广播电视大学) Using the supplier selection method of evaluation index classification overall merit
CN110378770A (en) * 2019-07-25 2019-10-25 上海尊溢商务信息咨询有限公司 A kind of method and device that e-commerce operation selects money to recommend

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112819533A (en) * 2021-01-29 2021-05-18 深圳脉腾科技有限公司 Information pushing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112016958B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
WO2022237667A1 (en) Method and apparatus for determining order fulfillment warehouse
CN111428458A (en) Universal report generation method and device and computer readable storage medium
CN107094166A (en) A kind of service information sending method and device
CN111897831A (en) Method, device, electronic device and storage medium for generating service message
CN110232487A (en) A kind of task allocating method and device
WO2022048362A1 (en) Data storage method and apparatus, electronic device, and storage medium
CN107016115B (en) Data export method and device, computer readable storage medium and electronic equipment
CN112328656B (en) Service query method, device, equipment and storage medium based on middle platform architecture
CN112016958A (en) Product selection method and device, electronic equipment and storage medium
CN113222493B (en) Supply chain inventory management method and device and electronic equipment
CN114640707A (en) Message asynchronous processing method and device, electronic equipment and storage medium
CN114265856A (en) Method and device for providing data service and electronic equipment
CN118428984A (en) Intelligent material cost management and control method, device, equipment and medium
CN114995719B (en) List rendering method, device, equipment and storage medium
CN112632194B (en) Method, device, equipment and storage medium for representing graphic visualization relationship of data
CN113138760B (en) Page generation method and device, electronic equipment and medium
CN113626605B (en) Information classification method, device, electronic equipment and readable storage medium
CN116070079A (en) Data verification method and device based on artificial intelligence, electronic equipment and medium
WO2022160443A1 (en) Lineage mining method and apparatus, electronic device and computer-readable storage medium
CN111652281B (en) Information data classification method, device and readable storage medium
CN115049383A (en) Combined payment recommendation method and device, electronic equipment and storage medium
CN111695749B (en) Grouping task generation method and device
CN114398226A (en) Network asset report generation method and device
CN108109002B (en) Data processing method and device
CN112256948A (en) Data processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant