Vehicle parts configuration logical constraint relationship generation method, device, equipment and medium

By building configuration relationship library and BOM library, logical rule strings are automatically generated, which solves the problem of human-made UcString that consumes a lot of resources and is prone to errors, and improves the production efficiency of automotive parts configuration.

CN114519050BActive Publication Date: 2025-05-16SAIC MOTOR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011312231.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-20
Publication Date
2025-05-16
Estimated Expiration
2040-11-20

AI Technical Summary

Technical Problem

In the prior art, because artificially writing logical rule string UcString requires a lot of manpower and material resources, and is prone to errors, the factory production efficiency is low.

Method used

By building a configuration relationship library, a BOM library and a product function and location description relationship library, the data in these libraries are used to build a relational database, and the logical rule string corresponding to the project vehicle configuration table and the data related to the target product function and location description relationship are automatically generated.

Benefits of technology

It saves a lot of manpower and material resources, reduces the error rate of logical rule string writing, and improves the production efficiency of the factory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114519050B_ABST
    Figure CN114519050B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and computer-readable storage medium for generating a logical constraint relationship of vehicle parts configuration, wherein the configuration relationship library, BOM library and product function and position description relationship library of the target party are respectively formed into respective sets, and each set constitutes a relational database of the target party. After the user inputs the data of the project vehicle configuration table and the function and position description relationship of the target product from the user end, it is only necessary to search for the corresponding constraint relationship and logical rules from each set and relational database constructed above, and automatically form a logical rule string corresponding to the data of the project vehicle configuration table and the function and position description relationship of the target product. It avoids the manual writing of the logical rule string corresponding to the data of the project vehicle configuration table and the function and position description relationship of the target product, saves a lot of manpower and material resources, and also reduces the error rate and improves the production efficiency of the factory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a method, device, equipment and computer-readable storage medium for generating a logical constraint relationship of vehicle part configuration. Background Art

[0002] With the rapid development of the automobile industry, the continuous use of new automobile technologies, and the realization of continuous innovation are important prerequisites for automobile companies to continuously update. Under the current large-scale customization business model of automobile companies, the bill of material (BOM) is the most core basic data. The configurable BOM table contains many attributes and information, among which the part usage configuration constraint relationship (UcString-Usage Condition String) is the most important and complex. UcString is a string composed of automobile configuration features as usage conditions according to certain logical rules. In the fully configured BOM table, the use information of parts on specific models can be calculated by combining UcString with the vehicle configuration table. Therefore, the required accessories under each view can be calculated based on the principle that UcString can calculate the use information of parts on specific models by combining the vehicle configuration table. At present, for the automobile industry, UcString is completely customized by professionals using professional knowledge. In this way, since manual writing requires a lot of manpower and material resources, and due to limited human energy, it is easy to make mistakes in writing UcString. Once UcString makes a mistake, it will affect the factory shutdown and reduce the production efficiency of the car. Summary of the invention

[0003] The purpose of the present invention is to solve the problem that the manual writing of the logic rule string UcString in the prior art consumes a lot of manpower and material resources and is prone to errors, resulting in low factory productivity. Therefore, the present invention provides a method, device, equipment and computer-readable storage medium for generating a logical constraint relationship of vehicle part configuration, which improves the production efficiency of automobiles.

[0004] To solve the above problems, an embodiment of the present invention discloses a method for generating a logical constraint relationship of a vehicle parts configuration, comprising:

[0005] Constructing a configuration relationship library, a BOM library, and a product function and position description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and position description relationship library forms a third set;

[0006] Determine configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all the configuration codes, add configuration families corresponding to all the target configuration codes to a fourth set, and the configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set;

[0007] constructing a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set;

[0008] Obtain the project vehicle configuration table of the target project and the data of the relationship between the function and location description of the target product from the user end;

[0009] Based on the data describing the relationship between the function and the location of the target product, read the data row associated with the data describing the relationship between the function and the location of the target product and the configuration family in the associated data row from the fourth set to form a fifth set;

[0010] Based on the project vehicle configuration table, read the target configuration code corresponding to each of the configuration families from the fifth set, and form a sixth set corresponding to the project vehicle configuration table;

[0011] The fifth set and the sixth set are logically combined to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product, so as to form a seventh set.

