Electronic material coding method and system based on classification code and description code combination

Through the encoding method of combining classification code and description code, the problems of readability and re-coding of electronic material encoding are solved, and the efficiency, accuracy and automation of electronic material management are achieved, adapting to changes in new material types, and supporting production traceability and fault analysis.

CN120449821APending Publication Date: 2025-08-08XI AN JIAOTONG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510539026.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The lack of readability and re-coding of electronic material encoding in the prior art leads to confusion in the production and manufacturing process.

Method used

The encoding method based on the combination of classification code and description code is adopted. The 11-bit pure numerical encoding rule is used. The first three digits are classification codes and the last eight digits are description codes. The classification code defines the type of material, and the description code contains key parameters such as nominal value and packaging. The encoding rule table is used to ensure uniqueness and standardized definition.

Benefits of technology

It realizes the readability and uniqueness of encoding, supports automated management throughout the process, reduces management costs and error rates, adapts to changes in new material types, and supports production traceability and fault analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120449821A_ABST
    Figure CN120449821A_ABST
Patent Text Reader

Abstract

The invention discloses a classification code and description code combination-based electronic material coding method and system, and the method comprises the steps: formulating an 11-bit pure digital coding rule, taking the first three bits as classification codes, and distinguishing the paster / plug-in packaging, basic types and specific types of materials; the last eight bits are description codes and are divided into two types according to material characteristics: for materials with nominal values, such as resistors and capacitors, nominal value codes converted based on a scientific counting method are combined with conventional attribute codes of precision, packaging and the like; for materials without nominal values, such as chips, PCB finished products and the like, the combination of model codes and serial number codes is adopted; a classification code and a description code are automatically generated by analyzing the BOM and are compared with a database to process conflicts. According to the method, the coding rule has intuition and uniqueness, the problems that traditional serial number coding is poor in readability and prone to code repetition are effectively solved, and the efficiency and accuracy of electronic material management are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electronic material information management, and in particular relates to an electronic material coding method and system based on a combination of classification codes and description codes. Background Art

[0002] In the production of electronic products, electronic components need to be soldered on printed circuit boards (PCBs). Electronic components usually include capacitors, resistors, inductors, ferrite beads, chips, connectors, etc. These electronic components and semi-finished and finished PCBs are collectively referred to as electronic materials. The relevant information of the electronic materials used in production needs to be accurate and easy to read.

[0003] Before manufacturing various products, electronic materials must be purchased according to a bill of materials (BOM). To ensure unified and information-based management, these purchased electronic materials must be coded and labeled accordingly. Currently, in the field of electronic material information management, purely digital coding often uses serial numbers. While this method is simple and fast, and effectively avoids the problem of multiple material codes corresponding to the same material, it lacks legibility. Furthermore, if synchronization is not timely, it can easily lead to duplicate material codes, causing confusion in the manufacturing process.

[0004] Therefore, this field needs an intuitive, universal and efficient coding method that can generate a set of universal pure digital non-serial number codes based on the nominal values of different materials. This coding method can generate the same and unique code for the same material and can intuitively read the material properties. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to address the deficiencies in the above-mentioned prior art and provide an electronic material coding method and system based on a combination of classification codes and description codes, so as to solve the technical problems of lack of readability and easy duplication of traditional serial number codes.

[0006] The present invention adopts the following technical solutions: A method for electronic material coding based on a combination of classification codes and description codes comprises the following steps: Formulate coding rules based on the types, nominals, and packaging of commonly used electronic materials; receive bills of materials based on the coding rules; According to the material type and coding rules, give the classification code of each material in the received material list; Then determine the description code type based on the coding rule table of the description code corresponding to each material classification code; Based on the description code type, the material category is determined by encoding and comparing with the coding rule table.

[0007] Preferably, coding rules are formulated based on the types, nominals, and packaging of commonly used electronic materials; and a bill of materials is received according to the coding rules, specifically: Set the material code to eleven pure Arabic numerals, of which the first three are the material classification code, the next eight are the description code, and the last digit is reserved for the manufacturer number. If no manufacturer is specified, the default value is 0; According to the determined classification code, a coding rule table is formulated for the last eight description codes. Each classification code corresponds to a coding rule table. A coding rule table can correspond to multiple classification codes. There are two types of coding rules, namely nominal value coding + general attribute coding, and model coding + serial number coding.

