CN114519050A - Vehicle part configuration logic constraint relation generation method, device, equipment and medium - Google Patents

Vehicle part configuration logic constraint relation generation method, device, equipment and medium Download PDF

Info

Publication number
CN114519050A
CN114519050A CN202011312231.8A CN202011312231A CN114519050A CN 114519050 A CN114519050 A CN 114519050A CN 202011312231 A CN202011312231 A CN 202011312231A CN 114519050 A CN114519050 A CN 114519050A
Authority
CN
China
Prior art keywords
configuration
target
data
logical
relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011312231.8A
Other languages
Chinese (zh)
Inventor
徐举宏
陈杰
万海峰
宋婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAIC Motor Corp Ltd
Original Assignee
SAIC Motor Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAIC Motor Corp Ltd filed Critical SAIC Motor Corp Ltd
Priority to CN202011312231.8A priority Critical patent/CN114519050A/en
Publication of CN114519050A publication Critical patent/CN114519050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable storage medium for generating a logical constraint relation of vehicle part configuration. After a user inputs data of a project complete vehicle configuration table and a target product function and position description relationship of a target project from a user side, only corresponding constraint relationships and logic rules need to be searched from each set and relationship database, and logic rule character strings corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship are automatically formed. The method avoids writing the logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relation in a manual mode, saves a large amount of manpower and material resources, reduces the error rate and improves the production efficiency of a factory.

Description

