Disclosure of Invention
In view of the foregoing, it is desirable to provide a product configuration method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve the efficiency of product configuration.
In a first aspect, the present application provides a method of product configuration. The method comprises the following steps:
acquiring a material association relationship and a parameter association relationship, and determining requirement information corresponding to a product to be configured;
According to the material association relation, searching associated material information associated with the demand information from preset template material information;
determining target association parameters in the associated material information according to the association relation between the demand information and the parameters;
And obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters.
In one embodiment, determining requirement information corresponding to a product to be configured includes obtaining a product requirement of the product to be configured, determining a type of the product requirement, wherein the type comprises a text type and a voice type, extracting information of the product requirement through a first natural language processing mode corresponding to the text type when the product requirement is the text type to obtain corresponding requirement information, and extracting information of the product requirement through a second natural language processing mode corresponding to the voice type when the product requirement is the voice type to obtain corresponding requirement information.
In one embodiment, the demand information comprises demand material identifiers, the associated material information comprises associated material identifiers and associated parameters, and the searching of the associated material information associated with the demand information from preset template material information according to the material association relation comprises the steps of determining at least one associated material identifier associated with the demand material identifiers according to the material association relation, obtaining template material information and searching at least one associated parameter corresponding to each associated material identifier from the template material information.
In one embodiment, determining the target associated parameter in the associated material information according to the demand information and the parameter association relation comprises searching candidate associated parameters associated with the demand parameter from the parameter association relation according to the demand parameter in the demand information, screening target candidate associated parameters matched with the associated parameters in the associated material information from the candidate associated parameters, and taking the target candidate associated parameters as target associated parameters corresponding to the demand parameter.
In one embodiment, the material association relationship is determined by acquiring a product structure of a preset product corresponding to the preset product, at least one template material identifier and a material parameter configuration rule, determining the association relationship between each template material identifier in the at least one template material identifier according to the product structure, and obtaining the material association relationship corresponding to the preset product according to the association relationship between each template material identifier.
In one embodiment, the parameter association relation is determined by determining a key template material identifier in at least one template material identifier, determining at least one associated template material identifier associated with the key template material identifier according to the material association relation, determining an associated template parameter corresponding to each associated template material identifier, screening out a target associated template parameter corresponding to each associated template material identifier from the associated template parameters according to a material parameter configuration rule, and obtaining a parameter association relation corresponding to a preset product based on the key template parameter and the target associated template parameter.
In one embodiment, the material parameter configuration rule includes a mutual exclusion condition, a containing condition and a binding condition, and the target associated template parameter is obtained by screening from the associated template parameters based on at least one of the mutual exclusion condition, the containing condition and the binding condition.
In a second aspect, the application further provides a product configuration device. The device comprises:
The information acquisition module is used for acquiring the material association relationship and the parameter association relationship and determining the requirement information corresponding to the product to be configured;
the material determining module is used for searching associated material information associated with the requirement information from preset template material information according to the material association relation;
The parameter determining module is used for determining target association parameters in the associated material information according to the requirement information and the parameter association relation;
And the result output module is used for obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring a material association relationship and a parameter association relationship, and determining requirement information corresponding to a product to be configured;
according to the material association relation, searching associated material information associated with the demand information from preset template material information;
Determining target association parameters in the associated material information according to the association relation between the demand information and the parameters;
And obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a material association relationship and a parameter association relationship, and determining requirement information corresponding to a product to be configured;
According to the material association relation, searching associated material information associated with the demand information from preset template material information;
determining target association parameters in the associated material information according to the association relation between the demand information and the parameters;
And obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters.
In a fifth aspect, the present application also provides a computer program product. Computer program product comprising a computer program which, when executed by a processor, realizes the steps of:
acquiring a material association relationship and a parameter association relationship, and determining requirement information corresponding to a product to be configured;
According to the material association relation, searching associated material information associated with the demand information from preset template material information;
determining target association parameters in the associated material information according to the association relation between the demand information and the parameters;
And obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters.
According to the product configuration method, the device, the computer equipment, the storage medium and the computer program product, the material association relationship and the parameter association relationship are obtained, the demand information corresponding to the product to be configured is determined, and then the associated material information associated with the demand information is quickly searched from the preset template material information according to the material association relationship, so that the target association parameter in the associated material information can be determined according to the demand information and the parameter association relationship. And finally, directly obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters. Because the related materials in the preset template material information are searched through the material association relationship, and then the target association parameters corresponding to the related materials are determined through the parameter association relationship, compared with the traditional mode that items in a super bill of materials are associated with items in a configurator one by one, and then the items are selected from the configurator after association, the method reduces the difficulty of product configuration, and further greatly improves the efficiency of product configuration.
In addition, all the associated material information corresponding to the requirement information can be directly determined through the material association relationship, namely, the user can provide more detailed requirement information of the product to be configured differently, so that the configuration of the corresponding product can be realized, and the threshold for personalized customization for the user is reduced.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The product configuration method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 and the server 104 may be used separately to execute the product configuration method provided in the embodiment of the present application, or may be used cooperatively to execute the product configuration method provided in the embodiment of the present application. Taking the example that the terminal 102 and the server 104 cooperate to perform the product configuration method, the terminal 102 is configured to determine the requirement information corresponding to the product to be configured, and send the requirement information to the server 104. The server 104 pre-stores template material information, and is configured to search target association parameters associated with the requirement information from preset template material information through the material association relationship and the parameter association relationship, further obtain a product configuration result corresponding to the product to be configured, and return the product configuration result to the terminal 102. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a product configuration method is provided, and the method is applied to a computer device, which may be a terminal or a server in fig. 1, for example. The product configuration method comprises the following steps:
step 202, acquiring a material association relationship and a parameter association relationship, and determining requirement information corresponding to a product to be configured.
The material represents all parts required for producing specific products in the industrial manufacturing process, such as raw materials, semi-finished parts, auxiliary products and the like, the material association relationship represents an association relationship formed by structural composition and structural connection among different materials, for example, a set of table and chair consists of a table and a stool, four corners of a table are connected, and the like, for example, a mobile phone screen requires a mobile phone backboard, two mobile phone short side plates, two mobile phone long side plates and the like, the parameter association relationship represents an association relationship among material parameters corresponding to the materials after the materials are associated with each other, for example, when the material parameters of the mobile phone screen are 5.6 inches, the material parameters of the mobile phone backboard associated with the mobile phone screen are also 5.6 inches.
Specifically, the computer equipment obtains corresponding material association relations and parameter association relations through the association relation database. The computer equipment obtains demand information corresponding to the product demand by determining the product demand corresponding to the product to be configured and extracting information from the product demand, wherein the product demand is an actual product configuration demand provided by a user, and the demand information comprises a demand material identifier and a demand parameter. For example, the product requirement of the user is "a mobile phone with 256G memory and 5.6 inches of screen is required to be configured", after information extraction is performed on the product requirement, the obtained requirement material identifiers include "mobile phone memory" and "mobile phone screen", the requirement parameter of "mobile phone memory" is "256G", and the requirement parameter of "mobile phone screen" is "5.6 inches".
In one embodiment, the computer device determines the product requirement of the product to be configured, displays the product requirement to the user through the interface, and responds to the selection operation of the user on the interface to directly determine the requirement information corresponding to the product requirement.
Step 204, searching the related material information related to the requirement information from the preset template material information according to the material association relation.
The template material information is a pre-established material list with large and complete materials, and can be used for reflecting the hierarchical structure, the quantity relation and the like of different parts. The template material information may include all template material identifiers required by the product to be configured, and template parameters corresponding to each template material identifier. The demand information comprises a demand material identifier corresponding to the demand of the user and a demand parameter corresponding to the demand material identifier.
The computer equipment searches from preset template material information according to the demand material identification in the demand information to determine an associated material identification associated with the demand material identification, and meanwhile, extracts association parameters corresponding to the associated material identification from the preset template material information according to the associated material identification. Therefore, the associated material information associated with the demand information can be obtained by integrating the associated material identifier and the associated parameters corresponding to the associated material identifier. For example, when the required material mark is determined to be a table, the relevant material mark can be found to be a screw A, a screw B or the like from the preset template material information, and meanwhile, the computer equipment respectively extracts relevant parameters corresponding to the screw A and relevant parameters corresponding to the screw B from the template material information.
And 206, determining target association parameters in the associated material information according to the association relation between the demand information and the parameters.
Specifically, the computer equipment determines, for each of a plurality of associated material identifiers in the associated material information, an associated parameter corresponding to the current associated material identifier. The computer equipment searches from the associated parameters corresponding to the current associated material identifiers according to the demand parameters and the parameter association relation in the demand information, determines the target associated parameters associated with the demand parameters, and takes the current associated material identifiers corresponding to the target associated parameters as target associated material identifiers. Referring to the above example, if the associated parameters of the "screw a" in the associated material identifier include "5" s "," the material is a ", and the like, and the associated parameters of the" screw B "include" 6 "s", "the material is B", and the like, if the required parameter of the required material identifier "table" is "thickness 5cm", the computer device determines, according to the parameter association relationship, that the target associated parameter of the target associated material identifier "screw a" is "5" s "," the material is a ", and if the required parameter of the required material identifier" table "is" thickness 8cm ", the computer device determines, according to the parameter association relationship, that the target associated parameter of the target associated material identifier" screw B "is" 6 "s", "the material is B".
And step 208, obtaining a product configuration result corresponding to the product to be configured through the requirement information, the associated material information and the target associated parameters.
Specifically, the computer device may directly generate a product configuration result of the product to be configured, that is, a bill of materials of the product to be configured, according to the requirement information, the target associated material identifier in the associated material information, and the target associated parameter corresponding to the target associated material identifier. According to the product configuration result, the product cost quotation, the product production and manufacturing and the like can be directly carried out on the product to be configured.
In one embodiment, the computer device may generate a bill of materials of a specific type according to the actual requirements of the user and the configuration result of the product, and perform corresponding processing on the product to be configured according to the bill of materials of different types. For example, when designing a bill of materials, the computer device may generate information including a product name, a product structure, a list, a summary table, a product usage instruction, a packing list, and the like according to the product configuration result, and when manufacturing a bill of materials, the computer device may generate tooling information including an assembly order, a man-hour quota, a material quota, and related jigs, molds, and the like of the product to be configured.
In the product configuration method, the material association relationship and the parameter association relationship are acquired, the demand information corresponding to the product to be configured is determined, and then the associated material information associated with the demand information is quickly searched from the preset template material information according to the material association relationship, so that the target association parameter in the associated material information can be determined according to the demand information and the parameter association relationship. And finally, directly obtaining a product configuration result corresponding to the product to be configured through the demand information, the associated material information and the target associated parameters. Because the related materials in the preset template material information are searched through the material association relationship, and then the target association parameters corresponding to the related materials are determined through the parameter association relationship, compared with the traditional mode that items in a super bill of materials are associated with items in a configurator one by one, and then the items are selected from the configurator after association, the method reduces the difficulty of product configuration, and further greatly improves the efficiency of product configuration.
In one embodiment, determining the requirement information corresponding to the product to be configured comprises obtaining a product requirement of the product to be configured, determining a type of the product requirement, wherein the type comprises a text type and a voice type, extracting information of the product requirement through a first natural language processing mode corresponding to the text type when the product requirement is the text type to obtain corresponding requirement information, and extracting information of the product requirement through a second natural language processing mode corresponding to the voice type when the product requirement is the voice type to obtain corresponding requirement information.
The natural language processing refers to a mode of quantitatively analyzing language information under the support of a computer.
Specifically, the computer device determines a type of product requirement according to the product requirement of the product to be configured provided by the user, wherein the type of the product requirement comprises a text type and a voice type. When the computer equipment determines that the type of the product requirement is the text type, marking the word segmentation in the text respectively in a first natural language processing mode, matching the word segmentation in the text according to a preset keyword segmentation database, namely extracting information of the product requirement, and taking the matched word segmentation as requirement information corresponding to the product to be configured. For example, the product requirement of the user is "configure a mobile phone with 256G memory and 5.6 inches screen", after the words in the text are respectively marked, the "configuration", "one", "256G memory", "5.6 inches screen" and "mobile phone" are obtained, then the words in the text are matched through the keyword segmentation database, the matched words are "256G memory", "5.6 inches screen" and "mobile phone", and then the matched words are used as the requirement information corresponding to the mobile phone.
When the computer equipment determines that the type of the product requirement is a voice type, the voice is subjected to feature extraction processing in a second natural language processing mode, and acoustic features corresponding to the product requirement are obtained. And the computer equipment obtains the voice content corresponding to the product requirement according to the phonemes in the acoustic characteristics and the phoneme posterior probability corresponding to each phoneme. And identifying keywords in the voice content according to a preset voice keyword database to obtain the requirement information corresponding to the product to be configured. Wherein the phoneme posterior probability is used to express a speech content feature of the speech.
In this embodiment, through the natural language processing method, different types of product requirements can be rapidly identified, and format conversion is not required to be performed on the product requirements through a complicated manual mode, so that a threshold for personalized customization for users is greatly reduced, and further efficiency of product configuration is improved.
In one embodiment, the demand information comprises demand material identifiers, the associated material information comprises associated material identifiers and associated parameters, and the searching of the associated material information associated with the demand information from preset template material information according to the material association relation comprises the steps of determining at least one associated material identifier associated with the demand material identifiers according to the material association relation, obtaining the template material information, and searching at least one associated parameter corresponding to each associated material identifier from the template material information.
Specifically, according to the required material identification in the required information, the computer equipment determines the material identification matched with the required material identification and all material parameters corresponding to the material identification, wherein the matched material identification represents the identification corresponding to the material identical to the required material identification. For example, when the required material identifier is determined to be "mobile phone screen", all the material parameters corresponding to the material identifier of "mobile phone screen" and "mobile phone screen" such as "4.6 inches" and "5.6 inches" can be found from the preset template material information. Further, after determining the material identifier matched with the required material identifier, the computer equipment continues to search from the preset template material information according to the material association relationship, and determines the associated material identifier associated with the material identifier and the associated parameter corresponding to the associated material identifier. Referring to the above example, it may be determined that the associated material associated with the "mobile phone screen" is identified as "mobile phone backplate", and that the associated parameters corresponding to the "mobile phone backplate" include "4.6 inches" and "5.6 inches". Further, the computer equipment synthesizes the associated material identifiers and at least one associated parameter corresponding to each associated material identifier to obtain associated material information associated with the requirement information.
In this embodiment, through the material association relationship, the associated material information associated with the requirement information can be directly searched from the preset template material information, so that the target association parameter associated with the requirement information can be quickly searched through the associated material information in the following process, thereby improving the efficiency of product configuration.
In one embodiment, determining the target associated parameters in the associated material information according to the demand information and the parameter association relation comprises searching candidate associated parameters associated with the demand parameters from the parameter association relation according to the demand parameters in the demand information, screening target candidate associated parameters matched with the associated parameters in the associated material information from the candidate associated parameters, and taking the target candidate associated parameters as the target associated parameters corresponding to the demand parameters.
Specifically, according to the demand parameter and the parameter association relation in the demand information, the computer equipment determines candidate association parameters associated with the demand parameter, searches from the corresponding association parameters in the associated material information, and obtains target candidate association parameters matched with the association parameters in the associated material information, wherein the matched target candidate association parameters are the same parameters as the candidate association parameters, and the target candidate association parameters are used as target association parameters corresponding to the demand parameter. Referring to the above example, if the required parameter of the "table" is "thickness 5cm", according to the parameter association relationship, the "number of" screws a "is 5" as the candidate associated parameter associated with the required parameter, then the associated parameter in the associated material information is searched, and the searched "number of" screws a "is 5", that is, the parameter identical to the candidate associated parameter is used as the target associated parameter.
In the embodiment, the target associated parameters corresponding to the required parameters can be quickly found out by directly searching the associated parameters in the associated material information through the parameter associated relation and the required parameters, so that the efficiency of product configuration is improved.
In one embodiment, the material association relationship is determined by acquiring a product structure of a preset product corresponding to the preset product, at least one template material identifier and a material parameter configuration rule, determining the association relationship between each template material identifier in the at least one template material identifier according to the product structure, and obtaining the material association relationship corresponding to the preset product according to the association relationship between each template material identifier.
The material parameter configuration rule refers to a rule for setting a parameter value range between materials after determining an association relation between the materials, if a mobile phone screen is 5.6 inches, the size of a mobile phone back plate is the same as the size of the mobile phone screen, the length of a mobile phone long side plate is the same as the width of the mobile phone screen, the length of a mobile phone short side plate is the same as the length of the mobile phone screen, and a mobile phone memory selects 256G with large capacity.
Specifically, the computer equipment acquires a product structure of a preset product corresponding to the preset product and at least one template material identifier, wherein the product structure is a connection relationship, a containing relationship and the like among parts of the preset product, for example, a short side plate of a mobile phone and a long side plate of the mobile phone are connected to a back plate of the mobile phone, the long side plate of the mobile phone comprises a switch key, a sound adjusting key and the like, and the template material identifier represents all parts required for forming the preset product, for example, when the preset product is a mobile phone, the template material identifier is all parts required for configuring the mobile phone.
Further, the computer equipment determines the association relation between each template material identifier in the plurality of template material identifiers according to the product structure of the preset product and at least one template material identifier forming the preset product, and connects the template material identifiers with the association relation to form a material association relation corresponding to the preset product. For example, according to the product structure of the mobile phone and all the template material identifiers forming the mobile phone, the association relationship of all the parts in the mobile phone is determined, and finally the material association relationship corresponding to the mobile phone is obtained. It is easy to understand that when the product structure of the preset product is in a fixed form, the material association relationship corresponding to the preset product is obtained in a fixed form.
In one embodiment, the computer device obtains template parameters of the preset product through a natural language processing method, and determines material parameter configuration rules of the preset product according to a preset parameter configuration model and the template parameters. For example, the parameter configuration model may be "when the material 1 is the length a, the material 2 is the length b, and the number of the materials 3 is c", "when the material 1 is connected with the material 2 at right angles, the material 3 is d", etc., and when a specific template parameter is input into the parameter configuration model, the material parameter configuration rule of the preset product can be obtained. It is easy to understand that the parameter configuration model is not limited to the above examples, but is also applicable to complex scenarios such as mutual exclusion among various parameters, transformation of parameters into hidden functions, and the like. Therefore, the embodiment does not need to perform format conversion on template parameters of the preset product in a complicated manual mode, and further simplifies the construction of preset template material information.
In one embodiment, the computer device responds to the user setting of the material parameter configuration rules, i.e., adds new configuration conditions to the original parameter configuration model. For example, the original parameter configuration model is added as "when the material 1 is the length a, the material 2 is the length, the number of the materials 3 is c, or the number of the materials 3 is c1". Therefore, the flexibility of personalized customization according to the product requirements of users is improved.
In one embodiment, as shown in fig. 3, fig. 3 is a schematic diagram of an association relationship establishment principle. The computer equipment initially defines the preset product, maintains basic information of the preset product, and builds a product structure of the preset product according to the predefined part structure.
In the embodiment, the material association relation of the preset product is determined through the product structure of the preset product, so that the parameter association relation corresponding to the preset product is accurately obtained based on the material association relation, and the accuracy of product configuration is improved. Meanwhile, the material association relation of the preset product is determined through the product structure, when the product structure is similar or the functions of the product parts are the same, the original material association relation can be directly used as the basis, and the association judgment can be carried out on the new template material identification, so that the original material association relation is expanded, and the problem of material omission in the process of configuring the new product is avoided.
In one embodiment, the parameter association relationship is determined by determining a key template material identifier in at least one template material identifier, determining at least one associated template material identifier associated with the key template material identifier according to the material association relationship, determining an associated template parameter corresponding to each associated template material identifier, screening out a target associated template parameter corresponding to each associated template material identifier from the associated template parameters according to a material parameter configuration rule, and obtaining the parameter association relationship corresponding to a preset product based on the key template parameter and the target associated template parameter.
The relevant template parameters corresponding to the relevant template material identifiers are preset by enterprises, for example, the relevant template parameters of a mobile phone screen are set to be 4.6 inches and 5.6 inches, the relevant template parameters of a mobile phone backboard are set to be 4.6 inches, 5.6 inches and 8 inches, and the relevant template parameters of a mobile phone memory are set to be 128G,256G and the like.
Specifically, the computer equipment selects the template material identifiers according to the product structure of the preset product, and takes the more important parts in the template material identifiers as the key template material identifiers, so that the matching time of the template materials is reduced when at least one associated template material identifier associated with the key template material identifiers is determined later. After determining the key template material identifier, the computer device selects the key template parameters corresponding to the key template material identifier, for example, after taking the mobile phone screen as the key template material identifier, selecting 5.6 inches as the key template parameters of the mobile phone screen.
Further, the computer equipment screens out the target associated template parameters corresponding to each associated template material identifier from the associated template parameters according to the pre-acquired material parameter configuration rule and the key template parameters. For example, when the key template parameter of the mobile phone screen is 5.6 inches, according to the above-mentioned material parameter configuration rule, 5.6 inches is selected as the target associated template parameter from the associated template parameters of the mobile phone back plate, and 256G is selected as the target associated template parameter from the associated template parameters of the mobile phone memory. When the computer equipment determines the key template parameters and the target association template parameters, each key template parameter is associated with the corresponding target association template parameter to obtain a parameter association relation corresponding to the whole preset product. It is easy to understand that when the parameters of the key template are not changed, the obtained parameter association relationship corresponding to the preset product is usually in a fixed form.
In one embodiment, the material parameter configuration rule includes a mutual exclusion condition, a containing condition and a binding condition, and the target associated template parameter is obtained by screening from the associated template parameters based on at least one of the mutual exclusion condition, the containing condition and the binding condition.
The material parameter configuration rule may be a rule for calculating and setting a parameter value range between materials according to binding conditions, inclusion conditions and mutual exclusion conditions in a material association relationship.
Specifically, when the computer equipment determines the associated template materials contained in the key template materials through the containing conditions in the material parameter configuration, calculating and setting the associated template parameters corresponding to the associated template materials to obtain candidate associated template parameters corresponding to the key template parameters, searching the associated template parameters by the computer equipment, and taking the associated template parameters identical to the candidate associated template parameters as target associated template parameters corresponding to each associated template material identifier. For example, when the material parameter configuration rule is "when the material 1 is the length a, the material 2 is the length b, and the number of the materials 3 is c", it is reflected that the material 1 includes the material 2 and the material 3, and at this time, the relevant template parameters of the material 2 and the material 3 can be obtained according to the key template parameters of the material 1. Therefore, the target associated template parameters corresponding to the material identification of the key template can be quickly found through the material parameter configuration rule.
In the embodiment, the key template parameters of the key template material identifiers are determined based on the material association relationship and through the material parameter configuration rule, and the target association template parameters corresponding to each association template material identifier are rapidly screened out, so that the parameter association relationship corresponding to the preset product can be rapidly obtained, the product configuration result corresponding to the product to be configured can be accurately obtained through the material association relationship and the parameter association relationship, and the accuracy of product configuration is greatly improved.
In one embodiment, as shown in FIG. 4, FIG. 4 is a schematic diagram of a product configuration. The computer device responds to the voice input or text input of the user on the demand information, and performs information extraction, voice recognition, automatic abstract and the like on the acquired demand information through natural language processing technology such as NLP (Natural Language Processing), so as to further identify keywords in the demand information, extract information such as product parameters and specifications in the keywords, and then transmit the identified demand information to the intelligent device. The intelligent device matches the identified demand information with the associated material information in the preset template material information, realizes the many-to-one and one-to-many matching of the materials through the parameter matching dimension, and analyzes and decides the matched demand information through the binding relationship, the inclusion relationship, the mutual exclusion relationship and the like among the materials to obtain a product configuration result corresponding to the product to be configured.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a product configuration device for realizing the above related product configuration method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the product configuration device provided below may refer to the limitation of the product configuration method hereinabove, and will not be repeated herein.
In one embodiment, as shown in FIG. 5, a product configuration apparatus 500 is provided, comprising an information acquisition module 502, a material determination module 504, a parameter determination module 506, and a result output module 508, wherein:
the information acquisition module 502 is configured to acquire a material association relationship and a parameter association relationship, and determine requirement information corresponding to a product to be configured;
The material determining module 504 is configured to search, according to the material association relationship, associated material information associated with the requirement information from preset template material information;
a parameter determining module 506 for determining a target associated parameter in the associated material information according to the association relation between the demand information and the parameter
And the result output module 508 is used for obtaining a product configuration result corresponding to the product to be configured through the requirement information, the associated material information and the target associated parameters.
In one embodiment, the information obtaining module 502 is further configured to obtain a product requirement of a product to be configured, determine a type of the product requirement, where the type includes a text type and a voice type, extract information from the product requirement by a first natural language processing method corresponding to the text type when the product requirement is the text type to obtain corresponding requirement information, and extract information from the product requirement by a second natural language processing method corresponding to the voice type when the product requirement is the voice type to obtain corresponding requirement information.
In one embodiment, the demand information includes a demand material label, the associated material information includes associated material identifiers and associated parameters, the material determining module 504 is further configured to determine at least one associated material identifier associated with the demand material identifier according to a material association relationship, obtain template material information, and search the template material information for at least one associated parameter corresponding to each associated material identifier.
In one embodiment, the parameter determining module 506 is further configured to search candidate associated parameters associated with the demand parameter from the parameter association relationship according to the demand parameter in the demand information, screen target candidate associated parameters matched with the associated parameters in the associated material information from the candidate associated parameters, and use the target candidate associated parameters as target associated parameters corresponding to the demand parameter.
In one embodiment, the product configuration device 500 further includes an association determining module 510, configured to obtain a product structure of a preset product corresponding to the preset product, at least one template material identifier, and a material parameter configuration rule, determine an association between each template material identifier in the at least one template material identifier according to the product structure, and obtain a material association corresponding to the preset product according to the association between each template material identifier.
In one embodiment, the association determining module 510 is further configured to determine a key template material identifier in the at least one template material identifier, determine at least one associated template material identifier associated with the key template material identifier according to the material association, determine an associated template parameter corresponding to each associated template material identifier, screen out a target associated template parameter corresponding to each associated template material identifier from the associated template parameters according to a material parameter configuration rule, and obtain a parameter association relationship corresponding to a preset product based on the key template parameter and the target associated template parameter.
In one embodiment, the association determining module 510 is further configured to determine that the material parameter configuration rule includes a mutual exclusion condition, an inclusion condition, and a binding condition, and the target association template parameter is selected from the association template parameters based on at least one of the mutual exclusion condition, the inclusion condition, and the binding condition.
The respective modules in the above-described product configuration apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O), a communication interface, a display unit, and an Input device. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a product configuration method. The display unit of the computer equipment is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device, wherein the display screen can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on a shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium, that when executed may comprise the above-described embodiment methods. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.