[0008] Preferably, the bill of materials includes the type, quantity, tag number, nominal value, and packaging of the material.

[0009] Preferably, the nominal value encoding digits are three or four digits, which are the resistance value of the resistor and the capacitance value of the capacitor. The nominal value specifies the basic unit, and the nominal value in the bill of materials is expressed in scientific notation. The last digit of the nominal value is the weight, which is encoded as a specific power of 10, and the first few digits of the nominal value are the significant digits in scientific notation. The number of bits for general attribute encoding is one, 0 to 9 represents ten different common values of an attribute, encoding three or four attributes, including nominal value accuracy, surface mount package, withstand voltage, power, and current.

[0010] Preferably, for connectors, the model code is two digits long and is distinguished by serial numbers according to different uses, distinguishing 99 different types of connectors; For chips, the first five digits of the last eight digits of the description code are the model code, the sixth digit is the different packages of the same model, and the seventh digit is the serial number code of similar models; For finished PCBs, the last eight digits of the description code are the first two digits for the board type, the third digit for the board subcategory, the fourth and fifth digits for different iterative versions of the same board in the form of serial numbers, and the last three digits are reserved.

[0011] Preferably, the material category is determined based on the description code type by encoding and comparing with the encoding rule table, specifically: If the description code type obtained is nominal value coding + general attribute coding, encode the material according to the coding rule table. After encoding, compare it with the coding of existing materials in the database. If there is no identical code, add a new material, generate a corresponding code, and insert it into the database.

[0012] Preferably, if the same code already exists, it is classified as an existing material, and the inventory quantity is changed to obtain the material code.

[0013] Preferably, the material category is determined based on the description code type by encoding and comparing with the encoding rule table, specifically: If the description code type obtained is model code + serial number code, the database is searched for a completely matching nominal and package. If there is no complete match, a fuzzy search is performed on the closest material to determine whether it is an existing material. If there is no identical material, a new material is added, and the corresponding code is automatically generated and inserted into the database.

[0014] Preferably, if there is a completely matching nominal and packaging, the material is already available, and the inventory quantity is changed to obtain the material code.

[0015] In a second aspect, an embodiment of the present invention provides an electronic material coding system based on a combination of classification codes and description codes, including: The coding module formulates coding rules based on the types, nominals, and packaging of commonly used electronic materials; and receives the bill of materials according to the coding rules; The classification module gives the classification code of each material in the received bill of materials according to the material type and coding rules; The judgment module then determines the description code type according to the coding rule table of the description code corresponding to each material classification code; The output module determines the material category based on the description code type by encoding and comparing it with the coding rule table.

[0016] In a third aspect, a computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the electronic material coding method based on the combination of classification codes and description codes are implemented.

[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, comprising a computer program, which, when executed by a processor, implements the steps of the above-mentioned electronic material coding method based on a combination of classification codes and description codes.

[0018] In a fifth aspect, a chip comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the electronic material coding method based on the combination of classification codes and description codes are implemented.

[0019] In a sixth aspect, an embodiment of the present invention provides an electronic device, comprising a computer program, which, when executed by the electronic device, implements the steps of the above-mentioned electronic material coding method based on a combination of classification codes and description codes.

[0020] Compared with the prior art, the present invention has at least the following beneficial effects: An electronic material coding method based on a combination of classification codes and description codes. By dividing the codes into classification codes and description codes, the classification codes clearly define the type of material, and the description codes contain key parameters such as nominal values and packaging, so that the codes themselves carry semantic information and are easy to quickly identify manually; the description codes are standardized through a coding rule table to ensure that the attributes of the same material generate unique codes, avoiding different materials sharing the same code; the rule table supports dynamic expansion to adapt to new material types or parameter changes. For example, when adding chip packages or voltage resistance levels, only the rule table needs to be updated instead of reconstructing the coding system; structured coding is easy to integrate with ERP / MES systems to achieve full-process automation of material procurement, inventory management, and production traceability; material attributes are mapped to digital codes through the rule table, retaining the machine readability of pure numbers while reconstructing semantics through the rule table, balancing readability and system compatibility.

[0021] Furthermore, the code is limited to 11 pure digits and divided into classification code, description code and manufacturer code. The fixed length and structure simplify the system processing logic and avoid parsing errors caused by different code lengths; the last digit of the manufacturer code supports future supplier expansion and avoids the reconstruction of coding rules due to new manufacturers; different classification codes are allowed to share the same rule table to reduce redundant design.

[0022] Furthermore, it is clarified that the BOM must include the material type, quantity, tag number, nominal and packaging information to ensure the completeness of key attributes required for coding and avoid coding errors due to missing information; the tag number is associated with the PCB design drawing to support material traceability and fault analysis during the production process.

[0023] Furthermore, the encoding rules for nominal values and conventional attributes are standardized, scientific notation is used to unify the nominal value representation to avoid unit confusion, and one digit is used to encode multiple attributes to reduce the encoding length.

[0024] Furthermore, the coding rules for connectors, chips and PCBs are designed. Connectors use two-digit serial numbers to distinguish 99 types, adapting to their characteristics of few types but many variants; the first five digits of the chip retain the model code to support precise matching of complex models; the last three digits of the PCB serial number record the iterative version to facilitate tracing of production batches.

[0025] Furthermore, the uniqueness is ensured by comparing the nominal value + attribute code with the database. If the code does not exist, a new material is added; otherwise, the inventory is updated.

[0026] Furthermore, for materials with complex models, fuzzy searches for similar materials are allowed to reduce duplicate coding caused by slight differences in models.

[0027] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0028] In summary, the method of the present invention has strong readability, high uniqueness, compatibility with automated management, flexible expansion, and support for production traceability, which significantly reduces management costs and error rates.

