A method and system for identifying material codes in a production workshop
By identifying the digits and the first serial number of the material code, combined with special characters and barcodes, the problem of multiple numbers for the same material in the production workshop is solved, and management efficiency is improved.
Patent Information
- Application Number
- CN202210460248.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-04-28
AI Technical Summary
The phenomenon of multiple material codes for one item in the production workshop leads to reduced management efficiency.
By obtaining the coding digits of the material code, it is determined whether it exceeds the preset digits. If it exceeds, it is a defined code. The material type is classified according to the first serial number of the defined code, and the workshop to which the material belongs is confirmed by combining special characters and barcodes to identify the corresponding material code.
It effectively avoids the problem of multiple numbers for one material and improves the production efficiency of the production workshop.
Smart Images

Figure CN114997203B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data identification, and in particular to a method and system for identifying material codes in a production workshop. Background Art
[0002] Material codes are usually in the form of a string of numbers or other English characters. They are the "unique identifiers" that all companies that implement information management must establish in the computer system for each different material they use to ensure that managed materials can be correctly distinguished.
[0003] For example, the application number "CN201310123796.5" discloses a material coding management method and system, the steps of which include: an initialization step, an information entry step, and an information extraction step, wherein the initialization step is to preset a material coding dictionary library; the information entry step is to enter the specific content of each code segment according to the coding rules in the dictionary library, and describe each code segment; the information extraction step is to extract the material coding dictionary library information in sections, and combine them to obtain a unique legal identity identification material code and archive it.
[0004] However, the number of materials that need to be managed by the information system is quite large. There are many different application workshops in existing enterprises. Various workshops naturally have various corresponding codes, such as production workshops focusing on production, management workshops focusing on management, or pilot workshops focusing on chemical engineering. Depending on the scale of the workshop, the number of codes can range from tens of thousands to millions. As a result, it is easy for production workshops to have multiple material codes for one item, which reduces the production efficiency of the production workshops. Summary of the Invention
[0005] The present invention aims to solve the problem that a material in a production workshop may have multiple numbers for one item, thereby reducing the management efficiency of the production workshop, and provides a method and system for identifying material codes in a production workshop.
[0006] The present invention adopts the following technical means to solve the technical problem:
[0007] The present invention provides a method for identifying material codes in a production workshop, comprising:
[0008] Obtaining a first material code required for identification, wherein the first material code includes material codes of all workshops;
[0009] Determining whether the first material code exceeds a preset code digit;
[0010] If yes, then the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a certain meaning to the material;
[0011] Classify the corresponding material type according to the first serial number of the assigned code, wherein the material types include finished products, parts, raw materials, purchased materials, and consumables;
[0012] Determine whether the material type corresponds to the material in the production workshop;
[0013] If they correspond, the material type required for material identification of the production workshop is used to obtain a second material code corresponding to the material type, wherein the second material code includes the material code of the production workshop.
[0014] Furthermore, before the step of assigning the meaning of the first material code, the method includes:
[0015] Add special characters to the first material code according to the different types of materials entering the warehouse;
[0016] Determine whether the special character matches a preset meaning code;
[0017] If so, the status corresponding to the first material code is confirmed according to the special character, and the status includes finished product and semi-finished product.
[0018] Furthermore, before the step of determining whether the first material code exceeds a preset code digit, the method includes:
[0019] Obtain the coding serial number of the material code;
[0020] Determining whether the coded sequence number is greater than a preset common sequence number;
[0021] If so, the material code corresponding to the coding serial number is the incoming variety; if not, the material code corresponding to the coding serial number is the outgoing variety.
[0022] Furthermore, after the step of determining whether the first material code exceeds a preset code digit, the method further includes:
[0023] If not, the material code belongs to an existing code, wherein the existing code is specifically an existing code resource in the production workshop;
[0024] Determine whether the material corresponding to the existing code belongs to the material type to be discharged;
[0025] If yes, then the material of the output type does not belong to the production workshop.
[0026] Furthermore, if not, the material coding belongs to the steps of existing coding, including:
[0027] Obtain the code tail number in the existing code;
[0028] Determining whether the suffix of the code matches a preset fixed suffix;
[0029] If so, confirm that the existing code is the material recorded in the production workshop.
[0030] Furthermore, the step of obtaining a second material code corresponding to the material type according to the material type identification of the production workshop includes:
[0031] Obtain the barcode corresponding to the material belonging to the production workshop;
[0032] Determining whether the barcode conforms to a preset bar shape;
[0033] If so, the materials belonging to the production workshop meet the corresponding material codes.
[0034] Furthermore, the step of obtaining the barcode corresponding to the material belonging to the production workshop includes:
[0035] Scan the materials in the production workshop using a preset image scanning device to obtain the coding sequence of the materials;
[0036] Determine whether the coding sequence of the materials complies with the preset coding rules;
[0037] If so, the barcode of the material matches the information of the corresponding material.
[0038] Furthermore, the step of determining whether the material type corresponds to the material belonging to the production workshop includes:
[0039] Scanning the material type using a preset image scanning device;
[0040] Determine whether the material type matches the material type image preset in the production workshop;
[0041] If so, the production workshop has the materials corresponding to the material type.
[0042] Furthermore, the step of obtaining the first material code required for identification includes:
[0043] Determining whether the first material code belongs to a preset coding format;
[0044] If so, obtain the material variety corresponding to the first material code, and the material variety includes the incoming variety and the outgoing variety.
[0045] The present invention also provides a production workshop material coding system, comprising:
[0046] A first acquisition module is used to acquire a first material code required for identification, wherein the first material code includes material codes of all workshops;
[0047] A first determination module, configured to determine whether the first material code exceeds a preset code digit;
[0048] a first execution module, configured to determine that if yes, the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a material a certain meaning;
[0049] A first classification module is used to classify the corresponding material according to the first serial number of the assigned code, wherein the material types include finished products, parts, raw materials, purchased materials and consumables;
[0050] The second judgment module is used to judge whether the material type corresponds to the material belonging to the production workshop;
[0051] The second execution module is used to obtain a second material code corresponding to the material type according to the material identification required by the material belonging to the production workshop, if corresponding, wherein the second material code includes the material code of the production workshop.
[0052] The present invention provides a method and system for identifying material codes in a production workshop, which has the following beneficial effects:
[0053] The present invention obtains the coding digits of the material code that needs to be identified, determines the coding digit length of the material code, and then confirms whether the material type belongs to the production workshop based on the material type corresponding to the first serial number of the material code, effectively avoiding the situation where the material code has multiple numbers for one item, and improving the production efficiency of the production workshop. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic flow chart of an embodiment of a method for identifying material codes in a production workshop according to the present invention;
[0055] Figure 2 This is a structural block diagram of an embodiment of the material coding identification system for a production workshop of the present invention. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The implementation, functional features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
[0057] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0058] Reference Attachment Figure 1 , a method for identifying material codes in a production workshop in one embodiment of the present invention, comprising:
[0059] S1: Obtain a first material code to be identified, wherein the first material code includes material codes of all workshops;
[0060] S2: Determine whether the first material code exceeds the preset code digits;
[0061] S3: If yes, then the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a certain meaning to the material;
[0062] S4: Classify the corresponding material according to the first serial number of the assigned code, wherein the material categories include finished products, parts, raw materials, purchased materials, and consumables;
[0063] S5: Determine whether the material type corresponds to the material belonging to the production workshop;
[0064] S6: If it corresponds, then obtain the material type required according to the material identification of the production workshop, and obtain a second material code corresponding to the material type, wherein the second material code includes the material code of the production workshop.
[0065] In this embodiment, the enterprise system obtains the first material code currently required for identification, that is, the material code of all workshops, wherein all workshops of the enterprise include, for example: a production workshop focusing on production, a management workshop focusing on management, or a pilot workshop focusing on chemical engineering; it determines whether the digits of the first material code are greater than the digits of the code preset by the enterprise system, for example, the digits of this material code are 10 digits, 5135632541, while the digits of the common material code preset by the enterprise system are 8 digits, that is, this material code exceeds the common code preset by the enterprise system, and belongs to the special material code of the workshop of the enterprise system, that is, the assigned code set by the workshop, which is 2 digits more than the common material code preset by the enterprise system; the assigned code set by the workshop corresponds to certain specific materials, and the corresponding material type is classified according to the first serial number of the assigned code, for example, the beginning digit is The material type corresponding to the material code starting with 5 is consumable, the material type corresponding to the material code starting with 4 is purchased, for example, the material type corresponding to the material code starting with 3 is raw material, for example, the material type corresponding to the material code starting with 2 is parts, for example, the material type corresponding to the material code starting with 1 is finished product; the enterprise system determines whether these material types belong to the material types of the production workshop, and obtains the material code corresponding to the material type according to the material identification of the production workshop; for example, the material codes of consumables and parts belong to the production workshop, while the finished product, raw materials and purchased categories belong to the material codes of the management workshop. The enterprise system uses the material code of the production workshop, that is, the serial starting digit of the second material code, to obtain the material type of the production workshop required by the enterprise system.
[0066] In this embodiment, before the step of assigning the first material code to a meaning code, the following steps are included:
[0067] S301: Add special characters to the preset initial code according to the different types of materials entering the warehouse to obtain the first material code;
[0068] S302: Determine whether the special character matches a preset status character;
[0069] S303: If yes, confirm the status corresponding to the first material code according to the special character, and the status includes finished product and semi-finished product.
[0070] In this embodiment, the enterprise system adds special characters to the fixed initial codes corresponding to all materials based on the different types of materials that have been confirmed as warehouse varieties to obtain a first material code. After adding the special characters preset by the system, the first material code is judged to determine whether the special characters of the first material code match the preset status characters; for example, the first material code is 513563254*, where "*" is the special character in the first material code, and the status of the first material code preset by the system corresponding to * is a finished product; for example, the first material code is 513563254 / , where " / " is the special character in the first material code, and the status of the first material code preset by the system corresponding to / is a semi-finished product; for example, the first material code is 513563254+, and it is known that only "*" and " / " are special characters for finished products or semi-finished products preset by the system, and other special characters, that is, the special character "+" does not match the status characters preset by the system.
[0071] In this embodiment, before step S2 of determining whether the first material code exceeds the preset code digits, the following steps are included:
[0072] S21: Obtain the coding serial number of the material code;
[0073] S22: Determine whether the coded serial number is greater than a preset common serial number;
[0074] S23: If yes, the material code corresponding to the coding serial number is the incoming variety; if no, the material code corresponding to the coding serial number is the outgoing variety.
[0075] In this embodiment, the enterprise system obtains the serial number of the material code that needs to be identified at present, and determines whether the serial number of this material code is greater than the serial number digits preset by the enterprise system to confirm whether the variety corresponding to the material code is an incoming variety or an outgoing variety. Among them, materials with lower value and more varieties are incoming varieties, such as glue, hoses or power cords; materials with higher value and fewer varieties are outgoing varieties, such as valves, wiring harnesses or hardware; for example, the serial number 5135632 of the material code is 7 digits, and the coding digits preset by the enterprise system are also 8 digits, that is, the material code is the material code of the outgoing variety preset by the system; for example, the serial number 5135632541 of the material code is 9 digits. When it is known that the common material code preset by the system is 8 digits, it can be known that the material code with a 9-digit serial number is the material code of the incoming variety preset by the system.
[0076] In this embodiment, after step S2 of determining whether the first material code exceeds the preset code digits, the following steps are included:
[0077] S201: If not, the material code is an existing code, wherein the existing code is specifically an existing code resource in the production workshop;
[0078] S202: Determine whether the material corresponding to the existing code belongs to the material type to be discharged;
[0079] S203: If yes, the material of the output type does not belong to the production workshop.
[0080] In this embodiment, the enterprise system obtains the material code that needs to be identified at present, and determines whether the digits of this material code are greater than the digits of the code preset by the enterprise system. For example, the digits of this material code are 10 digits, 5135632541, and the digits of the code preset by the enterprise system are 8 digits, that is, this material code exceeds the common code preset by the enterprise system and belongs to the workshop material code of the enterprise system, that is, the assigned code set by the workshop; for example, this material code is 7 digits, 5135632, when it is known that the digits of the code preset by the enterprise system are 8 digits, that is, this A material code does not exceed the common code preset by the enterprise system, and belongs to the existing code of the workshop material code of the enterprise system; the enterprise system determines whether the material corresponding to the existing code belongs to the material of the outgoing material variety; for example, the material corresponding to the existing code is the outgoing material bin, and the material bin preset by the system belongs to the material of the outgoing material variety, that is, the outgoing material bin does not belong to the production workshop, and may be materials of other workshops, such as materials of the management workshop; for example, the material corresponding to the existing code is a junction box, and the junction box preset by the system belongs to the material of the incoming material variety, that is, the junction box belongs to the production workshop.
[0081] In this embodiment, if not, the material code belongs to the existing code in step S201, including:
[0082] S2011: Obtain the code tail number in the existing code;
[0083] S2012: Determine whether the suffix of the code matches a preset fixed suffix;
[0084] S2013: If yes, confirm that the existing code is the material recorded in the production workshop.
[0085] In this embodiment, the enterprise system obtains the code tail number in the existing code and compares the code tail number with the fixed tail number preset by the production workshop to determine whether the material type corresponding to the existing code is the material type recorded in the production workshop; for example, the existing code of the material is 5135632, and the fixed tail number code of the production workshop preset by the system is 1, that is, the material of the existing code does not correspond to the material recorded in the production workshop, but is a material recorded in the management workshop; for example, the existing code of the material is 5135631, and the fixed tail number code of the production workshop preset by the known system is 1, that is, the material of the existing code corresponds to the material recorded in the production workshop.
[0086] In this embodiment, the step S6 of obtaining the second material code corresponding to the material type according to the material identification of the production workshop includes:
[0087] S61: Obtain the barcode corresponding to the material belonging to the production workshop;
[0088] S62: Determine whether the barcode conforms to a preset bar shape;
[0089] S63: If yes, the materials in the production workshop meet the corresponding material codes.
[0090] In this embodiment, the enterprise system obtains the materials belonging to the production workshop that needs to be confirmed, and determines whether the barcodes of the materials belonging to the production workshop conform to the barcode shape of the production workshop preset by the enterprise system; for example, the barcode of the materials belonging to the production workshop is two black and two hundred, and the barcode shape of the production workshop preset by the enterprise system is two black and two white, then the materials belonging to the production workshop conform to the preset bar shape, that is, the materials belonging to the production workshop conform to the corresponding material code; for example, the barcode of the materials belonging to the production workshop is three black and one white, and it is known that the barcode shape of the production workshop preset by the enterprise system is two black and two white, then the materials belonging to the production workshop do not conform to the preset bar shape, that is, the materials belonging to the production workshop do not conform to the corresponding material code.
[0091] In this embodiment, the step S61 of obtaining the barcode corresponding to the material belonging to the production workshop includes:
[0092] S611: Scan the materials in the production workshop using a preset image scanning device to obtain the coding sequence of the materials;
[0093] S612: Determine whether the coding sequence of the materials complies with the preset coding rule arrangement;
[0094] S613: If so, the barcode of the material matches the information of the corresponding material.
[0095] In this embodiment, the enterprise system scans the materials of the production workshop through a preset image scanning device to determine whether the coding sequence of the materials of the production workshop conforms to the preset coding rule arrangement; for example, the coding sequence of the materials of the production workshop is ENA barcode, and the coding rule arrangement preset by the enterprise system is ENA barcode, UPC barcode or 25 barcode, that is, the coding sequence of the materials of the production workshop conforms to the preset coding rule arrangement, then the materials of the production workshop conform to the corresponding material information; for example, the coding rule arrangement of the materials of the production workshop is cross 25 five barcode, when it is known that the coding rule arrangement preset by the enterprise system is ENA barcode, UPC barcode or 25 barcode, that is, the coding sequence of the materials of the production workshop does not conform to the preset coding rule arrangement, then the materials of the production workshop do not conform to the corresponding material information.
[0096] In this embodiment, step S5 of determining whether the material type corresponds to the material belonging to the production workshop includes:
[0097] S51: Scanning the material type using a preset image scanning device;
[0098] S52: Determine whether the material type matches the material type image preset in the production workshop;
[0099] S53: If so, the production workshop has materials corresponding to the material type.
[0100] In this embodiment, the enterprise system obtains image data of the material type by scanning the material type, and compares it with the image data of the material type preset in the production workshop to determine whether the material type is consistent with the material type image preset in the production workshop; for example, the image data of the material type is thermal network image data, and the material type image preset by the enterprise system is waveform image data and circle image data, that is, the material type does not conform to the preset material type image, then the production workshop does not have the material corresponding to the material type; for example, the image data of the material type is circle image data, when it is known that the material type image preset by the enterprise system is waveform image data and circle image data, that is, the material type conforms to the preset material type image, then the production workshop has the material corresponding to the material type.
[0101] In this embodiment, step S1 of obtaining the first material code required for identification includes:
[0102] S11: Determine whether the first material code belongs to a preset coding format;
[0103] S12: If yes, obtain the material variety corresponding to the first material code, where the material variety includes incoming variety and outgoing variety.
[0104] In this embodiment, the enterprise system determines whether the material is recorded in the enterprise system by determining whether the first material code belongs to the coding format preset by the enterprise system; for example, the serial number of the material code is 5135632X, and the enterprise system presets the material code serial number as an all-digital serial number, that is, the material code does not belong to the preset coding format, and the enterprise system does not record the material code; for example, the serial number of the material code is 51356321, and it is known that the enterprise system presets the material code serial number as an all-digital serial number, that is, the material code belongs to the preset coding format, and the enterprise system records the material code; according to the first number of the serial number of the material code, it is confirmed that the material variety is an incoming variety or an outgoing variety.
[0105] Reference Attachment Figure 2 , is a system for identifying material codes in a production workshop in one embodiment of the present invention, comprising:
[0106] A first acquisition module 10 is used to acquire a first material code required for identification, wherein the first material code includes material codes of all workshops;
[0107] A first determination module 20 is used to determine whether the first material code exceeds a preset code digit;
[0108] A first execution module 30 is configured to determine if the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a material a certain meaning;
[0109] A first classification module 40 is configured to classify the corresponding material according to the first serial number of the assigned code, wherein the material categories include finished products, parts, raw materials, purchased materials, and consumables;
[0110] The second judgment module 50 is used to judge whether the material type corresponds to the material belonging to the production workshop;
[0111] The second execution module 60 is used to obtain a second material code corresponding to the material type according to the material type identification required by the material of the production workshop, if corresponding, wherein the second material code includes the material code of the production workshop.
[0112] In this embodiment, the first acquisition module 10 obtains the first material code that needs to be identified currently, that is, the material code of all workshops. The first judgment module 20 judges whether the digits of the first material code are greater than the code digits preset by the enterprise system. For example, the digits of this material code are 10 digits, 5135632541, and the digits of the common material code preset by the enterprise system are 8 digits, that is, this material code exceeds the common code preset by the enterprise system. The first execution module 30 determines that it is a special material code belonging to the workshop of the enterprise system, that is, the assigned code set by the workshop, which is 2 digits more than the common material code preset by the enterprise system; the assigned code set by the workshop corresponds to certain specific materials, and the first classification module 40 classifies the corresponding material type according to the first serial number of the assigned code, for example, the material type corresponding to the material code starting with the digit 5 The material type is consumable, and the material type corresponding to the material code starting with the number 4 is purchased. For example, the material type corresponding to the material code starting with the number 3 is raw material, and the material type corresponding to the material code starting with the number 2 is parts, and the material type corresponding to the material code starting with the number 1 is finished product. The second judgment module 50 judges whether these material types belong to the material types of the production workshop, and the second execution module 60 obtains the material code corresponding to the material type according to the material identification of the production workshop. For example, the material codes of consumable and parts belong to the production workshop, while the finished product, raw materials and purchased belong to the material codes of the management workshop. The enterprise system obtains the material types of the production workshop required by the enterprise system through the material code of the production workshop, that is, the serial starting number of the second material code.
[0113] In this embodiment, it also includes:
[0114] A first adding module adds special characters to a preset initial code according to different types of materials entering the warehouse to obtain the first material code;
[0115] A third judgment module is used to judge whether the special character matches a preset status character;
[0116] The third execution module is configured to, if yes, confirm the status corresponding to the first material code according to the special character, where the status includes finished product and semi-finished product.
[0117] In this embodiment, the enterprise system adds special characters to the fixed initial codes corresponding to all materials based on the different types of materials that have been confirmed as warehouse varieties to obtain a first material code. After adding the special characters preset by the system, the first material code is judged to determine whether the special characters of the first material code match the preset status characters; for example, the first material code is 513563254*, where "*" is the special character in the first material code, and the status of the first material code preset by the system corresponding to * is a finished product; for example, the first material code is 513563254 / , where " / " is the special character in the first material code, and the status of the first material code preset by the system corresponding to / is a semi-finished product; for example, the first material code is 513563254+, and it is known that only "*" and " / " are special characters for finished products or semi-finished products preset by the system, and other special characters, that is, the special character "+" does not match the status characters preset by the system.
[0118] In this embodiment, the first judgment module further includes:
[0119] A first acquiring unit, configured to acquire a coding serial number of the material code;
[0120] A first judging unit, configured to judge whether the coded sequence number is greater than a preset common sequence number;
[0121] The first execution unit is used to: if yes, the material code corresponding to the coding serial number is the incoming variety; if no, the material code corresponding to the coding serial number is the outgoing variety.
[0122] In this embodiment, the enterprise system obtains the serial number of the material code that needs to be identified at present, and determines whether the serial number of this material code is greater than the serial number digits preset by the enterprise system to confirm whether the variety corresponding to the material code is an incoming variety or an outgoing variety. Among them, materials with lower value and more varieties are incoming varieties, such as glue, hoses or power cords; materials with higher value and fewer varieties are outgoing varieties, such as valves, wiring harnesses or hardware; for example, the serial number 5135632 of the material code is 7 digits, and the coding digits preset by the enterprise system are also 8 digits, that is, the material code is the material code of the outgoing variety preset by the system; for example, the serial number 5135632541 of the material code is 9 digits. When it is known that the common material code preset by the system is 8 digits, it can be known that the material code with a 9-digit serial number is the material code of the incoming variety preset by the system.
[0123] In this embodiment, it also includes:
[0124] A fourth execution module is configured to: if not, the material code belongs to an existing code, wherein the existing code is specifically an existing code resource in the production workshop;
[0125] A fifth judgment module is used to judge whether the material corresponding to the existing code belongs to the material of the output type;
[0126] The fifth execution module is used to determine if the material belongs to the production workshop, then the material of the output variety does not belong to the production workshop.
[0127] In this embodiment, the enterprise system obtains the material code that needs to be identified at present, and determines whether the digits of this material code are greater than the digits of the code preset by the enterprise system. For example, the digits of this material code are 10 digits, 5135632541, and the digits of the code preset by the enterprise system are 8 digits, that is, this material code exceeds the common code preset by the enterprise system and belongs to the workshop material code of the enterprise system, that is, the assigned code set by the workshop; for example, this material code is 7 digits, 5135632, when it is known that the digits of the code preset by the enterprise system are 8 digits, that is, this A material code does not exceed the common code preset by the enterprise system, and belongs to the existing code of the workshop material code of the enterprise system; the enterprise system determines whether the material corresponding to the existing code belongs to the material of the outgoing material variety; for example, the material corresponding to the existing code is the outgoing material bin, and the material bin preset by the system belongs to the material of the outgoing material variety, that is, the outgoing material bin does not belong to the production workshop, and may be materials of other workshops, such as materials of the management workshop; for example, the material corresponding to the existing code is a junction box, and the junction box preset by the system belongs to the material of the incoming material variety, that is, the junction box belongs to the production workshop.
[0128] In this embodiment, the fourth execution module further includes:
[0129] A second acquiring unit is used to acquire the code tail number in the existing code;
[0130] A second judging unit is used to judge whether the coded tail number conforms to a preset fixed tail number;
[0131] The second execution unit is configured to, if yes, confirm that the existing code is a material that has been recorded in the production workshop.
[0132] In this embodiment, the enterprise system obtains the code tail number in the existing code and compares the code tail number with the fixed tail number preset by the production workshop to determine whether the material type corresponding to the existing code is the material type recorded in the production workshop; for example, the existing code of the material is 5135632, and the fixed tail number code of the production workshop preset by the system is 1, that is, the material of the existing code does not correspond to the material recorded in the production workshop, but is a material recorded in the management workshop; for example, the existing code of the material is 5135631, and the fixed tail number code of the production workshop preset by the known system is 1, that is, the material of the existing code corresponds to the material recorded in the production workshop.
[0133] In this embodiment, the second execution module further includes:
[0134] A third acquiring unit is used to acquire the barcode corresponding to the material belonging to the production workshop;
[0135] a third judging unit, configured to judge whether the barcode conforms to a preset bar shape;
[0136] The third execution unit is used to determine if the answer is yes, then the materials in the production workshop meet the corresponding material codes.
[0137] In this embodiment, the enterprise system obtains the materials belonging to the production workshop that needs to be confirmed, and determines whether the barcodes of the materials belonging to the production workshop conform to the barcode shape of the production workshop preset by the enterprise system; for example, the barcode of the materials belonging to the production workshop is two black and two hundred, and the barcode shape of the production workshop preset by the enterprise system is two black and two white, then the materials belonging to the production workshop conform to the preset bar shape, that is, the materials belonging to the production workshop conform to the corresponding material code; for example, the barcode of the materials belonging to the production workshop is three black and one white, and it is known that the barcode shape of the production workshop preset by the enterprise system is two black and two white, then the materials belonging to the production workshop do not conform to the preset bar shape, that is, the materials belonging to the production workshop do not conform to the corresponding material code.
[0138] In this embodiment, the third obtaining unit further includes:
[0139] The first scanning subunit uses a preset image scanning device to scan the materials in the production workshop to obtain the coding sequence of the materials;
[0140] The first judgment subunit is used to judge whether the coding sequence of the materials conforms to the preset coding rule arrangement;
[0141] The first execution subunit is configured to: if yes, the barcode of the material matches the information of the corresponding material.
[0142] In this embodiment, the enterprise system scans the materials of the production workshop through a preset image scanning device to determine whether the coding sequence of the materials of the production workshop conforms to the preset coding rule arrangement; for example, the coding sequence of the materials of the production workshop is ENA barcode, and the coding rule arrangement preset by the enterprise system is ENA barcode, UPC barcode or 25 barcode, that is, the coding sequence of the materials of the production workshop conforms to the preset coding rule arrangement, then the materials of the production workshop conform to the corresponding material information; for example, the coding rule arrangement of the materials of the production workshop is cross 25 five barcode, when it is known that the coding rule arrangement preset by the enterprise system is ENA barcode, UPC barcode or 25 barcode, that is, the coding sequence of the materials of the production workshop does not conform to the preset coding rule arrangement, then the materials of the production workshop do not conform to the corresponding material information.
[0143] In this embodiment, the second judgment module further includes:
[0144] A first scanning unit, configured to scan the material type using a preset image scanning device;
[0145] a fourth judgment unit, configured to judge whether the material type matches a material type image preset in the production workshop;
[0146] The fourth execution unit is used to: if yes, the production workshop has materials corresponding to the material type.
[0147] In this embodiment, the enterprise system obtains image data of the material type by scanning the material type, and compares it with the image data of the material type preset in the production workshop to determine whether the material type is consistent with the material type image preset in the production workshop; for example, the image data of the material type is thermal network image data, and the material type image preset by the enterprise system is waveform image data and circle image data, that is, the material type does not conform to the preset material type image, then the production workshop does not have the material corresponding to the material type; for example, the image data of the material type is circle image data, when it is known that the material type image preset by the enterprise system is waveform image data and circle image data, that is, the material type conforms to the preset material type image, then the production workshop has the material corresponding to the material type.
[0148] In this embodiment, the first acquisition module further includes:
[0149] a fourth determining unit, configured to determine whether the first material code belongs to a preset coding format;
[0150] The fourth execution unit is used to obtain the material variety corresponding to the first material code, where the material variety includes the incoming variety and the outgoing variety.
[0151] In this embodiment, the enterprise system determines whether the material is recorded in the enterprise system by determining whether the first material code belongs to the coding format preset by the enterprise system; for example, the serial number of the material code is 5135632X, and the enterprise system presets the material code serial number as an all-digital serial number, that is, the material code does not belong to the preset coding format, and the enterprise system does not record the material code; for example, the serial number of the material code is 51356321, and it is known that the enterprise system presets the material code serial number as an all-digital serial number, that is, the material code belongs to the preset coding format, and the enterprise system records the material code; according to the first number of the serial number of the material code, it is confirmed that the material variety is an incoming variety or an outgoing variety.
[0152] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A method for identifying material codes in a production workshop, characterized in that: The following steps are involved: Obtaining a first material code required for identification, wherein the first material code includes material codes of all workshops; Determining whether the first material code exceeds a preset code digit; If yes, then the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a certain meaning to the material; According to the first serial number of the assigned code, the corresponding material type is obtained, wherein the material types include finished products, parts, raw materials, purchased materials and consumables; Determine whether the material type corresponds to the material in the production workshop; If it corresponds, then according to the material type required for material identification of the production workshop, obtain a second material code corresponding to the material type, wherein the second material code includes the material code of the production workshop; Before the step of determining whether the first material code exceeds the preset code digit, the method includes: Obtain the coding serial number of the material code; Determining whether the coded sequence number is greater than a preset common sequence number; If yes, the material code corresponding to the coding serial number is the incoming variety; if no, the material code corresponding to the coding serial number is the outgoing variety; Before the step of assigning the first material code to a meaning code, the method includes: According to the different types of materials entering the warehouse, special characters are added to the preset initial code to obtain the first material code; Determining whether the special character matches a preset status character; If yes, confirm the status corresponding to the first material code according to the special character, and the status includes finished product and semi-finished product; The step of determining whether the material type corresponds to the material belonging to the production workshop includes: Scanning the material type using a preset image scanning device; Determine whether the material type matches the material type image preset in the production workshop; If so, the production workshop has the materials corresponding to the material type.
2. The method for identifying material codes in a production workshop according to claim 1, characterized in that: After the step of determining whether the first material code exceeds the preset code digits, the method includes: If not, the material code belongs to an existing code, wherein the existing code is specifically an existing code resource in the production workshop; Determine whether the material corresponding to the existing code belongs to the material type to be discharged; If yes, then the material of the output type does not belong to the production workshop.
3. The method for identifying material codes in a production workshop according to claim 2, characterized in that: If not, the material code belongs to the existing code step, including: Obtain the code tail number in the existing code; Determining whether the suffix of the code matches a preset fixed suffix; If so, confirm that the existing code is the material recorded in the production workshop.
4. The method for identifying material codes in a production workshop according to claim 1, characterized in that: The step of obtaining a second material code corresponding to the material type according to the material type identification of the production workshop includes: Obtain the barcode corresponding to the material belonging to the production workshop; Determining whether the barcode conforms to a preset bar shape; If so, the materials belonging to the production workshop meet the corresponding material codes.
5. The method for identifying material codes in a production workshop according to claim 4, characterized in that: The step of obtaining the barcode corresponding to the material belonging to the production workshop includes: Scan the materials in the production workshop using a preset image scanning device to obtain the coding sequence of the materials; Determine whether the coding sequence of the materials complies with the preset coding rules; If so, the barcode of the material matches the information of the corresponding material.
6. The method for identifying material codes in a production workshop according to claim 1, characterized in that: The step of obtaining the first material code required for identification includes: Determining whether the first material code belongs to a preset coding format; If so, obtain the material variety corresponding to the first material code, and the material variety includes the incoming variety and the outgoing variety.
7. A material coding identification system for a production workshop, characterized in that: include: A first acquisition module is used to acquire a first material code required for identification, wherein the first material code includes material codes of all workshops; A first determination module, configured to determine whether the first material code exceeds a preset code digit; a first execution module, configured to determine that if yes, the first material code is a meaningful code, wherein the meaningful code is a specific code that gives a material a certain meaning; A first classification module is used to obtain the corresponding material type according to the first serial number of the assigned code, wherein the material type includes finished products, parts, raw materials, purchased materials and consumables; The second judgment module is used to judge whether the material type corresponds to the material belonging to the production workshop; A second execution module is configured to obtain, if a corresponding material type is found, a second material code corresponding to the material type according to the material identification of the production workshop, wherein the second material code includes the material code of the production workshop; The first judgment module further includes: A first acquiring unit, configured to acquire a coding serial number of the material code; A first judging unit, configured to judge whether the coded sequence number is greater than a preset common sequence number; The first execution unit is configured to: if yes, the material code corresponding to the coding serial number is the incoming variety; if no, the material code corresponding to the coding serial number is the outgoing variety; The system further comprises: A first adding module adds special characters to a preset initial code according to different types of materials entering the warehouse to obtain the first material code; A third judgment module is used to judge whether the special character matches a preset status character; a third execution module, configured to, if yes, confirm the status corresponding to the first material code according to the special character, the status including finished product and semi-finished product; The second judgment module further includes: A first scanning unit, configured to scan the material type using a preset image scanning device; a fourth judgment unit, configured to judge whether the material type matches a material type image preset in the production workshop; The fourth execution unit is used to: if yes, the production workshop has materials corresponding to the material type.
Citation Information
Patent Citations
Material coding management method and material coding management system
CN103235996A
Device and method for identifying an object
CN101889287A
Multi-user material coding method and system
CN106600108A
Basic data generating system of electric wire technology and method thereof
CN106844598A
System for online identifying types of various materials on conveyor belt
CN109297967A