CN114610377A - Method and system for realizing parent-child association entry of multi-version product - Google Patents

Method and system for realizing parent-child association entry of multi-version product Download PDF

Info

Publication number
CN114610377A
CN114610377A CN202210241194.9A CN202210241194A CN114610377A CN 114610377 A CN114610377 A CN 114610377A CN 202210241194 A CN202210241194 A CN 202210241194A CN 114610377 A CN114610377 A CN 114610377A
Authority
CN
China
Prior art keywords
product
version
sub
products
versions
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.)
Pending
Application number
CN202210241194.9A
Other languages
Chinese (zh)
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.)
Bairong Zhixin Beijing Credit Investigation Co Ltd
Original Assignee
Bairong Zhixin Beijing Credit Investigation 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 Bairong Zhixin Beijing Credit Investigation Co Ltd filed Critical Bairong Zhixin Beijing Credit Investigation Co Ltd
Priority to CN202210241194.9A priority Critical patent/CN114610377A/en
Publication of CN114610377A publication Critical patent/CN114610377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a method and a system for realizing parent-child association entry of multi-version products, wherein the method comprises the following steps: by obtaining a first product; obtaining a version feature set of the first product; obtaining a plurality of versions of the first product through a decision tree; obtaining a first sub-product set through OR logic operation; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version. The technical problem that when the product has a plurality of versions and the sub-products fixedly associated among the different versions are different in the prior art, if the product in the work order scene is inconsistent with the product recorded in the contract, the selectable sub-products are incomplete or even completely missing is solved.

Description

