Methods, devices, electronic equipment and storage media for tracing material change history

By receiving material traceability requests, obtaining coded values, and identifying change history, the system solves the problems of low efficiency and poor accuracy caused by manual operation in material management, and achieves efficient and accurate traceability of material management.

CN115345558BActive Publication Date: 2026-03-13CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, material management relies on manual operation, which increases the difficulty of management as the quantity of materials increases, resulting in low work efficiency and poor accuracy.

Method used

By receiving material traceability requests, obtaining the material's code value, retrieving change history from a preset material pool, identifying change history, and tracing the material change history, an accurate bill of materials is generated using a code value association and update mechanism.

Benefits of technology

It improves the accuracy and efficiency of material management, helps to quickly generate complete bills of materials, and reduces errors and management difficulties caused by manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115345558B_ABST
    Figure CN115345558B_ABST
Patent Text Reader

Abstract

This application relates to the field of material change technology, and particularly to a method, apparatus, electronic device, and storage medium for tracing material change history. The method includes: receiving a traceability request for a target material; obtaining a first code value for the target material based on the traceability request, and obtaining the change history of the target material from a preset material pool based on the first code value, wherein the change history is generated based on a second code value associated with the first code value in the preset material pool; identifying the change history to obtain the change history of the target material, thereby achieving traceability of the target material's change history. This solves the problem in related technologies where material management relies on manual operation for material information entry and other recording, leading to increased management difficulty with the increase in the number of materials, low work efficiency, and poor accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of material change technology, and in particular to a method, apparatus, electronic device and storage medium for tracing material change history. Background Technology

[0002] Materials refer to the total amount of goods that an enterprise needs to prepare to achieve its production goals, including raw materials, auxiliary materials, accessories, tools, and work-in-process. Materials are the basic elements of enterprise production. Materials management, guided by the enterprise's goals, ensures the rationality, timeliness, and economy of material supply, providing a foundation for the normal operation of enterprise production.

[0003] The material management model of related technologies is usually based on manual material management by material management personnel, who manually enter material information and make other records. However, the difficulty of material management increases with the increase in the quantity of materials, which is not conducive to the work, has low work efficiency, and is prone to data errors or loss, resulting in poor accuracy. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and storage medium for tracing material change history, in order to solve the problems in related technologies where material management relies on manual operation for material information entry and other records, which increases the management difficulty as the quantity of materials increases, resulting in low work efficiency and poor accuracy.

[0005] The first aspect of this application provides a method for tracing the change history of a material, comprising the following steps: receiving a traceability request for a target material; obtaining a first code value of the target material according to the traceability request, and obtaining the change history of the target material from a preset material pool according to the first code value, wherein the change history is generated based on a second code value associated with the first code value in the preset material pool; identifying the change history to obtain the change history of the target material, thereby realizing the traceability of the change history of the target material.

[0006] Optionally, in one embodiment of this application, the change history is generated based on a second code value associated with the first code value in the preset material pool, including: associating the first code value with the second code value of the target material in the preset material pool; when any feature change in the feature set of the target material is detected, updating the initial second code value to obtain a new second code value, and associating the new second code value with the first code value; generating the change history based on the initial second code value and all new second code values.

[0007] Optionally, in one embodiment of this application, after associating the new second encoded value with the first encoded value, the method further includes: associating the new second encoded value with the changed feature value set, and replacing the second encoded value with the new second encoded value.

[0008] Optionally, in one embodiment of this application, before replacing the second code value with the new second code value, the method further includes: detecting whether there is any second code value associated with the first code value in the preset material pool; if there is any second code value associated with the first code value in the preset material pool, then replacing the second code value with the new second code value; otherwise, generating a material addition prompt.

[0009] Optionally, in one embodiment of this application, before replacing the second encoding value with the new second encoding value, the method further includes: detecting whether any feature value in the feature value set is the same as its changed feature value; if the any feature value is the same as its changed feature value, then generating a preset alarm prompt.

[0010] Optionally, in one embodiment of this application, before associating the first encoded value with the second encoded value of the target material in a preset material pool, the method includes: extracting a third encoded value generated when any material is associated with the preset material pool; matching the feature value set of the arbitrary material according to the third encoded value, and extracting a type subset within the feature value set; capturing a type subset with the same material type to generate the preset material pool.

