Part coding method and device

By constructing a coding database and matching primary codes and secondary codes, the problem of insufficient flexibility in existing part coding is solved, enabling flexible representation of important part information and meeting production needs.

CN118627469APending Publication Date: 2024-09-10VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410695149.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing part coding is not flexible enough to effectively represent important part information, making it difficult to meet production needs during product updates and multiple suppliers.

Method used

By constructing a coding database, the basic information of the target part is obtained, the primary code is determined, and the secondary code information is matched in the database. If the match is successful, a second coding process is performed to determine the secondary code. The combination of the primary code and the secondary code is used to indicate the importance of the part. information to avoid recoding.

Benefits of technology

It achieves a flexible representation that does not require recoding when important part information changes, meets production needs, and adapts to product updates and coding requirements in multi-vendor situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627469A
    Figure CN118627469A
Patent Text Reader

Abstract

The invention discloses a part coding method and device. The method comprises the following steps: constructing a coding database; acquiring basic information of the target part; performing first coding processing on the target part according to the basic information, and determining a main code of the target part; performing auxiliary code information matching in the coding database according to the main code of the target part; and if the matching is successful, performing second coding processing on the target part according to the matched auxiliary code information, and determining the auxiliary code of the target part. Thus, through cooperation of the main code and the auxiliary code, when important information of the part changes, recoding is not needed, the important information in the part can be flexibly expressed, and the production requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of coding technology, and in particular to a parts coding method and device. Background Art

[0002] Many existing products are highly integrated products, and the assembly of the products involves many parts, and there may be multiple suppliers of parts. In addition, the product update speed is fast. Even if the same type of parts are assembled in different models of products, the matters that the staff need to understand and pay attention to may change. For many products, the staff understand the part information through the part code. However, the existing part code is not flexible enough, resulting in the information represented by the part code not meeting the production needs. Summary of the invention

[0003] In view of the above problems, the present invention provides a part coding method and device. Through the coordination of the main code and the sub-code, when the important information of the part changes, there is no need to re-code, and the important information in the part can be flexibly represented to meet production needs.

[0004] According to a first aspect of the present invention, there is provided a part coding method, comprising:

[0005] Build a coding database;

[0006] Obtain basic information of target parts;

[0007] Performing a first encoding process on the target part according to the basic information to determine a primary code of the target part;

[0008] According to the primary code of the target part, matching the secondary code information in the coding database;

[0009] If the match is successful, the target part is subjected to a second encoding process according to the matched secondary code information to determine the secondary code of the target part.

[0010] Optionally, performing a first encoding process on the target part according to the basic information to determine the primary code of the target part includes:

[0011] Extracting key features of the primary code from the basic information;

[0012] According to the key features of the master code and in accordance with preset master code rules, the master code of the target part is determined.

[0013] Optionally, matching the secondary code information in the coding database according to the primary code of the target part includes:

[0014] identifying a first code segment from a primary code of the target part;

[0015] According to the first code segment, matching is performed in the coding database;

[0016] If there is a target code segment in the coding database that is identical to the first code segment, the match is successful, and the secondary code information corresponding to the target code segment is used as the secondary code information of the target part.

[0017] Optionally, the first code segment includes an identification code and a common code, and the identification code and the common code belong to different types of characters.

[0018] Optionally, performing a second encoding process on the target part according to the matched secondary code information to determine the secondary code of the target part includes:

[0019] Extracting key features of the secondary code from the basic information;

[0020] According to the key features of the secondary code and in accordance with preset secondary code rules, the secondary code of the target part and the positional relationship between the secondary code and the primary code are determined.

[0021] Optionally, the positional relationship between the secondary code and the primary code includes:

[0022] The secondary code is located before the primary code; or the secondary code is located after the primary code.

[0023] Optionally, the constructing of a coding database includes:

[0024] In response to the staff's input operation on the coding database, the coding database is updated to obtain an updated coding database.

[0025] Optionally, the method further includes:

[0026] Determine updated content according to the input operation of the staff member to the coding database;

[0027] Determining updated parts according to the updated content;

[0028] Each updated part is taken as a target part respectively, and the step of obtaining basic information of the target part is returned to be executed.