[0012] Specifically, in some embodiments of the present invention, the method for generating the part configuration constraint relationship further includes:

[0013] Performing integrity check on all logic rule strings in the seventh set, and if the check result of the logic rule strings is correct, forming a BOM table based on the logic rule strings in the seventh set;

[0014] If the verification result of the logic rule string is wrong, a modification instruction for all the logic rule strings in the seventh set is received from the user terminal, and the logic rule strings are modified based on the modification instruction.

[0015] Specifically, in some embodiments of the present invention, receiving, from the user terminal, modifications to all logic rule strings in the seventh set includes:

[0016] Determine a configuration family in the fifth set that is not related to the data describing the relationship between the product function and the location, or determine a configuration family in the fifth set that is not associated with the data describing the relationship between the product function and the location;

[0017] The modification instruction is received and based on the modification instruction, the irrelevant configuration family is deleted or an associated configuration family with data describing the relationship between the product function and the position is added.

[0018] Specifically, in some embodiments of the present invention, the forming of the seventh set includes:

[0019] The data describing the relationship between the function and position of the target product are sequentially generated from the first logical string to the Nth logical string of the first vehicle model code to the nth vehicle model code in the project vehicle configuration table.

[0020] Specifically, in some embodiments of the present invention, the first vehicle model code in the vehicle configuration table of the project is read;

[0021] Searching the sixth set for a value of a first vehicle model code corresponding to each target configuration code to determine whether the value is valid data;

[0022] If yes, the first vehicle model code corresponding to the target configuration code corresponding to the valid data is a valid configuration code;

[0023] If not, the value of the first vehicle model code corresponding to the target configuration code is invalid data and the invalid data is deleted from the sixth set;

[0024] Loop processing, treating all invalid vehicle model codes corresponding to the target configuration codes in the project vehicle configuration table as invalid data and deleting them, and forming a sixth target set with the target configuration codes corresponding to the valid data in the project vehicle configuration table, and forming a fifth target set corresponding to the sixth target set;

[0025] Based on the fifth target set, a new target configuration code is selected from the sixth target set and connected with an identifier by an AND logic operator to obtain an identification target configuration code, and the AND logic operation of all new target configuration codes in the sixth target set is completed in a loop to obtain a plurality of identification target configuration codes;

[0026] Connecting each of the identification target configuration codes using the AND logical operator to obtain a first logical string of the first vehicle model code;

[0027] The above process is repeated until all the values ​​of the N vehicle model codes corresponding to each target configuration code in the sixth set are read to obtain N logical character strings;

[0028] The N logical character strings constitute the seventh set.

[0029] Specifically, in some embodiments of the present invention, the method for generating the logical constraint relationship further includes:

[0030] Detecting whether the configuration of the data describing the relationship between the function and position of the target product is complete, wherein the configuration includes: a target configuration code and a configuration family corresponding to the data describing the relationship between the function and position of the target product;

[0031] If complete, perform the following steps:

[0032] Determine the strongly associated configurations of the data describing the relationship between the function and the location of the target product, and connect the data describing the relationship between the function and the location of the target product with the corresponding configurations using an OR logical operator, and combine the strongly associated configurations based on the OR logical operator when generating the logic rule string;

[0033] Determine the negatively associated configuration of the data describing the relationship between the target product function and location, and use the OR logical operator to connect the data describing the relationship between the target product function and location and the corresponding configuration. When generating the logical rule string, combine each of the negatively associated configurations based on non-logical operators, and enter the step of detecting whether the configuration of the data describing the relationship between the target product function and location is complete.

[0034] Furthermore, an embodiment of the present invention discloses a device for generating a logical constraint relationship of a vehicle parts configuration, comprising:

[0035] A first construction module is used to construct a configuration relationship library, a BOM library, and a product function and location description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and location description relationship library forms a third set;

[0036] a determination module, configured to determine configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all the configuration codes, and add configuration families corresponding to all the target configuration codes to a fourth set, wherein the configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set;

[0037] A second construction module is used to construct a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set;

[0038] An acquisition module is used to acquire the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product from the user end;

[0039] A first reading module is used to read, based on the data describing the relationship between the function and the position of the target product, data rows associated with the data describing the relationship between the function and the position of the target product and configuration families in the associated data rows from the fourth set to form a fifth set;