Method and system for realizing parent-child association entry of multi-version product
Technical Field
The application relates to the field of artificial intelligence, in particular to a method and a system for realizing parent-child association entry of multi-version products.
In the process of actually selling products, various production enterprises can encounter many special situations, and the requirements of customers for various products are different. If a product has only one version, the sub-products associated with the product are fixed, and the prior art can support the fixed sub-products. However, when a certain product has a plurality of different versions, and the sub-products related between the versions are different, in a contract scene, a client only cares about the self-demand, namely the product, but not about the version of the product; in a work order scenario, the sub-products that can be selectively associated with a product of a certain version need to be limited by the product and the sub-products entered in the contract, so that if the product of the work order scenario is inconsistent with the product version entered in the contract, the situation that the selectable sub-products are incomplete or even completely missing can be generated. How to control and select the associated sub-products of the products under the contract scene and the work order scene, and the accurate and complete presentation of the parent-child association relationship of the multi-version products in the circulation of the contract and the work order is a realistic problem which needs to be solved urgently.
In the process of implementing the technical solution in the embodiment of the present application, the inventor of the present application finds that the above-mentioned technology has at least the following technical problems:
in the prior art, when a product has a plurality of versions and sub-products fixedly associated with different versions are different, the sub-products selectable and associated with any version of the product are limited by the sub-products required by customers and the sub-products fixedly associated with each version, so that if the product in a work order scene is inconsistent with the product recorded in a contract, the selectable sub-products are incomplete or even completely missing.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method and a system for implementing parent-child association entry of multi-version products, where the method includes: obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version. The technical problem that when the product has a plurality of versions and the sub-products fixedly associated with the different versions are different in the prior art, the selectable and associated sub-products of any version of the product are limited by the sub-products required by the customer and the sub-products fixedly associated with the versions at the same time, so that if the product in a work order scene is inconsistent with the product recorded in a contract, the selectable sub-products are incomplete or even completely missing is solved. The technical effect of accurately displaying the products and the sub-products thereof under the contract scene to the work order scene through obtaining the intersection of the products required by the customers and the sub-products related to the current version by calculation under the contract scene through taking the union set of all the version related sub-products and allowing the operations of selecting, inputting and storing when the products have a plurality of versions and the sub-products fixedly related among different versions are different is achieved.
In view of the foregoing problems, the embodiments of the present application provide a method and a system for implementing parent-child association entry of a multi-version product.
In a first aspect, the present application provides a method for implementing multi-version product parent-child association entry, where the method is implemented by a system for implementing multi-version product parent-child association entry, and the method includes: obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version.
In another aspect, the present application further provides a system for implementing multi-version product parent-child association entry, configured to execute the method for implementing multi-version product parent-child association entry according to the first aspect, where the system includes: by the first obtaining unit: the first obtaining unit is used for obtaining a first product, wherein the first product has a plurality of versions; a second obtaining unit: the second obtaining unit is used for obtaining the version feature set of the first product; a third obtaining unit: the third obtaining unit is configured to classify versions of the first product by using each version feature in the version feature set through a decision tree, so as to obtain multiple versions of the first product; a fourth obtaining unit: the fourth obtaining unit is used for obtaining the associated sub-product set of each version; a fifth obtaining unit: the fifth obtaining unit is configured to perform an or logical operation on the associated sub-product set of each of the versions to obtain a first sub-product set; a sixth obtaining unit: the sixth obtaining unit is configured to, in a contract scenario, select the first product and respectively select or deselect all sub-products in the first sub-field frequency set to obtain a second sub-product set; a seventh obtaining unit: and the seventh obtaining unit is configured to, in a work order scenario, perform and logic operation on the associated sub-product set and the second sub-product set of each version to obtain an adaptor product set of each version respectively.
In a third aspect, an embodiment of the present application further provides a system for implementing parent-child association entry of multiple versions of products, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the program.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1. obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version. The technical effect of accurately displaying the products and the sub-products thereof under the contract scene to the work order scene through obtaining the intersection of the products required by the customers and the sub-products related to the current version by calculation under the contract scene through taking the union set of all the version related sub-products and allowing the operations of selecting, inputting and storing when the products have a plurality of versions and the sub-products fixedly related among different versions are different is achieved.
2. Through logical operation under the work order scene, the intersection of the product required by the customer and the sub-product associated with the current version is respectively obtained, namely the adapter product set of each version of the first product, and the goal of accurately displaying the product and the sub-product transferred from the contract scene to the work order scene is further realized.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only exemplary, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for implementing parent-child association entry of a multi-version product according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating that, in a method for implementing parent-child association entry of a multi-version product according to an embodiment of the present application, each version feature in the version feature set performs category division on versions of the first product through a decision tree to obtain multiple versions of the first product;
fig. 3 is a schematic flow chart of constructing a version feature class decision tree in a method for implementing parent-child association entry of a multi-version product according to an embodiment of the present application;
fig. 4 is a schematic flow chart of obtaining an associated child product set of each version in a method for implementing parent-child associated entry of multiple versions of a product according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a system for implementing parent-child association entry of multi-version products according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an exemplary electronic device according to an embodiment of the present application.
Description of the reference numerals:
a first obtaining unit 11, a second obtaining unit 12, a third obtaining unit 13, a fourth obtaining unit 14, a fifth obtaining unit 15, a sixth obtaining unit 16, a seventh obtaining unit 17, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, and a bus interface 305.
Detailed Description
The embodiment of the application provides a method and a system for realizing parent-child association entry of multi-version products, and solves the technical problem that when the products have multiple versions and the fixed association child products of different versions are different, the selectable associated child products of any version of products are limited by the child products required by customers and the fixed association child products of each version, so that if the products in a work order scene are inconsistent with the products entered in a contract, the selectable child products are incomplete or even completely missing. The technical effect of accurately displaying the products and the sub-products thereof under the contract scene to the work order scene through obtaining the intersection of the products required by the customers and the sub-products related to the current version by calculation under the contract scene through taking the union set of all the version related sub-products and allowing the operations of selecting, inputting and storing when the products have a plurality of versions and the sub-products fixedly related among different versions are different is achieved.
In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments of the present application, and it should be understood that the present application is not limited by the example embodiments described herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application. It should be further noted that, for the convenience of description, only some but not all of the elements relevant to the present application are shown in the drawings.
Summary of the application
In the process of actually selling products, various production enterprises can encounter many special situations, and the requirements of customers for various products are different. If a product has only one version, the sub-products associated with the product are fixed, and the prior art can support the fixed sub-products. However, when a certain product has a plurality of different versions, and the sub-products related between the versions are different, in a contract scene, a client only cares about the self-demand, namely the product, but not about the version of the product; in a work order scenario, the sub-products that can be selectively associated with a product of a certain version need to be limited by the product and the sub-products entered in the contract, so that if the product of the work order scenario is inconsistent with the product version entered in the contract, the situation that the selectable sub-products are incomplete or even completely missing can be generated. How to control and select the associated sub-products of the products under the contract scene and the work order scene, and the accurate and complete presentation of the parent-child association relationship of the multi-version products in the circulation of the contract and the work order is a realistic problem which needs to be solved urgently.
In the prior art, when a product has multiple versions and there are differences between sub-products fixedly associated with different versions, the sub-products selectively associated with any version of the product are limited by the sub-products required by a customer and the sub-products fixedly associated with each version, so that if the product in a work order scene is inconsistent with the product recorded in a contract, the selectable sub-products are incomplete or even completely missing.
In view of the above technical problems, the technical solution provided by the present application has the following general idea:
the application provides a method for realizing multi-version product parent-child association entry, which is applied to a system for realizing multi-version product parent-child association entry, wherein the method comprises the following steps: obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product through each version feature in the version feature set by a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version.
Having thus described the general principles of the present application, various non-limiting embodiments thereof will now be described in detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, an embodiment of the present application provides a method for implementing parent-child association entry of a multi-version product, where the method is applied to a system for implementing parent-child association entry of a multi-version product, and the method specifically includes the following steps:
step S100: obtaining a first product, wherein the first product has a plurality of versions;
specifically, the method for realizing the parent-child association entry of the multi-version product is used for the system for realizing the parent-child association entry of the multi-version product, and the multi-version product parent-child association can be accurately displayed on products and child products thereof in a flow transition from a contract scene to a work order scene. The first product refers to any type of product sold. Wherein the first product has a plurality of different versions. For example, a product A has three different product versions, v1.0, v2.0, and v 3.0. By acquiring the first product, the technical effect of determining the first product and the version condition thereof is achieved.
Step S200: obtaining a version feature set of the first product;
step S300: classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product;
specifically, the system for realizing the parent-child association entry of the multi-version product can intelligently record and store all version information corresponding to the first product, so that the version feature set of the first product can be obtained. Further, based on a decision tree, performing category division on each version feature of the first product in the version feature set, so as to obtain multiple versions of the first product. The decision tree is a prediction model, represents a mapping relation between object attributes and object values, and is a very common classification method. By being based on the decision tree, all versions of the first product can be efficiently managed, and a management basis is provided for association of subsequent versions and the like.
Step S400: obtaining an associated set of sub-products for each of the versions;
specifically, the associated set of sub-products of the version refers to a set of sub-products associated with each version of the plurality of different versions of the first product. For example, product a has three product versions, v1.0, v2.0, and v3.0, where v1.0 version is fixedly associated with three sub-products, α, β, and γ; v2.0 version fixed association β, γ, and δ sub-products; version v3.0 fixedly associates three sub-products, β, γ and ε. Then for product a, the v1.0 version association sub-product set is { α, β, γ }, the v2.0 version association sub-product set is { β, γ, δ }, and the v3.0 version association sub-product set is { γ, δ, ε }. By converting the fixed association sub-products of each version of the first product into a set form, the technical effect of intuitively and clearly knowing the detailed conditions of each version of the first product is achieved.
Step S500: performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set;
specifically, performing union operation, that is, the or logic operation, on the fixed associated sub-product set of each version may obtain a set of all sub-products associated with the first product, that is, the first sub-product set. For example, if the product a has three product versions, v1.0, v2.0 and v3.0, the product set of the v1.0 version is { α, β, γ }, the product set of the v2.0 version is { β, γ, δ }, and the product set of the v3.0 version is { γ, δ, ε }, then the product subset of the product a is { α, β, γ, δ, ε }. Through OR logic operation, a union set of the associated sub-products of each version of the first product is obtained, and the technical effect of duplicate removal of multiple versions of the product is achieved.
Step S600: under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-product set to obtain a second sub-product set;
specifically, under a contract scene, the first product is selected, and all the sub-products in the first sub-product set are selected or not selected respectively, so that a second sub-product set is obtained. The contract scenario refers to a contract condition signed between a production and sales enterprise and a purchasing client. In the contract scene, firstly, a product required by a purchasing client, namely the first product, is selected, at the moment, all sub-products of the first product automatically appear in the system, namely, a first sub-product set of the first product automatically appears, then, the corresponding sub-products are manually selected for inputting according to the purchasing client requirement, and after all the sub-products required by the purchasing client are selected, the sub-products are stored, so that the product selection in the contract scene is completed. The technical effect of personalized customization for the demands of purchasing customers is realized by manually selecting, inputting and storing all the sub-products of the first product.
Step S700: and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version.
Specifically, in a work order scenario, a union operation is performed on the associated sub-product set and the second sub-product set of each version, that is, an and logic operation is performed on the associated sub-product set and the second sub-product set of each version, so as to obtain an adaptor product set of each version respectively. The work order scene refers to a work document which is used for managing and recording by a production and sales enterprise. For example, suppose that three sub-products, namely, α, γ, and epsilon, associated with a product required by a purchasing client a are manually selected, entered, and stored in a contract scenario, so that the second sub-product set is obtained, where the second sub-product set is { α, γ, epsilon }; the associated sub-product sets of each version are respectively: the v1.0 version association sub-product set is { alpha, beta, gamma }, the v2.0 version association sub-product set is { beta, gamma, delta }, and the v3.0 version association sub-product set is { gamma, delta, epsilon }. Then the set of aptamer products for each of the versions is: the subset of the v1.0 version adaptation is { α, γ }, the subset of the v2.0 version adaptation is { γ }, and the subset of the v3.0 version adaptation is { γ, ε }.
Through logical operation under the work order scene, the intersection of the product required by the customer and the sub-product associated with the current version is respectively obtained, namely the adapter product set of each version of the first product, and the goal of accurately displaying the product and the sub-product transferred from the contract scene to the work order scene is further realized.
Further, as shown in fig. 2, step S300 in this embodiment of the present application further includes:
step S310: constructing a version feature category decision tree;
step S320: and inputting each version feature of the first product into the decision tree of the category of the version features to obtain a plurality of versions of the first product.
In particular, decision trees are supervised learning, which is to say that given a stack of samples, each sample having a set of attributes and a class, which are determined in advance, a classifier is obtained by learning, which classifier is capable of giving the correct classification to newly appearing objects. The decision tree is a prediction model, represents a mapping relation between object attributes and object values, and is a very common classification method. By constructing a version feature category decision tree, effective management of all versions corresponding to the first product can be achieved.
Further, as shown in fig. 3, step S310 in the embodiment of the present application further includes:
step S311: obtaining a first version feature, a second version feature and a third version feature from the version feature set;
step S312: respectively carrying out information theory coding operation on the first version characteristics, the second version characteristics and the third version characteristics to obtain a first version characteristic information entropy, a second version characteristic information entropy and a third version characteristic information entropy;
step S313: obtaining a first root node version feature according to the first version feature information entropy, the second version feature information entropy and the third version feature information;
step S314: and constructing a version feature class decision tree based on the recursive algorithm of the first root node version feature and the version feature set.
Specifically, based on a first version feature, a second version feature and a third version feature, a first grading feature, a second grading feature and a third grading feature are respectively obtained, and all product versions in the version feature set are classified. In order to construct the version feature class decision tree specifically, information entropy calculation may be performed on the first hierarchical feature, the second hierarchical feature, and the third hierarchical feature, respectively, that is, by an information entropy calculation formula in information theory encoding:
Figure BDA0003541892310000131
wherein t represents a random variable, and corresponds to a set of all possible outputs, which is defined as a symbol set, the output of the random variable is represented by t, p (i | t) represents an output probability function, and the larger the uncertainty of the variable is, the larger the entropy is.
The method comprises the steps of specifically calculating information entropy values, further obtaining corresponding first feature information entropy, second feature information entropy and third feature information entropy, further comparing the first feature information entropy, the second feature information entropy and the third feature information entropy based on a data size comparison model, further obtaining features with the minimum entropy value, namely first root node feature information, sequentially classifying the features with the minimum entropy value according to the sequence of the minimum entropy value from small to large, and finally constructing a version feature category decision tree of a first product.
Further, as shown in fig. 4, step S400 in the embodiment of the present application further includes:
step S410: obtaining associated sub-products of the first product in each of the versions;
step S420: and converting the associated sub-product of each version into an associated sub-product set of each version.
Specifically, firstly, the condition of each version of the first product is obtained to obtain the condition of the child product fixedly associated with the first product in each version, and further, the associated child product of each version is converted into the associated child product set of each version. Take for example the v1.0 version of product a fixedly associated with three sub-products, α, β and γ; the v2.0 version of the product A is fixedly associated with beta, gamma and delta three sub-products; the v3.0 version of product a fixedly associates three sub-products, β, γ and ε. Then for product a, the v1.0 version of the associated sub-product set is { α, β, γ }, the v2.0 version of the associated sub-product set is { β, γ, δ }, and the v3.0 version of the associated sub-product set is { γ, δ, ε }. By converting the fixed association sub-products of the versions of the first product into a set form, the technical effect of intuitively and clearly knowing the detailed conditions of the fixed association sub-products of the versions of the first product is achieved. Further, the associated sub-product set of each of the versions includes the same associated sub-product.
Specifically, the associated sub-product set of each version includes the same sub-product fixedly associated with each version. For example, v1.0 version of product a is fixedly associated with three sub-products, α, β and γ, and v2.0 version of product a is fixedly associated with three sub-products, β, γ and δ, wherein v1.0 version and v2.0 version each contain two sub-products, β and γ.
Further, the associated sub-product set of each of the versions includes different associated sub-products.
Specifically, the associated sub-product set of each version includes different sub-products of which other versions are not fixedly associated. By way of example, the v1.0 version of product A is fixedly associated with three sub-products, α, β and γ, and the v2.0 version of product A is fixedly associated with three sub-products, β, γ and δ, wherein the v1.0 version contains α sub-products that the v2.0 version does not contain and the v2.0 version contains δ sub-products that the v1.0 version does not contain.
Further, step S600 in the embodiment of the present application further includes:
step S610: and recording and saving the second sub-product set.
Specifically, in a contract scene, firstly, a product required by a purchasing client, namely the first product, is selected, at the moment, all sub-products of the first product automatically appear in the system, namely, a first sub-product set of the first product automatically appears, then, the corresponding sub-products are manually selected according to the purchasing client requirement for inputting, and after all the sub-products required by the purchasing client are selected, the sub-products are stored, so that the product selection in the contract scene is completed. The technical effect of personalized customization for the demands of purchasing customers is realized by manually selecting, inputting and storing all the sub-products of the first product.
To sum up, the method for implementing parent-child association entry of multi-version products provided by the embodiment of the present application has the following technical effects:
1. obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version. The technical effect of accurately displaying the products and the sub-products thereof under the contract scene to the work order scene through obtaining the intersection of the products required by the customers and the sub-products related to the current version by calculation under the contract scene through taking the union set of all the version related sub-products and allowing the operations of selecting, inputting and storing when the products have a plurality of versions and the sub-products fixedly related among different versions are different is achieved.
2. Through logical operation under the work order scene, the intersection of the product required by the customer and the sub-product associated with the current version is respectively obtained, namely the adapter product set of each version of the first product, and the goal of accurately displaying the product and the sub-product transferred from the contract scene to the work order scene is further realized.
Example two
Based on the method for implementing the parent-child association entry of the multi-version product in the foregoing embodiment, the same inventive concept is also provided in the present invention, and please refer to fig. 5, the system includes:
the first obtaining unit 11: the first obtaining unit 11 is configured to obtain a first product, where the first product has multiple versions;
the second obtaining unit 12: the second obtaining unit 12 is configured to obtain a version feature set of the first product;
the third obtaining unit 13: the third obtaining unit 13 is configured to classify the version of the first product by using each version feature in the version feature set through a decision tree, so as to obtain multiple versions of the first product;
the fourth obtaining unit 14: the fourth obtaining unit 14 is configured to obtain an associated sub-product set of each of the versions;
the fifth obtaining unit 15: the fifth obtaining unit 15 is configured to perform an or logical operation on the associated sub-product set of each of the versions to obtain a first sub-product set;
the sixth obtaining unit 16: the sixth obtaining unit 16 is configured to, in a contract scenario, select the first product and respectively select or deselect all sub-products in the first sub-field frequency set to obtain a second sub-product set;
the seventh obtaining unit 17: the seventh obtaining unit 17 is configured to, in a work order scenario, perform and logical operation on the associated sub-product set and the second sub-product set of each version, and obtain an adaptor product set of each version respectively.
Further, the system further comprises:
a first building element: the first construction unit is used for constructing a version feature class decision tree;
an eighth obtaining unit: the eighth obtaining unit is configured to input each version feature of the first product into the version feature category decision tree, and obtain multiple versions of the first product.
Further, the system further comprises:
a ninth obtaining unit: the ninth obtaining unit is configured to obtain a first version feature, a second version feature, and a third version feature from the version feature set;
a tenth obtaining unit: the tenth obtaining unit is configured to perform information theory encoding operation on the first version feature, the second version feature, and the third version feature respectively to obtain a first version feature information entropy, a second version feature information entropy, and a third version feature information entropy;
an eleventh obtaining unit: the eleventh obtaining unit is configured to obtain a first root node version feature according to the first version feature information entropy, the second version feature information entropy, and the third version feature information;
a second building element: the second construction unit is used for constructing a version feature class decision tree based on the first root node version feature and the recursive algorithm of the version feature set.
Further, the system further comprises:
a twelfth obtaining unit, configured to obtain associated sub-products of the first product in each of the versions;
a first converting unit for converting each of the versions of the associated sub-product into each of the versions of the associated set of sub-products.
Further, the system further comprises:
a first setting unit, configured to set, in the associated sub-product set of each of the versions, the same associated sub-product.
Further, the system further comprises:
a second setting unit, configured to set, in the associated sub-product set of each of the versions, different associated sub-products.
Further, the system further comprises:
and the first saving unit is used for recording and saving the second sub-product set.
Each embodiment in the present specification is described in a progressive manner, and a main point of each embodiment is that a difference from other embodiments, the method for implementing parent-child association entry of a multi-version product in the first embodiment in fig. 1 and the specific example are also applicable to a system for implementing parent-child association entry of a multi-version product in this embodiment, and through the foregoing detailed description of the method for implementing parent-child association entry of a multi-version product, a person skilled in the art can clearly know that a system for implementing parent-child association entry of a multi-version product in this embodiment, and therefore, for the sake of brevity of the description, detailed description is not repeated here. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Exemplary electronic device
An electronic apparatus of an embodiment of the present application is described below with reference to fig. 6.
Fig. 6 illustrates a schematic structural diagram of an electronic device according to an embodiment of the present application.
Based on the inventive concept of the method for implementing parent-child association entry of multi-version products in the foregoing embodiments, the present invention further provides a system for implementing parent-child association entry of multi-version products, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of any one of the methods for implementing parent-child association entry of multi-version products described above.
Where in fig. 6 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 305 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
The application provides a method for realizing multi-version product parent-child association entry, which is applied to a system for realizing multi-version product parent-child association entry, wherein the method comprises the following steps: obtaining a first product, wherein the first product has a plurality of versions; obtaining a version feature set of the first product; classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product; obtaining an associated set of sub-products for each of the versions; performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set; under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set; and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under the work order scene to respectively obtain an adapter product set of each version. The technical problem that when the product has a plurality of versions and the sub-products fixedly associated with the different versions are different in the prior art, the selectable and associated sub-products of any version of the product are limited by the sub-products required by the customer and the sub-products fixedly associated with the versions at the same time, so that if the product in a work order scene is inconsistent with the product recorded in a contract, the selectable sub-products are incomplete or even completely missing is solved. The technical effect of accurately displaying the products and the sub-products thereof under the contract scene to the work order scene through obtaining the intersection of the products required by the customers and the sub-products related to the current version by calculation under the contract scene through taking the union set of all the version related sub-products and allowing the operations of selecting, inputting and storing when the products have a plurality of versions and the sub-products fixedly related among different versions are different is achieved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely software embodiment, an entirely hardware embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application is in the form of a computer program product that may be embodied on one or more computer-usable storage media having computer-usable program code embodied therewith. And such computer-usable storage media include, but are not limited to: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk Memory, a Compact Disc Read-Only Memory (CD-ROM), and an optical Memory.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A method for realizing multi-version product parent-child association entry is applied to a system for realizing multi-version product parent-child association entry, wherein the method comprises the following steps:
obtaining a first product, wherein the first product has a plurality of versions;
obtaining a version feature set of the first product;
classifying the version of the first product by each version feature in the version feature set through a decision tree to obtain a plurality of versions of the first product;
obtaining an associated set of sub-products for each of the versions;
performing OR logic operation on the associated sub-product set of each version to obtain a first sub-product set;
under a contract scene, selecting the first product and respectively selecting or not selecting all sub-products in the first sub-field frequency set to obtain a second sub-product set;
and performing AND logic operation on the associated sub-product set and the second sub-product set of each version under a work order scene to respectively obtain an adapter product set of each version.
2. The method of claim 1, wherein the categorizing each version feature of the set of version features through a decision tree for versions of the first product to obtain a plurality of versions of the first product comprises:
constructing a version feature category decision tree;
and inputting each version feature of the first product into the decision tree of the category of the version features to obtain a plurality of versions of the first product.
3. The method of claim 2, wherein said building a version feature class decision tree comprises:
obtaining a first version feature, a second version feature and a third version feature from the version feature set;
respectively carrying out information theory encoding operation on the first version characteristics, the second version characteristics and the third version characteristics to obtain a first version characteristic information entropy, a second version characteristic information entropy and a third version characteristic information entropy;
obtaining a first root node version feature according to the first version feature information entropy, the second version feature information entropy and the third version feature information;
and constructing a version feature class decision tree based on the first root node version feature and a recursive algorithm of the version feature set.
4. The method of claim 1, wherein said obtaining an associated set of sub-products for each of said versions comprises:
obtaining associated sub-products of the first product in each of the versions;
and converting the associated sub-product of each version into an associated sub-product set of each version.
5. The method of claim 1, wherein said each of said versions of said set of associated sub-products includes the same associated sub-product.
6. The method of claim 1, wherein each of said versions of said set of associated sub-products includes a different associated sub-product.
7. The method as claimed in claim 1, wherein, in a contract scenario, selecting the first product and respectively selecting all sub-products in the first sub-field frequency set, and after obtaining a second sub-product set, the method includes:
and recording and saving the second sub-product set.
8. A system for implementing multi-version product parent-child association entry, wherein the system comprises:
a first obtaining unit: the first obtaining unit is used for obtaining a first product, wherein the first product has a plurality of versions;
a second obtaining unit: the second obtaining unit is used for obtaining the version feature set of the first product;
a third obtaining unit: the third obtaining unit is configured to classify versions of the first product by using each version feature in the version feature set through a decision tree, so as to obtain multiple versions of the first product;
a fourth obtaining unit: the fourth obtaining unit is used for obtaining the associated sub-product set of each version;
a fifth obtaining unit: the fifth obtaining unit is configured to perform an or logical operation on the associated sub-product set of each of the versions to obtain a first sub-product set;
a sixth obtaining unit: the sixth obtaining unit is configured to, in a contract scenario, select the first product and respectively select or deselect all sub-products in the first sub-field frequency set to obtain a second sub-product set;
a seventh obtaining unit: and the seventh obtaining unit is configured to, in a work order scenario, perform and logic operation on the associated sub-product set and the second sub-product set of each version to obtain an adaptor product set of each version respectively.
9. A system for implementing multi-version product parent-child association entry, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.
CN202210241194.9A 2022-03-11 2022-03-11 Method and system for realizing parent-child association entry of multi-version product Pending CN114610377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210241194.9A CN114610377A (en) 2022-03-11 2022-03-11 Method and system for realizing parent-child association entry of multi-version product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210241194.9A CN114610377A (en) 2022-03-11 2022-03-11 Method and system for realizing parent-child association entry of multi-version product