[0029] According to a second aspect of the present invention, there is provided a parts encoding device, comprising:

[0030] Building module, used to build coding database;

[0031] An acquisition module is used to obtain basic information of the target part;

[0032] A first encoding module, used to perform a first encoding process on the target part according to the basic information to determine a primary code of the target part;

[0033] A matching module, used for matching the secondary code information in the coding database according to the primary code of the target part;

[0034] The second encoding module is used to perform a second encoding process on the target part according to the matched secondary code information after the matching is successful, so as to determine the secondary code of the target part.

[0035] According to a third aspect of the present invention, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the aforementioned part coding method when executing the computer program.

[0036] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which implements the aforementioned part coding method when executed by a processor.

[0037] The above one or more technical solutions in the embodiments of this specification have at least the following technical effects:

[0038] The embodiment of this specification provides a part coding method and device, which builds a coding database; obtains basic information of a target part; performs a first coding process on the target part according to the basic information to determine the primary code of the target part; matches the secondary code information in the coding database according to the primary code of the target part; if the match is successful, performs a second coding process on the target part according to the matched secondary code information to determine the secondary code of the target part. In this way, through the coordination of the primary code and the secondary code, when the important information of the part changes, there is no need to re-code, and the important information in the part can be flexibly represented to meet the production needs.

[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Also, throughout the accompanying drawings, the same reference figures are used to represent the same components. In the drawings:

[0041] Figure 1 A flow chart of a parts encoding method in an embodiment of the present invention is shown.

[0042] Figure 2A block diagram of a parts encoding device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0043] 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 here can be arranged and designed in various different configurations.

[0044] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, 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 creative work are within the scope of protection of the present invention.

[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0046] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0047] Many existing products are highly integrated products, such as automobiles, mobile phones, panels, etc. The assembly of these products involves many parts, and there may be multiple suppliers of parts.

[0048] In addition, these products are updated quickly. Even if the same type of parts are assembled in different models of products, the matters that the staff need to understand and pay attention to may change. For many products, the staff understand the part information through the part code.

[0049] However, the existing part coding is not flexible enough, resulting in the information represented by the part coding not being able to meet production needs. Taking Honda as an example, the coding rules for Honda parts are as follows:

[0050] Honda part numbers consist of 13 digits.

[0051] Classification: The first two digits usually indicate the classification of the assembly component.

[0052] Part code: The 3rd to 5th digits are the part code, which further specifies the specific part.

[0053] Vehicle Model Code: The next three digits represent the vehicle model code, which is used to distinguish the specific vehicle model that the part is suitable for.

[0054] Category Code: The next two or three digits (depending on the total length of the code) are the category code, which may refer to the type or properties of the part.

[0055] Color Code: The last two digits are often a color code, especially in interior and exterior trim, to differentiate between different colors of the same part.

[0056] It is easy to see that when the same part is supplied by multiple suppliers, the above coding cannot distinguish the suppliers well, and the part number needs to be recreated to distinguish them.

[0057] Based on the above situation, combined with Figure 1 As shown, the present invention provides a part coding method, which includes steps 101 to 105:

[0058] Step 101: construct a coding database;

[0059] In this embodiment, the coding database includes a target code segment and secondary code information corresponding to the target code segment. The target code segment is part of the main code of some parts, for example, the first code segment of the main code. In other words, the target code segment is the same as the first code segment in the main code of some parts.

[0060] In the coding database, the secondary code information corresponds to the target code segment. The secondary code information refers to the important information supplemented and defined by the staff for the parts corresponding to the target code segment. The important information comes from the basic information of the target parts.

[0061] It should be noted that the coding database can be updated as needed, that is, in response to the staff's input operation on the coding database, the coding database is updated to obtain an updated coding database.

[0062] Step 102: Obtain basic information of the target part;

[0063] In this embodiment, the target part refers to a part to be encoded, and the part to be encoded may be a new part that has not been encoded yet, or a part that has been encoded before but needs to have its encoding updated.

[0064] Basic information refers to some important information about the target part, such as the part classification, attributes, manufacturer, color, etc.