[0040] A second reading module is used to read the target configuration code corresponding to each of the configuration families from the fifth set based on the project vehicle configuration table, and form a sixth set corresponding to the project vehicle configuration table;

[0041] The combination module is used to logically combine the fifth set and the sixth set to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product to form a seventh set.

[0042] Furthermore, an embodiment of the present invention discloses an electronic device, comprising:

[0043] A memory for storing a generation program;

[0044] A processor, when executing the generation program, implements the steps of the method for generating the logical constraint relationship of the vehicle parts configuration as described in any one of the above.

[0045] Furthermore, an embodiment of the present invention discloses a computer-readable storage medium, comprising: a generation program is stored in the computer-readable storage medium, and when the generation program is executed by a processor, the steps of the method for generating the logical constraint relationship of the vehicle part configuration as described in any one of the above are implemented.

[0046] The present invention provides a method, device, equipment and computer-readable storage medium for generating a logical constraint relationship of vehicle parts configuration. First, a configuration relationship library, a BOM library and a product function and position description relationship library are constructed, and then the configuration relationship library, the BOM library and the product function and position description relationship library are respectively formed into respective sets, and the associated data in each set is added to the new set to form a relational database. After the user inputs the data of the project vehicle configuration table and the target product function and position description relationship of the target project from the user end, it is only necessary to search the constraint relationship and logical rules corresponding to the data of the project vehicle configuration table and the target product function and position description relationship from the above-constructed various sets and relational databases, and automatically generate the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship, and form the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship. It avoids manually writing the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship in an artificial way, saves a lot of manpower and material resources, and also reduces the error rate and improves the production efficiency of the factory.

[0047] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic flow chart of a method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention;

[0049] Figure 2 A schematic diagram of the structure of a logic rule string disclosed in an embodiment of the present invention;

[0050] Figure 3 A schematic flow chart of another method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention;

[0051] Figure 4 A schematic flow chart of another method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention;

[0052] Figure 5 A schematic diagram of the structure of a device for generating a logical constraint relationship of vehicle parts configuration disclosed in an embodiment of the present invention;

[0053] Figure 6 The present invention is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following specific embodiments illustrate the implementation of the present invention, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may extend based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0055] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0056] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0058] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0059] With the rapid development of the automobile industry, the continuous use of new automobile technologies, and the realization of continuous innovation are important prerequisites for automobile companies to continuously update. Under the current large-scale customization business model of automobile companies, the bill of material (BOM) is the most core basic data. The configurable BOM table contains many attributes and information, among which the part usage configuration constraint relationship (UcString-Usage Condition String) is the most important and complex. UcString is a string composed of automobile configuration features as usage conditions according to certain logical rules. In the fully configured BOM table, the use information of parts on specific models can be calculated by combining UcString with the vehicle configuration table. Therefore, the required accessories under each view can be calculated based on the principle that UcString can calculate the use information of parts on specific models by combining the vehicle configuration table. At present, for the automobile industry, UcString is completely customized by professionals using professional knowledge. In this way, since manual writing requires a lot of manpower and material resources, and due to limited human energy, it is easy to make mistakes in writing UcString. Once UcString makes a mistake, it will affect the factory shutdown and reduce the production efficiency of the car.

[0060] Based on this, an embodiment of the present invention provides a method for generating a logical constraint relationship of a vehicle part configuration. Based on the factual axiom that the functional features of a car must be related to limited configuration features, the logical constraint relationship of the vehicle part configuration is defined using logical rules. When a user enters one or more codes of "product function and location description" to be queried on the client, logical operations are performed based on the company-level product function and location description relationship database and configuration relationship library of the automobile company and the BOM library of the automobile company) as basic conditions, and a logical rule string UcString of the product function and location description relationship database in the BOM library is automatically calculated. Finally, the accuracy and completeness of the logical rule string are verified, and finally the logical rule string is used for a configurable BOM table.

[0061] The method for generating the logical constraint relationship of the vehicle parts configuration provided by the present invention improves the efficiency of the parts engineers in the automobile enterprises in writing the logical rule character string UcString, has a low error rate, and ensures the quality of the logical rule character string UcString.