[0029] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0031] Figure 1 Examples of rules for the first three digits of the classification code; Figure 2 This is an example of the rule that the last eight digits of the description code are the nominal value code + the general attribute code; Figure 3 This is a complete coding example of the last eight bits of the description code being the nominal value code + the regular attribute code; Figure 4 This is a complete coding example where the last eight digits of the description code are model code + serial number code; Figure 5 This is a flow chart for electronic material management of the enterprise.

[0032] Figure 6 A schematic diagram of a computer device provided in accordance with an embodiment of the present invention; Figure 7 The present invention is a block diagram of an electronic device according to an embodiment of the present invention.

[0033] Among them, 60. Computer device; 61. Processor; 62. Memory; 63. Computer program; 600. Electronic device; 610. Processing unit; 620. Storage unit; 6201. Random access memory unit; 6202. Cache memory unit; 6203. Read-only memory unit; 6204. Program / Utility; 6205. Program module; 630. Bus; 640. Display unit; 650. Input / output interface; 660. Network adapter; 700. External device. DETAILED DESCRIPTION

[0034] 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 them. 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.

[0035] In the description of the present invention, it is to be understood that the terms “include” and “comprise” indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0036] It should also be understood that the terms used in the present specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0037] It should be further understood that the term "and / or" as used in the present specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.

[0038] It should be understood that although the terms "first," "second," and "third" may be used to describe preset ranges in embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are merely used to distinguish one preset range from another. For example, without departing from the scope of embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0039] The word "if," as used herein, may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0040] The accompanying drawings illustrate various schematic diagrams of structures according to embodiments disclosed herein. These figures are not drawn to scale; for clarity, some details are exaggerated and some details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.

[0041] The present invention provides an electronic material coding method based on a combination of classification codes and description codes. The method formulates an 11-digit pure digital coding rule. The first three digits are the classification code, which distinguishes the material's patch / plug-in package, basic type, and specific category; the last eight digits are the description code, which is divided into two categories according to the material properties: for materials with nominal values, such as resistors and capacitors, a nominal value coding based on scientific notation conversion is used, combined with conventional attribute coding for precision, packaging, etc.; for materials without nominal values, such as chips and PCB finished products, a model code and serial number code are used. The classification code and description code are automatically generated by parsing the BOM, and are compared with the database to handle conflicts. The coding rule of the present invention is both intuitive and unique, effectively solving the problems of poor readability and easy duplication of traditional serial number coding, and significantly improving the efficiency and accuracy of electronic material management.