[0011] Optionally, in one embodiment of this application, after updating the initial second coding value and obtaining a new second coding value when any feature change in the feature set of the target material is detected, the method further includes: when the target material in the preset material pool becomes effective again after being invalidated, obtaining the first coding value of the target material corresponding to the updated second coding value, and obtaining the second coding value associated with the first coding value in the preset material pool; when the second coding value becomes effective and there is an updated feature set in the feature value set associated with the second coding value, replacing the updated feature value set associated with the updated second coding value with the feature value set associated with the second coding value; when the second coding value becomes effective and there are multiple updated feature sets in the feature value set associated with the second coding value, obtaining the updated feature set corresponding to the last updated second coding value, and replacing the updated feature set corresponding to the last updated second coding value with the feature set associated with the second coding value.

[0012] A second aspect of this application provides a material change history traceability device, comprising: a receiving module for receiving a traceability request for a target material; an acquisition module for acquiring a first code value of the target material according to the traceability request, and acquiring the change history of the target material from a preset material pool according to the first code value, wherein the change history is generated based on a second code value associated with the first code value in the preset material pool; and an identification module for identifying the change history to obtain the change history of the target material, thereby realizing the traceability of the change history of the target material.

[0013] Optionally, in one embodiment of this application, the acquisition module includes: a first association unit, configured to associate the first encoding value with the second encoding value of the target material in a preset material pool; when any feature change in the feature set of the target material is detected, update the initial second encoding value to obtain a new second encoding value, and associate the new second encoding value with the first encoding value; and a first generation unit, configured to generate the change history based on the initial second encoding value and all new second encoding values.

[0014] Optionally, in one embodiment of this application, it further includes: a second association unit, configured to associate the new second encoded value with the modified feature value set after associating the new second encoded value with the first encoded value, and replace the second encoded value with the new second encoded value.

[0015] Optionally, in one embodiment of this application, it further includes: a processing unit, configured to detect whether any second code value associated with the first code value exists in the preset material pool before replacing the second code value with the new second code value; if any second code value associated with the first code value exists in the preset material pool, then the second code value is replaced with the new second code value; otherwise, a material addition prompt is generated.

[0016] Optionally, in one embodiment of this application, it further includes: a second generation unit, configured to detect whether any feature value in the feature value set is the same as its changed feature value before replacing the second code value with the new second code value; if the any feature value is the same as its changed feature value, then generate a preset alarm prompt.

[0017] Optionally, in one embodiment of this application, it further includes: a third generation unit, configured to: extract a third code value generated when any material is associated with the preset material pool before associating the first code value with the second code value of the target material in the preset material pool; match the feature value set of the arbitrary material according to the third code value, and extract a type subset within the feature value set; capture a type subset with the same material type, and generate the preset material pool.

[0018] Optionally, in one embodiment of this application, it further includes: a replacement unit, configured to update the initial second coding value when any feature change in the feature set of the target material is detected, and after obtaining a new second coding value, when the target material in the preset material pool becomes effective again after being invalidated, obtain the first coding value of the target material corresponding to the updated second coding value, and obtain the second coding value associated with the first coding value in the preset material pool; when the second coding value becomes effective and there is an updated feature set in the feature value set associated with the second coding value, replace the updated feature set associated with the updated second coding value with the feature set associated with the second coding value; when the second coding value becomes effective and there are multiple updated feature sets in the feature value set associated with the second coding value, obtain the updated feature set corresponding to the last updated second coding value, and replace the updated feature set corresponding to the last updated second coding value with the feature set associated with the second coding value.

[0019] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to perform a material change history tracing method as described in the above embodiments.

[0020] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to perform the material change history tracing method as described in the above embodiments.

[0021] Therefore, this application has at least the following beneficial effects:

[0022] Based on the traceability request for the target material, the system obtains the target material's code value and retrieves its change history from the material pool. Identifying the change history reveals the target material's change history, enabling traceability of its changes. This facilitates the rapid generation of a complete bill of materials for the product, assists material management personnel in material inspection, and improves the accuracy of material management. Therefore, it solves the problems of manual material information entry and other recording in related technologies, which lead to increased management difficulty with the increase in the number of materials, resulting in low work efficiency and poor accuracy.

[0023] Additional aspects and advantages of this application 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 this application. Attached Figure Description

[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0025] Figure 1 This is a flowchart illustrating a material change history tracing method provided according to an embodiment of this application;

[0026] Figure 2 This is a schematic diagram of a material change history tracing method provided according to an embodiment of this application;

[0027] Figure 3 This is a block diagram of a material change history traceability device provided according to an embodiment of this application;

[0028] Figure 4 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application.

[0029] Explanation of reference numerals in the attached drawings: Receive module-100, Acquisition module-200, Identification module-300, Memory-401, Processor-402, Communication interface-403. Detailed Implementation

[0030] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0031] The following description, with reference to the accompanying drawings, outlines a method, apparatus, electronic device, and storage medium for tracing material change history according to embodiments of this application. Addressing the problems mentioned in the background section, this application provides a method for tracing material change history. In this method, the code value of the target material is obtained based on the traceability request, and the change history of the target material is retrieved from the material pool based on the code value. The change history is then identified to obtain the change history of the target material, enabling traceability of the target material's change history. This method can assist in quickly generating a complete bill of materials for a product, assist material management personnel in checking materials, and improve the accuracy of material management. Therefore, it solves the problems in related technologies where material management relies on manual operation for material information entry and other records, leading to increased management difficulty with the increase in the number of materials, low work efficiency, and poor accuracy.

[0032] Specifically, Figure 1 This is a flowchart illustrating a method for tracing material change history provided in an embodiment of this application.

[0033] like Figure 1 As shown, the traceability method for this material change history includes the following steps:

[0034] In step S101, a traceability request for the target material is received.

[0035] It is understood that materials are the basic elements of production. The target materials in this application embodiment can be understood as the designated raw materials used for production on the production line, which may include raw materials, auxiliary materials, accessories, tools, etc. During the production process, raw materials need to be transferred, prepared, mixed, and fed into the production line. This application embodiment can first receive the traceability request of the target materials, and then, based on the traceability request, can assist in quickly generating a complete bill of materials for the product, assist material management personnel in checking materials, and improve work efficiency.

[0036] In step S102, the first code value of the target material is obtained according to the traceability request, and the change history of the target material is obtained from the preset material pool according to the first code value, wherein the change history is generated based on the second code value associated with the first code value in the preset material pool.

[0037] In step S103, the change history of the target material is identified to achieve traceability of the change history of the target material.

[0038] The preset material pool in this embodiment can record the change history of all materials throughout their entire lifecycle within the material pool. Specifically, after receiving a traceability request for a target material, this embodiment can generate an ITEM ID for the target material. This embodiment can effectively trace the material within the material pool using the ITEM ID value. Simultaneously, using EBOM IDn, EBOM IDn+1, EBOM IDn+2, ..., EBOM IDn+m values, the change history of the material throughout its entire lifecycle within the material pool can be recorded, obtaining the feature value set corresponding to a specific stage. The combination of these two methods ultimately achieves rapid traceability of the material's change history. This ensures the accuracy and precision of the traceability information, further improving work efficiency.

[0039] In one embodiment of this application, the change history is generated based on a second code value associated with a first code value in a preset material pool, including: associating the first code value with the second code value of the target material in the preset material pool; when any feature change in the feature set of the target material is detected, updating the initial second code value to obtain a new second code value, and associating the new second code value with the first code value; and generating a change history based on the initial second code value and all new second code values.

[0040] Specifically, taking the material management of complete vehicle parts in the automotive industry as an example; a certain vehicle model uses hexagonal flange bolts to assemble the headlight assembly onto the body-in-white assembly. When this bolt enters the material pool of this vehicle model, the system automatically assigns an ITEM ID to the bolt and generates an EBOM IDn based on the bolt's corresponding feature value set. When the number of bolts changes from 3 to 2, a new second code value, EBOM IDn+1, is generated. Through EBOM IDn, EBOM IDn+1, EBOM IDn+2, ..., EBOM IDn+m, the change history of the material throughout its entire lifecycle within the EBOM target pool can be recorded. EBOM IDn+2 is the new second code value of EBOM IDn+1.

