Data processing method and device, electronic equipment and readable storage medium
1. A data processing method, comprising:
acquiring an EBOM engineering bill of material file and a PPBOM process bill of material file of a target product;
determining target parts included in the target product according to the EBOM file, and obtaining first attribute information of each target part from the EBOM file;
obtaining second attribute information of each target part based on the PPBOM file, wherein the second attribute information comprises process description information of a target process corresponding to the target part and state description information of the target part before and after the target process is implemented;
and correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part.
2. The method of claim 1, wherein the obtaining second attribute information of each target component based on the PPBOM file comprises:
determining a target process corresponding to the target part based on the PPBOM file, and obtaining process description information of the target part according to the target process;
under the condition that the target process corresponding to the target part is multiple, state description information of the target part before and after each target process is obtained, wherein the obtained state description information of the target part is sorted according to the implementation sequence of the corresponding target process, and the state description information comprises at least any one of physical information, chemical information and performance information of the target part, which is caused by the target process, and changes;
and under the condition that the target process corresponding to the target part is one, state description information of the target part before and after the target process is implemented is obtained.
3. The method of claim 2, wherein the second attribute information further includes device data, and wherein obtaining the second attribute information for each target part based on the PPBOM file further includes:
and acquiring equipment data of the production equipment required by the target process, wherein the equipment data comprises equipment working condition data of the production equipment when the target process is implemented.
4. The method according to any one of claims 1-3, further comprising:
obtaining the correlation among target parts from the EBOM file;
correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part, including:
correspondingly storing each target part, the first attribute information and the second attribute information corresponding to the target part, and storing the mutual relation among the target parts.
5. The method of claim 4, wherein the correspondingly storing each target part, the first attribute information and the second attribute information corresponding to the target part, and the correlation between the target parts comprises:
and storing each target part, the first attribute information and the second attribute information corresponding to the target part and the interrelation among the target parts as a database table.
6. The method of claim 5, wherein the storing each target part, the first attribute information and the second attribute information corresponding to the target part, and the interrelation between the target parts as a database table comprises:
constructing an entity relationship model according to each target part, the first attribute information and the second attribute information corresponding to the target part and the mutual relationship;
and converting the entity relation model into a database table.
7. A data processing apparatus, comprising:
the file acquisition module is used for acquiring an EBOM engineering bill of material file and a PPBOM process bill of material file of a target product;
the information acquisition module is used for determining target parts included in the target product according to the EBOM file and acquiring first attribute information of each target part from the EBOM file;
the information obtaining module is further configured to obtain second attribute information of each target component based on the PPBOM file, where the second attribute information includes process description information of a target process corresponding to the target component and state description information of the target component before and after the target process is implemented;
and the storage module is used for correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part.
8. The apparatus of claim 7,
the information acquisition module is further used for acquiring the interrelation among the target parts from the EBOM file;
the saving module is specifically configured to: correspondingly storing each target part, the first attribute information and the second attribute information corresponding to the target part, and storing the mutual relation among the target parts.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the data processing method of any one of claims 1 to 6.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data processing method according to any one of claims 1 to 6.
Background
In discrete manufacturing, BOM (Bill of Material) is the basic basis for building enterprise-level production data systems. Product design and process design are two important links of discrete manufacturing, and EBOM (Engineering Bill of Material) and PPBOM (Production planning Bill of Material) respectively correspond to the output of the two links. In the traditional manufacturing industry, the product design function and the process function in an enterprise are generally attributed to different departments. Each department generally only starts from own responsibility and needs, and builds own data system according to the EBOM and the PPBOM respectively. However, only isolated data systems with broken logical connection can be formed, the requirements and the targets of the current digital transformation are difficult to realize, and an enterprise-level integrated data system which is mutually communicated and spans business links cannot be constructed. That is to say, in the existing data system construction method, information systems are respectively constructed around EBOM and PPBOM, and data association and bloody border evolution paths between the systems are lost, which may cause data "chimney" and "islanding" phenomena.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, an electronic device and a readable storage medium, which can embody the data consanguinity relation and the association caused by process implementation in a constructed data system and realize the association and the communication of two BOM data systems of EBOM and PPBOM.
The embodiment of the application can be realized as follows:
in a first aspect, an embodiment of the present application provides a data processing method, including:
acquiring an EBOM engineering bill of material file and a PPBOM process bill of material file of a target product;
determining target parts included in the target product according to the EBOM file, and obtaining first attribute information of each target part from the EBOM file;
obtaining second attribute information of each target part based on the PPBOM file, wherein the second attribute information comprises process description information of a target process corresponding to the target part and state description information of the target part before and after the target process is implemented;
and correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the file acquisition module is used for acquiring an EBOM engineering bill of material file and a PPBOM process bill of material file of a target product;
the information acquisition module is used for determining target parts included in the target product according to the EBOM file and acquiring first attribute information of each target part from the EBOM file;
the information obtaining module is further configured to obtain second attribute information of each target component based on the PPBOM file, where the second attribute information includes process description information of a target process corresponding to the target component and state description information of the target component before and after the target process is implemented;
and the storage module is used for correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the data processing method described in any one of the foregoing embodiments.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the data processing method according to any one of the foregoing embodiments.
According to the data processing method, the data processing device, the electronic equipment and the readable storage medium, the target parts included in the target product are determined according to the EBOM file of the target product, and the first attribute information of each target part is obtained from the EBOM file; obtaining second attribute information of each target part based on a PPBOM file of a target product, wherein the second attribute information comprises process description information of a target process corresponding to the target part and state description information of the target part before and after the target process is implemented; and finally, correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part. Therefore, the target part, the first attribute information of the target part obtained from the EBOM file and the second attribute information of the target part related to the process and obtained based on the PPBOM file are correspondingly stored, so that the data consanguinity and association caused by the process can be embodied in the constructed data system, and the association and communication between the EBOM and PPBOM data systems are realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of data processing provided by an embodiment of the present application;
fig. 4 is a second schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 5 is a block diagram of a data processing apparatus according to an embodiment of the present application.
Icon: 100-an electronic device; 110-a memory; 120-a processor; 130-a communication unit; 200-a data processing apparatus; 210-a file acquisition module; 220-an information acquisition module; 230-save module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Before the inventor of the present application proposes the technical solution in the embodiment of the present application, an information system is generally respectively constructed around EBOM (Engineering Bill of Material) and PPBOM (Production planning Bill of Material), and data association and bloody border evolution paths between systems are lost, which causes a data "chimney" and an islanding phenomenon.
The inventor of the present application has found through research that the essential reasons are as follows: different departments in the enterprise perform subtraction on a data system generated by the preorders according to the needs of the departments, and only keep the data needed by the departments.
In view of the above situation, embodiments of the present application provide a data processing method, an apparatus, an electronic device, and a readable storage medium, in which a target part included in a target product, first attribute information of the target part obtained from an EBOM file, and second attribute information of the target part related to a process obtained based on a PPBOM file are stored correspondingly, so that a data relationship and an association caused by the process can be embodied in a constructed data system, and association and communication between two BOM data systems, namely, an EBOM data system and a PPBOM data system, are achieved. The essence of the embodiment of the application is that addition is carried out, and data related to the procedure of the link of the application is added to a data system output by a preamble or an upstream link, so that the problem is solved.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may be, but is not limited to, a computer, a server, etc. The electronic device 100 includes a memory 110, a processor 120, and a communication unit 130. The elements of the memory 110, the processor 120 and the communication unit 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory 110 and perform corresponding functions. For example, the memory 110 stores therein a data processing apparatus 200, and the data processing apparatus 200 includes at least one software functional module which can be stored in the memory 110 in the form of software or firmware (firmware). The processor 120 executes various functional applications and data processing by executing software programs and modules stored in the memory 110, such as the data processing apparatus 200 in the embodiment of the present application, so as to implement the data processing method in the embodiment of the present application.
The communication unit 130 is used for establishing a communication connection between the electronic apparatus 100 and another communication terminal via a network, and for transceiving data via the network.
It should be understood that the structure shown in fig. 1 is only a schematic structural diagram of the electronic device 100, and the electronic device 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present disclosure. The method may be applied to the electronic device 100 described above. The following describes a specific flow of the data processing method in detail. The method can include steps S110 to S140.
Step S110, obtaining the EBOM file and the PPBOM file of the target product.
In this embodiment, the target product is an object targeted by a data system expected to be constructed, and may be specifically determined according to actual requirements. The EBOM file and the PPBOM file of the target product can be obtained in any mode. For example, the method of receiving a file sent by another device, or receiving an input from a user is not limited in this embodiment.
The EBOM file and the PPBOM file will be briefly described below.
The EBOM file comes from engineering design departments, and the main structures of the EBOM file comprise a hierarchy type, a father type and a son type, wherein the father type and the son type are more commonly used. Two types of data relationships are mainly described in the EBOM file: (1) the relation of the assembly quantity of the products, namely the parts forming a certain assembly and the number of the parts; (2) the natural attribute relationship of a part, i.e., the size, material, weight, etc. of a certain part. The PPBOM files output by the process department specify the process by which the product is produced, i.e., the PPBOM files include the sequence of processes by which the product is manufactured, as required by the EBOM.
Referring to fig. 3, fig. 3 is a schematic diagram of data processing according to an embodiment of the present disclosure. As shown in fig. 3, the EBOM file for a product may include: the product includes an identifier of a component (for example, the product in fig. 3 includes a component 1, a component 2 … …, a component n, and the like, the component 1 includes a part 11, a part 12 … …, a part 1n, and the like, and the component 2 includes a part 21, a part 22 … …, a part 2n, and the like), and description information of the component (for example, the material number of the part 11 is stainless steel). The EBOM file also includes the interrelationship between the parts, for example, the part 11 is in a parent-child relationship with the part 1. The PPBOM of the product may include an identifier of a corresponding component (e.g., the component 11) and a process corresponding to the component, and still taking the component 11 as an example, the process corresponding to the component 11 includes: processing method, cutting process, cathode protection, surface coating and the like. The machining method is used for meeting the machining requirement specified by the EBOM, the cutting process is used for meeting the shape and size requirement specified by the EBOM, and the cathodic protection and the surface coating are used for meeting the corrosion resistance requirement specified by the EBOM. The processes included in the PPBOM may be specific processes for the corresponding component parts. It is understood that the process for part 11 corresponds to the process by which part 11 as referred to in the EBOM can be obtained.
Step S120, determining target components included in the target product according to the EBOM file, and obtaining first attribute information of each target component from the EBOM file.
In this embodiment, the EBOM file may be analyzed according to actual requirements, so as to use at least a part of the components included in the EBOM file as target components included in the target product. As an optional implementation manner, parts or components corresponding to each entry in the EBOM file may be used as target components, that is, each component and each part included in the target product may be used as the target components.
In the case of determining the target component, the related description information of the target component may be obtained from the EBOM file and used as the first attribute information of the target component. Wherein the first attribute information may include: the physical and chemical properties of the product such as hierarchy, code, specification, name, material quality, density, geometric dimension, strength, corrosion resistance, appearance and the like.
Referring to fig. 3 again, the part 11 may be taken as a target part, and the description information of the part 11 in the corresponding entry of the EBOM file may be taken as the first attribute information of the part 11. The first attribute information may include: material numbering: stainless steel; the material is as follows: stainless steel; the appearance is as follows: drawing paper corresponding to the outer rectangle, the inner circle and/or the shape; length: 17.5 cm; width: 6.04 cm; rounding: phi 30, the center of the circle is superposed with the center of the rectangle; the functions are as follows: outputting a pulse electric signal; corrosion resistance: corrosion resistance speed: y isL<0.05mm·a-1And the like.
Step S130, based on the PPBOM file, second attribute information of each target part is obtained.
The PPBOM file comprises the identification of the parts included in the target product and the process corresponding to the parts. The marks of the same parts are the same in the PPBOM file and the EBOM file of the target product. Therefore, the PPBOM file comprises a process sequence for manufacturing a target product. And under the condition of determining the target part, determining a process corresponding to the target part according to the PPBOM file, and taking the process as the target process corresponding to the target part. The target process corresponding to one target part can be one or multiple, and is determined by actual conditions.
Each item of the PPBOM file represents a process, and most items refer to an activity, such as processing or operation, so that each process generally causes data change, that is, there are data before the activity and data after the activity. In this embodiment, the second attribute information may include process description information of a target process corresponding to a target component and state description information of the target component before and after the target process is performed. Thereby, the association between the data and the blood margin evolution path of the data are obtained based on the first attribute information and the second attribute information.
The context of the target process is a description of the specific manner in which the target part is manufactured. The process description information may be obtained according to the target process. Alternatively, an entry in the PPBOM file indicating a target process may be directly used as the process description information, or brief description information (e.g., a process name, a process number, etc.) of the entry may be used as the process description information, for example, a process name of "cutting process" may be directly used as the process description information.
The state description information of the target component before and after the target process is performed may include various attribute information of the target component before and after the target process occurs, and may be specifically set according to actual requirements.
As an alternative implementation manner, the attribute information of the target component that changes due to the implementation of the target process may be used as the state description information of the target component before and after the implementation of the target process. For example, the state description information of the target component before and after the target process is performed may include at least any one of physical information, chemical information, and performance information of the target component that is changed by the target process.
For example, referring to fig. 3 again, assuming that the target process is the "machining method" corresponding to the part 11, it may be determined whether it is additive manufacturing or subtractive manufacturing, and this may be used as the state descriptive information before and after the target process corresponding to the "machining method".
Alternatively, when the target process is a "cutting process" corresponding to the part 11, the blank initial data (length, width, height, weight, shape, etc.), the data after cutting (length, width, height, weight, shape, etc.), the blanking weight, etc. may be obtained as the state descriptive information before and after the "cutting process".
For another example, assuming that the target process is a "cathodic protection" process corresponding to the part 11, data such as the corrosion rate and weight of the part 11, the type of cathodic protection method (impressed current method or sacrificial anode method), and the like, before "cathodic protection" is performed according to the process specified in the PPBOM document can be obtained; and obtains the corrosion speed, weight, material, cost, maintenance method, various acceptance test data and the like of the part 11 after the cathode protection is finished. The data before and after the "cathodic protection" obtained above is the state description information of the target component in the second attribute information before and after the target process is implemented. For example, the anode material data and the capacitance before and after "cathodic protection" are used as the status describing information before and after "cathodic protection".
For example, when the target process is a "surface coating" process for the component 11, the coating material, the coating thickness, the coating area data, and the like may be used as the status describing information before and after the "surface coating" process is performed.
By storing the process description information and the state description information of the target part before and after the target process is implemented, the newly constructed data system embodies the 'causal' association that the process operation sequence defined by the PPBOM directly acts on the product part to cause the change of various physical, chemical, performance and other data of the product. In the mode, the numerical values before and after the process occurs are distinguished and are respectively used as the mutually independent data entity attributes, and the design can embody the data blood relationship caused by the process operation in a data system, so that the problem that the data blood relationship is lost due to the fact that only the data body exists and the data generation source is not reserved in the manufacturing process can be solved, and the data association can be embodied.
Step S140, correspondingly storing the target component and the first attribute information and the second attribute information corresponding to the target component.
When the target component is determined and the first attribute information and the second attribute information of the target component are obtained, the target component, the first attribute information, and the second attribute information may be stored in association with each other. Alternatively, the target part may be represented by the identification of the target part at the time of data saving. The specific storage form can be set according to actual requirements, for example, the specific storage form is stored as a database table, and the use is convenient. Therefore, in a newly constructed data system (hereinafter referred to as E-PBOM) various information of the target part can be directly obtained, and meanwhile, the association between data and the data bloody margin evolution path can be obtained, so that the situations of data chimney and island are reduced.
For a target part, the data system corresponding to the target part may include first attribute information obtained from the EBOM file and second attribute information obtained based on the PPBOM file (i.e., the machining method, the cutting process, the cathodic protection, and the surface coating in fig. 3), as shown in the solid data model corresponding to the part 11 in fig. 3.
Optionally, in this embodiment, when the target process corresponding to a target component is multiple, state description information of the target component before and after each target process is performed may be obtained. And sequencing the obtained state description information of the target part according to the implementation sequence of the corresponding target process. For example, taking the component 11 in fig. 3 as an example, it is assumed that the target processes corresponding to the component 11 sequentially have: the machining method, the cutting process, the cathodic protection and the surface coating can store the state description information of the target parts before and after each target process according to the implementation sequence, that is, the state is as shown in fig. 3: state description information before and after each target process corresponding to the part 11 before and after the machining method is implemented; state description information of the part 11 before and after each target process corresponding to the cutting process; the part 11 is coated with the corresponding status description information before and after each target process in the cathode protection and surface coating.
Therefore, as for each entry of the EBOM file, the data generated by the corresponding operation sequence is attached to the entry in the order from the output of the design stage, so that the context association relationship of the included data is clearer.
For example, referring again to FIG. 3, for part 11, it can be seen from the PPBOM document that the "coating thickness" data pertains to the cathodic protection process that operates to meet the corrosion resistance that is one of the attributes of part 11 specified in the EBOM document. Through the processing of the embodiment of the application, according to the constructed E-PBOM, a data blood margin system formed by the processing applied to the product by the operation flow of coating layer thickness → cathodic protection → corrosion resistance → … … can be identified, so that the data management and data association are facilitated.
And under the condition that the target process corresponding to the target part is one, directly obtaining the state description information of the target part before and after the target process is implemented.
Optionally, in this embodiment, the second attribute information may further include device data. The equipment data of the production equipment required for the target process can be obtained. Therefore, the device data can be associated with the corresponding items in the product EBOM, and the subsequent analysis of product quality, cost calculation, production efficiency and the like by combining the device is facilitated.
When the second attribute information is stored, the process description information of one target process, the state description information of the target component before and after the target process is performed, and the equipment data set may be stored in correspondence to determine the correspondence relationship therebetween.
The equipment data may include equipment working condition data and/or equipment attribute information of the production equipment when the target process is implemented, and may be specifically set according to actual requirements. The purpose of integrating the production process data and the product structure data can be realized by taking the equipment working condition data as the attribute of the entity object.
For example, taking the "surface coating" process shown in fig. 3 as an example, the device data may be device attribute information of the coating device and device operating condition information, where the device attribute information includes information such as rated voltage, current, specification of the spray head, and type of supported paint of the coating device, and the device operating condition data includes values such as actual voltage value, current value, spray head, paint, motion trajectory, operating environment temperature, and humidity of the coating device during processing of each part 11.
Referring to fig. 4, fig. 4 is a second schematic flowchart of a data processing method according to an embodiment of the present application. The method may further include step S125.
And step S125, obtaining the correlation among the target parts from the EBOM file.
Alternatively, when the first attribute information of the target part is obtained from the EBOM file, the correlation between the target part and other target parts may be obtained at the same time. Then, each target component, the first attribute information and the second attribute information corresponding to the target component may be correspondingly stored, and the correlation between the target components may be stored.
Optionally, in this embodiment, each target component, the first attribute information and the second attribute information corresponding to the target component, and the correlation between the target components may be saved as a database table, so as to be directly used subsequently.
Optionally, as an alternative implementation, the data may be saved as a database table as follows: constructing an entity relationship model according to each target part, the first attribute information and the second attribute information corresponding to the target part and the mutual relationship; and converting the entity relation model into a database table.
In this embodiment, an ER Entity Relationship Model may be constructed based on a theoretical method and a tool of an E-R Model, where the target component is used as an Entity object, the first attribute information and the second attribute information are used as attributes of the Entity object, and a correlation between the target components is used as a correlation between the Entity objects, and the constructed ER Entity Relationship Model is output. Then, the outputted ER entity relation model can be converted into an actual database table by using UML, Rose, Power Design and other tools.
Manufacturing is the subject of substantial economy. The integrated data integration of manufacturing enterprises is a key link for exerting the value of data production elements. The existing data utilization mode is an organization mode taking department functions as a core. The association of data along a "flow" of traffic in such an organizational scheme can break down, undermining the requirement for lossless pass-through delivery of data.
In the traditional industry, product design and industrial design belong to different departments and even different enterprises respectively. Based on EBOM and PPBOM, the method is the most objective, most effective and most authoritative basis for associating the two links. The E-PBOM constructed in the embodiment abstracts the EBOM into a static entity object, and takes various characteristics of the object in the EBOM as the corresponding attribute data object; the PPBOM is regarded as a series of dynamic operation processes acting on the EBOM static entity object, and data changes caused before and after the operation processes, and the operation conditions of the device implementing the dynamic operation processes, etc. are all added as new data contents of the static entity object and attached to the static entity object. Therefore, the association and the communication of two BOM data systems of the EBOM and the PPBOM are realized.
The E-PBOM constructed by the embodiment of the application can truly reflect the production process taking a product as a center. In this embodiment, for each item entry in the EBOM, after each item in the process design result PPBOM is processed, there is a corresponding data requirement and data result, and the corresponding processing, data requirement, and data result are added to the E-PBOM, so that data is only added, not subtracted, and thus, the loss and loss of the whole data of the enterprise from the perspective of the department during the production process of the long chain are avoided.
Meanwhile, the E-PBOM reserves the association relationship among the data. The E-PBOM is constructed progressively along the business process. Starting from the EBOM at the product design stage, a basic data system is constructed. With the development and the promotion of business processes, newly generated data items are only added on the basic data system. The position of the data item, namely the entry in the EBOM, is increased, that is, the newly generated data item is added to the part corresponding to the data item, so that the data context association relationship is naturally implied in the E-PBOM. This relationship can be used as a clue to build a data hierarchy, chaining the entire enterprise-level data hierarchy.
In order to execute the corresponding steps in the above embodiments and various possible manners, an implementation manner of the data processing apparatus 200 is given below, and optionally, the data processing apparatus 200 may adopt the device structure of the electronic device 100 shown in fig. 1. Further, referring to fig. 5, fig. 5 is a block diagram illustrating a data processing apparatus 200 according to an embodiment of the present disclosure. It should be noted that the basic principle and the generated technical effect of the data processing apparatus 200 provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and corresponding contents in the above embodiments may be referred to. The data processing apparatus 200 may include: a file acquisition module 210, an information acquisition module 220, and a save module 230.
The file obtaining module 210 is configured to obtain an EBOM engineering bill of material file and a PPBOM process bill of material file of a target product.
The information obtaining module 220 is configured to determine target components included in the target product according to the EBOM file, and obtain first attribute information of each target component from the EBOM file.
The information obtaining module 220 is further configured to obtain second attribute information of each target component based on the PPBOM file, where the second attribute information includes process description information of a target process corresponding to the target component and state description information of the target component before and after the target process is implemented.
The saving module 230 is configured to correspondingly save the target component and the first attribute information and the second attribute information corresponding to the target component.
Optionally, in this embodiment, the information obtaining module 220 is further configured to obtain the correlation between the target components from the EBOM file. The saving module 230 is specifically configured to: correspondingly storing each target part, the first attribute information and the second attribute information corresponding to the target part, and storing the mutual relation among the target parts.
Alternatively, the modules may be stored in the memory 110 shown in fig. 1 in the form of software or Firmware (Firmware) or may be fixed in an Operating System (OS) of the electronic device 100, and may be executed by the processor 120 in fig. 1. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 110.
An embodiment of the present application further provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the data processing method.
To sum up, the embodiment of the present application provides a data processing method, an apparatus, an electronic device, and a readable storage medium, which determine target components included in a target product according to an EBOM file of the target product, and obtain first attribute information of each target component from the EBOM file; obtaining second attribute information of each target part based on a PPBOM file of a target product, wherein the second attribute information comprises process description information of a target process corresponding to the target part and state description information of the target part before and after the target process is implemented; and finally, correspondingly storing the target part and the first attribute information and the second attribute information corresponding to the target part. Therefore, the target part, the first attribute information of the target part obtained from the EBOM file and the second attribute information of the target part related to the process and obtained based on the PPBOM file are correspondingly stored, so that the data consanguinity and association caused by the process can be embodied in the constructed data system, and the association and communication between the EBOM and PPBOM data systems are realized.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:数据存储及查询方法、装置及数据库系统