[0042] Example 1 The present invention provides an electronic material coding method based on a combination of classification codes and description codes, comprising the following steps: S1. Develop coding rules based on the types, specifications, and packaging of commonly used electronic materials. Construct an enterprise electronic material management system based on the coding rules and receive a Bill of Materials (BOM) from the user. The BOM contains the material type, quantity, tag number, specification, and packaging. S101. Set the material code to eleven pure Arabic numerals, of which the first three are the material classification code, the next eight are the description code, and the last digit is reserved for the manufacturer number. If no manufacturer is specified, the default is 0; In the material classification code, the first digit distinguishes between the surface mount package and plug-in package of the material, the second digit distinguishes the basic type of the material, and the third digit subdivides the specific type of the material.

[0043] The first digit of the classification code uses odd numbers to represent SMD components, and even numbers to represent plug-in components; The second digit distinguishes the basic types of materials, which include capacitors, resistors, inductors, magnetic beads, chips, etc. The third digit is the specific type of the same type, including different types of capacitors, different types of resistors, and burned and unburned chips, etc.

[0044] S102. According to the classification code determined in step S101, a coding rule table is formulated for the last eight description codes. Each classification code corresponds to a coding rule table. A coding rule table can correspond to multiple classification codes. The coding rules are divided into two types: nominal value coding + conventional attribute coding, and model coding + serial number coding.

[0045] Nominal value coding + general attribute coding is used for materials that require specific nominal values, such as resistors, capacitors, inductors, and ferrite beads.

[0046] Model code + serial number code is used for chips, transistors, diodes, etc. that are displayed as component models rather than nominal values in the BOM, as well as materials such as PCB finished products that cannot be described by nominal values.

[0047] The number of digits for encoding the nominal value is usually three or four, which is a specific digital code for the resistance value of a resistor, the capacitance value of a capacitor, etc. Specifically, the nominal value specifies the basic unit, and the nominal value in the BOM is expressed in scientific notation. The last digit of the nominal value is the weight, which is encoded as a specific power of 10, and the first few digits of the nominal value are the significant digits in scientific notation.

[0048] The power of the nominal value encoding is less than zero, and the weight is mapped, and the weight 0~6 represents 10 0 to 10 6 , weight 7 means 10 -3 , weight 8 means 10 -2 , weight 9 means 10 -1 , weights 0 to 9 ultimately represent 10 -3 to 10 6 .

[0049] The number of bits for general attribute encoding is one, 0 to 9 represents ten different common values of an attribute, and can be used to encode three or four attributes, including nominal value accuracy, surface mount package, withstand voltage, power, current, etc.

[0050] The model code usually has five digits. The model code is the first five digits of the component model, with letters deleted. If the number is less than five, zeros are added.

[0051] For connectors, the model code is two digits long and is distinguished in the form of serial numbers according to different uses, distinguishing up to 99 different types of connectors.

[0052] For chips, the first five digits of the last eight digits of the description code are the model code, the sixth digit is the different packages of the same model, and the seventh digit is the serial number code of similar models.

[0053] For finished PCBs, the last eight digits of the description code are the first two digits for the board type, the third digit for the board subcategory, the fourth and fifth digits for different iterative versions of the same board in the form of serial numbers, and the last three digits are reserved.

[0054] S2. For all materials in the BOM received in step S1, a classification code is given to each material according to the material type and coding rules; S3, judging the description code type according to the encoding rule table of the description code corresponding to the classification code obtained in step S2; S4. If the description code type obtained in step S3 is nominal value coding + general attribute coding, the material is coded according to the coding rule table. After coding, the material is compared with the coding of existing materials in the database. If the same code exists, the material is classified as an existing material, the inventory quantity is changed, and the material code is obtained. If there is no same code, the material is added, the corresponding code is automatically generated, and the new data is inserted into the database. S5. If the description code type obtained in step S3 is model code + serial number code, first search the database for a fully matching nominal and package. If a fully matching nominal and package already exists, it means the material is already available, and the inventory quantity is changed to obtain the material code. If there is no complete match, fuzzy search for the closest materials, and let the engineer manually determine whether it is an existing material. If there is no identical material, add a new material, automatically generate the corresponding code, and insert the new data into the database.

[0055] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods, or program products. Accordingly, various aspects of the present invention may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, microcode, etc.), or in a combination of hardware and software, collectively referred to herein as "circuits," "modules," or "platforms."

[0056] Example 2 The present invention provides an electronic material coding system based on a combination of classification codes and description codes. The system can be used to implement the above-mentioned electronic material coding method based on a combination of classification codes and description codes. Specifically, the electronic material coding system based on a combination of classification codes and description codes includes a coding module, a classification module, a judgment module and an output module.