Vehicle part configuration logic constraint relation generation method, device, equipment and medium
Technical Field
The present invention relates to the field of vehicles, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for generating a logical constraint relationship of vehicle component configuration.
Background
With the rapid development of the automobile industry, the continuous use of new technologies of automobiles and the realization of continuous innovation are important prerequisites for continuous update of automobile enterprises, and in the current large-scale customized business model of automobile enterprises, a Bill of materials (BOM) is the most core basic data, and a configurable BOM table contains a lot of attributes and information, wherein the most important and complicated constraint relationship (UcString-use Condition String) is configured by using parts. The UcString is a character string which is formed by using the automobile configuration characteristics as the use conditions according to a certain logic rule, and in the fully-configured BOM table, the UcString and the whole automobile configuration table are utilized to calculate the use information of the parts on specific automobile types, so that the required accessories under each view can be calculated by utilizing the principle that the UcString and the whole automobile configuration table can calculate the use information of the parts on the specific automobile types. At present, for the automobile industry, UcString is completely written by professional personnel by utilizing professional knowledge in a self-defining way, so that a large amount of manpower and material resources are consumed for manual writing, the writing of UcString is easy to make mistakes due to limited energy of people, and the factory shutdown is influenced once the UcString makes mistakes, so that the production efficiency of automobiles is reduced.
Disclosure of Invention
The invention aims to solve the problem that manual writing of a logic rule character string UcString in the prior art causes a large amount of manpower and material resources. And low factory productivity due to error. Therefore, the invention provides a method, a device, equipment and a computer readable storage medium for generating the logical constraint relation of vehicle part configuration, and the production efficiency of the automobile is improved.
In order to solve the above problems, an embodiment of the present invention discloses a method for generating a logical constraint relationship of vehicle part configuration, including;
constructing a configuration relation library, a BOM library and a product function and position description relation library, wherein the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set;
determining configuration codes corresponding to all product functions and position description data in the third set, selecting unrepeated target configuration codes from all the configuration codes, and adding configuration families corresponding to all the target configuration codes into a fourth set, wherein the configuration families corresponding to the target configuration codes in the fourth set are all associated with all the product functions and position description data in the third set;
constructing a relational database by using all product function and position description data in the third set and all target configuration codes in the fourth set;
acquiring a project complete vehicle configuration table of a target project and data of a target product function and position description relation from a user side;
reading a data row associated with the data of the target product function and position description relation and a configuration family in the associated data row from the fourth set based on the data of the target product function and position description relation, and forming a fifth set;
reading target configuration codes corresponding to the configuration families from the fifth set based on the project complete vehicle configuration table, and forming a sixth set corresponding to the project complete vehicle configuration table;
and logically combining the fifth set and the sixth set to generate a logical rule character string corresponding to the project complete vehicle configuration table of the target project and the data of the function and position description relationship of the target product, and forming a seventh set.
Specifically, in some embodiments of the present invention, the method for generating the part configuration constraint relationship further includes:
carrying out integrity check on all the logic rule character strings in the seventh set, and if the check result of the logic rule character strings is correct, forming a BOM (bill of material) table based on the logic rule character strings in the seventh set;
and if the verification result of the logic rule character string is wrong, receiving modification instructions of all logic rule character strings in the seventh set from the user side and modifying the logic rule character string based on the modification instructions.
Specifically, in some embodiments of the present invention, receiving, from the user side, modifications to all the logical rule character strings in the seventh set includes:
determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation or determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation;
and receiving the modification instruction and deleting the irrelevant configuration family or adding the relevant configuration family of the data in the product function and position description relationship based on the modification instruction.
In particular, in some embodiments of the invention, the forming of the seventh set comprises:
and sequentially generating a first logical character string to an Nth logical character string from a first vehicle type code to an Nth vehicle type code in the project complete vehicle configuration table according to the data of the target product function and position description relation.
Specifically, in some embodiments of the present invention, a first vehicle model number in the project complete vehicle configuration table is read;
searching whether the value of the first vehicle model code corresponding to each target configuration code is valid data or not from the sixth set;
if so, the first vehicle model code corresponding to the target configuration code corresponding to the effective data is an effective 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;
performing cyclic processing, namely taking invalid vehicle type codes corresponding to all target configuration codes in the project complete vehicle configuration table as invalid data and deleting the invalid data, forming a target sixth set by using the target configuration codes corresponding to the valid data in the project complete vehicle configuration table, and forming a target fifth set corresponding to the target sixth set;
selecting a new target configuration code from the target sixth set based on the target fifth set, connecting an identifier with a logical operator to obtain an identification target configuration code, and performing cyclic processing to complete AND logical operation of all the new target configuration codes in the target sixth set to obtain a plurality of identification target configuration codes;
connecting each identification target configuration code by using the logical operator to obtain a first logical character string of the code of the first vehicle type;
the above processing is circulated until the values of the N vehicle model codes corresponding to each target configuration code in the sixth set are read, and N logical character strings are obtained;
n of the logical strings form the seventh set.
Specifically, in some embodiments of the present invention, the method for generating a logical constraint relationship further includes:
detecting whether configuration of data describing relation with functions and positions of the target product is complete, wherein the configuration comprises the following steps: target configuration codes and configuration families corresponding to the data of the target product function and position description relation;
if complete, executing the following steps:
determining strong association configuration of the data of the target product function and position description relation, connecting the data of the target product function and position description relation with corresponding configuration by using an OR logic operator, and combining the strong association configuration based on the OR logic operator when generating the logic rule character string;
determining negative association configuration of the data in the description relation between the target product function and the position, connecting the data in the description relation between the target product function and the position with corresponding configuration by using an OR logic operator, combining the negative association configuration based on a non-logic operator when generating the logic rule character string, and detecting whether the configuration of the data in the description relation between the target product function and the position is complete.
Further, an embodiment of the present invention discloses a device for generating a logical constraint relation of a vehicle part configuration, including:
the system comprises a first construction module, a second construction module and a third construction module, wherein the first construction module is used for constructing a configuration relation library, a BOM library and a product function and position description relation library, the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set;
a determining module, configured to determine configuration codes corresponding to all product functions and location description data in the third set, select an unrepeated target configuration code from all the configuration codes, add a configuration family corresponding to all the target configuration codes to a fourth set, where the configuration family corresponding to the target configuration code in the fourth set is associated with all product functions and location description data in the third set;
a second building module, configured to build a relational database by using all product function and location description data in the third set and all target configuration codes in the fourth set;
the acquisition module is used for acquiring the project complete vehicle configuration table of the target project and the data of the function and position description relation of the target product from the user side;
a first reading module, configured to read, from the fourth set, a data row associated with the data describing the relationship between the target product function and the position and a configuration family in the associated data row based on the data describing the relationship between the target product function and the position, and form a fifth set;
a second reading module, configured to read, based on the project complete vehicle configuration table, a target configuration code corresponding to each configuration family from the fifth set, and form a sixth set corresponding to the project complete vehicle configuration table;
and the combination module is used for logically combining the fifth set and the sixth set to generate a logical rule character string corresponding to the data of the project complete vehicle configuration table of the target project and the function and position description relation of the target product, so as to form a seventh set.
Further, an embodiment of the present invention discloses an electronic device, including:
a memory for storing a generation program;
a processor that, when executing the generation program, implements the steps of the method for generating a logical constraint relationship for a vehicle part arrangement as set forth in any one of the above.
Further, an embodiment of the present invention discloses a computer-readable storage medium, including: the computer readable storage medium has stored therein a generating program which, when executed by a processor, implements the steps of the method of generating a logical constraint relationship for a vehicle part configuration as set forth in any one of the above.
The invention provides a method, a device, equipment and a computer readable storage medium for generating a logical constraint relation of vehicle part configuration. After a user inputs data of a project complete vehicle configuration table and a target product function and position description relationship of a target project from a user side, only a constraint relationship and a logic rule corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship need to be searched from each set and relationship database constructed above, a logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship is automatically generated, and a logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship is formed. The method avoids manually writing the logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relation, saves a large amount of manpower and material resources, reduces the error rate and improves the production efficiency of a factory.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a schematic flow chart of a method for generating a logical constraint relationship of a vehicle component configuration according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a logic rule string according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a method for generating a logical constraint relationship for a vehicle part configuration according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a method for generating a logical constraint relationship for a vehicle part configuration according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for generating a logical constraint relationship of a vehicle component configuration according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure. While the invention will be described in conjunction with the preferred embodiments, it is not intended that features of the invention be limited to these embodiments. On the contrary, the invention is described in connection with the embodiments for the purpose of covering alternatives or modifications that may be extended based on the claims of the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be practiced without these particulars. Moreover, some of the specific details have been left out of the description in order to avoid obscuring or obscuring the focus of the present invention. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
It should be noted that in this specification, like reference numerals and letters refer to like items in the following drawings, and thus, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings.
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
With the rapid development of the automobile industry, the continuous use of new technologies of automobiles and the realization of continuous innovation are important prerequisites for continuous update of automobile enterprises, and in the current large-scale customized business model of automobile enterprises, a Bill of materials (BOM) is the most core basic data, and a configurable BOM table contains a lot of attributes and information, wherein the most important and complicated constraint relationship (UcString-use Condition String) is configured by using parts. The UcString is a character string which is formed by using the automobile configuration characteristics as the use conditions according to a certain logic rule, and in the fully-configured BOM table, the UcString and the whole automobile configuration table are utilized to calculate the use information of the parts on specific automobile types, so that the required accessories under each view can be calculated by utilizing the principle that the UcString and the whole automobile configuration table can calculate the use information of the parts on the specific automobile types. At present, for the automobile industry, UcString is completely written by professional personnel by utilizing professional knowledge in a self-defining way, so that a large amount of manpower and material resources are consumed for manual writing, the writing of UcString is easy to make mistakes due to limited energy of people, and the factory shutdown is influenced once the UcString makes mistakes, so that the production efficiency of automobiles is reduced.
Based on the fact axiom that the functional characteristics of the automobile are necessarily related to the limited configuration characteristics, the logic constraint relation configured by the automobile parts is defined by using the logic rules, when a user inputs one or more codes of 'product function and position description' to be inquired at a client, the logic operation is carried out by taking a company-level ed product function and position description relation database and a configuration relation database of an automobile enterprise and a BOM (Bill of Material) of the automobile enterprise as basic conditions, a logic rule character string UcString of the product function and position description relation database in the BOM database is automatically calculated, finally, the accuracy and the integrity of the logic rule character string are verified, and finally, the logic rule character string is used for a configurable BOM table.
The method for generating the logic constraint relation of the vehicle part configuration improves the efficiency of writing the logic rule character string UcString by part engineers in automobile enterprises, has low error rate and ensures the quality of the logic rule character string UcString.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
A method for generating a logical constraint relationship of a vehicle component configuration disclosed in an embodiment of the present invention is described below with reference to fig. 1, where fig. 1 is a schematic flow diagram of the method for generating a logical constraint relationship of a vehicle component configuration disclosed in an embodiment of the present invention, and the method for generating a logical constraint relationship of a vehicle component configuration shown in fig. 1 includes:
s10: and constructing a configuration relation library, a BOM library and a product function and position description relation library, wherein the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set.
In some embodiments of the present invention, a company-level (a certain automobile enterprise) configuration relation library and a company-level configuration table are automatically called, wherein the company-level configuration relation library includes all configuration families and configuration codes and chinese-english descriptions of the configuration families and the configuration codes, and then are stored in the server database as the first set. And then automatically calling a company-level BOM library, storing the company-level BOM library in a server database as a second set, and finally, storing a product Function and position description relation (FFC) library called again in the server database as a third set.
In some embodiments of the invention, the BOM library refers to a BOM having a function of implementing diversification and construction of automobile products through a configuration scheme, generally describes technical features and functional components of an automobile through a set of codes, defines constraint relations among the technical features, establishes relations between automobile models and automobile parts, and finally solves and forms a BOM library oriented to engineering, manufacturing, selling and after-sale according to the set of codes. Table 1 shows a BOM table according to an embodiment of the present invention.
TABLE 1
Figure BDA0002790165040000081
The FFC code represents product function and position description data, which is description for describing the product engineering vehicle type function position of the vehicle, and all the function positions of the vehicle of any vehicle type have corresponding function position description codes and descriptions in the product basic function position description library. For example: the functional position description code (FFC) of the "engine compartment fuse box bracket" in the product basic functional position description library is: "863A 02P", functional position description is described as: "BRACKET-F/CMPT FUSE BLK".
In some embodiments of the present invention, UcString represents a line 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 BOM table. The UcString is composed of a Model (identifier), Feature Code (target configuration Code) and an operation logic character (may include an and logic operator "&", or a logic operator "/" and a non-logic operator "-"), the and logic operator "&" indicates that a certain functional Feature is provided, or the logic operator "/" indicates that two or more functional features are provided, one or part is provided, and the non-logic operator "-" indicates that no functional Feature is provided, the Model can only be one and necessary, and the selected Feature Code (target configuration Code) may be one, may be a plurality of, or may not be provided, the and logic operator "&" may follow the Model, but cannot follow the or logic operator "/" and the non-logic operator "-", the non-logic operator "-" may follow the Model, the target configuration code in Ucstring can only be preceded by one logical operator. As shown in fig. 2, fig. 2 is a schematic structural diagram of a logical rule character string disclosed in the embodiment of the present invention.
S11: determining configuration codes corresponding to all product functions and position description data in the third set, selecting unrepeated target configuration codes from all the configuration codes, adding configuration families corresponding to all the target configuration codes into the fourth set, wherein the configuration families corresponding to the target configuration codes in the fourth set are all associated with all the product functions and position description data in the third set.
In some embodiments of the invention, for the data in the third set: correspondingly selecting a logic rule character string corresponding to the data in the third set from the second set, and reading each logic rule character stringThe character string (UcString) contains configuration codes (Feature codes), a target configuration Code without duplication is selected from all the configuration codes, a configuration Family (Family) corresponding to the target configuration Code without duplication is read from the configuration relation library, and all the non-duplicated configuration families are added into the fourth set (Fc)x) The fourth set is the set of configuration families associated with the product functionality and location description data.
For the configuration code, the configuration code is composed of 4-digit letters or numbers, and the code uniformly describes a certain vehicle configuration in engineering.
For the configuration family, the code is composed of character strings beginning with 1-bit numbers or 3-bit letters, and the configuration codes of the same kind are classified into a type of configuration family.
S12: and constructing a relational database by using all the product function and position description data in the third set and all the object configuration codes in the fourth set.
Performing the operation in S11 on all product function and location description data in the third set, wherein the relationship between the third set and the fourth set can be represented by the following formula:
Figure BDA0002790165040000101
wherein t is the product function and location description data ffc in the third setxNumber of (2), Fx={fxy|y=1,2,...,nx},nxIs the number of configuration families in the fourth set.
S13: and acquiring the project complete vehicle configuration table of the target project and the data of the function and position description relation of the target product from the user side.
And (3) inputting a project complete vehicle configuration table (set T) and data (FFC data) of the function and position description relation of the target product from the client by a person with use authority at the user end according to the service requirement of the vehicle.
S14: and reading a data row associated with the data of the target product function and the position description relation and a configuration family in the associated data row from the fourth set based on the data of the target product function and the position description relation, and forming a fifth set.
S15: and reading target configuration codes corresponding to all configuration families from the fifth set based on the project complete vehicle configuration table, and forming a sixth set corresponding to the project complete vehicle configuration table.
S16: and logically combining the fifth set and the sixth set to generate a logical rule character string corresponding to the data of the project complete vehicle configuration table of the target project and the function and position description relationship of the target product, and forming a seventh set.
In some embodiments of the invention, the forming of the seventh set comprises:
and sequentially generating a first logical character string to an Nth logical character string from the first vehicle type code to the Nth vehicle type code in the project complete vehicle configuration table according to the data of the function and position description relation of the target product.
More specifically, the generating the first to nth logical strings includes:
reading a first vehicle type code in a project vehicle configuration table;
searching whether the value of the first vehicle model code corresponding to each target configuration code is valid data or not from the sixth set;
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;
performing cyclic processing, namely taking invalid vehicle type codes corresponding to all target configuration codes in the project complete vehicle configuration table as invalid data and deleting the invalid data, forming a target sixth set by using the target configuration codes corresponding to the valid data in the project complete vehicle configuration table, and forming a target fifth set corresponding to the target sixth set;
selecting a new target configuration code from the target sixth set based on the target fifth set, connecting an identifier (model number) with a logical operator to obtain an identification target configuration code, and performing loop processing to complete the AND logical operation of all the new target configuration codes in the target sixth set to obtain a plurality of identification target configuration codes;
connecting each identification target configuration code with a logic operator to obtain a first logic character string of a first vehicle model code;
the above processing is circulated until the values of the N vehicle model codes corresponding to each target configuration code in the sixth set are read, and N logical character strings are obtained;
the N logical strings constitute a seventh set.
The determination of valid data may be based on whether the value of the first vehicle type code is a non-logical operator "-", and if yes, it is invalid data, and if not, it is valid data.
Further, as shown in fig. 3, fig. 3 is a schematic flow chart of another method for generating a logical constraint relationship of a vehicle part configuration, which is disclosed in the embodiment of the present invention, in order to check N logical character strings in the seventh set, so as to ensure accuracy and integrity of data in the seventh set. In some embodiments of the invention, further comprising:
s17: and performing integrity check on all the logic rule character strings in the seventh set, and if the check result of the logic rule character strings is correct, entering S18, and if the check result of the logic rule character strings is wrong, entering S19.
S18: forming a BOM table based on the logical rule character strings in the seventh set;
s19: receiving a modification instruction for all the logical rule strings in the seventh set from the user terminal and modifying the logical rule strings based on the modification instruction.
In some embodiments of the present invention, the receiving, by the user terminal, the modifications to all the logical rule strings in the seventh set includes:
determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation or determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation;
and receiving a modification instruction and deleting irrelevant configuration families or adding associated configuration families of the data describing the relationship between the product function and the position based on the modification instruction.
Specifically, the integrity check method may adopt the prior art, and may be that the product function and location description data in the seventh set are compared with the product function and location description code of the platform, so as to determine whether the seventh set includes the product function and location description code in the database for describing the product function and location of the platform, and if not, it indicates that the logical rule character string in the seventh set is incomplete, and an alarm is performed. In addition, the logical rule strings in the seventh set may be self-compared to determine if a repetitive logical rule string exists. Further, as shown in fig. 4, fig. 4 is a schematic flow chart of another method for generating a logical constraint relationship of a vehicle part configuration, which is disclosed in the embodiment of the present invention, and after integrity check is performed on N logical character strings in a seventh set, if a strong association configuration or a negative association configuration exists in the seventh set, in order to ensure accuracy and representativeness of the logical rule character strings, accuracy and integrity of data in the seventh set are ensured. In some embodiments of the invention, further comprising:
s20, detecting whether the configuration of the data describing the relationship between the functions and the positions of the target products is complete, wherein the configuration comprises the following steps: target configuration codes and configuration families corresponding to the data of the target product function and position description relation;
if complete, S21 and S22 are performed.
S21: determining strong association configuration of data describing relation with functions and positions of the target product, connecting the data describing relation with the functions and the positions of the target product and corresponding configuration by utilizing an OR logic operator, and combining the strong association configuration based on the OR logic operator when generating a logic rule character string;
s22: determining negative association configuration of data describing relation with the target product function and the position, connecting the data describing relation with the target product function and the position with corresponding configuration by using an OR logic operator, and combining the negative association configuration based on a non-logic operator when generating a logic rule character string.
A device for generating a logical constraint relationship of a vehicle component arrangement disclosed in an embodiment of the present invention is described below with reference to fig. 5, where fig. 5 is a schematic structural diagram of the device for generating a logical constraint relationship of a vehicle component arrangement disclosed in an embodiment of the present invention, and the device for generating a logical constraint relationship of a vehicle component arrangement includes:
the first building module 50 is used for building a configuration relation library, a BOM library and a product function and position description relation library, wherein the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set;
a determining module 51, configured to determine configuration codes corresponding to all product functions and position description data in the third set, select an unrepeated target configuration code from all configuration codes, add configuration families corresponding to all target configuration codes to the fourth set, where the configuration families corresponding to the target configuration codes in the fourth set are all associated with all product functions and position description data in the third set;
a second building module 52, configured to build a relational database by using all the product function and location description data in the third set and all the object configuration codes in the fourth set;
the acquisition module 53 is configured to acquire a project complete vehicle configuration table of a target project and data of a target product function and position description relationship from a user side;
a first reading module 54, configured to read, from the fourth set, a data row associated with the data describing the relationship between the target product function and the position and a configuration family in the associated data row based on the data describing the relationship between the target product function and the position, and form a fifth set;
a second reading module 55, configured to read, based on the project complete vehicle configuration table, target configuration codes corresponding to the configuration families from the fifth set, and form a sixth set corresponding to the project complete vehicle configuration table;
and the combination module 56 is configured to logically combine the fifth set and the sixth set, generate a logical rule character string corresponding to the data of the item complete vehicle configuration table of the target item and the function and position description relationship of the target product, and form a seventh set.
In some embodiments of the invention, the means for generating the logical constraint relationship for the vehicle part configuration further comprises:
the verification module is used for carrying out integrity verification on all the logic rule character strings in the seventh set, and if the verification result of the logic rule character strings is correct, a BOM (bill of material) table is formed based on the logic rule character strings in the seventh set; if the check result of the logic rule character string is wrong, entering a modification module;
and the modification module is used for receiving modification instructions of all the logic rule character strings in the seventh set from the user side and modifying the logic rule character strings based on the modification instructions.
An electronic device disclosed in the embodiment of the present invention is described below with reference to fig. 6, where fig. 6 is a schematic structural diagram of the electronic device disclosed in the embodiment of the present invention, and the electronic device 30 includes:
a memory 300 for storing a generation program;
the processor 301, when executing the generating program, implements the steps of the method for generating the logical constraint relationship for the vehicle part configuration as mentioned above.
The electronic device 30 includes: a power supply 302, at least one wired or wireless network interface 303, at least one data input output interface 304.
A power supply 302 is connected to the memory 300 and the processor 301, respectively, for supplying power. The wired or wireless network interface 303 and the data input/output interface 304 are used for interfacing with external devices for data communication and transmission. The memory 300 may be a transient or persistent storage.
In addition, the embodiment of the invention also discloses a computer readable storage medium, which comprises: the computer-readable storage medium has stored therein a generating program which, when executed by the processor, implements the steps of the method of generating the logical constraint relationships for vehicle part configurations as mentioned above.
The embodiment of the invention discloses a method, a device, equipment and a computer readable storage medium for generating a logical constraint relation of vehicle part configuration. After a user inputs data of a project complete vehicle configuration table and a target product function and position description relationship of a target project from a user side, only a constraint relationship and a logic rule corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship need to be searched from each set and relationship database constructed above, a logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship is automatically generated, and a logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relationship is formed. The method avoids manually writing the logic rule character string corresponding to the data of the project complete vehicle configuration table and the target product function and position description relation, saves a large amount of manpower and material resources, reduces the error rate and improves the production efficiency of a factory.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for generating a logical constraint relationship for a vehicle part configuration, comprising:
constructing a configuration relation library, a BOM library and a product function and position description relation library, wherein the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set;
determining configuration codes corresponding to all product functions and position description data in the third set, selecting unrepeated target configuration codes from all the configuration codes, and adding configuration families corresponding to all the target configuration codes into a fourth set, wherein the configuration families corresponding to the target configuration codes in the fourth set are all associated with all the product functions and position description data in the third set;
constructing a relational database by using all product function and position description data in the third set and all target configuration codes in the fourth set;
acquiring a project complete vehicle configuration table of a target project and data of a target product function and position description relation from a user side;
reading a data row associated with the data of the target product function and position description relation and a configuration family in the associated data row from the fourth set based on the data of the target product function and position description relation, and forming a fifth set;
reading target configuration codes corresponding to the configuration families from the fifth set based on the project complete vehicle configuration table, and forming a sixth set corresponding to the project complete vehicle configuration table;
and logically combining the fifth set and the sixth set to generate a logical rule character string corresponding to the project complete vehicle configuration table of the target project and the data of the function and position description relationship of the target product, and forming a seventh set.
2. The method for generating a logical constraint relationship for a vehicle part configuration according to claim 1, further comprising:
carrying out integrity check on all the logic rule character strings in the seventh set, and if the check result of the logic rule character strings is correct, forming a BOM (bill of material) table based on the logic rule character strings in the seventh set;
and if the verification result of the logic rule character string is wrong, receiving modification instructions of all the logic rule character strings in the seventh set from the user side and modifying the logic rule character string based on the modification instructions.
3. The method of generating logical constraint relationships for vehicle part configurations of claim 2, wherein receiving modifications to all logical rule strings in the seventh set from the user side comprises:
determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation or determining a configuration family in the fifth set which is not related to the data of the product function and the position description relation;
and receiving the modification instruction and deleting the irrelevant configuration family or adding the relevant configuration family of the data in the product function and position description relationship based on the modification instruction.
4. A method for generating logical constraint relations for vehicle part configurations according to any of claims 1 to 3, wherein the formation of the seventh set comprises:
and sequentially generating a first logical character string to an Nth logical character string of the first vehicle type code to the Nth vehicle type code in the project complete vehicle configuration table according to the data of the function and position description relation of the target product.
5. The method for generating logical constraint relationships for vehicle part configurations according to claim 4, wherein generating the first logical character string through the Nth logical character string includes:
reading a first vehicle type code in the project vehicle configuration table;
searching whether the value of the first vehicle model code corresponding to each target configuration code is valid data or not from the sixth set;
if yes, the first vehicle type code corresponding to the target configuration code corresponding to the effective data is an effective 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;
performing cyclic processing, namely taking invalid vehicle type codes corresponding to all target configuration codes in the project complete vehicle configuration table as invalid data and deleting the invalid data, forming a target sixth set by using the target configuration codes corresponding to the valid data in the project complete vehicle configuration table, and forming a target fifth set corresponding to the target sixth set;
selecting a new target configuration code from the target sixth set based on the target fifth set, connecting an identifier with a logical operator to obtain an identified target configuration code, and performing cyclic processing to complete AND logical operation of all the new target configuration codes in the target sixth set to obtain a plurality of identified target configuration codes;
connecting each identification target configuration code by using the logical operator to obtain a first logical character string of the code of the first vehicle type;
the above processing is circulated until the values of the N vehicle model codes corresponding to each target configuration code in the sixth set are read, and N logical character strings are obtained;
n of the logical strings form the seventh set.
6. The method of generating a logical constraint relationship for a vehicle part configuration of claim 5, the method of generating further comprising:
detecting whether configuration of data describing relation with functions and positions of the target product is complete, wherein the configuration comprises the following steps: target configuration codes and configuration families corresponding to the data of the target product function and position description relation;
if complete, executing the following steps:
determining strong association configuration of the data of the target product function and position description relation, connecting the data of the target product function and position description relation with corresponding configuration by using an OR logic operator, and combining the strong association configuration based on the OR logic operator when generating the logic rule character string;
determining negative association configuration of the data in the description relation between the target product function and the position, connecting the data in the description relation between the target product function and the position and corresponding configuration by using an OR logic operator, combining the negative association configuration based on a non-logic operator when generating the logic rule character string, and detecting whether the configuration of the data in the description relation between the target product function and the position is complete.
7. An apparatus for generating a logical constraint relationship for a vehicle part configuration, comprising:
the system comprises a first construction module, a second construction module and a third construction module, wherein the first construction module is used for constructing a configuration relation library, a BOM library and a product function and position description relation library, the configuration relation library forms a first set, the BOM library forms a second set, and the product function and position description relation library forms a third set;
a determining module, configured to determine configuration codes corresponding to all product functions and location description data in the third set, select an unrepeated target configuration code from all the configuration codes, add a configuration family corresponding to all the target configuration codes to a fourth set, where the configuration family corresponding to the target configuration code in the fourth set is associated with all product functions and location description data in the third set;
a second construction module, configured 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;
the acquisition module is used for acquiring the project complete vehicle configuration table of the target project and the data of the function and position description relation of the target product from the user side;
a first reading module, configured to read, from the fourth set, a data row associated with the data describing the relationship between the target product function and the position and a configuration family in the associated data row based on the data describing the relationship between the target product function and the position, and form a fifth set;
a second reading module, configured to read, based on the project complete vehicle configuration table, a target configuration code corresponding to each configuration family from the fifth set, and form a sixth set corresponding to the project complete vehicle configuration table;
and the combination module is used for logically combining the fifth set and the sixth set to generate a logical rule character string corresponding to the project complete vehicle configuration table of the target project and the data of the target product function and position description relation, so as to form a seventh set.
8. The apparatus for generating logical constraint relationships for vehicle part configurations according to claim 7, further comprising:
the verification module is used for carrying out integrity verification on all the logic rule character strings in the seventh set, and if the verification result of the logic rule character strings is correct, a BOM (bill of material) table is formed based on the logic rule character strings in the seventh set; if the check result of the logic rule character string is wrong, entering a modification module;
and the modification module is used for receiving modification instructions of all the logic rule character strings in the seventh set from the user side and modifying the logic rule character strings based on the modification instructions.
9. An electronic device, comprising:
a memory for storing a generation program;
a processor which, when executing said generating program, carries out the steps of the method of generating a logical constraint relation of a vehicle part configuration according to any of claims 1 to 6.
10. A computer-readable storage medium, comprising: the computer-readable storage medium has stored therein a generating program which, when executed by a processor, implements the steps of the method for generating a logical constraint relation of a vehicle part configuration according to any one of claims 1 to 6.
CN202011312231.8A 2020-11-20 2020-11-20 Vehicle part configuration logic constraint relation generation method, device, equipment and medium Pending CN114519050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011312231.8A CN114519050A (en) 2020-11-20 2020-11-20 Vehicle part configuration logic constraint relation generation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011312231.8A CN114519050A (en) 2020-11-20 2020-11-20 Vehicle part configuration logic constraint relation generation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114519050A true CN114519050A (en) 2022-05-20