[0062] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0063] Combine the following Figure 1 A method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention is described. Figure 1The present invention is a flowchart of a method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention. Figure 1 The method for generating the logical constraint relationship of the vehicle parts configuration shown includes:

[0064] S10: construct a configuration relationship library, a BOM library, and a product function and location description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and location description relationship library forms a third set.

[0065] In some embodiments of the present invention, the company-level (a certain automobile enterprise) configuration relationship library and the company-level configuration table are automatically called first, wherein the company-level configuration relationship library contains all configuration families and configuration codes as well as Chinese and English descriptions of configuration families and configuration codes, and then stored in the server database as the first set. Then the company-level BOM library is automatically called and stored in the server database as the second set, and finally the product function and location description relationship library (FFC-Function and Fitment Code, FFC) is called and stored in the server database as the third set.

[0066] In some embodiments of the present invention, the BOM library refers to a BOM that has the function of realizing the diversified construction of automobile products through configuration schemes. Generally, a set of codes is used to describe the technical features and functional composition of the automobile, and the constraint relationship between each technical feature is defined, and then the relationship between the automobile model and the automobile parts is established. Finally, according to this set of codes, a BOM library for engineering, manufacturing, sales and after-sales is formed. Table 1 is a BOM table shown in an embodiment of the present invention.

[0067] Table 1

[0068]

[0069] Among them, the FFC code represents the product function and location description data, which is used to describe the functional location of the product engineering model of the car. All functional locations of any car model have corresponding functional location description codes and descriptions in the product basic functional location description library. For example, the functional location description code (FFC) of "engine compartment fuse box bracket" in the product basic functional location description library is: "863A02P", and the functional location description is: "BRACKET-F / CMPTFUSE BLK".

[0070] In some embodiments of the present invention, UcString represents a row usage logic rule string (constraint string) in the BOM table, which is an engineering logic language used to constrain the use of vehicle parts in the vehicle model in the BOM table. UcString consists of Model (identifier), Feature Code (target configuration code) and operation logic symbols (which may include the AND logic operator "&", the OR logic operator " / " and the non-logical operator "-"). The AND logic operator "&" indicates that it has a certain functional feature, the OR logic operator " / " indicates two or more functional features, one or part of them, and the non-logical operator "-" indicates that it does not have a certain functional feature. There can only be one Model and it is required, and the selected Feature Code (target configuration code) can be one, multiple, or none. The AND logic operator "&" can follow the Model, but cannot follow the OR logic operator " / " and the non-logical operator "-". The non-logical operator "-" can follow the Model. The target configuration code in Ucstring can only be preceded by one logical operator. For example Figure 2 As shown, Figure 2 A schematic diagram of the structure of a logic rule string disclosed in an embodiment of the present invention.

[0071] S11: Determine the configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all configuration codes, and add the configuration families corresponding to all target configuration codes to the fourth set. The configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set.

[0072] In some embodiments of the present invention, for the data in the third set: a logic rule string corresponding to the data in the third set is selected from the second set, and then the configuration code (Feature Code) contained in each logic rule string (UcString) is read, and a non-repeated target configuration code is selected from all the configuration codes, and then the configuration family (Family) corresponding to the non-repeated target configuration code is read from the configuration relationship library, and all non-repeated configuration families are added to the fourth set (Fc x ), the fourth set is the configuration family set related to the product function and location description data.

[0073] The configuration code is a 4-digit code consisting of letters or numbers that uniformly describes a vehicle configuration in engineering.

[0074] For a configuration family, a code consisting of a string starting with a digit or 3 letters is grouped into one configuration family. Configuration codes of the same type are grouped into one configuration family.

[0075] S12: Construct a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set.

[0076] The operation in S11 is performed on all product function and location description data in the third set. The relationship between the third set and the fourth set can be expressed by the following formula:

[0077]

[0078] Among them, t is the product function and location description data ffc in the third set x The number of x ={f xy |y=1,2,...,n x},n x is the number of configuration families in the fourth set.

[0079] S13: Acquire the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product from the user end.

[0080] The authorized user inputs the project vehicle configuration table (set T) and the target product function and location description relationship data (FFC data) from the client according to the business needs of the car.