[0057] Among them, the coding module formulates coding rules according to the types, nominals, and packaging of commonly used electronic materials; receives the bill of materials according to the coding rules; The classification module gives the classification code of each material in the received bill of materials according to the material type and coding rules; The judgment module then determines the description code type according to the coding rule table corresponding to the description code of each material classification code; The output module determines the material category based on the description code type by encoding and comparing it with the coding rule table.

[0058] Example 3 The present invention provides a terminal device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or may be other general-purpose processors, graphics processing units (GPUs), tensor processing units (TPUs), digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to implement corresponding method processes or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the electronic material coding method based on the combination of classification codes and description codes, including: Establish coding rules based on the types, nominals, and packaging of commonly used electronic materials; receive the bill of materials based on the coding rules; give a classification code for each material in the received bill of materials based on the material type and coding rules; then determine the description code type based on the coding rule table corresponding to the description code of each material classification code; based on the description code type, determine the material category after coding and comparing it with the coding rule table.

[0059] See also Figure 6 The terminal device is a computer device. The computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable by the processor 61. When the computer program 63 is executed by the processor 61, the electronic material coding method based on the combination of classification codes and description codes in the embodiment is implemented. To avoid repetition, the details are not described here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the electronic material coding system based on the combination of classification codes and description codes in the embodiment are implemented. To avoid repetition, the details are not described here.

[0060] The computer device 60 may be a desktop computer, a notebook computer, a PDA, a cloud server, or other computing devices. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. It will be understood by those skilled in the art that Figure 6This is merely an example of the computer device 60 and does not constitute a limitation of the computer device 60 . The computer device 60 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.

[0061] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, a graphics processing unit (GPU), a tensor processing unit (TPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0062] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 60.

[0063] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is about to be output.

[0064] See also Figure 7 The terminal device is an electronic device 600, which is implemented as a general-purpose computing device. The components of the electronic device may include, but are not limited to, at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), and a display unit 640.

[0065] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 5 Follow the steps shown in .

[0066] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0067] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0068] Bus 630 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0069] The electronic device 600 may also communicate with one or more external devices 700 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., a router, a modem). Such communication may occur via an input / output interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network, a wide area network, and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0070] Example 4 The present invention also provides a storage medium, specifically a computer-readable storage medium. The computer-readable storage medium is a memory device in a terminal device, used to store programs and data. It is understood that the computer-readable storage medium herein may include both the built-in storage medium in the terminal device and, of course, the extended storage medium supported by the terminal device. It may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, the storage space also stores one or more instructions suitable for being loaded and executed by a processor. These instructions may be one or more computer programs (including program code). It should be noted that more specific examples of the computer-readable storage medium herein include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0071] Computer-readable storage media also include data signals propagated in baseband or as part of a carrier wave, which carry readable program code. Such propagated data signals can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium can also be any readable medium other than a readable storage medium, which can send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency, etc., or any suitable combination of the above.

[0072] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network or a wide area network, or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0073] The processor may load and execute one or more instructions stored in a computer-readable storage medium to implement the corresponding steps of the electronic material coding method based on a combination of classification codes and description codes in the above embodiment; the processor may load and execute the following steps: Establish coding rules based on the types, nominals, and packaging of commonly used electronic materials; receive the bill of materials based on the coding rules; give a classification code for each material in the received bill of materials based on the material type and coding rules; then determine the description code type based on the coding rule table corresponding to the description code of each material classification code; based on the description code type, determine the material category after coding and comparing it with the coding rule table.

[0074] The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may include, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic units, data processing logic units based on quantum computing, and the like.

[0075] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0076] Example 5 This embodiment provides a material coding rule generation method applied to the electronic material management link, as well as a complete coding example in which the last eight digits of the description code are a nominal value code + a conventional attribute code type.

[0077] S1. The material code consists of eleven pure Arabic numerals, of which the first three are classification codes, the last eight are description codes, and the last digit is reserved for the manufacturer number. If no manufacturer is specified, the default value is 0.

[0078] S2. The first three digits of the material code are the material classification code. The first digit distinguishes the surface mount package and plug-in package of the material, the second digit distinguishes the basic type of the material, and the third digit subdivides the specific type of the material.