[0041] In one embodiment of this application, after associating the new second encoded value with the first encoded value, the method further includes: associating the new second encoded value with the changed feature value set, and replacing the second encoded value with the new second encoded value.

[0042] Specifically, after obtaining a new second encoding value based on the above embodiments and associating the new second encoding value with the first encoding value, the embodiments of this application can associate EBOM IDn+1 with the modified feature value set; at the same time, EBOM IDn+1 replaces EBOM IDn, and EBOM IDn+1 is associated with ITEM ID.

[0043] In one embodiment of this application, before replacing the second encoding value with the new second encoding value, the method further includes: detecting whether any feature value in the feature value set is the same as its changed feature value; if any feature value is the same as its changed feature value, then generating a preset alarm prompt.

[0044] It is understood that changes to at least one feature value within the feature value set corresponding to the ITEM ID in this application embodiment include both feature value increases and feature value decreases. Taking the material management of complete vehicle parts in the automotive industry as an example, when materials with the same feature value set exist in the target pool, such as left front headlight assemblies with the same material number, quantity, and applicable vehicle configuration, an alarm message will be generated. The alarm prompt can be specifically set according to the actual situation, such as a beeping sound or voice reminder; however, no specific limitation is made.

[0045] As another possible implementation, an alarm message is generated if at least one feature value in the feature value set changes, and the generated EBOMIDn+1 is the same as any EBOM IDn in the EBOM target pool. For example, in the material pool, if the number of hexagonal flange bolts changes from 2 to 2, and other feature values ​​remain unchanged, an alarm message is generated if the generated EBOM IDn+1 corresponding to this ITEM ID is the same as EBOMIDn.

[0046] In one embodiment of this application, before replacing the second code value with the new second code value, the method further includes: detecting whether there is any second code value associated with the first code value in the preset material pool; if there is any second code value associated with the first code value in the preset material pool, then replacing the second code value with the new second code value; otherwise, generating a material addition prompt.

[0047] It is understood that, in this embodiment of the application, the need to update or add a target material can be determined by any second code value associated with the first code value in the material pool. If such an operation exists, the second code value can be replaced with a new second code value to update the target material, ensuring the accuracy and precision of the traceability information. If such an operation does not exist, an alarm message will be generated, and a prompt will be made to add the material.

[0048] For example, in the automotive industry's whole vehicle parts material management, if a certain model's EBOM target pool does not contain the ITEM ID and EBOMIDn of hexagonal flange bolts, and if a new enlarged series of hexagonal flange bolts is added, and it is desired to record that the enlarged series of hexagonal flange bolts is a change from the hexagonal flange bolts, an alarm message will be generated, and the operation of adding materials can be performed to facilitate subsequent management.

[0049] Furthermore, when adding materials to the material pool, this embodiment of the application can define all the characteristic values ​​of the materials according to the business rules to form a characteristic value set. At this time, an ITEM ID is generated, and an EBOM IDn is generated at the same time. This ID is associated with the characteristic set of the material. If a material with the same characteristic value set already exists in the material pool, an alarm message is generated.

[0050] In one embodiment of this application, after updating the initial second coding value and obtaining a new second coding value when any feature change in the feature set of the target material is detected, the method further includes: when the target material in the preset material pool becomes effective again after being invalidated, obtaining the first coding value of the target material corresponding to the updated second coding value, and obtaining the second coding value associated with the first coding value in the preset material pool; when the second coding value becomes effective and there is an updated feature set in the feature value set associated with the second coding value, replacing the updated feature value set associated with the updated second coding value with the feature value set associated with the second coding value; when the second coding value becomes effective and there are multiple updated feature sets in the feature value set associated with the second coding value, obtaining the updated feature set corresponding to the last updated second coding value, and replacing the updated feature set corresponding to the last updated second coding value with the feature value set associated with the second coding value.