Family

ID=81595326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011312231.8A Pending CN114519050A (en) 2020-11-20 2020-11-20 Vehicle part configuration logic constraint relation generation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114519050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301758A (en) * 2023-05-11 2023-06-23 厦门正航软件科技有限公司 Rule editing method, device, equipment and medium based on event time points

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301758A (en) * 2023-05-11 2023-06-23 厦门正航软件科技有限公司 Rule editing method, device, equipment and medium based on event time points
CN116301758B (en) * 2023-05-11 2023-12-19 厦门正航软件科技有限公司 Rule editing method, device, equipment and medium based on event time points

Similar Documents

Publication Publication Date Title
US10664771B2 (en) Product development management system and method
CN101482895B (en) Electronic component design, buying and manufacture cooperation
CN108595342B (en) Unit testing method and device
US11681685B1 (en) System for uploading information into a metadata repository
US20060259891A1 (en) System and method of generating an auto-wiring script
CN111596902B (en) Method, device, equipment and storage medium for building front-end and back-end development framework
CN109582670B (en) Recommendation method of vehicle maintenance scheme and related equipment
CN111095195A (en) Controller, control method, and control program
US7707211B2 (en) Information management system and method
CN114519050A (en) Vehicle part configuration logic constraint relation generation method, device, equipment and medium
CN104239212A (en) Query method and device of test case and establishment method and device of test case
CN114647735A (en) Relation graph display method, medium and display device
CN114004587B (en) Design system and method for automatic control of whole machine model
CN110166530A (en) Processing method, electronic device and computer equipment based on micro services return value
JP2013161370A (en) Edition and verification system for whole product electric specification
CN114860689A (en) Method and system for migrating data objects between heterogeneous databases
CN109062639B (en) Method and system for displaying upgrading information of SCD (substation configuration description) file of transformer substation
CN111061937A (en) Standardized design platform and standardized design method
JP4929018B2 (en) Design method using cell concept, drawing creation device, program, and recording medium
CN115756439B (en) Method and device for arranging state machine engine and computer equipment
JP6969824B1 (en) Specification development technique system
CN115185923B (en) Method and system for managing meteorological observation metadata and intelligent terminal
CN117131082A (en) Method, device, equipment and storage medium for retrieving special parts for stopping engine
CN112988555B (en) Interface testing method, device, equipment and storage medium
Kambe et al. A Method for Analyzing and Visualizing Intermodule Relations to Support the Reuse‐Based Embedded Software Development

Legal Events

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