[0079] See also Figure 1 The first digit of the three-digit classification code is used to distinguish between SMD and plug-in components. In this embodiment, 1 is a SMD component and 2 is a plug-in component. The second digit of the three-digit classification code is used to distinguish the basic type of material. In this embodiment, 1 is a capacitor. The third digit of the three-digit classification code is used to subdivide the specific type of material. In this embodiment, 0 to 9 are used to distinguish a total of 18 different types of capacitors, namely SMD and plug-in.

[0080] S3. According to the classification code determined in step S2, a coding rule table is formulated for the last eight description codes. Each classification code corresponds to a coding rule table, and a coding rule table corresponds to multiple classification codes.

[0081] See also Figure 2 ,for Figure 1 The description code rules of all 18 capacitors shown are as follows, except for SMD capacitor 118 and plug-in capacitor 217. Figure 2 As shown, there are 8 digits in total, including 4 nominal digits + 1 precision digit + 1 package digit + 1 withstand voltage digit + 1 manufacturer digit.

[0082] See also Figure 3 , Figure 3 Based on Figure 1 and Figure 2 The established rules are for a complete encoding example where the last eight digits of the description code are the nominal value code + the general attribute code. The material to be encoded is a chip capacitor with a nominal value of 680pF±5% 50V and a C0603 package. The first three digits of the classification code are 110. In the last eight digits of the description code, the nominal value is encoded as 680pF. The basic unit of capacitance is defined as nF. When written in scientific notation, 680pF = 6.8*10 2 pF=6.8*10 (-1) nF, with a weight of -1<0 and a mapping of 7, the 4-bit nominal value is coded as 6807; the 5th bit is ±5% accuracy, coded as 3; the 6th bit is 0603 package, coded as 3; the 7th bit is 50V withstand voltage, coded as 6; the 8th bit is unspecified manufacturer, coded as 0. Therefore, the complete 11-bit code for this part is 11068073360.

[0083] Example 6 This embodiment provides a complete coding example in which the last eight digits of the description code are the model code + the serial number code.

[0084] See also Figure 4 , Figure 4This is an example of a complete code where the last eight digits of the description code are the model code + serial number code. The type is an unprogrammed chip, and the first three digits of the classification code are 160. The last eight digits of the description code indicate the chip model is STM32F107RCT6, so the model code is 32107. The sixth digit indicates the package is LQFP64 10X10MM, the first package of this chip, and the package code is 1. The seventh digit indicates the first version of the chip, and the code is 1. The eighth digit indicates that the chip has no manufacturer specified, and the code is 0. Therefore, the complete 11-digit code for this material is 16032107110.

[0085] If the chip has two pre-programmed versions, and both Program A and Program B are pre-programmed, the chip type is a pre-programmed chip, and the first three digits are 161. The chip model and package in the last eight digits, i.e., digits 1 to 6, remain unchanged. If the 7th digit contains two pre-programmed versions, Program A is coded as 1 and Program B is coded as 2. Therefore, the complete 11-bit codes for the two different pre-programmed versions are 16132107110 and 16132107120.

[0086] In summary, the present invention provides an electronic material coding method and system based on the combination of classification codes and description codes. Through the pure digital coding rules of the combination of classification codes and description codes, the efficiency and accuracy of electronic material management are significantly improved. The classification code directly identifies the material type, and the description code is embedded in the nominal value, package and other key parameters. The meaning of the code can be quickly interpreted without relying on the database; the code is generated based on the rule table to ensure that the materials with the same attributes correspond to unique codes, and the problems of serial numbers being easily duplicated and "one item with multiple codes" are completely solved; the pure digital structure is adapted to the ERP / MES system, supporting automatic procurement, inventory warning and production batching, and reducing the risk of manual intervention; the classification code and the rule table are dynamically expanded to adapt to new material types or parameter changes, avoiding reconstruction of the coding system; the PCB version serial number, manufacturer code and attribute association design file realize full-link traceability and quickly locate quality problems; the nominal value is compressed by scientific notation, the unit is unified and the attribute code mapping is mapped, reducing human errors and training costs, and it is estimated to reduce management costs by 15% to 20%. This method provides a standardized and universal material management solution for the electronic manufacturing industry, taking into account both efficiency improvement and risk control, and supporting the intelligent upgrade needs of enterprises. Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0087] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0088] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0089] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices or units, and can be electrical, mechanical, or other forms.