[0051] Specifically, when the replaced EBOM IDn in the EBOM target pool needs to be reactivated, obtain the ITEM ID corresponding to EBOM IDn+1;

[0052] Obtain the EBOM IDn associated with the ITEM ID in the EBOM target pool. When EBOM IDn is effective, the feature set corresponding to EBOM IDn replaces the feature set of EBOM IDn+1, and the feature set corresponding to EBOM IDn is marked as EBOM IDn+1, and EBOM IDn+1 is marked as EBOM Dn+1-1.

[0053] Obtain the EBOM IDn associated with the ITEM ID in the EBOM target pool. When EBOM IDn is effective and the ITEM ID is associated with EBOM IDn+m in the material pool, where m≥2, obtain the feature value set corresponding to EBOM IDn+m. If the feature value set corresponding to EBOM IDn+m is the same as the unchanged feature value set, replace the feature value set of EBOM IDn+m with the feature value set of EBOM IDn, and mark EBOM IDn+m as EBOM IDn+m-1.

[0054] Taking the hexagonal flange bolt as an example, when the material fails and needs to be reactivated, first obtain the ITEM ID corresponding to the material failure EBOM IDn+1, and then write all the feature value sets of the bolt corresponding to EBOM IDn+1 according to the EBOM ID associated with the ITEM ID in the EBOM target pool.

[0055] In one embodiment of this application, before associating the first encoded value with the second encoded value of the target material in a preset material pool, the method includes: extracting a third encoded value generated when any material is associated with the preset material pool; matching the feature value set of any material according to the third encoded value, and extracting a type subset within the feature value set; capturing a type subset with the same material type, and generating a preset material pool.

[0056] It is understood that the embodiments of this application can extract the feature value set within the EBOM associated generation EBOM IDn, and extract the type subset within the feature value set; the EBOM IDn corresponding to the same type subset is captured to form a material pool.

[0057] Taking the material management of complete vehicle parts in the automotive industry as an example, all materials required for a vehicle model are defined, such as fasteners, sheet metal parts, interior parts, exterior parts, and electronic and electrical components. At this time, ITEM ID is generated, and EBOM IDn is generated at the same time, ultimately forming a complete material target pool for the vehicle model.

[0058] The material change history tracing method proposed in this application obtains the code value of the target material based on the traceability request, and retrieves the change history of the target material from the material pool based on the code value. By identifying the change history, the change history of the target material is obtained, thus achieving traceability of the target material's change history. This method can assist in quickly generating a complete bill of materials for a product, assist material management personnel in checking materials, and improve the accuracy of material management. Therefore, it solves the problems in related technologies where material management relies on manual operation for material information entry and other records, leading to increased management difficulty with the increase in the number of materials, low work efficiency, and poor accuracy.

[0059] The material change history tracing method of this application embodiment will be described in detail below through specific examples, such as... Figure 2 As shown, it includes the following steps:

[0060] (1) Generate an ITEM ID and associate it with an EBOM to generate an EBOM IDn, where n≥1; if at least one feature value in the feature value set corresponding to the ITEM ID changes, generate an EBOM IDn+1 and associate the EBOM IDn+1 with the modified feature value set; replace the EBOM IDn with the EBOM IDn and associate the EBOM IDn+1 with the ITEM ID.

[0061] (2) Extract the feature set within the EBOM associated EBOM IDn, and extract the type subset within the feature set; capture the EBOM IDn corresponding to the same type subset to form the EBOM target pool; generate alarm information when the ITEM ID corresponding to EBOM IDn+1 has no associated EBOM IDn in the EBOM target pool.

[0062] (3) If at least one feature value in the feature value set changes, and the generated EBOM IDn+1 is the same as any EBOM IDn in the EBOM target pool, an alarm message is generated.

[0063] Next, referring to the accompanying drawings, a material change history traceability device is described according to an embodiment of this application.

[0064] Figure 3 This is a block diagram of a material change history traceability device according to an embodiment of this application.

[0065] like Figure 3 As shown, the material change history traceability device 10 includes: a receiving module 100, an acquisition module 200, and an identification module 300.