[0065] It should be noted that the basic information of parts can be updated according to actual conditions.

[0066] Step 103: performing a first encoding process on the target part according to the basic information to determine the primary code of the target part;

[0067] In this embodiment, after obtaining the basic information of the target part, the target part can be subjected to a first coding process according to the basic information. The first coding process mainly extracts the key features of the master code from the basic information; for example, the classification, attributes, and assembly product model of the part. It should be noted that the key features of the master code must be included in the basic information. From the basic information, the content corresponding to the key features of the master code of the target part can be extracted, and then the master code of the target part can be determined according to the preset master code rules.

[0068] The main code includes multiple code segments, each code segment represents different information, and the number of code positions in each code segment is known. The first code segment is a code segment located at the front of the main code, which is composed of a certain number of code positions, which is not limited in this embodiment. It should be noted that the first code segment includes two characters, one of which is used as the first code position, that is, the identification code; the remaining code positions are used as ordinary codes and are represented by another character. For example, the first code segment includes 4 code positions, the first code position uses a certain letter as the identification code, and the remaining code positions use numbers as ordinary codes. In this way, the first code segment and the main code of the target part can be identified by the identification code and a certain number of code positions after the identification code.

[0069] Step 104: Matching the secondary code information in the coding database according to the primary code of the target part;

[0070] In this embodiment, each part has a primary code, and the type of information represented by each code segment is fixed. The target part may include a secondary code, or it may not include a secondary code. The secondary code is a supplementary code for some important information of the part according to the actual situation. The types of important information that need to be supplemented for each part may be different. For example, some parts need to be supplemented with a color code, and some parts need to be supplemented with a manufacturer code.

[0071] Whether a target part needs a secondary code can be determined by matching the secondary code information in the coding database based on the primary code of the target part. If the match is successful, it means that some important secondary code information needs to be supplemented with coding. If the match is unsuccessful, it means that the target part does not need to be supplemented with coding.

[0072] In detail, the matching steps may include:

[0073] identifying a first code segment from a primary code of the target part;

[0074] According to the first code segment, matching is performed in the coding database;

[0075] If there is a target code segment in the coding database that is identical to the first code segment, the match is successful, and the secondary code information corresponding to the target code segment is used as the secondary code information of the target part.

[0076] As shown above, the first code segment can be identified by finding the identification code. The number of code bits of the first code segment is known, and when the identification code is found, the first code segment can be extracted.

[0077] There are multiple target code segments in the coding database. The first code segment is matched with these target code segments to determine whether there is one identical to the first code segment in these target code segments. If so, it means the match is successful, otherwise, it means the match is unsuccessful.

[0078] When the match is successful, the secondary code information corresponding to the target code segment is used as the secondary code information of the target part.

[0079] Step 105: If the match is successful, a second encoding process is performed on the target part according to the matched secondary code information to determine the secondary code of the target part.

[0080] In this embodiment, if the match is successful, the secondary code information of the target part can be obtained. The secondary code information is previously defined by the staff based on the basic information of the target part as needed.

[0081] According to the secondary code information, the key features of the secondary code are extracted from the basic information; then, according to the key features of the secondary code and in accordance with the preset secondary code rules, the secondary code of the target part and the positional relationship between the secondary code and the primary code are determined. In other words, the secondary code rules not only stipulate the secondary code corresponding to the secondary code information, but also stipulate the positional relationship between the secondary code and the primary code, that is, the secondary code is located before the primary code; or the secondary code is located after the primary code. Since the primary code is identifiable, different positional relationships between the primary code and the secondary code can enable the secondary code to express more secondary code information without increasing the length of the secondary code.

[0082] In addition, the aforementioned content mentioned that the coding database can be updated as needed, and the corresponding parts of the update may be new parts that have not been encoded yet, or parts that have been encoded before. Therefore, if the coding database is updated, this embodiment can determine the updated content based on the staff's input operation on the coding database, and then determine the corresponding updated parts; then take each updated part as the target part, return to execute the step of obtaining the basic information of the target part, and re-encode the part so that the part code can be updated in time.