[0081] S14: based on the data describing the relationship between the function and the location of the target product, data rows associated with the data describing the relationship between the function and the location of the target product and configuration families in the associated data rows are read from the fourth set to form a fifth set.

[0082] S15: Based on the project vehicle configuration table, the target configuration codes corresponding to each configuration family are read from the fifth set, and a sixth set corresponding to the project vehicle configuration table is formed.

[0083] S16: logically combine the fifth set and the sixth set to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product, so as to form a seventh set.

[0084] In some embodiments of the invention, forming the seventh set includes:

[0085] The data describing the relationship between the function and position of the target product are sequentially generated from the first model code to the first logical string to the Nth logical string of the nth model code in the project vehicle configuration table.

[0086] More specifically, generating the first logical string to the Nth logical string includes:

[0087] Read the first model code in the project vehicle configuration table;

[0088] Find out from the sixth set whether the value of the first vehicle model code corresponding to each target configuration code is valid data;

[0089] If yes, the first vehicle model code corresponding to the target configuration code corresponding to the valid data is the valid configuration code;

[0090] If not, the value of the first vehicle model code corresponding to the target configuration code is invalid data and the invalid data is deleted from the sixth set;

[0091] Loop processing, treating all invalid vehicle model codes corresponding to the target configuration codes in the project vehicle configuration table as invalid data and deleting them, and forming a target sixth set with the target configuration codes corresponding to the valid data in the project vehicle configuration table, and forming a target fifth set corresponding to the target sixth set;

[0092] Based on the fifth target set, a new target configuration code is selected from the sixth target set and connected with an identifier (model number) by an AND logic operator to obtain an identification target configuration code, and the AND logic operation of all new target configuration codes in the sixth target set is completed in a loop to obtain multiple identification target configuration codes;

[0093] Connect each identification target configuration code using an AND logical operator to obtain a first logical string of the first vehicle model code;

[0094] The above process is repeated until the values ​​of the N vehicle model codes corresponding to each target configuration code in the sixth set are read to obtain N logical character strings;

[0095] N logical character strings constitute the seventh set.

[0096] The determination of valid data can be based on whether the value of the first vehicle model code is a non-logical operator "-". If yes, it is invalid data, and if no, it is valid data.

[0097] Further, such as Figure 3 As shown, Figure 3 This is a flow chart of another method for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention, in order to verify the N logical character strings in the seventh set to ensure the accuracy and integrity of the data in the seventh set. In some embodiments of the present invention, it also includes:

[0098] S17: Perform integrity check on all logic rule character strings in the seventh set. If the check result of the logic rule character string is correct, proceed to S18; if the check result of the logic rule character string is wrong, proceed to S19.

[0099] S18: forming a BOM table based on the logic rule character string in the seventh set;

[0100] S19: receiving modification instructions for all logic rule strings in the seventh set from the user end and modifying the logic rule strings based on the modification instructions.

[0101] In some embodiments of the present invention, the user terminal receiving the modification of all logical rule strings in the seventh set includes:

[0102] Determine a configuration family in the fifth set that is not related to the data describing the relationship between the product function and the location or determine a configuration family in the fifth set that is not associated with the data describing the relationship between the product function and the location;

[0103] Receive modification instructions and delete irrelevant configuration families or add associated configuration families with data describing the relationship between product functions and locations based on the modification instructions.

[0104] Specifically, the method for integrity verification can adopt existing technologies, which can be by comparing the product function and location description data in the seventh set with the product function and location description code of the platform, so as to determine whether the seventh set contains the product function and location description code in the database for the product function and location description of the platform. If it is not completely contained, it means that the logic rule string in the seventh set is incomplete, and an alarm is issued. In addition, the logic rule string in the seventh set can also be compared with itself to determine whether there are repeated logic rule strings. Further, if Figure 4 As shown, Figure 4 This is a flow chart of another method for generating a logical constraint relationship of a vehicle part configuration disclosed in an embodiment of the present invention. After the N logical strings in the seventh set are integrity checked, if there is a strong correlation configuration or a negative correlation configuration in the seventh set, in order to ensure the accuracy and representativeness of the logical rule string, the accuracy and integrity of the data in the seventh set are guaranteed. In some embodiments of the present invention, it also includes:

[0105] S20: Detect whether the configuration of the data describing the relationship between the function and position of the target product is complete, the configuration including: a target configuration code and a configuration family corresponding to the data describing the relationship between the function and position of the target product;

[0106] If complete, execute S21 and S22.

[0107] S21: Determine the strongly associated configuration of the data with the target product function and location description relationship, and connect the data with the target product function and location description relationship and the corresponding configuration using an OR logical operator, and combine each strongly associated configuration based on the OR logical operator when generating a logic rule string;

[0108] S22: Determine the negative association configuration of the data describing the relationship between the function and location of the target product, and use the OR logical operator to connect the data describing the relationship between the function and location of the target product with the corresponding configuration. When generating the logical rule string, combine each negative association configuration based on the non-logical operator.

[0109] Combine the following Figure 5 A device for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention is described. Figure 5 The present invention is a schematic diagram of a structure of a device for generating a logical constraint relationship of a vehicle parts configuration disclosed in an embodiment of the present invention. The device for generating a logical constraint relationship of a vehicle parts configuration includes:

[0110] A first construction module 50 is used to construct a configuration relationship library, a BOM library, and a product function and location description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and location description relationship library forms a third set;

[0111] A determination module 51 is used to determine configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all configuration codes, and add configuration families corresponding to all target configuration codes to a fourth set, wherein configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set;

[0112] A second construction module 52 is used to construct a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set;

[0113] An acquisition module 53 is used to acquire the project vehicle configuration table of the target project and the data of the relationship between the function and the position description of the target product from the user end;

[0114] A first reading module 54 is used to read the data row associated with the data describing the relationship between the function and the location of the target product and the configuration family in the associated data row from the fourth set based on the data describing the relationship between the function and the location of the target product, and form a fifth set;

[0115] A second reading module 55 is used to read the target configuration code corresponding to each configuration family from the fifth set based on the project vehicle configuration table, and form a sixth set corresponding to the project vehicle configuration table;

[0116] The combination module 56 is used to logically combine the fifth set and the sixth set to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product to form a seventh set.

[0117] In some embodiments of the present invention, the device for generating the logical constraint relationship of the vehicle parts configuration further includes:

[0118] A verification module is used to perform integrity verification on all logic rule strings in the seventh set. If the verification result of the logic rule string is correct, a BOM table is formed based on the logic rule strings in the seventh set; if the verification result of the logic rule string is wrong, a modification module is entered;

[0119] The modification module is used to receive modification instructions for all logic rule strings in the seventh set from the user terminal and modify the logic rule strings based on the modification instructions.

[0120] Combine the following Figure 6 An electronic device disclosed in an embodiment of the present invention is described. Figure 6 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. The electronic device 30 includes:

[0121] The memory 300 is used to store the generation program;

[0122] Processor 301, when executing the generation program, implements the steps of the method for generating the logical constraint relationship of the vehicle parts configuration as mentioned above.

[0123] The electronic device 30 includes: a power supply 302 , at least one wired network interface or wireless network interface 303 , and at least one data input and output interface 304 .

[0124] The power supply 302 is connected to the memory 300 and the processor 301 respectively for power supply. The wired network interface or wireless network interface 303 and the data input and output interface 304 are used to connect to external devices for data communication and transmission. The memory 300 can be a temporary storage or a permanent storage.

[0125] In addition, an embodiment of the present invention also discloses a computer-readable storage medium, including: a generation program is stored in the computer-readable storage medium, and when the generation program is executed by a processor, the steps of the method for generating the logical constraint relationship of the vehicle part configuration mentioned above are implemented.