[0066] The receiving module 100 is used to receive a traceability request for the target material; the obtaining module 200 is used to obtain the first code value of the target material according to the traceability request, and obtain the change history of the target material from the preset material pool according to the first code value, wherein the change history is generated based on the second code value associated with the first code value in the preset material pool; the identification module 300 is used to identify the change history to obtain the change history of the target material, thereby realizing the traceability of the change history of the target material.

[0067] In one embodiment of this application, the acquisition module 200 includes: a first association unit and a first generation unit.

[0068] The first association unit is used to associate the first code value with the second code value of the target material in the preset material pool; when any feature change in the feature set of the target material is detected, the initial second code value is updated to obtain a new second code value, and the new second code value is associated with the first code value; the first generation unit is used to generate a change history based on the initial second code value and all new second code values.

[0069] In one embodiment of this application, the apparatus 10 further includes: a second association unit, configured to associate the new second encoding value with the changed feature value set after associating the new second encoding value with the first encoding value, and replace the second encoding value with the new second encoding value.

[0070] In one embodiment of this application, the apparatus 10 further includes: a processing unit, configured to detect whether any second code value associated with the first code value exists in a preset material pool before replacing the second code value with a new second code value; if any second code value associated with the first code value exists in the preset material pool, then the second code value is replaced with a new second code value; otherwise, a material addition prompt is generated.

[0071] In one embodiment of this application, the apparatus 10 further includes: a second generation unit, configured to detect whether any feature value in the feature value set is the same as its changed feature value before replacing the second code value with a new second code value; if any feature value is the same as its changed feature value, then generate a preset alarm prompt.

[0072] In one embodiment of this application, the apparatus 10 further includes: a third generation unit, configured to: extract a third code value generated when any material is associated with the preset material pool before associating the first code value with the second code value of the target material in the preset material pool; match the feature value set of any material according to the third code value, and extract a type subset within the feature value set; capture the type subset with the same material type, and generate the preset material pool.

[0073] In one embodiment of this application, the apparatus 10 further includes: a replacement unit, configured to update an initial second coding value when any feature change in the feature set of the target material is detected, and after obtaining a new second coding value, when the target material in the preset material pool becomes effective again after being invalidated, obtain the first coding value of the target material corresponding to the updated second coding value, and obtain the second coding value associated with the first coding value in the preset material pool; when the second coding value becomes effective and there is an updated feature set in the feature value set associated with the second coding value, replace the updated feature value set associated with the updated second coding value with the feature value set associated with the second coding value; when the second coding value becomes effective and there are multiple updated feature sets in the feature value set associated with the second coding value, obtain the updated feature set corresponding to the last updated second coding value, and replace the updated feature set corresponding to the last updated second coding value with the feature value set associated with the second coding value.

[0074] It should be noted that the explanation of the aforementioned method embodiment for tracing the material change history also applies to the material change history tracing device of this embodiment, and will not be repeated here.

[0075] The material change history traceability device proposed in this application obtains the code value of the target material based on the traceability request of the target material, and retrieves the change history of the target material from the material pool based on the code value. By identifying the change history, the device obtains the change history of the target material, thus achieving traceability of the target material's change history. This assists in quickly generating a complete bill of materials for a product, helps material management personnel check materials, and improves the accuracy of material management. Therefore, it solves the problems in related technologies where material management relies on manual operation for material information entry and other records, leading to increased management difficulty with the increase in the number of materials, low work efficiency, and poor accuracy.

[0076] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:

[0077] The memory 401, the processor 402, and the computer program stored on the memory 401 and capable of running on the processor 402.

[0078] When the processor 402 executes the program, it implements the material change history tracing method provided in the above embodiments.

[0079] Furthermore, electronic devices also include:

[0080] Communication interface 403 is used for communication between memory 401 and processor 402.

[0081] The memory 401 is used to store computer programs that can run on the processor 402.

[0082] The memory 401 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.

[0083] If the memory 401, processor 402, and communication interface 403 are implemented independently, then the communication interface 403, memory 401, and processor 402 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0084] Optionally, in a specific implementation, if the memory 401, processor 402, and communication interface 403 are integrated on a single chip, then the memory 401, processor 402, and communication interface 403 can communicate with each other through an internal interface.