[0090] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0091] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0092] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0096] The above content is only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. A method for electronic material coding based on a combination of classification codes and description codes, characterized in that: The following steps are involved: Formulate coding rules based on the types, nominals, and packaging of commonly used electronic materials; receive bills of materials based on the coding rules; According to the material type and coding rules, give the classification code of each material in the received material list; Then determine the description code type based on the coding rule table of the description code corresponding to each material classification code; Based on the description code type, the material category is determined by encoding and comparing with the coding rule table.

2. The electronic material coding method based on the combination of classification code and description code according to claim 1 is characterized in that: Develop coding rules based on the types, nominals, and packaging of commonly used electronic materials; receive the bill of materials based on the coding rules, specifically: Set the material code to eleven pure Arabic numerals, of which the first three are the material classification code, the next eight are the description code, and the last digit is reserved for the manufacturer number. If no manufacturer is specified, the default value is 0; According to the determined classification code, a coding rule table is formulated for the last eight description codes. Each classification code corresponds to a coding rule table. A coding rule table can correspond to multiple classification codes. There are two types of coding rules, namely nominal value coding + general attribute coding, and model coding + serial number coding.

3. The electronic material coding method based on the combination of classification code and description code according to claim 2, characterized in that: The bill of materials includes the material type, quantity, tag number, nominal value, and packaging.

4. The electronic material coding method based on the combination of classification code and description code according to claim 2, characterized in that: The nominal value is coded with three or four digits, representing the resistance value of a resistor or the capacitance value of a capacitor. The nominal value specifies the basic unit and is expressed in scientific notation in the bill of materials. The last digit of the nominal value is the weight, which is coded as a specific power of 10. The first few digits of the nominal value are the significant digits in scientific notation. The number of bits for general attribute encoding is one, 0 to 9 represents ten different common values of an attribute, encoding three or four attributes, including nominal value accuracy, surface mount package, withstand voltage, power, and current.

5. The electronic material coding method based on the combination of classification code and description code according to claim 2, characterized in that: For connectors, the model code is two digits long and is distinguished by serial number according to different uses, distinguishing 99 different types of connectors; For chips, the first five digits of the last eight digits of the description code are the model code, the sixth digit is the different packages of the same model, and the seventh digit is the serial number code of similar models; For finished PCBs, the last eight digits of the description code are the first two digits for the board type, the third digit for the board subcategory, the fourth and fifth digits for different iterative versions of the same board in the form of serial numbers, and the last three digits are reserved.

6. The electronic material coding method based on the combination of classification code and description code according to claim 1, characterized in that: Based on the description code type, the material category is determined by encoding and comparing it with the coding rule table. Specifically: If the description code type obtained is nominal value coding + general attribute coding, encode the material according to the coding rule table. After encoding, compare it with the coding of existing materials in the database. If there is no identical code, add a new material, generate a corresponding code, and insert it into the database.

7. The electronic material coding method based on the combination of classification code and description code according to claim 6, characterized in that: If the same code already exists, it will be classified as an existing material, and the inventory quantity will be changed to obtain the material code.

8. The electronic material coding method based on the combination of classification code and description code according to claim 1 is characterized in that: Based on the description code type, the material category is determined by encoding and comparing it with the coding rule table. Specifically: If the description code type obtained is model code + serial number code, the database is searched for a completely matching nominal and package. If there is no complete match, a fuzzy search is performed on the closest material to determine whether it is an existing material. If there is no identical material, a new material is added, and the corresponding code is automatically generated and inserted into the database.

9. The electronic material coding method based on the combination of classification code and description code according to claim 8, characterized in that: If there is a completely matching nominal and package, it means the material already exists, and the inventory quantity is changed to obtain the material code.

10. An electronic material coding system based on a combination of classification codes and description codes, characterized in that: include: Coding module, which formulates coding rules based on the types, nominals, and packaging of commonly used electronic materials; Receive bill of materials according to coding rules; The classification module gives the classification code of each material in the received bill of materials according to the material type and coding rules; The judgment module then determines the description code type according to the coding rule table corresponding to the description code of each material classification code; The output module determines the material category based on the description code type by encoding and comparing it with the coding rule table.

Citation Information

Cited By

  • Electronic material intelligent management method and system

    CN120764974A

  • Electronic material intelligent coding method and system based on dynamic parameter mapping

    CN121093201A