[0126] The invention discloses a method, device, equipment and computer-readable storage medium for generating a logical constraint relationship of a vehicle part configuration. First, a configuration relationship library, a BOM library and a product function and position description relationship library are constructed. Then, the configuration relationship library, the BOM library and the product function and position description relationship library are respectively formed into respective sets, and the associated data in each set is added to the new set to form a relational database. After the user inputs the data of the project vehicle configuration table and the target product function and position description relationship of the target project from the user end, it is only necessary to search the constraint relationship and logical rules corresponding to the data of the project vehicle configuration table and the target product function and position description relationship from the above-constructed respective sets and relational databases, and automatically generate the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship, and form the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship. It avoids manually writing the logical rule string corresponding to the data of the project vehicle configuration table and the target product function and position description relationship in an artificial way, saves a lot of manpower and material resources, and also reduces the error rate and improves the production efficiency of the factory.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating a logical constraint relationship of a vehicle parts configuration, characterized in that: include: Constructing a configuration relationship library, a BOM library, and a product function and position description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and position description relationship library forms a third set; Determine configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all the configuration codes, add configuration families corresponding to all the target configuration codes to a fourth set, and the configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set; constructing a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set; Obtain the project vehicle configuration table of the target project and the data of the relationship between the function and location description of the target product from the user end; Based on the data describing the relationship between the function and the location of the target product, read the data row associated with the data describing the relationship between the function and the location of the target product and the configuration family in the associated data row from the fourth set to form a fifth set; Based on the project vehicle configuration table, read the target configuration code corresponding to each of the configuration families from the fifth set, and form a sixth set corresponding to the project vehicle configuration table; The fifth set and the sixth set are logically combined to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and the position description of the target product, so as to form a seventh set; The formation of the seventh set includes: Generate the data describing the relationship between the function and position of the target product in sequence from the first model code to the first logical string to the Nth logical string of the nth model code in the project vehicle configuration table; Generating the first logical string to the Nth logical string includes: Read the first vehicle model code in the vehicle configuration table of the project; Searching the sixth set for a value of a first vehicle model code corresponding to each target configuration code to determine whether the value is valid data; If so, the first vehicle model code corresponding to the target configuration code corresponding to the valid data is a valid configuration code; If not, the value of the first vehicle model code corresponding to the target configuration code is invalid data and the invalid data is deleted from the sixth set; Loop processing, treating all invalid vehicle model codes corresponding to the target configuration codes in the project vehicle configuration table as invalid data and deleting them, and forming a sixth target set with the target configuration codes corresponding to the valid data in the project vehicle configuration table, and forming a fifth target set corresponding to the sixth target set; Based on the fifth target set, a new target configuration code is selected from the sixth target set, and an identifier is connected with an AND logic operator to obtain an identification target configuration code, and the AND logic operation of all new target configuration codes in the sixth target set is completed in a loop to obtain a plurality of identification target configuration codes; Connecting each of the identification target configuration codes using the AND logical operator to obtain a first logical string of the first vehicle model code; The above process is repeated until all the values ​​of the N vehicle model codes corresponding to each target configuration code in the sixth set are read to obtain N logical character strings; The N logical character strings constitute the seventh set.

2. The method for generating the logical constraint relationship of the vehicle parts configuration according to claim 1, characterized in that: The generating method further comprises: Performing integrity check on all logic rule strings in the seventh set, and if the check result of the logic rule strings is correct, forming a BOM table based on the logic rule strings in the seventh set; If the verification result of the logic rule string is wrong, a modification instruction for all the logic rule strings in the seventh set is received from the user terminal, and the logic rule strings are modified based on the modification instruction.

3. The method for generating the logical constraint relationship of the vehicle parts configuration according to claim 2, characterized in that: Receiving a modification instruction for all logic rule strings in the seventh set from the user terminal and modifying the logic rule strings based on the modification instruction includes: Determine a configuration family in the fifth set that is not related to the data describing the relationship between the product function and the location, or determine a configuration family in the fifth set that is not associated with the data describing the relationship between the product function and the location; The modification instruction is received and based on the modification instruction, the irrelevant configuration family is deleted or an associated configuration family with data describing the relationship between the product function and the position is added.

4. The method for generating the logical constraint relationship of the vehicle parts configuration according to claim 1, further comprising: Detecting whether the configuration of the data describing the relationship between the function and position of the target product is complete, wherein the configuration includes: a target configuration code and a configuration family corresponding to the data describing the relationship between the function and position of the target product; If complete, perform the following steps: Determine the strongly associated configurations of the data describing the relationship between the function and the location of the target product, and connect the data describing the relationship between the function and the location of the target product with the corresponding configurations using an OR logical operator, and combine the strongly associated configurations based on the OR logical operator when generating the logic rule string; Determine the negatively associated configuration of the data describing the relationship between the target product function and location, and use the OR logical operator to connect the data describing the relationship between the target product function and location and the corresponding configuration. When generating the logical rule string, combine each of the negatively associated configurations based on non-logical operators, and enter the step of detecting whether the configuration of the data describing the relationship between the target product function and location is complete.