Publications (1)

Publication Number Publication Date
CN114610377A true CN114610377A (en) 2022-06-10

Family

ID=81863012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210241194.9A Pending CN114610377A (en) 2022-03-11 2022-03-11 Method and system for realizing parent-child association entry of multi-version product

Country Status (1)

Country Link
CN (1) CN114610377A (en)

Similar Documents

Publication Publication Date Title
AU2021203338A1 (en) Automated Model Development Process
JPH09146607A (en) Support tool for decision making
US20150032708A1 (en) Database analysis apparatus and method
CN111666275B (en) Data processing method and device, electronic equipment and storage medium
US11373117B1 (en) Artificial intelligence service for scalable classification using features of unlabeled data and class descriptors
US11687839B2 (en) System and method for generating and optimizing artificial intelligence models
EP3867822A1 (en) Platform for selection of items used for the configuration of an industrial system
CN112527676A (en) Model automation test method, device and storage medium
CN110674178B (en) Method and system for constructing user portrait tag
CN113268971A (en) Intelligent generation method and device of demonstration report, computer equipment and storage medium
CN110597796B (en) Big data real-time modeling method and system based on full life cycle
CN111324594A (en) Data fusion method, device, equipment and storage medium for grain processing industry
CN114610377A (en) Method and system for realizing parent-child association entry of multi-version product
CN116503158A (en) Enterprise bankruptcy risk early warning method, system and device based on data driving
CN111984637B (en) Missing value processing method and device in data modeling, equipment and storage medium
CN113590692A (en) Three-stage crowd mining condition optimization method and system
CN114897607A (en) Data processing method and device for product resources, electronic equipment and storage medium
Bhuvaneswari et al. Predicting periodical sales of products using a machine learning algorithm
CN111651456B (en) Potential user determination method, service pushing method and device
CN114282657A (en) Market data long-term prediction model training method, device, equipment and storage medium
CN111798299A (en) Account settlement method and device for financial statement
CN112613533A (en) Image segmentation quality evaluation network system, method and system based on ordering constraint
CN112765448A (en) User label mining method, device, server and storage medium
CN110990256A (en) Open source code detection method, device and computer readable storage medium
Kazi et al. Preprocessy: a customisable data preprocessing framework with high-level APIs

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
CB02 Change of applicant information

Address after: 100000 floors 1-3, block a, global creative Plaza, No. 10, Furong street, Chaoyang District, Beijing

Applicant after: Bairong Zhixin (Beijing) Technology Co.,Ltd.

Address before: 100000 floors 1-3, block a, global creative Plaza, No. 10, Furong street, Chaoyang District, Beijing

Applicant before: Bairong Zhixin (Beijing) credit investigation Co.,Ltd.

CB02 Change of applicant information