[0083] In summary, the embodiment of this specification provides a part coding method, which constructs a coding database; obtains the basic information of the target part; performs a first coding process on the target part according to the basic information to determine the primary code of the target part; matches the secondary code information in the coding database according to the primary code of the target part; if the match is successful, performs a second coding process on the target part according to the matched secondary code information to determine the secondary code of the target part. In this way, through the coordination of the primary code and the secondary code, when the important information of the part changes, there is no need to re-code, and the important information in the part can be flexibly expressed to meet the production needs.

[0084] Based on the same inventive concept, combined Figure 2 As shown, an embodiment of the present invention further provides a part encoding device, comprising:

[0085] Building module, used to build coding database;

[0086] An acquisition module is used to obtain basic information of the target part;

[0087] A first encoding module, used to perform a first encoding process on the target part according to the basic information to determine a primary code of the target part;

[0088] A matching module, used for matching the secondary code information in the coding database according to the primary code of the target part;

[0089] The second encoding module is used to perform a second encoding process on the target part according to the matched secondary code information after the matching is successful, so as to determine the secondary code of the target part.

[0090] Optionally, the first encoding module is further used for:

[0091] Extracting key features of the primary code from the basic information;

[0092] According to the key features of the master code and in accordance with preset master code rules, the master code of the target part is determined.

[0093] Optionally, the matching module is also used to:

[0094] identifying a first code segment from a primary code of the target part;

[0095] According to the first code segment, matching is performed in the coding database;

[0096] If there is a target code segment in the coding database that is identical to the first code segment, the match is successful, and the secondary code information corresponding to the target code segment is used as the secondary code information of the target part.

[0097] Optionally, the first code segment includes an identification code and a common code, and the identification code and the common code belong to different types of characters.

[0098] Optionally, the second encoding module is further used for:

[0099] Extracting key features of the secondary code from the basic information;

[0100] According to the key features of the secondary code and in accordance with preset secondary code rules, the secondary code of the target part and the positional relationship between the secondary code and the primary code are determined.

[0101] Optionally, the positional relationship between the secondary code and the primary code includes:

[0102] The secondary code is located before the primary code; or the secondary code is located after the primary code.

[0103] Optionally, the building block is also used to:

[0104] In response to the staff's input operation on the coding database, the coding database is updated to obtain an updated coding database.

[0105] Optionally, the second encoding module is further used for:

[0106] Determine updated content according to the input operation of the staff member to the coding database;

[0107] Determining updated parts according to the updated content;

[0108] Each updated part is taken as a target part respectively, and the step of obtaining basic information of the target part is returned to be executed.

[0109] In summary, the embodiment of this specification provides a part coding device, which constructs a coding database; obtains basic information of the target part; performs a first coding process on the target part according to the basic information to determine the primary code of the target part; matches the secondary code information in the coding database according to the primary code of the target part; if the match is successful, performs a second coding process on the target part according to the matched secondary code information to determine the secondary code of the target part. In this way, through the coordination of the primary code and the secondary code, when the important information of the part changes, there is no need to re-code, and the important information in the part can be flexibly represented to meet the production needs.

[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the part coding device described above can refer to the corresponding process in the aforementioned method, and will not be elaborated here.

[0111] Based on the same inventive concept, this embodiment provides an electronic device, including a part coding device, a memory, a processor and a communication unit. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through a bus, the processor executes the machine-readable instructions, and executes the part coding method.

[0112] The memory, the processor, and the communication unit are electrically connected to each other directly or indirectly to achieve signal transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The part encoding device includes at least one software function module that can be stored in the memory in the form of software or firmware. The processor is used to execute the executable module stored in the memory (such as the software function module or computer program included in the part encoding device).

[0113] Among them, the memory can be, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read On ly Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electrical Erasable Programmable Read-Only Memory, EEPROM), etc.

[0114] In some embodiments, the processor is used to perform one or more functions described in the present embodiment. In some embodiments, the processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIC), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC) or a microprocessor, or any combination thereof.