5. A device for generating logical constraint relationships of vehicle parts configuration, characterized in that: include: A first construction module is used to construct a configuration relationship library, a BOM library, and a product function and location description relationship library, wherein the configuration relationship library forms a first set, the BOM library forms a second set, and the product function and location description relationship library forms a third set; a determination module, configured to determine configuration codes corresponding to all product function and location description data in the third set, select non-repeated target configuration codes from all the configuration codes, and add configuration families corresponding to all the target configuration codes to a fourth set, wherein the configuration families corresponding to the target configuration codes in the fourth set are all associated with all product function and location description data in the third set; A second construction module is used to construct a relational database using all product function and location description data in the third set and all target configuration codes in the fourth set; An acquisition module is used to acquire the project vehicle configuration table of the target project and the data of the relationship between the function and position description of the target product from the user end; A first reading module is used to read, based on the data describing the relationship between the function and the position of the target product, data rows associated with the data describing the relationship between the function and the position of the target product and configuration families in the associated data rows from the fourth set to form a fifth set; A second reading module is used to read the target configuration code corresponding to each of the configuration families from the fifth set based on the project vehicle configuration table, and form a sixth set corresponding to the project vehicle configuration table; A combination module, used for logically combining the fifth set and the sixth set to generate a logic rule string corresponding to the project vehicle configuration table of the target project and the data of the relationship between the function and the position description of the target product, so as to form a seventh set; The formation of the seventh set includes: The data describing the relationship between the function and position of the target product are sequentially generated from the first model code to the first logical string to the Nth logical string of the nth model code in the project vehicle configuration table to form a seventh set; Generating the first logical string to the Nth logical string includes: Read the first vehicle model code in the vehicle configuration table of the project; Searching the sixth set for a value of a first vehicle model code corresponding to each target configuration code to determine whether the value is valid data; If so, the first vehicle model code corresponding to the target configuration code corresponding to the valid data is a valid configuration code; If not, the value of the first vehicle model code corresponding to the target configuration code is invalid data and the invalid data is deleted from the sixth set; Loop processing, treating all invalid vehicle model codes corresponding to the target configuration codes in the project vehicle configuration table as invalid data and deleting them, and forming a sixth target set with the target configuration codes corresponding to the valid data in the project vehicle configuration table, and forming a fifth target set corresponding to the sixth target set; Based on the fifth target set, a new target configuration code is selected from the sixth target set, and an identifier is connected with an AND logic operator to obtain an identification target configuration code, and the AND logic operation of all new target configuration codes in the sixth target set is completed in a loop to obtain a plurality of identification target configuration codes; Connecting each of the identification target configuration codes using the AND logical operator to obtain a first logical string of the first vehicle model code; The above process is repeated until all the values ​​of the N vehicle model codes corresponding to each target configuration code in the sixth set are read to obtain N logical character strings; The N logical character strings constitute the seventh set.

6. The device for generating the logical constraint relationship of the vehicle parts configuration according to claim 5, characterized in that: Also includes: A verification module, used for performing integrity verification on all logic rule strings in the seventh set, and if the verification result of the logic rule string is correct, forming a BOM table based on the logic rule strings in the seventh set; if the verification result of the logic rule string is wrong, entering a modification module; The modification module is used to receive modification instructions for all logic rule strings in the seventh set from the user terminal and modify the logic rule strings based on the modification instructions.

7. An electronic device, characterized in that: include: A memory for storing a generation program; A processor, when executing the generation program, implements the steps of the method for generating the logical constraint relationship of the vehicle parts configuration as described in any one of claims 1-4.

8. A computer-readable storage medium, characterized in that: include: The computer-readable storage medium stores a generation program, and when the generation program is executed by a processor, the steps of the method for generating the logical constraint relationship of the vehicle part configuration as described in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Configurable Bill of Materials Integrity Interactive Check and Approval System

    CN102279944A

  • A verification system for the integrity of a complete vehicle configurable bill of material under a free matching condition

    CN109840732A