[0085] Processor 402 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of this application.

[0086] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described material change history tracing method.

[0087] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0088] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0089] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0090] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.

[0091] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

Claims

1. A material change history traceability method characterized by, The method comprises the following steps: receiving a traceability request of a target material; obtaining a first code value of the target material according to the traceability request, and obtaining a change history of the target material from a preset material pool according to the first code value, wherein the change history is generated based on a second code value associated with the first code value in the preset material pool; identifying the change history of the target material from the change history, and realizing the traceability of the change history of the target material; the change history is generated based on the second code value associated with the first code value in the preset material pool, comprising: associating the first code value with the second code value of the target material in the preset material pool; when detecting that any feature in the feature set of the target material is changed, updating the initial second code value to obtain a new second code value, and associating the new second code value with the first code value; generating the change history based on the initial second code value and all new second code values; before associating the first code value with the second code value of the target material in the preset material pool, comprising: extracting a third code value generated when associating the preset material pool with any material; matching the feature value set of the any material according to the third code value, and extracting a type subset in the feature value set; grabbing the type subset with the same material type to generate the preset material pool.

2. The method of claim 1, wherein, after associating the new second code value with the first code value, further comprising: associating the new second code value with the changed feature value set, and replacing the second code value with the new second code value.

3. The method of claim 2, wherein, before replacing the second code value with the new second code value, further comprising: detecting whether there is any second code value associated with the first code value in the preset material pool; if there is any second code value associated with the first code value in the preset material pool, replacing the second code value with the new second code value, otherwise generating a material addition prompt.

4. The method of claim 2, wherein, before replacing the second code value with the new second code value, further comprising: detecting whether any feature value in the feature value set is the same as the feature value after the change; if the any feature value is the same as the feature value after the change, generating a preset alarm prompt.

5. The method of claim 1, wherein, after updating the initial second code value to obtain the new second code value when detecting that any feature in the feature set of the target material is changed, further comprising: when the target material is reactivated after being deactivated in the preset material pool, obtaining the first code value of the target material corresponding to the updated second code value, and obtaining the second code value associated with the first code value in the preset material pool; when the second code value is activated, and the feature value set associated with the second code value has an updated feature set, replacing the updated feature value set associated with the updated second code value with the feature value set associated with the second code value; When the second encoding value takes effect and there are multiple updated feature sets of the feature value set associated with the second encoding value, an updated feature set corresponding to the last updated second encoding value is obtained, and the feature value set associated with the second encoding value is used to replace the updated feature set corresponding to the last updated second encoding value.

6. A material change history tracing device characterized by comprising: Comprise: The receiving module is used for receiving a traceability request of a target material; The obtaining module is used for obtaining a first encoding value of the target material according to the traceability request, and obtaining a change history of the target material from a preset material pool according to the first encoding value, wherein the change history is generated based on a second encoding value associated with the first encoding value in the preset material pool; The identification module is used for identifying a change history of the target material from the change history, and realizing traceability of the change history of the target material; The obtaining module comprises a first association unit and a first generation unit, wherein the first association unit is used for associating the first encoding value with a second encoding value of the target material in a preset material pool; when detecting that any feature in a feature set of the target material is changed, updating an initial second encoding value to obtain a new second encoding value, and associating the new second encoding value with the first encoding value; the first generation unit is used for generating the change history based on the initial second encoding value and all new second encoding values; The third generation unit is used for extracting a third encoding value generated when associating any material with the preset material pool before associating the first encoding value with the second encoding value of the target material in the preset material pool; matching a feature value set of the any material according to the third encoding value, and extracting a type subset in the feature value set; grabbing type subsets with the same material type, and generating the preset material pool.

7. An electronic device, comprising: Comprise: A memory, a processor and a computer program stored on the memory and executable on the processor, the processor executes the program to realize the traceability method of the material change history according to any one of claims 1-5.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to realize the traceability method of the material change history according to any one of claims 1-5.

Citation Information

Patent Citations

  • Method and device for changing bill of materials, equipment and storage medium

    CN112862399A

  • Information processing method and device, electronic equipment and storage medium

    CN114647676A