[0115] For ease of explanation, only one processor is described in the electronic device. However, it should be noted that the electronic device in this embodiment may also include multiple processors, so the steps performed by one processor described in this embodiment may also be performed jointly or individually by multiple processors. For example, if the processor of the server performs steps A and B, it should be understood that steps A and B may also be performed jointly by two different processors or individually in one processor. For example, the processor performs step A and the second processor performs step B, or the processor and the second processor perform steps A and B together.

[0116] In this embodiment, the memory is used to store the program, and the processor is used to execute the program after receiving the execution instruction. The process definition method disclosed in any implementation of this embodiment can be applied to the processor, or implemented by the processor.

[0117] The communication unit is used to establish a communication connection between the electronic device and other devices through a network, and to send and receive data through the network.

[0118] In some embodiments, the network may be any type of wired or wireless network, or a combination thereof. As examples only, the network may include a wired network, a wireless network, an optical fiber network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof.

[0119] In this embodiment, the electronic device may be, but is not limited to, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), and the like. This embodiment does not impose any restriction on the specific type of the electronic device.

[0120] Based on the above, this embodiment provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the part coding method of any of the aforementioned embodiments is implemented.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the readable storage medium described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.

[0122] In summary, the embodiment of this specification provides a part coding method and device, which builds a coding database; obtains the basic information of the target part; performs a first coding process on the target part according to the basic information to determine the primary code of the target part; matches the secondary code information in the coding database according to the primary code of the target part; if the match is successful, performs a second coding process on the target part according to the matched secondary code information to determine the secondary code of the target part. In this way, through the coordination of the primary code and the secondary code, when the important information of the part changes, there is no need to re-code, and the important information in the part can be flexibly represented to meet the production needs.

[0123] The above are only various embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for part coding, It is characterized in that include: Build a coding database; Obtain basic information of target parts; Performing a first encoding process on the target part according to the basic information to determine a primary code of the target part; According to the primary code of the target part, matching the secondary code information in the coding database; If the match is successful, the target part is subjected to a second encoding process according to the matched secondary code information to determine the secondary code of the target part.

2. The method according to claim 1, It is characterized in that The step of performing a first encoding process on the target part according to the basic information to determine the primary code of the target part includes: Extracting key features of the primary code from the basic information; According to the key features of the master code and in accordance with preset master code rules, the master code of the target part is determined.

3. The method according to claim 1, It is characterized in that The matching of the secondary code information in the coding database according to the primary code of the target part includes: identifying a first code segment from a primary code of the target part; According to the first code segment, matching is performed in the coding database; If there is a target code segment in the coding database that is identical to the first code segment, the match is successful, and the secondary code information corresponding to the target code segment is used as the secondary code information of the target part.

4. The method according to claim 3, It is characterized in that The first code segment includes an identification code and a common code, and the identification code and the common code belong to different types of characters.

5. The method according to claim 1, It is characterized in that The step of performing a second encoding process on the target part according to the matched secondary code information to determine the secondary code of the target part includes: Extracting key features of the secondary code from the basic information; According to the key features of the secondary code and in accordance with preset secondary code rules, the secondary code of the target part and the positional relationship between the secondary code and the primary code are determined.

6. The method according to claim 5, It is characterized in that The positional relationship between the secondary code and the primary code includes: The secondary code is located before the primary code; or the secondary code is located after the primary code.

7. The method according to claim 1, It is characterized in that The construction of the coding database comprises: In response to the staff's input operation on the coding database, the coding database is updated to obtain an updated coding database.

8. The method according to claim 7, It is characterized in that The method further comprises: Determine updated content according to the input operation of the staff member to the coding database; Determining updated parts according to the updated content; Each updated part is taken as a target part respectively, and the step of obtaining basic information of the target part is returned to be executed.

9. A parts coding device, It is characterized in that include: Building module, used to build coding database; An acquisition module is used to obtain basic information of the target part; A first encoding module, used to perform a first encoding process on the target part according to the basic information to determine a primary code of the target part; A matching module, used for matching the secondary code information in the coding database according to the primary code of the target part; The second encoding module is used to perform a second encoding process on the target part according to the matched secondary code information after the matching is successful, so as to determine the secondary code of the target part.

10. An electronic device, It is characterized in that The electronic device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the part coding method described in any one of claims 1 to 8 when executing the computer program.