Production data processing method and device
By evaluating and grouping the production similarities of multiple types of boards, the problem of increased frequency and duration of production line switching in multi-variety, small-batch production is solved, achieving more efficient co-line production and improving manufacturing efficiency.
Patent Information
- Application Number
- CN202310330724.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
In the multi-variety and small-batch production of electronic products, the frequency and duration of production line switching increase, resulting in a reduction in collinear production efficiency. It is difficult for existing technology to effectively solve the problem of evaluating and grouping the similarity of production methods between multiple varieties of single boards.
By obtaining the board information and production line information of multiple boards, we use the pre-stored correspondence to determine the production similarity, group the boards to optimize co-line production, and use model training and feature engineering to determine the board attributes and production lines. The importance of attributes is combined with lost man-hours for weighted summation to achieve comprehensive similarity assessment and grouping between boards.
It reduces the frequency and duration of production line switching, improves co-line production efficiency, ensures that multiple boards are produced on a highly similar production line, reduces production losses, and improves manufacturing efficiency.
Smart Images

Figure CN118690989A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a production data processing method and device. Background Art
[0002] With the development of electronic technology, people's demand for electronic products has become increasingly diversified, which has promoted the transition of manufacturing from mass production to multi-variety customized manufacturing. This requires the same factory or the same production line of manufacturing enterprises to have the ability to produce multiple products, that is, co-production, so as to improve the company's response speed to uncertain and highly variable order demands.
[0003] In the related art, co-production can include: assigning multiple products to a single production line, and the production line switches to produce different assigned products in different time periods. The assigned products can be, for example, different types of single boards in electronic products, and single boards refer to printed circuit board assemblies (PCBA) with electronic components.
[0004] However, the increasingly refined categories of electronic products have led to the significant characteristics of multi-variety and small batches of single boards. That is, the number of single board types is greater than the type threshold, and the order batch of each single board is less than the preset batch threshold. This means that for a single production line, the production switching frequency and switching time have increased significantly, resulting in a decrease in the efficiency of co-production. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a production data processing method and device. The production data processing method determines the production similarity that can reflect the similarity of production methods among multiple single boards through the production line information corresponding to the single board information of each single board among multiple single boards, and then divides the multiple single boards that can be produced on the same line into a group according to the production similarity to allocate them to the same production line for co-production, thereby ensuring that the switching frequency and switching time of the production of multiple single boards on the production line are less, thereby improving the co-production efficiency.
[0006] In a first aspect, an embodiment of the present application provides a production data processing method, the method comprising: acquiring production data, the production data comprising at least one first single board information corresponding to each single board of a plurality of different types of single boards; wherein the first single board information is used to indicate a single board; based on a pre-stored first correspondence, determining the first production line information corresponding to each first single board information; determining the production similarity between the plurality of single boards according to the determined first production line information; grouping the plurality of single boards according to the production similarity between the plurality of single boards to obtain at least one co-linear single board group; wherein the production similarity between the single boards in the co-linear single board group is greater than the production similarity between the single boards outside the co-linear single board group; the plurality of single boards in the co-linear single board group are used for co-linear production.
[0007] Exemplarily, the single board information can be used to indicate the single board attribute corresponding to the single board information, and the value of the attribute can be set by an expert, such as a gold sample BOM. That is to say, the single board information can specifically include single board attributes and corresponding single board attribute values. The production line information can be used to indicate the production line attributes, for example, it can be the table configuration of the placement machine in the SMT line configuration, which can specifically include: information on the nozzle, track, position and feeder, etc. Similar to the single board information, the production line information can include production line attributes and corresponding production line attribute values. The first corresponding relationship can include the corresponding relationship between the single board information and the production line information.
[0008] In an embodiment of the present application, the production line information corresponding to each single board is determined based on the single board information of each single board among the multiple single boards, and then the production similarity between the multiple single boards is determined based on the production line information. In this way, the production similarity can reflect the similarity of the production methods between each single board. The higher the production similarity, the more similar the production methods are, the less the switching frequency and switching duration during co-production, and the more suitable the different types of single boards corresponding to the production similarity are for co-production. Based on this, the multiple single boards are grouped according to the determined production similarity, and at least one co-line single board information group is obtained for co-production of the multiple single boards indicated by the same co-line single board information group, that is, the single board group, so that the different types of single boards in a single board group are co-produced on the production line indicated by the production line information corresponding to the corresponding production similarity, which can ensure that the switching frequency of the production line is less and the switching duration is shorter, thereby improving the efficiency of co-production.
[0009] According to the first aspect, before obtaining production data, the method also includes: obtaining historical single board information of multiple single boards produced historically, and historical configuration information of production lines used in historical production; extracting single board attributes and production line attributes from the historical single board information and historical configuration information respectively; using the single board attributes and production line attributes to perform model training, and determining a first model obtained by training as a first corresponding relationship, wherein the first model is used to reflect the importance of single board attributes relative to production line attributes.
[0010] Exemplarily, the first model may be a random forest model, for example. In the above model training, the board attributes extracted from the historical board information may be used as training samples, and the production line attributes extracted from the historical configuration information may be used as labels of the training samples.
[0011] In the embodiment of the present application, the first model that can reflect the importance of the single board attribute relative to the production line attribute is used as the first corresponding relationship, which can be used to more comprehensively and accurately determine the first production line information corresponding to the first single board information.
[0012] According to the first aspect, or any implementation method of the first aspect above, the first single board information includes single board attributes; the first production line information includes production line attributes; based on the pre-stored first correspondence relationship, the first production line information corresponding to each first single board information is determined, including: inputting each first single board information into the first correspondence relationship respectively, and obtaining the importance of the single board attributes contained in each first single board information relative to the production line attributes; for each first single board information, determining the target importance of the importance corresponding to the first single board information that is greater than the importance threshold, and determining the first production line information containing the production line attributes corresponding to the target importance as the first production line information corresponding to the first single board information.
[0013] In the embodiment of the present application, by using the first model that can reflect the importance of the single board attribute relative to the production line attribute as the first corresponding relationship, the first production line information corresponding to the first single board information can be determined more comprehensively and accurately.
[0014] According to the first aspect, or any one of the implementation methods of the first aspect above, the production similarity between multiple single boards is determined based on the determined first production line information, including: calculating the similarity of different production line attributes based on the attribute values of the production line attributes contained in the determined first production line information; determining the single board grouping weight corresponding to each first production line information based on a pre-stored second correspondence; wherein the second correspondence includes the correspondence between the production line attributes and the lost working hours; performing weighted summation on the similarity of the production line attributes through the single board grouping weight corresponding to each first production line information to obtain the comprehensive similarity between the boards; when the weighted summation of the similarity of each production line attribute is completed, the production similarity between multiple single boards is obtained.
[0015] In an embodiment of the present application, the lost working hours corresponding to different production line attributes are used as weights to determine production similarity, so that the production similarity between different types of single boards can be determined by combining production line attributes with lost working hours. This can ensure that the subsequent co-line grouping based on production similarity is a grouping with relatively smaller lost working hours, thereby further reducing the time consumption of co-line production and improving efficiency.
[0016] According to the first aspect, or any implementation of the first aspect above, before obtaining production data, the method also includes: obtaining historical configuration information of the production lines used for the historical production of multiple single boards and the lost working hours in the historical production; extracting production line attributes from the historical configuration information; using the production line attributes and lost working hours to perform model training, and determining the trained second model as a second corresponding relationship, wherein the second model is used to reflect the importance of the production line attributes relative to the lost working hours; based on the pre-stored second corresponding relationship, determining the single board grouping weight corresponding to each first production line information, including: inputting each first production line information into the second corresponding relationship respectively, and obtaining the importance of the production line attributes in the first production line information relative to the lost working hours as the single board grouping weight corresponding to the first production line information.
[0017] Exemplarily, the second model can be, for example, a discretized classification random forest model and a non-discretized regression random forest. In the above model training, the production line attributes extracted from the historical configuration information can be used as training samples, and the lost working hours in the historical production can be used as labels for the training samples.
[0018] In the embodiment of the present application, by using a second model that can reflect the importance of production line attributes relative to lost working hours as the second corresponding relationship, the lost working hours corresponding to the first production line information can be determined more comprehensively and accurately.
[0019] According to the first aspect, or any implementation method of the first aspect above, a plurality of single boards are grouped according to the production similarity between the plurality of single boards to obtain at least one co-linear single board group, including: determining a substrate among the plurality of single boards according to the production similarity between the plurality of single boards, wherein the substrate includes a single board whose production similarity with single boards other than the substrate among the plurality of single boards is greater than a second similarity threshold; determining at least one single board group according to the rule that single boards with relatively higher production similarity are grouped together according to the size of the production similarity between single boards other than the substrate among the plurality of single boards.
[0020] In an embodiment of the present application, by grouping multiple single board information according to the rule of grouping single boards with relatively higher production similarity, it is ensured that multiple single boards corresponding to the same co-line single board information group are more suitable for co-line production to reduce the switching frequency and switching time of co-line production.
[0021] According to the first aspect, or any implementation method of the first aspect above, the production similarity between multiple single boards includes a matrix formed by the production similarities between the multiple single boards, the kth column of the matrix includes the production similarity between the kth single board and the single boards other than the kth single board among the multiple single boards, 0≤k≤N, and is an integer, N is the number of types of the multiple single boards; according to the production similarity between the multiple single boards, the substrate among the multiple single boards is determined, including: summing each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; according to the sum of the similarities corresponding to each column, determining the target column with the largest corresponding similarity sum, and determining the kth single board included in the target column as the substrate; according to the size of the production similarity between the single boards other than the substrate and the substrate among the multiple single boards, according to the relative production similarity According to the rule that a higher number of boards are grouped together, at least one board group is determined, including: according to the condition that the number of boards in each board group is not greater than the loading threshold, the boards with the highest production similarity with the substrate among the multiple boards except the substrate are divided into the board group to which the substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of boards; when the grouping of the boards except the substrate among the multiple boards is completed, at least one board group is obtained; when the grouping of the board group to which the substrate belongs is completed and there are ungrouped boards, a new substrate is determined from the ungrouped boards, and according to the size of the production similarity between the ungrouped board and the new substrate, according to the rule that boards with relatively higher production similarity are grouped, at least one board group is determined until the grouping of multiple boards is completed.
[0022] According to the first aspect, or any implementation of the first aspect above, the production similarity between multiple single boards includes a matrix formed by the production similarities between the multiple single boards, the kth column of the matrix includes the production similarity between the kth single board and the single boards other than the kth single board among the multiple single boards, 0≤k≤N, and is an integer, N is the number of types of the multiple single boards; accordingly, according to the production similarity between the multiple single boards, the substrates among the multiple single boards are determined, including: summing each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; according to the sum of the similarities corresponding to each column, determining multiple target columns whose corresponding sums of similarities are greater than a first threshold, and determining multiple kth single boards included in the multiple target columns as multiple candidate substrates; determining the candidate substrates with the largest sum of corresponding similarities among the multiple candidate substrates as substrates of a group of single board groups; determining the candidate substrates among the multiple candidate substrates, except for the candidate substrates that have been determined as substrates, whose production similarities with the determined substrates are all less than the second threshold, as substrates of a new group of single board groups, until there are no candidate substrates whose production similarities with the determined substrates are all less than the second threshold. candidate substrates, obtaining at least one substrate and a plurality of single board groups to which each substrate belongs respectively; correspondingly, according to the size of the production similarity between single boards other than the substrate and the substrate among the plurality of single boards, according to the rule that single boards with relatively higher production similarity are grouped, determining at least one single board group, including: according to the condition that the number of single boards in each single board group is not greater than the loading threshold, dividing the single boards with relatively higher production similarity with the first substrate among the plurality of single boards other than the determined substrate into the single board group to which the first substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of single boards; the first substrate includes any one of the determined substrates; when the single boards other than at least one substrate among the plurality of single boards are grouped, obtaining at least one single board group; when the single board group to which at least one substrate belongs is grouped, and there are ungrouped single boards, determining a new substrate from the ungrouped single boards, and according to the size of the production similarity between the ungrouped single board and the new substrate, according to the rule that single boards with relatively higher production similarity are grouped, determining at least one single board group, until the grouping of the plurality of single boards is completed.
[0023] In an embodiment of the present application, by determining the number of groups to be divided as much as possible in the process of determining the substrate, that is, determining multiple substrates, the similarity between each group of single boards can be improved, and the similarity between the later single boards and other single boards can be reduced in the method of directly grouping according to the sum of similarities. The similarity between the last group of single boards may be very low, thereby further reducing the switching frequency and line change time of the same group of single boards in co-production.
[0024] According to the first aspect, or any implementation of the first aspect above, after grouping multiple single boards according to the production similarities between the multiple single boards to obtain at least one co-linear single board group, the method also includes: obtaining an initial single board information set, wherein the initial single board information set includes at least one second single board information different from at least one first single board information; determining the second production line information corresponding to each second single board information in the at least one second single board information through a first correspondence based on the at least one second single board information; determining the first comparison information of at least one second single board corresponding to the at least one second single board information relative to the multiple first single boards corresponding to the at least one co-linear single board information group based on the second production line information corresponding to each second single board information and the first production line information corresponding to the at least one co-linear single board information group, and / or determining the first comparison information of at least one second single board corresponding to the at least one second single board information relative to the multiple first single boards corresponding to the at least one co-linear single board information group based on each second single board information and the at least one co-linear single board information group; wherein the first comparison information is used to determine whether to update the initial single board information, and in the case of updating, to update the initial single board information based on the first comparison information.
[0025] In an embodiment of the present application, the co-linear effect of the new single board is analyzed through the obtained co-linear single board information group to determine the update of the new single board, that is, the single board corresponding to the initial single board information group, that is, to solve the problem of how the new single board can be co-linear, thereby ensuring that the new single board can be improved from the perspective of the manufacturability of the parts, so that the parts and various processes are easy to manufacture, with low manufacturing cost, high efficiency, and low cost ratio.
[0026] According to the first aspect, or any implementation of the first aspect above, after grouping multiple single boards according to the production similarities between the multiple single boards to obtain at least one co-linear single board group, the method also includes: obtaining a supplementary single board information set, wherein the supplementary single board information set includes at least one third single board information for replacing at least one first single board information; determining the third production line information corresponding to each third single board information in the at least one third single board information through a first correspondence relationship based on the at least one third single board information respectively; determining the second comparison information of at least one third single board corresponding to the at least one third single board information relative to the multiple first single boards corresponding to the at least one co-linear single board information group based on the third production line information corresponding to each third single board information and the first production line information corresponding to the at least one co-linear single board information group, and / or, based on each second single board information and the at least one co-linear single board information group; wherein the second comparison information is used to determine whether to replace at least one first single board information with the supplementary single board information.
[0027] In an embodiment of the present application, the co-line effect of the supplemented single board is analyzed through the obtained co-line single board information group to solve the problem of which single boards are added after the old single boards are discontinued, thereby ensuring that the introduced supplemented single boards can also meet the co-line premise to reduce the switching frequency and switching time of co-line production and improve the co-line production efficiency.
[0028] In a second aspect, an embodiment of the present application provides a production data processing device, which includes: a data acquisition module, used to acquire production data, the production data including at least one first single board information corresponding to each single board of a plurality of different types; wherein the first single board information is used to indicate a single board; based on a pre-stored first correspondence, determining the first production line information corresponding to each first single board information; a similarity determination module, used to determine the production similarity between the plurality of single boards according to the determined first production line information; a grouping module, used to group the plurality of single boards according to the production similarity between the plurality of single boards to obtain at least one co-linear single board group; wherein the production similarity between the single boards in the co-linear single board group is greater than the production similarity between the single boards outside the co-linear single board group; the plurality of single boards in the co-linear single board group are used for co-linear production.
[0029] According to the second aspect, the device also includes a feature engineering module, which is used to: obtain historical single board information of multiple single boards produced historically, and historical configuration information of production lines used in historical production; extract single board attributes and production line attributes from the historical single board information and historical configuration information respectively; use the single board attributes and production line attributes to perform model training, and determine the first model obtained by training as a first corresponding relationship, wherein the first model is used to reflect the importance of single board attributes relative to production line attributes.
[0030] According to the second aspect, or any implementation method of the second aspect above, the first single board information includes single board attributes; the first production line information includes production line attributes; the data acquisition module is specifically used to: input each first single board information in multiple first single board information into the first corresponding relationship respectively, and obtain the importance of the single board attributes contained in each first single board information relative to the production line attributes; for each first single board information, determine the target importance of the importance corresponding to the first single board information that is greater than the importance threshold, and determine the first production line information containing the production line attributes corresponding to the target importance as the first production line information corresponding to the first single board information.
[0031] According to the second aspect, or any implementation method of the second aspect above, the similarity determination module is specifically used to: calculate the similarity of different production line attributes based on the attribute value of the production line attribute contained in the determined first production line information; determine the single board grouping weight corresponding to each first production line information based on the pre-stored second corresponding relationship; wherein the second corresponding relationship includes the correspondence between the production line attribute and the lost working hours; perform weighted summation of the similarity of the production line attributes through the single board grouping weight corresponding to each first production line information to obtain the comprehensive similarity between boards; when the weighted summation of the similarity of each production line attribute is completed, the production similarity between multiple single boards is obtained.
[0032] According to the second aspect, or any implementation of the second aspect above, the device also includes a feature engineering module, which is used to: obtain historical configuration information of the production lines used in the historical production of multiple single boards and the lost working hours in the historical production; extract production line attributes from the historical configuration information; use the production line attributes and lost working hours to train the model, and determine the trained second model as a second corresponding relationship, wherein the second model is used to reflect the importance of the production line attributes relative to the lost working hours; a similarity determination module, specifically used to: input each first production line information into the second corresponding relationship, and obtain the importance of the production line attributes in the first production line information relative to the lost working hours as the single board grouping weight corresponding to the first production line information.
[0033] According to the second aspect, or any implementation method of the second aspect above, the grouping module is specifically used to: determine the substrate among the multiple single boards based on the production similarity between the multiple single boards, wherein the substrate includes a single board whose production similarity with the single boards other than the substrate among the multiple single boards is greater than a second similarity threshold; determine at least one single board group according to the rule that single boards with relatively higher production similarity are grouped together based on the size of the production similarity between the single boards other than the substrate among the multiple single boards and the substrate.
[0034] According to the second aspect, or any implementation of the second aspect above, the production similarity between multiple single boards includes a matrix formed by the production similarities between the multiple single boards, the kth column of the matrix contains the production similarities between the kth single board and the single boards other than the kth single board among the multiple single boards, 0≤k≤N, and is an integer, N is the number of types of the multiple single boards; the grouping module is specifically used to: sum each column of the matrix separately to obtain the sum of the similarities corresponding to each column; according to the sum of the similarities corresponding to each column, determine the target column with the largest corresponding similarity sum, and determine the kth single board contained in the target column as the substrate; according to the number of single boards in each single board group is not greater than According to the condition of loading threshold, among multiple boards, the boards other than the substrate, which have the highest production similarity with the substrate, are divided into the board group to which the substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of boards; when the grouping of boards other than the substrate among multiple boards is completed, at least one board group is obtained; when the grouping of the board group to which the substrate belongs is completed and there are ungrouped boards, a new substrate is determined from the ungrouped boards, and according to the size of the production similarity between the ungrouped board and the new substrate, at least one board group is determined according to the rule that boards with relatively higher production similarity are grouped together, until the grouping of multiple boards is completed.
[0035] According to the second aspect, or any implementation of the second aspect above, the production similarities between multiple single boards include a matrix formed by the production similarities between the multiple single boards, the kth column of the matrix contains the production similarities between the kth single board and multiple single boards except the kth single board, 0≤k≤N, and is an integer, N is the number of types of multiple single boards; a grouping module, specifically used to: sum each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; determine multiple target columns whose corresponding sums of similarities are greater than a first threshold according to the sums of the similarities corresponding to each column, and determine multiple kth single boards included in the multiple target columns as multiple candidate substrates; determine the candidate substrates with the largest sum of corresponding similarities among the multiple candidate substrates as substrates of a group of single board groups; determine the candidate substrates among the multiple candidate substrates, except for the candidate substrates that have been determined as substrates, whose production similarities with the determined substrates are less than the second threshold as substrates of a new group of single board groups, until there are no more candidate substrates. There are candidate substrates whose production similarities with the determined substrates are all less than a second threshold, and at least one substrate and multiple single board groups to which each substrate belongs are obtained; according to the condition that the number of single boards in each single board group is not greater than the loading threshold, the single boards among the multiple single boards except the determined substrate, which have the highest production similarity with the first substrate, are divided into the single board group to which the first substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of single boards; the first substrate includes any one of the determined substrates; when the single boards except at least one substrate among the multiple single boards are grouped, at least one single board group is obtained; when the single board group to which at least one substrate belongs is grouped, and there are ungrouped single boards, new substrates are determined from the ungrouped single boards, and according to the size of the production similarity between the ungrouped single board and the new substrate, at least one single board group is determined according to the rule that single boards with relatively higher production similarity are grouped together, until the grouping of multiple single boards is completed.
[0036] According to the second aspect, or any implementation method of the second aspect above, the device also includes an update information determination module, which is used to: obtain an initial single board information set, wherein the initial single board information set includes at least one second single board information different from at least one first single board information; determine the second production line information corresponding to each second single board information in the at least one second single board information through a first correspondence based on the at least one second single board information; determine the first comparison information of at least one second single board corresponding to the at least one second single board information relative to multiple first single boards corresponding to the at least one collinear single board information group based on the second production line information corresponding to each second single board information and the first production line information corresponding to at least one collinear single board information group, and / or determine the first comparison information of at least one second single board corresponding to the at least one second single board information relative to multiple first single boards corresponding to the at least one collinear single board information group based on each second single board information and at least one collinear single board information group; wherein the first comparison information is used to determine whether to update the initial single board information, and in the case of updating, to update the initial single board information based on the first comparison information.
[0037] According to the second aspect, or any implementation method of the second aspect above, the device also includes a single board supplement module, which is used to: obtain a supplementary single board information set, wherein the supplementary single board information set includes at least one third single board information for replacing at least one first single board information; determine the third production line information corresponding to each third single board information in the at least one third single board information through a first correspondence relationship based on the at least one third single board information; determine the second comparison information of at least one third single board corresponding to the at least one third single board information relative to the multiple first single boards corresponding to the at least one collinear single board information group based on the third production line information corresponding to each third single board information and the first production line information corresponding to at least one collinear single board information group, and / or, based on each second single board information and at least one collinear single board information group; wherein the second comparison information is used to determine whether to replace at least one first single board information with the supplementary single board information.
[0038] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a transceiver; a memory for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement a method as in the first aspect and any one of the implementation methods of the first aspect.
[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the first aspect or any possible implementation of the first aspect.
[0041] In a fifth aspect, an embodiment of the present application provides a computer program comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.
[0042] In a sixth aspect, an embodiment of the present application provides a chip, the chip comprising a processing circuit and a transceiver pin, wherein the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive a signal, and to control the sending pin to send a signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. 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 paying any creative labor.
[0044] Figure 1 is a structural block diagram of an electronic device 100 provided in an embodiment of the present application;
[0045] Figure 2 is an exemplary diagram showing a single board manufacturing production line;
[0046] Figure 3a is a flowchart of a production data processing method provided in an embodiment of the present application;
[0047] Figure 3b is an exemplary diagram of an implementation architecture of a production data processing method;
[0048] Figure 4 is a flow chart of the similarity determination and grouping technology provided in the embodiment of the present application;
[0049] Figure 5 This is an example diagram of the business scenario logical architecture provided by the embodiment of the present application;
[0050] Figure 6 This is an example diagram of a business scenario process provided by an embodiment of the present application;
[0051] Figure 7 This is an example diagram of the process of generating a gold sample BOM provided in an embodiment of the present application;
[0052] Figure 8 This is an example diagram of the process of using the gold sample BOM provided in the embodiment of the present application;
[0053] Fig. 9 This is an example diagram of the process of maintaining the gold sample BOM provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0056] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
[0057] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0058] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
[0059] In order to facilitate understanding of this embodiment, some technical terms and related technologies involved in this embodiment are first introduced:
[0060] Surface Mount Technology (SMT): A circuit assembly technology that mounts pinless or short-lead surface mount components (abbreviated as SMC / SMD, called sheet components in Chinese) on the surface of a PCB or other substrate and assembles them by soldering through reflow soldering or dip soldering.
[0061] Gold Sample BOM: For the same product family or the same type of single board in the same product family, a normalized and standardized list of components is formulated and released based on the realization of the single board circuit function, the availability of components and the optimal PCBA assembly efficiency. Among them, BOM is the abbreviation of Bill of Material, which means bill of materials. PCBA is the abbreviation of Printed Circuit Board Assembly, which refers to the process of SMT loading or dual inline package (Dual Inline-pin Package, DIP) plug-in on a blank PCB board.
[0062] Gold Sample Index: The degree to which a set of boards developed based on a gold sample BOM meets the zero-interruption collinearity requirement.
[0063] Flexible production: a solution to the problem of too small capacity of single board groups in SMT co-production. Specifically, flexible production can include static configuration of high and medium reuse frequency devices, that is, high and medium frequency material sets, and dynamic configuration of low reuse frequency devices, that is, low frequency materials, in a specified single board set, so as to transform the station resource constraint problem faced by co-production from the original single board device set to the largest subset containing high and medium frequency material sets and low frequency materials, thereby expanding the capacity of co-production single board groups under the same resource constraints.
[0064] High-frequency materials: Most (the number of single-board types is greater than the high-frequency threshold) single-board reused materials are allocated in the static area, and multi-station resources are preferentially allocated according to the processing volume of high-frequency materials to shorten the placement machine time of the material.
[0065] Medium-frequency materials: Most (between low-frequency and high-frequency) single-board reused materials. Medium-frequency materials are allocated in the static area. When multi-station resources give priority to high-frequency materials, the use of medium-frequency materials is controlled to avoid causing machine time bottlenecks.
[0066] Low-frequency materials: materials that are reused by a small number of boards (the number of board types is less than the low-frequency threshold). Low-frequency materials are allocated in the dynamic area. They are mainly used to be compatible with different materials when changing boards. The usage of low-frequency materials needs to be controlled to avoid causing machine time bottlenecks.
[0067] Device reuse: The reuse rate of single-board devices of products on the same platform: the number of identical ITEMs in the BOM of the C version platform and the V version platform of the same type of platform / the total number of ITEMs in the BOM of the C version platform. Among them, ITEM refers to the product model. Device reuse can be used for mixed-flow production of products to reduce line change time.
[0068] With the development of technology, product demand is becoming increasingly diversified, and the production model of the manufacturing industry has transitioned from mass production to multi-variety customized manufacturing to cope with diverse orders. For example, a factory or a production line in the manufacturing industry has the ability to produce multiple products (i.e. co-production): a production line produces a certain product in the first time period, and switches to another product in the second time period. In this way, production line allocation is required, that is, which products are produced on which production line.
[0069] In one example, production line allocation can be performed based on the production rate of the production line and the order batch, the total number of components required for the single board, the type of single board, and other information in the single board order information. For example, the production line includes a high-speed production line with a production rate greater than the rate threshold and a medium-speed production line with a production rate less than the rate threshold. The high-speed production line is used to produce single boards with a small variety and a small batch of multiple components, single boards with a medium batch and multiple components, and single boards with a large batch. Among them, single boards with a small variety and a small batch of multiple components include multiple single boards, the order batch of each single board is less than the first batch threshold, the total number of components required for the single board is greater than the quantity threshold, and the number of types of multiple single boards is less than the type threshold. The medium batch multi-component single board includes a single board, the order batch of the single board is between the second batch threshold and the first batch threshold, the total number of components is greater than the quantity threshold, and the second batch threshold is greater than the first batch threshold. The large batch single board includes a single board, the order batch of the single board is greater than the second batch threshold. The medium-speed production line is used to produce single boards other than the single boards produced by the high-speed production line. For example, the medium-speed production line is used to produce single boards with multiple varieties and small batches. The multi-variety small batch single boards include multiple types of single boards, the order batch of each single board is smaller than the first batch threshold, and the number of types of the multiple single boards is greater than the type threshold.
[0070] However, the increasingly refined categories of electronic products have led to a large increase in orders for multi-variety, small-batch single boards (i.e., the fourth type of PCB orders mentioned above), resulting in a significant increase in the switching frequency and single line change time of production line switching in the production of multi-variety, small-batch single boards. The delay caused by the production line switching can no longer be ignored in the total production time of the single board. In other words, the above delay leads to a decrease in the production efficiency of the above medium-speed production line. Therefore, how to reduce the production line switching delay of multi-variety, small-batch single boards is an urgent problem to be solved.
[0071] In one example, the delay of production line switching can be reduced by reducing the duration of a single switching. For example, the line change action can be standardized, and offline actions and online actions can be divided. However, due to the necessary line change actions such as switching feeders and adjusting tracks, the effect of improving production line efficiency by reducing the duration of a single switching is limited. Among them, the feeder is also called a feeder, which is a transmission device in the SMT equipment that supplies components to the placement head to absorb materials, that is, a device that automatically supplies components to the placement head.
[0072] In response to the above problems, an embodiment of the present application provides a production data processing method. The production data processing method determines the production line information corresponding to each single board according to the single board information of each single board among the multiple single boards, and then determines the production similarity between each single board according to the production line information. In this way, the production similarity can reflect the similarity of the production methods between each single board. The higher the production similarity, the more similar the production methods are, and the less the switching frequency and switching duration during co-production are, and the different types of single boards corresponding to the production similarity are more suitable for co-production. Based on this, the multiple single boards are grouped according to the determined production similarity to obtain at least one single board group, so that the different types of single boards in a single board group are co-produced on the production line indicated by the production line information corresponding to the corresponding production similarity, which can ensure that the switching frequency of the production line is less and the switching duration is shorter, thereby improving the efficiency of co-production.
[0073] Before describing the technical solution of the embodiment of the present application, the execution subject of the embodiment of the present application is first described in conjunction with the accompanying drawings. The production data processing method and device provided in the embodiment of the present application can be applied to electronic devices such as computers, mobile terminals, servers, and can also be applied to single board manufacturing production lines. For example, Figure 1 1 is a structural block diagram of an electronic device 100 provided in an embodiment of the present application. Figure 1 As shown, the electronic device 100 may include: a processor 101 , a communication line 105 , a memory 103 , a storage medium 104 , and some or all of the components in at least one communication interface 102 .
[0074] Among them, the processor 101 is used to execute the production data processing method provided in the subsequent embodiments of this application.
[0075] Specifically, the processor 101 may include a general-purpose central processing unit (CPU), and the processor 101 may also include a microprocessor, a field programmable gate array (Field Programmable Gate Array, FPGA), a digital signal processor (digital signal processing, DSP) or an application-specific integrated circuit (application-specific integrated circuit, ASIC), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0076] The communication line 105 is used to connect various components in the electronic device 100. Specifically, the communication line 105 may include a data bus, a power bus, a control bus, a status signal bus, etc. However, for the sake of clarity, various buses are marked as communication lines 105 in the figure.
[0077] The memory 103 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The memory 103 may be independent and connected to the processor 101 via communication lines 107105. The memory 103 may also be integrated with the processor 101. The memory 103 stores computer instructions. The processor 101 may implement the production data processing method provided in the subsequent embodiments of the present application by executing the computer instructions stored in the memory 103. Optionally, the computer execution instructions in the present embodiment may also be referred to as application code, which is not specifically limited in the present embodiment.
[0078] The storage medium 104 is used to store computer instructions and various data for implementing the technical solutions of the embodiments of the present application, so that when the electronic device 100 executes the production data processing method provided in the subsequent embodiments of the present application, the computer instructions and various data stored in the storage medium 104 are loaded into the memory 103, so that the processor 101 can implement the production data processing method provided in the embodiments of the present application by executing the computer instructions stored in the memory 103.
[0079] The communication interface 102 uses any electronic device such as a transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0080] It should be understood that Figure 1 The electronic device 100 shown is only one example of an electronic device, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different configuration of components. Figure 1 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0081] Figure 2 FIG. 1 is an exemplary diagram showing a single board manufacturing production line. Figure 2As shown, the embodiment of the present application can be applied to a single board manufacturing production line including a placement machine, that is, a production line. According to the production process of the single board, the production line can include a printer, a solder paste inspection (Solder Paste Inspection, SPI) device, 4 groups of placement machines, an automatic optical inspection (Automated Optical Inspection, AOI) device, and a reflow oven and other production equipment in sequence. Among them, the SPI device is a device that checks the height, volume, area, short circuit and offset of the solder paste after the solder paste is printed. The AOI device is a device that detects common defects encountered in welding production based on optical principles. The placement machine is a device that accurately places surface mount components on the PCB pads by moving the placement head. The reflow oven is a device that realizes the soft soldering of the mechanical and electrical connection between the solder ends or pins of the surface mounted components and the printed circuit board pads by re-melting the paste solder pre-allocated to the printed circuit board pads.
[0082] In an optional example, the distribution area of each group of placement machines may include four areas, namely, Area 1 to Area 4 in the production line, and each area may include at least one placement machine. In an optional example, Areas 1 to 4 respectively included in the four groups of distribution areas can be divided into a static area and a dynamic area. The placement machines in the static area are used to process the high-frequency materials and medium-frequency materials required for the production of single boards. Such materials account for 70% of all the materials required for the production of single boards. The placement machines in the static area do not replace the material carrier table (table, which may also be called a material table or a feeding module). The material carrier table is used to place components, such as chips, after the feeder connector takes them out of the tape box. The materials are sent from the material table to production equipment, such as a placement machine. Based on this, for Figure 2 The production line shown, when switching to produce different single boards, the SMT machines that do not change the table, that is, the SMT machines in the static zone, only need to receive the materials. The SMT machines in the dynamic zone are used to process the low-frequency and moisture-sensitive materials required for the production of single boards. Such materials account for 30%. When the SMT machines in the dynamic zone switch to produce different single boards, the table must be changed, and accordingly, the materials must also be changed. In other words, different materials in the dynamic zone correspond to different tables. For example, Zone 2 of the fourth group of distribution areas can be a dynamic zone, and the table of the SMT machine in Zone 2 is a tray-type material exchange table TRAY, which can be replaced with different TRAYs for different materials. In one example, a small batch of multi-variety single boards in an embodiment of the present application can be produced in the manner of the above-mentioned dynamic zone.
[0083] Understandably, Figure 2It is only an example of a single-board manufacturing production line, and the description of the production line switching for the placement machine is also an example. The embodiments of the present application do not limit the specific manufacturing production line structure, the process / equipment for performing production line switching, and the production line switching method. The entire process of a single board from development to scheduling to manufacturing is complicated and cumbersome, and there are too many coupling elements. In order to facilitate understanding and description, the subsequent embodiments of the present application focus on the placement process of the SMT production line in the manufacturing process, and explain the entire life cycle of the single board gold sample BOM. It can be understood that the embodiments of the present application are also applicable to other processes / equipment of the single-board manufacturing production line. The difference lies in the adaptive adjustment of the specific parameters of the production line involved.
[0084] Combine the following Figures 3a to 9 The production data processing method provided in the embodiment of the present application is exemplified.
[0085] Figure 3a : is a flowchart of the production data processing method provided in the embodiment of the present application. Figure 3a As shown, the production data processing method provided in the embodiment of the present application may include but is not limited to the following steps:
[0086] S301, obtaining production data, where the production data includes at least one piece of single board information corresponding to each single board of a plurality of different types of single boards; wherein the single board information is used to indicate a single board.
[0087] Exemplarily, the production data includes: the first type of single board: single board information F1 corresponding to single board P1; the second type of single board: single board information F2 corresponding to single board P2, first single board information F3 corresponding to single board P3 and single board information F4 corresponding to single board P4; the third type of single board: single board information F5 to single board information F10 corresponding to single board P5 to single board P10 respectively).
[0088] The board information can be used to indicate the board attribute corresponding to the board information, and the value of the attribute can be set by an expert, such as a gold sample BOM. That is, the board information can specifically include the board attribute and the corresponding board attribute value. For example, Figure 3b FIG. 1 is an exemplary diagram of an implementation architecture of a production data processing method. Figure 3bAs shown, multiple single board information can be multiple gold sample BOMs, and multiple gold sample BOMs form a single board BOM cluster. The items in the single board BOM cluster, that is, the attributes in the single board information, can include: the attributes of the components in the single board and the attributes of the PCB board. Among them, the attributes of the components in the single board can include at least one of the following: moisture sensitivity, size, temperature sensitivity and quantity, and the specific value of each attribute is the attribute value. Moisture sensitivity is also called moisture sensitivity level (MSL), which is used to indicate the level of shelf life of components after moisture absorption. Different components can be correctly packaged, stored and processed according to moisture sensitivity to avoid accidents during assembly or repair. Temperature sensitivity refers to the use temperature level of components, that is, in which temperature range the components can be used. The attributes of the PCB board in the single board can include at least one of the following: attributes such as size and structure. Among them, the structure refers to whether the PCB board is a single-sided board, a double-sided board or a multi-sided board.
[0089] Acquiring multiple single board information corresponding to multiple single boards may specifically include: receiving multiple single board information corresponding to multiple single boards submitted by a user, or searching for single board information of each single board in a pre-stored single board information library according to the type identifications of the multiple single boards. The embodiment of the present application does not limit the specific method of acquiring multiple single board information corresponding to multiple single boards.
[0090] S302: Determine the production line information corresponding to each board information based on the pre-stored first corresponding relationship.
[0091] After obtaining multiple single board information corresponding to multiple single boards, the production line information corresponding to each single board information can be determined based on the pre-stored first corresponding relationship. Figure 3b As shown, the production line information can be used to indicate the production line attributes, such as the table configuration of the placement machine in the SMT line configuration, which can specifically include: nozzle, track, position and feeder information, such as the nozzle model, track size, table position (such as the table in Figure 2 Similar to board information, production line information may include production line attributes and corresponding production line attribute values.
[0092] The production line attributes can indicate the characteristics of the production line, and the single board attributes can indicate the characteristics of the single board. Based on this, the first correspondence is equivalent to the correspondence determined by the characteristics of the production line and the characteristics of the single board. The first correspondence can be determined by feature engineering. Figure 3b As shown, before executing the above S302, feature engineering may be performed to determine the first corresponding relationship.
[0093] The feature engineering and the first corresponding relationship are explained in detail below.
[0094] Feature engineering may include: extracting production line attributes and single board attributes based on historical production data such as historical SMT line configurations and historical single board BOM clusters, and determining a first correspondence based on the extracted production line attributes and single board attributes. The correspondence between production line attributes and single board attributes can represent the correspondence between production line information and single board information. In this way, production line attributes and single board attributes can be used to determine the first correspondence. Production line attributes and single board attributes are information contained in historical SMT line configurations and historical single board BOM clusters that have a relatively large impact on single board manufacturing efficiency. In this way, production line attributes and single board attributes that have a relatively small or irrelevant impact on single board manufacturing can be eliminated to reduce the complexity of the first correspondence and improve the accuracy of the first correspondence.
[0095] Specifically, according to historical production data such as historical SMT line configuration and historical single board BOM cluster, production line attributes and single board attributes are extracted, and based on the extracted production line attributes and single board attributes, determining the first corresponding relationship may include: performing data preprocessing on the historical production data to obtain production line attributes and single board attributes, and performing feature processing on the production line attributes and single board attributes to obtain the first corresponding relationship.
[0096] In an optional implementation, the above-mentioned data preprocessing of the historical production data to obtain the production line attributes and the single board attributes may include: cleaning, sampling, and screening the historical production data to obtain the production line attributes and the single board attributes. Cleaning refers to clearing abnormal data in the historical production data, and sampling refers to reducing the data volume of the historical production data or ensuring the balance of the data volume of different data in the historical production data by specifying a sampling method.
[0097] In an optional implementation, the sources of historical production data are mainly two types of files: the single board BOM table corresponding to the historical single board BOM cluster and the production scheduling configuration file corresponding to the historical SMT line configuration. The data volume of these two types of files is relatively small, and they do not belong to time series data, and the probability of abnormal data appearing is almost zero. Based on this, the above-mentioned data preprocessing of historical production data to obtain production line attributes and single board attributes may include: screening and other processing of historical production data, that is, without cleaning and sampling, to obtain production line attributes and single board attributes.
[0098] The following is a detailed description of how to filter historical production data.
[0099] For example, take the patch process, that is, the SMT line, as an example. In the historical production data, some production line attributes, such as the patch machine model, have no effect on the co-line production efficiency of the patch process, and can be directly pre-screened, thereby reducing redundant data and improving the efficiency of determining the first corresponding relationship. For example, after screening the production scheduling configuration file corresponding to the historical SMT line configuration, 7 attributes of the production line are obtained: patch head model, reference height, mounting angle, camera type, nozzle type, table position and feeder type. The attribute values of each production line attribute are shown in Table 1-1 below:
[0100]
[0101] For example, after filtering the single board BOM table corresponding to the historical single board BOM cluster, 7 attributes of the single board are obtained: PCB board attributes: board length, board width and board height, and component attributes: component quantity, component length, component width and component height. The attribute values of each single board attribute are shown in Table 1-2 below:
[0102]
[0103] After obtaining the above-mentioned multiple production line attributes and multiple single board attributes, feature processing can be performed according to the attribute values of the production line attributes and the attribute values of the single board attributes to obtain a first correspondence relationship reflecting the correspondence between the production line information and the single board information. Feature processing mainly includes processing each production line attribute and each single board attribute, that is, a single feature, and processing all production line attributes and all single board attributes, that is, multiple features.
[0104] The processing of a single feature is described in detail below.
[0105] In an optional embodiment, the processing of a single feature may include unifying the data types of the attribute values of each production line attribute and each single board attribute. In the embodiment of the present application, the data types of the attribute values of each production line attribute and each single board attribute may include discrete and continuous data, wherein the discrete data is relatively more, so the continuous data in the attribute values of each production line attribute and each single board attribute may be discretized. Discretization refers to grouping continuous numerical values into discrete intervals. For example, the grouping methods used for discretization may include equal-width grouping and univariate grouping.
[0106] Exemplarily, equal-width grouping is also called equal-interval grouping, which may specifically include the following steps: determine the group interval according to the preset number of groups and the numerical value range of the data to be discretized (such as each production line attribute and each single board attribute). In order to facilitate data grouping and group limit demarcation, the group interval is generally an integer multiple of 5 or 10. The group interval is regarded as the distance between the values assigned to each group to group the discretized data, that is, the group interval between the values in each group is equal to obtain the discretized data. In an optional example, the mean of the values contained in each group can be used as the label of the values in the group to indicate the values contained in the group. Equal-width grouping can be used for the discretization of variables with good continuity, such as the Table position in the production line attributes. For example, the group interval can be determined by the following formula (1):
[0107]
[0108] in, w idth is the group interval, n is the number of groups to be grouped, and the value of each production line attribute that needs to be discretized is regarded as a variable, x max is the maximum value in the variable, x min is the minimum value in the variable. For example, the table positions for manufacturing each single board are [1, 4, 5, 3, 7, 2, 4, 6], and they are divided into 4 groups. The interval width, that is, the group interval, is (7-1) ÷ 4 = 1.5. According to the group interval of 1.5, the table positions for manufacturing each single board can be divided into the following four discrete intervals: [1, 2], [3], [4, 4, 5], [6, 7], and the labels of each group are [1.75, 1.75], [3.25], [4.75, 4.75, 4.75], [6.25, 6.25]. Similarly, the number of components and the number of components in the single board attributes can be discretized in this way.
[0109] Exemplarily, univariate grouping is also called rank grouping, which can specifically include the following steps: sort all the data to be discretized in descending or ascending order, and divide the data of the same type into the same group in turn. Its application object is a variable that is theoretically continuous numerical type, but in actual application, the numerical value is relatively stable and the number of relatively stable numerical values is less than the number threshold, such as the reference height of component mounting. For example, the mounting angle of the component is theoretically a continuous value from 0 to 359°, but due to design habits, the common angles are 0°, 45°, 90°, 180°, 270°, etc., which are basically integer multiples of 5°, and one value can be divided into a group. If the mounting angle of the component in the production line attributes includes four 0°, two 90°, eight 180°, etc., then the four 0° can be divided into one group, the two 90° can be divided into one group, and the eight 180° can be divided into one group.
[0110] In an optional implementation, after the discrete processing, there are non-numeric data in the attribute values of the production line attributes, such as the camera type, nozzle type and other production line attribute values, which are all discrete character types (such as the value of the camera type is PCB Cam X (34), and the value of the nozzle type is 2004CPP), which is not suitable for determining the first corresponding relationship. In addition, different attribute values of the same production line attribute or the same single board attribute have a relatively small distance from the classification perspective, that is, the similarity is large, and discrete numerical data are prone to similarity differences due to differences in numerical values. For example, data 1 and 7 of the same production line attribute are likely to have a large difference in numerical values, resulting in a small similarity, causing the problem of reduced classification accuracy. Based on this, all discrete numerical attribute values can be encoded to ensure that they are suitable for determining the first corresponding relationship and to improve accuracy. In this way, the processing of a single feature can also include: performing one-hot encoding on the attribute values of each production line attribute and each single board attribute after the data type is unified, that is, discretized.
[0111] Exemplarily, One-hot encoding refers to abstracting N different values of a discrete variable (such as the discretized attribute value of each production line attribute and the discretized attribute value of each single board attribute in the embodiment of the present application) into a code containing N state bits, and each value only activates the code of the state bit corresponding to the value, that is, only activates one bit in the code: that is, the activated state bit is set to 1, and the remaining state bits are set to 0, which can ensure that the encoding result can indicate the corresponding value (such as the attribute value in the embodiment of the present application). One-hot encoding can well distinguish different values / states of discrete variables, and ensure that the similarity and distance of all values / states are equal. For example, the value of the nozzle type in the production line attribute, that is, the attribute value, includes 2003CPP, 2004CPP, 2033CPP and 538PP, and the results of its One-hot encoding are shown in Table 1-3 below:
[0112]
[0113] It can be understood that one-hot encoding uses an encoding containing N status bits, so that the feature dimension, that is, the attribute value dimension of the production line attribute or the single board attribute, is expanded from 1 dimension to N dimensions, which is more suitable for situations where the amount of data is relatively small and the type of data (such as the production line attribute type and the single board attribute type in this application), that is, the number of status bits is relatively small.
[0114] The processing of multiple features is described in detail below.
[0115] In an optional implementation, after completing the processing of individual features of production line attributes and single board attributes, the processing of all production line attributes and all single board attributes, that is, multiple features, may include: screening out production line attributes and single board attributes that have corresponding relationships from all production line attributes and all single board attributes to achieve dimensionality reduction and determine the first corresponding relationship, that is, screening production line attributes and single board attributes whose mutual influence degree meets preset conditions, thereby obtaining the first corresponding relationship. This processing screens the production line attributes and single board attributes that have corresponding relationships, without mapping and transforming the production line attributes and single board attributes, and the output is still the production line attributes and single board attributes themselves, which is more in line with the requirements of the embodiment of the present application to find the relationship between the production line attributes and the single board attributes, that is, to determine the first corresponding relationship.
[0116] In one example, a filter feature selection algorithm can be used to screen out the production line attributes and single board attributes that have corresponding relationships from all production line attributes and all single board attributes. Filter feature selection refers to using a preset metric to calculate the importance of each feature relative to the target variable, obtaining the score of each feature, selecting features with scores greater than a set threshold, or selecting the top n features with higher scores, thereby screening out the above-mentioned features that have corresponding relationships. For example, if each production line attribute is used as a feature, the target variable is each single board attribute; if each single board attribute is used as a feature, the target variable is each production line attribute. In this way, the score of each production line attribute relative to each single board attribute, or the score of each single board attribute relative to the production line attribute can be obtained, so that by screening according to the scores, the production line attributes and single board attributes that have corresponding relationships with each other can be obtained, and the first corresponding relationship is obtained.
[0117] For example, the filtering feature selection algorithm may be, for example, the Pearson correlation coefficient (also known as the Pearson correlation coefficient, which is the quotient of the covariance and standard deviation between two variables, and is used to measure the degree of correlation between two variables. The value of the Pearson correlation coefficient is between -1 and 1), variance detection method (also known as variance analysis, F test, which uses the square of the standard deviation of the variable to test the significance of the difference in the mean of two or more samples. The principle is to determine the influence of controllable factors on the research results by analyzing the contribution of variations from different sources to the total variation), chi-square test method (a non-parametric test, that is, a free distribution test, which means that there is no restriction on the distribution and parameters of the test statistic, and studies the correlation and dependence between two types of variables (presented in the form of a contingency table), or correlation, independence, and interaction. A contingency table is a frequency table listed when the observed data is classified according to two or more attributes (qualitative variables), etc. The filtering feature selection algorithm does not involve a learning algorithm and has high computational efficiency. It is suitable for processing massive, extremely high-dimensional data and can quickly eliminate a large number of irrelevant features, making it suitable for the initial screening of features.
[0118] It can be understood that when the filtering feature selection algorithm is applied to the embodiment of the present application, the variables therein are all the above-mentioned production line attributes or all single board attributes, and the values of the variables are the attribute values of all production line attributes or all single board attributes.
[0119] In one example, a wrapper feature selection algorithm can be used to select production line attributes and single board attributes that have corresponding relationships from all production line attributes and all single board attributes. Wrapper feature selection refers to a given learner (such as a proximity algorithm also known as a K-Nearest Neighbor (KNN) algorithm, a decision tree, a support vector machine (SVM) and other algorithms) and a prediction effect evaluation method (such as classification accuracy, regression error (mean absolute error, MAE; root mean squared error, RMSE), etc.); dividing the feature set, that is, all production line attributes and all single board attributes, into multiple subsets (also called feature subsets); inputting the attribute values of the attributes in each subset into the above-given learner respectively, obtaining the corresponding prediction result of the subset, and evaluating the prediction effect of each subset corresponding to the prediction result by the above-given prediction effect evaluation method, and the subset whose prediction effect meets the preset conditions (such as classification accuracy greater than the accuracy threshold, regression error less than the error threshold, etc.) is used as the selected features, that is, the production line attributes and single board attributes that have corresponding relationships. For example, the wrapper feature selection method can be, for example, a recursive feature elimination algorithm (using a feature set to perform multiple rounds of training on a base model (learner), removing several features in the feature set after each round of training, and then performing the next round of training based on the new feature set, and repeating this cycle until the number of remaining features reaches the required number of features), the Las Vegas wrapper (LVW) algorithm (randomly generating a feature subset from the feature set, using the cross-validation method to determine the error of the learner on the feature subset, if the error is less than the minimum error obtained previously, or is equivalent to the previous minimum error and contains fewer features, then the feature subset is retained, and this cycle is repeated until the number of features in the remaining feature subset reaches the required number of features), etc. The features selected by the wrapper feature selection algorithm perform better in the learner.
[0120] In one example, an embedded feature selection algorithm can be used to screen out corresponding production line attributes and single board attributes, that is, features, from all production line attributes and all single board attributes. An embedded feature selection algorithm refers to the use of a machine learning model for feature selection. The feature selection process is related to the machine learning model, and features are automatically screened during the training process of the machine learning model. For example, an embedded feature selection algorithm may be a ridge regression (Tikhonov regularization), decision tree, random forest (a classifier that uses samples to train multiple decision trees and predict sample types), and other algorithms. The embedded feature selection algorithm does not require the introduction of an external evaluation method, and has certain advantages.
[0121] In one example, the random forest algorithm is relatively simple, robust, and highly accurate. The construction of each tree in the random forest algorithm is independent of each other, has parallelism, fast training speed, and introduces random processes. Training is not prone to overfitting, and it can handle high-dimensional data well without the need for additional dimensionality reduction processing. The number of hyperparameters is small, which is very suitable for the application scenarios of the embodiments of the present application.
[0122] The following is a detailed description of the method of determining the first corresponding relationship through the random forest algorithm in feature engineering in the form of an exemplary description.
[0123] Exemplarily, the decision tree in the random forest of the embodiment of the present application is a classification and regression tree (CART) algorithm, and the hyperparameters of the algorithm may include the hyperparameters shown in Tables 1-4 below:
[0124]
[0125]
[0126] Using the random forest method, all single board attributes are used as features, that is, samples, and all production line attributes are used as labels of a decision tree to train multiple decision trees in the random forest. That is, if there are 7 production line attributes, 7 decision trees are trained to obtain a random forest model. In this way, the random forest model can be used to determine the importance of all single board attributes relative to each production line attribute, that is, the random forest model is equivalent to the above-mentioned first correspondence. For example, the above-mentioned production line information corresponding to each single board information in the multiple single board information is determined through the first correspondence based on multiple single board information, which may include: inputting each single board information in the multiple single board information into a pre-trained random forest model to obtain the importance of the single board attribute in each single board information relative to the production line attribute; for each single board information, determining the production line attribute corresponding to the single board information whose importance is greater than the importance threshold, and determining the production line information containing the production line attribute as the production line information corresponding to the single board information. Exemplarily, the importance of each single board attribute relative to the production line attribute can be shown in the following Table 1-5:
[0127]
[0128] For example, if the importance threshold is 0.1, then taking Table 1-5 above as an example, the production line attributes corresponding to the board length, board width, and board height are the same, and can include the mount head model, camera type, and reference height. The production line attributes corresponding to the number of components can include the camera type, mount head model, and table position. The production line attributes corresponding to the component length and component width are the same, and can include the nozzle type. The production line attributes corresponding to the component height can include the nozzle type and feeder type.
[0129] After determining the production line information corresponding to each of the plurality of single board information through the first corresponding relationship according to the plurality of single board information, the result of feature engineering is obtained. Figure 3b As shown, based on the result of the feature engineering obtained in S302 above, and constraints (such as the production line loading restrictions shown in FIG3 and the boards with high similarity (i.e., the similarity is greater than the similarity threshold) are grouped together), group modeling can be performed with the goal of zero loss in line change. Group modeling is used to obtain a gold sample BOM cluster including multiple product family gold sample BOMs (such as product family gold sample BOM1, product family gold sample BOM2, ...). A product family gold sample BOM can be referred to as a gold sample BOM, which includes a group of different types of boards that can be produced on the same line.
[0130] Group modeling can include: determining the similarity between single boards and grouping multiple single boards, which is the grouping technology. Determining the similarity between single boards includes determining the comprehensive similarity matrix between multiple single boards based on the results of feature engineering and the goal of zero loss in line change. Among them, the comprehensive similarity matrix between multiple single boards is a matrix formed by the similarity between multiple single boards combined with the impact of lost working hours. Grouping technology includes finding SEED boards to add to the grouping, that is, determining that multiple central single boards used for grouping are added to the corresponding single board queue (i.e., golden sample BOM); according to the comprehensive similarity matrix and the production line loading restrictions, the single board is added to the single board queue where the SEED board is located in the order of similarity between each single board in the multiple single boards and the SEED board, until the grouping is completed and the golden sample BOM cluster is obtained.
[0131] Below is a combination of Figure 3 to Figure 4 The method of determining the similarity between boards and the grouping technology are introduced respectively.
[0132] First, the method of determining the similarity between boards is specifically described.
[0133] S303: Determine production similarities between the multiple boards according to the determined first production line information.
[0134] After the production line information corresponding to each single board information is determined based on the pre-stored first corresponding relationship, the production similarity between the multiple single boards can be determined according to the determined first production line information.
[0135] In an optional example, determining the production similarity between multiple boards indicated by the multiple board information based on the production line information corresponding to each single board information in the multiple board information may include: calculating the similarity between different production line attributes based on the attribute values of the production line attributes contained in the production line information corresponding to each single board information in the multiple board information, and obtaining the production similarity between the multiple boards corresponding to the different production line attributes. Figure 4 This is a flow chart of the similarity determination and grouping technology provided by the embodiment of the present application. That is to say, the attribute value of the production line attribute is the configuration of the production line, and the production line is used to produce single boards. In this way, the similarity between production lines calculated based on the attribute value of the production line attribute can be used as the production similarity between different single boards. Figure 4 As shown, the types of attribute values of production line attributes may include vector type, numerical type, and category type, etc. Therefore, the similarity calculation of each attribute between boards may include vector type similarity calculated for vector type attribute values, numerical type similarity calculated for numerical type, and category type similarity calculated for category type. In addition, the specific method of calculating the similarity of each attribute value can refer to the relevant existing similarity algorithm, which will not be repeated here.
[0136] In another alternative example, Figure 4As shown, for the single board production of the embodiment of the present application, from the perspective of the manufacturing end, the generation of lost working hours is directly related to the production line attributes, the configuration of the production line attributes affects the lost working hours, and the lost working hours feedback the configuration of the production line attributes, and thus, the lost working hours can be determined by the production line attributes. For example, in the production line information corresponding to each single board information in multiple single board information, the balance rate of online mounting during the co-production of PCB boards with high similarity (similarity greater than the similarity threshold) in production line attributes such as feeder type, patch head type, nozzle / tray (chip tray) and camera type is similar and close to the optimal. In the production line information corresponding to each single board information in multiple single board information, there is no offline lost working hours due to offline switching action during the co-production of PCB boards with high similarity (similarity greater than the similarity threshold) in production line attributes such as coding preparation and track size.
[0137] From the perspective of single-board configuration, the configuration of single-board attributes affects the configuration of production line attributes. Therefore, it can be deduced that the loss of feedback production line attributes can indirectly feedback single-board attributes. Based on this, the production similarity between different types of single boards can be determined by combining production line attributes with lost working hours, which can ensure that the subsequent co-line production based on production similarity is a grouping with relatively smaller lost working hours, so that grouping further reduces the time consumption of co-line production and improves efficiency. That is, determining the production similarity between multiple single boards indicated by multiple single-board information can include: determining the comprehensive similarity matrix between multiple single boards based on the results of feature engineering and the goal of zero loss in line change. In this regard, after calculating the similarity of each attribute between boards, the weighted summation of the attribute similarity between boards can be performed to calculate the comprehensive similarity between boards.
[0138] Exemplarily, weighted summing of the similarities of attributes between boards to calculate the comprehensive similarity between boards may include: determining the single board grouping weight corresponding to each single board information through the second correspondence according to the production line information corresponding to each single board information in multiple single board information; weighted summing of the similarities of the production line attributes contained in the production line information corresponding to the single board information through the single board grouping weight corresponding to each single board information to obtain the comprehensive similarity between boards; after completing the weighted summing of the similarities of the production line attributes corresponding to each single board information, obtaining the similarity matrix between various single boards in the initial gold sample BOM. Among them, the second correspondence is the correspondence between the production line attributes and the lost working hours. The initial gold sample BOM is a plurality of single board information corresponding one-to-one to a plurality of single boards.
[0139] In an optional embodiment, the above Figure 3b The feature engineering shown may also include extracting production line attributes that have a greater impact on working hours based on historical SMT line configurations for determining a second corresponding relationship, wherein the second corresponding relationship includes a corresponding relationship between production line information and production line working hours.
[0140] The determination of the second corresponding relationship is described in detail below.
[0141] The lost working hours of the patch process is a continuous value. Therefore, two models can be used to determine the feature mapping from production line attributes to lost working hours, that is, the second corresponding relationship, namely the discretized classification random forest model and the regression random forest without discretization.
[0142] The discretized classification random forest model needs to discretize the lost work hours, divide the continuous lost work hours into different intervals according to the actual situation, take the median / average value of each interval as the label of all values in the interval, and then use the label to train the classification random forest model. Due to the use of continuous value discretization, the most critical factor affecting the accuracy of the final model is the width of the discretized interval, that is, the division value of the lost work hours.
[0143] The regression random forest model without discretization is similar to the classification random forest. The difference is that when the nodes of the decision tree in the random forest are split, the "impurity" function is selected differently. Here, "impurity" is the Gini impurity, which refers to the expected error rate of a certain data item when a certain result from a set is randomly applied to the set. The smaller the Gini impurity, the higher the purity, the higher the order of the set, and the better the classification effect. For example, the regression random forest model without discretization generally uses the mean square error (MSE) or the mean absolute error (MAE) to measure "impurity", and the calculation method is shown in the following formula (2):
[0144]
[0145]
[0146] N in formula (2) m is the number of samples at node m, is the average value of the labels of all samples of node m. The calculation methods of the importance of splitting direction and eigenvector of the regression random forest model without discretization are similar to those of the classification random forest model after discretization. It is only necessary to replace the "impurity" function with MSE or MAE. In addition, when using test data for prediction, the predicted value output by the leaf node is the mean of the samples during the training of the node. For the introduction of the classification random forest model after discretization, please refer to the existing description in the above-mentioned embodiment of determining the first corresponding relationship, which will not be repeated here.
[0147] That is to say, the second corresponding relationship is a discretized classification random forest model or a regression random forest model without discretization obtained by training with historical production line attributes and corresponding historical lost working hours, wherein the historical production line attributes are samples and the historical lost working hours are used as labels for the corresponding historical production line attributes in training. In this way, by inputting the production line attributes used in S303 into the second corresponding relationship, the importance of the production line attributes relative to the lost working hours can be obtained, and the importance is the single board grouping weight corresponding to the production line attributes.
[0148] In the embodiment of the present application, the production similarity can reflect the degree of loss of working hours caused by each type of single board being divided into a group, that is, for co-production. The higher the production similarity, the less loss of working hours. The different types of single boards corresponding to the production similarity are more suitable for co-production.
[0149] S304, grouping the multiple single boards according to the production similarity between the multiple single boards to obtain at least one co-linear single board group, and co-producing the multiple single boards in the same co-linear single board group; wherein the production similarity between the single boards in the co-linear single board group is greater than the production similarity between the single boards outside the co-linear single board group; the multiple single boards in the co-linear single board group are used for co-linear production.
[0150] After determining the production similarity between multiple boards according to the determined first production line information, the multiple boards can be grouped according to the production similarity between the multiple boards to obtain at least one co-line board group, that is, at least one gold sample BOM is obtained through grouping technology, so that the boards represented by the gold sample BOM in the same gold sample BOM can be co-produced on the production line indicated by the production line attributes corresponding to the corresponding production similarity, thus obtaining at least one co-line board group. Among them, the production similarity between the boards in the co-line board group is greater than the production similarity between the boards outside the co-line board group, which can ensure that the switching frequency of the production line of the boards in the co-line board group is less and the switching time is shorter.
[0151] The grouping technology is described in detail below.
[0152] Grouping technology is another name for product family classification. It is a technology that uses a system analysis method to group products that are similar in some aspects. For the single-board production of the embodiment of the present application, from the perspective of the manufacturing end, the generation of lost working hours is directly related to the production line attributes. The configuration of the production line attributes will be directly reflected in the working hours, so all lost working hours can be directly allocated to the production line attributes. At the same time, from a positive perspective, the choice of single-board attributes directly determines the configuration of the production line attributes, so it can be reversely deduced that the lost working hours allocated to the production line attributes are indirectly contributed by the single-board attributes. Therefore, there is a complete mapping chain between the lost working hours, production line attributes, and attributes. Clarifying this corresponding relationship can build a communication bridge between the manufacturing end and the design end. If you want to eliminate offline losses and fundamentally solve the need to eliminate the need for line switching when multiple varieties of single boards are on the same line, the most effective way is to classify multiple varieties of single boards into product families, that is, grouping technology.
[0153] In the embodiment of the present application, the similarity evaluation coefficients of the board attributes and the production line attributes are used to quantify the basis for the grouping, which can provide a more intuitive reference index. In addition, feature engineering is used to directly train the corresponding relationship between attributes and production line attributes from a large amount of historical data as an importance parameter input into the calculation of the gold sample index and the collinearity index, which can further improve the accuracy.
[0154] For example, Figure 4 As shown, the most critical issue in grouping in the embodiment of the present application is to find the central board of the grouping, that is, the clustering center of the clustering algorithm, which is called the SEED board in the embodiment of the present application.
[0155] In an optional implementation, the grouping technique may include the following steps:
[0156] Step 1: Determine the SEED board and add it to the queue. Sum all columns of the above comprehensive similarity matrix to get the sum of the similarities corresponding to each column. Where s ij is the similarity between the i-th board and the j-th board, and N is the total number of boards included in the multiple boards. k =max(s j ), that is, the sum of the similarities corresponding to the kth board is the largest among the sums of the multiple similarities corresponding to all columns, then the kth board among the multiple boards is determined to be the SEED board, and n=1 is set and the SEED board is placed in group G n Among them, k∈j.
[0157] After the SEED board is determined, the PCB boards with high similarity can be grouped together as much as possible. The boards can be added to the queue in descending order of similarity to the SEED board until the grouping is completed and the queue is output:
[0158] Step 2: Sort the boards except the SEED board in descending order according to their similarity to the SEED board, and obtain an ordered board set P = {P l1 ,P l2 ,...,P ld}(1,2,...,d∈[1,N-1]), d is an integer.
[0159] Step 3: Take out the boards P from the board set P one by one. li , the single board P li Add the board group G n group.
[0160] Step 4: Calculate the current G n The line utilization rate of the group, that is, the total number of stack bits used f k , if f k ≤F (F is the total stacking limit, that is, the production line loading limit), then repeat step 3 until all the boards in P are taken; if f k >F, indicating group G n The line loading limit has been reached and a new group needs to be divided, so go to step 5. In other words, the number of stacking bits used by the gold sample BOM is less than the total number of stacking bits.
[0161] Step 5: li From G n Take it out and put P li Set as the new SEED board, let n = n + 1, and put it into the new group G n Repeat step 2 until all the boards are divided. For example, the group that reaches the line loading limit is G1, and the new group is G2.
[0162] Step 6: Output the set of all single board groups, and output the union of the components in each single board group as the gold sample BOM family. In this way, the new PCB board group generated by the gold sample BOM family can achieve "zero line change".
[0163] In an optional implementation, since the similarity between the boards at the back and other boards is lower in descending order when grouping according to the sum of similarities, the similarity between the boards in the last group may be very low, that is, a group that is forcibly pieced together. If the number of groups that need to be divided is found as much as possible when searching for SEED boards, this situation can be improved to a certain extent, the similarity between each group of boards can be increased, and the switching frequency and line change time of the same group of boards in co-production can be further reduced. To this end, the grouping technology can include the following steps:
[0164] Step 1: Screen the potential SEED board set, that is, determine the candidate SEED board:
[0165] Sum all columns of the above comprehensive similarity matrix to get the sum of the similarities corresponding to each column Where s ij is the similarity between the i-th board and the j-th board, and N is the total number of boards included in the multiple boards. j The larger the value, the higher the similarity between the jth board and other boards, and the higher the potential of the board as a SEED board. j ≥s * (s * is the preset first threshold) as the screening condition, and a group of potential SEED boards P with high similarity to other boards are screened out, which is written in the form of a set as P = {P n1 ,P n2 ,...,P na}(1,2,...,a∈[1,N]), where a is an integer.
[0166] Step 2, determine the number of SEED boards and groups:
[0167] Determine the maximum value of the sum of similarities in the potential SEED board set S1 = max(s j ), and the jth board corresponding to the maximum value of the sum of similarities is identified as a SEED board and placed in the first group G1. j Traverse the similarity between each board except the SEED board and the SEED board in the potential SEED board set P in descending order. If there is a board with a similarity lower than the preset second threshold Then the single board is determined as the second SEED board and put into the second group G2; continue to traverse the potential SEED board set P, if there is a single board with similarity to the first two SEED boards, that is, the determined SEED boards, which is less than the second threshold Then the board is determined as the third SEED board. This process continues until there is no board with a similarity less than 100% with all SEED boards. Get M SEED boards P′={P m1 ,P m2 ,...,P mb}(1,2,...b∈[1,M]), and divided into M groups, which determines the number of SEED boards and groups. It can be understood that b is an integer.
[0168] Step 3: sort all boards except the SEED board. The sorting criteria may be, for example, similarity s j In descending order, we get the set P″={P l1 ,P l2 ,...,P ld}(1,2,...,d∈[1,NM]), d is an integer.
[0169] Step 4: Take out the single board P from the set P″ one by one li , respectively compare the single board P li Similarity with each SEED board, if Then the single board P li Put into group k G k That is, the kth group G k The included SEED board and single board P li The similarity between the two is the single board P li The highest similarity among each SEED board.
[0170] Step 5: Calculate the current G k The line utilization rate of the group, that is, the total number of stack bits used f k , if f k ≤F (F is the total stacking position limit, that is, the production line loading limit), then repeat step 4 until all the boards in P″ are taken; if f k >F, jump to step 6.
[0171] Step 6: P li From G k Take out the P li Add in addition to G k G in the board group outside the group k′ In the group, P li With G k′ Similarity between SEED boards contained in the group Except G k The largest single board in the group outside the group, and repeat step 5. li If it cannot be placed in all single board groups, P li Set as the new SEED board and put it into the newly divided group G M+1 and make M=M+1, repeat step 4 until all the boards in P″ are taken.
[0172] Step 7: Output the board group set, and output the union of the components in each board group as the gold sample BOM family.
[0173] In this way, the output gold sample BOM family is Figure 4 The optimized gold sample BOM is shown.
[0174] To facilitate understanding, three application scenarios of the production data processing method provided in the embodiments of the present application are described below in the form of exemplary descriptions.
[0175] Figure 5 This is an example diagram of the business scenario logic architecture provided by the embodiment of this application. Figure 5As shown, around the whole life cycle of the generation, use and maintenance of the golden sample BOM, the production data processing method provided by the embodiment of the present application may include three application scenarios, starting from the three dimensions of which single boards can be co-lined, how new single boards can be co-lined, and which single boards are added after the old single boards are discontinued, and using single board similarity, golden sample index, and co-line index as analytical indicators, respectively, with grouping technology, determination of similarity, feature engineering, loss of working hours allocation and other production data processing processes as support to achieve the overall goal of "0 loss". In the three application scenarios, the solution output of the embodiment of the present application can include multiple golden sample BOM libraries (such as golden sample BOM library 1, golden sample BOM library 2 and golden sample BOM library 3, that is, multiple golden sample BOM families, that is, the multiple single board groups obtained by the grouping technology mentioned above), golden sample BOM update proposals and co-line single board libraries.
[0176] Combine the following Figures 6 to 9 The process of production data processing in the above three application scenarios is explained in detail.
[0177] Figure 6 This is an example diagram of a business scenario process provided by an embodiment of the present application. Figure 6 As shown, application scenario 1: generating golden sample BOM, that is, multiple golden sample BOM families. The embodiment of this application adopts grouping technology to divide the collinear boards. The goal of collinearity is to break through the bottleneck of offline actions from the root. When scheduling products, that is, grouping, corresponding constraints are added. That is, collinearity has certain prerequisites. Under this premise and constraint, the division of boards into groups is the process of generating "golden sample BOM" in groups, that is, this application Figure 5 The embodiment provides a production data processing method.
[0178] For example, Figure 7 1 is an example diagram of the process of generating a gold sample BOM provided in an embodiment of the present application. Figure 7 As shown:
[0179] Objectives and requirements: Solve the problem of which boards can be put on the same line. Provide a model reference for the design and manufacturing end.
[0180] Input: Initial gold sample BOM before optimization (for example, a set of single boards initially summarized by experts based on experience).
[0181] Production data processing process: The generation of the golden sample BOM mainly involves three methods and technologies: similarity evaluation system and determination of production similarity, grouping technology and feature engineering. Specifically, based on historical single board data, feature engineering is used to train the correspondence between production line attributes and lost working hours. The production line attributes are used as random forest decision tree nodes, and the lost working hours are used as decision tree labels. The importance of production line attributes relative to lost working hours can be output. That is, the first corresponding relationship and the second corresponding relationship are determined. On this basis, the production line attributes parsed from the initial golden sample BOM input of the scene are used to calculate the similarity between each element, that is, the attributes, between the single boards. The similarity between each element between the single boards can reflect the difference between different processes and parameters between the two single boards, that is, to determine the production similarity between multiple single boards. The importance value output by the aforementioned feature engineering can reflect the degree of influence of production line attributes on lost working hours. The more influential the production line attributes are, the more they should be considered when calculating the total similarity between the two boards. Therefore, the similarity of each element between the boards is multiplied by the corresponding importance to lost working hours and the sum is obtained to get the comprehensive similarity between the two boards. The larger the value, the closer the two boards are in each element configuration, and the higher the degree of collinearity between the two. Then calculate the comprehensive similarity between all the boards in the initial gold sample BOM to construct a comprehensive similarity matrix of multiple boards and use it as the input of the grouping technology. Finally, the production line loading restrictions and the boards with high similarity are grouped as constraints, and the boards are divided into groups according to the idea of clustering.
[0182] Output: The optimized gold sample BOM, that is, the gold sample BOM family (which may be divided into multiple groups based on constraints and similarities), can meet the "0 line change" requirements of the manufacturing end on the one hand, and can provide guidance for the following two scenarios, namely scenario two and scenario three.
[0183] Still see Figure 6. Application scenario 2: Use the gold sample BOM, that is, output the gold sample BOM update proposal. After generating multiple gold sample BOMs, it can be used to output update proposals for the initial gold sample BOM, that is, EarlyBOM, developed by designers. On the one hand, designers can select components from the gold sample BOM library to develop new boards, so as to ensure that the generated component set, that is, EarlyBOM, is a subset of the components in the gold sample BOM library. At this time, the function of the gold sample BOM is similar to the normalized component library on the design side. At this time, although the components in the EarlyBOM are all included in the gold sample BOM, there is already the possibility of "0 line change loss" co-line. In one example, the initial gold sample BOM at this time may be used for co-line production. There may be online losses caused by factors such as production line imbalance, so the gold sample BOM is needed to evaluate the pros and cons of the new board design; on the other hand, for the EarlyBOM that is not generated by selecting components from the gold sample BOM library, there may also be a need for co-line production with the single board in the gold sample BOM to achieve efficient and flexible production. Therefore, the gold sample BOM is needed to evaluate the degree of co-lineability in addition to the pros and cons of the design. Regardless of the EarlyBOM generation method, after evaluation, it needs to be provided to designers to give modification suggestions from the manufacturing perspective. This is the concept of DFM. DFM is the abbreviation of Design for manufacturability, which means design for manufacturing, that is, from the perspective of improving the manufacturability of parts, making parts and various processes easy to manufacture, with low manufacturing cost, high efficiency, and low cost ratio.
[0184] For example, Figure 8 1 is an example diagram of the process of using the gold sample BOM provided in the embodiment of the present application. Figure 8 As shown:
[0185] Objectives and requirements: Solve the problem of how to make new boards co-linear, and provide board designers with initial gold sample BOM update suggestions for manufacturing.
[0186] Input: EarlyBOM of the newly developed board, which is the initial gold sample BOM.
[0187] Production data processing process: The production data processing process of this scenario includes feature engineering, determination of similarity, loss time allocation principle and other evaluation indexes. When the newly developed single board needs to be co-produced, in order to achieve the goal of "0 line change loss", it is necessary to analyze the degree of co-production and the design quality of the new single board. First, based on the known historical production data, feature engineering and random forest algorithm are used to train the attributes to the production line attributes, and the corresponding relationship between the production line attributes and the loss time is output. The loss time allocation model is trained according to the influence weight, and the loss time allocation principle is constructed to allocate the loss time to each production line attribute according to the comprehensive consideration of the degree of influence and the amount of change, and then to the attribute. That is, the first corresponding relationship and the second corresponding relationship are determined. Then, the attributes of the new single board, that is, the single board in the initial gold sample BOM, and the production line attributes are used as input, and the loss time allocation model, that is, the second corresponding relationship, is used to estimate the loss time of the new single board, so as to judge the quality of the new single board relative to the gold sample BOM substrate. That is, the board attributes are parsed from the initial gold sample BOM, and the manufacturing attributes, that is, the production line attributes, are determined based on the board attributes and the first corresponding relationship, and the consistency of the components can be calculated based on the attributes of the new board to measure the degree of difference between the same components from different sources. The lower the difference, the better. In one example, indicators about the production line can be calculated according to the production line attributes corresponding to the new single board, including at least one of the following: production similarity between the new single board and the substrate in the gold sample BOM (SEED board in grouping technology), that is, similarity evaluation, reuse of components between different types of single boards in the initial gold sample BOM, and the preference rate of the initial gold sample BOM relative to the gold sample BOM (the ratio between the preset optimal configuration satisfied by the configuration of the production line indicated by the production line attributes corresponding to the initial gold sample BOM and the preset optimal configuration satisfied by the configuration of the production line indicated by the production line attributes corresponding to the gold sample BOM. For example, the preset optimal configurations satisfied by the initial gold sample BOM are four, and the optimal configurations satisfied by the gold sample BOM are seven, then the preference rate is 4÷7≈0.57), and line utilization (the production proportion of the production line indicated by the production line attributes to the single board orders corresponding to the initial gold sample BOM). In this way, the degree of co-linearity of the new single board relative to the gold sample BOM can be measured from the perspective of production resources and parameter configuration. In one example, the consistency of components in the initial gold sample BOM, the lost working hours of a single board in the initial gold sample BOM, and indicators related to the production line may be weighted and summed to obtain the gold sample index.
[0188] Output: Update suggestions for the EarlyBOM from the manufacturing end, which are used to update the properties and / or property values of the new board. The update suggestions may include, for example, at least one of the following: lost working hours of the board in the EarlyBOM, consistency of components in the EarlyBOM, indicators about the production line, and the EarlyBOM index.
[0189] Still see Figure 6 . Application scenario three: Maintaining the gold sample BOM. Combined with the characteristics of the above-mentioned single board with multiple varieties and small batches, it can be known that in specific production, it is very likely that some of the historical single boards (colonized BOM) that have been co-produced according to the gold sample BOM will have excess production line capacity due to a decrease in order volume or discontinuation of production. At this time, it is necessary to introduce single boards of other varieties to supplement the production line and the gold sample BOM to ensure the maximum utilization of the production line. Its core purpose is to maintain the existing gold sample BOM or the colonized single board library. The introduced supplementary single board may have problems such as production line imbalance and bottleneck stations, just like the EarlyBOM in the previous application scenario, and there may also be new components that do not belong to the gold sample BOM component set. This requires the analysis of the collinearity of the introduced single board to determine whether it is necessary to add or delete the gold sample BOM component set, or whether it is necessary to replace the necessary components of the introduced single board, etc., so as to ensure that the introduced supplementary single board can also meet the collinear premise to reduce the switching frequency and switching time of colonized production and improve the efficiency of colonized production.
[0190] For example, Fig. 9 1 is an example diagram of the maintenance gold sample BOM process provided by the embodiment of the present application. Fig. 9 As shown:
[0191] Objectives and requirements: Solve the problem of which boards to add after the old boards are discontinued, and provide a reference for supplementing the co-line BOM.
[0192] Input: At least one board introduced to supplement the gold sample BOM.
[0193] Production data processing process: The production data processing process included in this scenario is the similarity evaluation system and the golden sample index. The single board attributes and production line attributes of the introduced single board are parsed, and the consistency of the components can be calculated based on the single board attributes of the introduced single board to measure the degree of difference between the same components supplied by different suppliers. The production similarity between the substrate in the golden sample BOM (the single board with the relatively optimal configuration of the production line indicated by the production line attributes of the production line elements in the golden sample BOM), the reuse of components between different types of single boards in the introduced single board, the preferred rate relative to the golden sample BOM, and the line utilization rate can be calculated based on the production line attributes of the introduced single board. The degree of collinearity of the newly developed single board relative to the collinear BOM can be measured from the perspective of resource and parameter configuration. The indicators in this scenario are similar to those in scenario 2, and can be weighted summed to obtain the golden sample index. Among them, the preferred rate and line utilization rate can refer to the existing description in the above scenario 2, the difference is that the adaptability of the initial golden BOM is adjusted to the introduced single board.
[0194] Output: the collinearity degree of the introduced single boards and the ranking of the collinearity degree, and the provision of new collinearity suggestions. Among them, the collinearity degree of the single board may include at least one of the following: the production line attribute calculation of the introduced single board and the substrate production similarity, reuse, optimization rate, line utilization rate and gold sample index in the gold sample BOM. For example, the new collinearity suggestion may be to select at least one single board whose collinearity degree is greater than the degree threshold, and determine it as a single board that can be added to the existing gold sample BOM. In other words, scenario three is an update of the existing gold sample BOM that has undergone collinear production, which is an update to the present application. Figure 5 The embodiment outputs maintenance of at least one co-linear board information group.
[0195] It is understandable that the patch process in the above embodiment of the present application is only an exemplary description. In specific applications, the patch process can be replaced by other processes that need to be produced on the same line according to application requirements, and the relevant parameters can be adjusted according to the single board produced by the replaced process and the production line adaptability of the process. The embodiment of the present application does not limit the specific process corresponding to the production data.
[0196] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the production data processing method in the above-mentioned embodiment.
[0197] This embodiment also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the production data processing method in the above-mentioned embodiment.
[0198] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.
[0199] Any content of each embodiment of the present application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of the present application.
[0200] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0201] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A production data processing method, characterized in that: The method comprises: Acquire production data, wherein the production data includes at least one first single board information corresponding to each single board of a plurality of single boards of different types; wherein the first single board information is used to indicate a single board; Based on the pre-stored first corresponding relationship, determine the first production line information corresponding to each of the first single board information; Determining production similarities between the multiple types of single boards according to the determined first production line information; According to the production similarity between the multiple single boards, the multiple single boards are grouped to obtain at least one co-linear single board group; wherein the production similarity between the single boards in the co-linear single board group is greater than the production similarity between the single boards outside the co-linear single board group; the multiple single boards in the co-linear single board group are used for co-linear production.
2. The method according to claim 1, characterized in that Before obtaining the production data, the method further includes: Obtaining historical single board information of multiple single boards produced historically, and historical configuration information of production lines used in the historical production; Extracting board attributes and production line attributes from the historical board information and the historical configuration information respectively; Model training is performed using the single board attributes and the production line attributes, and a first model obtained through training is determined as the first corresponding relationship, wherein the first model is used to reflect the importance of the single board attributes relative to the production line attributes.
3. The method according to claim 2, characterized in that The first single board information includes single board attributes; the first production line information includes production line attributes; The determining, based on the pre-stored first corresponding relationship, the first production line information corresponding to each of the first single board information includes: Input each first single board information into the first corresponding relationship respectively, and obtain the importance of the single board attribute contained in each first single board information relative to the production line attribute; For each first single board information, determine the target importance of the importance corresponding to the first single board information that is greater than the importance threshold, and determine the first production line information containing the production line attributes corresponding to the target importance as the first production line information corresponding to the first single board information.
4. The method according to any one of claims 1 to 3, characterized in that The determining, according to the determined first production line information, the production similarity between the multiple boards includes: Calculating similarities of different production line attributes according to attribute values of the production line attributes included in the determined first production line information; Based on the pre-stored second correspondence, determine the single board grouping weight corresponding to each first production line information; wherein the second correspondence includes a correspondence between production line attributes and lost working hours; By using the single board grouping weight corresponding to each first production line information, weighted summation is performed on the similarity of the production line attributes to obtain the comprehensive similarity between the boards; After completing the weighted summation of the similarities of the attributes of each production line, the production similarities between the multiple boards are obtained.
5. The method according to claim 4, characterized in that Before obtaining the production data, the method further includes: Obtaining historical configuration information of production lines used in historical production of multiple boards and lost working hours in the historical production; Extracting production line attributes from the historical configuration information; Performing model training using the production line attributes and the lost working hours, and determining a second model obtained through the training as the second corresponding relationship, wherein the second model is used to reflect the importance of the production line attributes relative to the lost working hours; The determining, based on the pre-stored second corresponding relationship, the single board grouping weight corresponding to each first production line information includes: Each piece of first production line information is input into the second corresponding relationship respectively, and the importance of the production line attribute in the first production line information relative to the lost working hours is obtained as the single board grouping weight corresponding to the first production line information.
6. The method according to any one of claims 1 to 5, characterized in that The method of grouping the multiple boards according to the production similarities between the multiple boards to obtain at least one co-linear board group includes: Determine, according to the production similarities between the multiple single boards, a substrate among the multiple single boards, wherein the substrate includes a single board whose production similarity with the single boards other than the substrate among the multiple single boards is greater than a second similarity threshold; At least one single board group is determined according to the production similarity between single boards other than the substrate and the substrate among the plurality of single boards and according to the rule that single boards with relatively higher production similarity are grouped together.
7. The method according to claim 6, characterized in that The production similarities between the plurality of single boards include a matrix formed by the production similarities between the plurality of single boards, the kth column of the matrix including the production similarities between the kth single board and single boards other than the kth single board among the plurality of single boards, 0≤k≤N, and is an integer, N being the number of types of the plurality of single boards; The step of determining a substrate among the plurality of single boards according to the production similarity between the plurality of single boards comprises: Sum each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; According to the sum of the similarities corresponding to each column, determine the target column with the largest sum of the similarities, and determine the kth single board included in the target column as the substrate; The determining of at least one single board group according to the production similarity between single boards other than the substrate and the substrate among the plurality of single boards and according to the rule that single boards with relatively higher production similarity are grouped together comprises: According to the condition that the number of single boards in each single board group is not greater than the loading threshold, among the single boards other than the substrate, the single board with the highest production similarity with the substrate among the multiple single boards is divided into the single board group to which the substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of single boards; When the single boards other than the base board among the plurality of single boards are grouped, obtaining the at least one single board group; When the single board group to which the substrate belongs is grouped and there are ungrouped single boards, a new substrate is determined from the ungrouped single boards, and according to the production similarity between the ungrouped single boards and the new substrate, at least one single board group is determined according to the rule that single boards with relatively higher production similarity are grouped together, until the grouping of the multiple single boards is completed.
8. The method according to claim 6, characterized in that The production similarities between the plurality of single boards include a matrix formed by the production similarities between the plurality of single boards, the kth column of the matrix including the production similarities between the kth single board and single boards other than the kth single board among the plurality of single boards, 0≤k≤N, and is an integer, N being the number of types of the plurality of single boards; The step of determining a substrate among the plurality of single boards according to the production similarity between the plurality of single boards comprises: Sum each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; According to the sum of the similarities corresponding to each column, a plurality of target columns whose corresponding sum of similarities is greater than a first threshold are determined, and a plurality of k-th boards included in the plurality of target columns are determined as a plurality of candidate substrates; Determine the candidate substrates with the largest sum of similarities among the plurality of candidate substrates as a group of substrates of the single-board group; Determine, among the candidate substrates other than the determined substrates, the candidate substrates whose production similarities with the determined substrates are less than a second threshold value as substrates for a new group of single board groups, until there are no candidate substrates whose production similarities with the determined substrates are less than the second threshold value, thereby obtaining at least one substrate and multiple single board groups to which each substrate belongs; The determining of at least one single board group according to the production similarity between single boards other than the substrate and the substrate among the plurality of single boards and according to the rule that single boards with relatively higher production similarity are grouped together comprises: According to the condition that the number of boards in each board group is not greater than the loading threshold, the boards among the plurality of boards, except for the determined substrate, that have the highest production similarity with the first substrate are divided into the board group to which the first substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of boards; and the first substrate includes any one of the determined substrates; When the single boards other than the at least one substrate in the plurality of single boards are grouped, obtaining the at least one single board group; When the single board group to which at least one substrate belongs has been grouped and there are ungrouped single boards, a new substrate is determined from the ungrouped single boards, and according to the production similarity between the ungrouped single boards and the new substrates, at least one single board group is determined according to the rule that single boards with relatively higher production similarity are grouped together, until the grouping of the multiple single boards is completed.
9. The method according to any one of claims 1 to 8, characterized in that After grouping the multiple single boards according to the production similarities between the multiple single boards to obtain at least one co-linear single board group, the method further includes: Acquire an initial single board information set, wherein the initial single board information set includes at least one second single board information different from at least one first single board information; According to the at least one second single board information, respectively, by using the first corresponding relationship, determine the second production line information corresponding to each second single board information in the at least one second single board information; According to the second production line information corresponding to each second single board information and the first production line information corresponding to the at least one collinear single board information group, and / or, according to each second single board information and the at least one collinear single board information group, determine the first comparison information of at least one second single board corresponding to the at least one second single board information relative to the multiple first single boards corresponding to the at least one collinear single board information group; The first comparison information is used to determine whether to update the initial board information, and when updating, is used to update the initial board information according to the first comparison information.
10. The method according to any one of claims 1 to 9, characterized in that After grouping the multiple single boards according to the production similarities between the multiple single boards to obtain at least one co-linear single board group, the method further includes: Acquire a supplementary board information set, wherein the supplementary board information set includes at least one third board information for replacing at least one of the first board information; According to the at least one third single board information, respectively, by using the first corresponding relationship, determine the third production line information corresponding to each third single board information in the at least one third single board information; Determine second comparison information of at least one third board corresponding to the at least one third board information relative to the plurality of first boards corresponding to the at least one collinear board information group based on the third production line information corresponding to each third board information and the first production line information corresponding to the at least one collinear board information group, and / or based on each second board information and the at least one collinear board information group; The second comparison information is used to determine whether to use the supplementary board information to replace the at least one first board information.
11. A production data processing device, characterized in that: The device comprises: A data acquisition module, configured to acquire production data, wherein the production data includes at least one first single board information corresponding to each single board of a plurality of different types of single boards; wherein the first single board information is used to indicate a single board; and based on a pre-stored first corresponding relationship, determine the first production line information corresponding to each first single board information; A similarity determination module, configured to determine the production similarity between the plurality of single boards according to the determined first production line information; A grouping module is used to group the multiple single boards according to the production similarities between the multiple single boards to obtain at least one co-linear single board group; wherein the production similarities between the single boards in the co-linear single board group are greater than the production similarities between the single boards outside the co-linear single board group; and the multiple single boards in the co-linear single board group are used for co-linear production.
12. The device according to claim 11, characterized in that The device also includes a feature engineering module, which is used to: Obtaining historical single board information of multiple single boards produced historically, and historical configuration information of production lines used in the historical production; Extracting board attributes and production line attributes from the historical board information and the historical configuration information respectively; Model training is performed using the single board attributes and the production line attributes, and a first model obtained through training is determined as the first corresponding relationship, wherein the first model is used to reflect the importance of the single board attributes relative to the production line attributes.
13. The device according to claim 12, characterized in that The first single board information includes single board attributes; the first production line information includes production line attributes; The data acquisition module is specifically used for: Input each first single board information into the first corresponding relationship respectively, and obtain the importance of the single board attribute contained in each first single board information relative to the production line attribute; For each first single board information, determine the target importance of the importance corresponding to the first single board information that is greater than the importance threshold, and determine the first production line information containing the production line attributes corresponding to the target importance as the first production line information corresponding to the first single board information.
14. The device according to any one of claims 11 to 13, characterized in that The similarity determination module is specifically used for: Calculating similarities of different production line attributes according to attribute values of the production line attributes included in the determined first production line information; Based on the pre-stored second correspondence, determine the single board grouping weight corresponding to each first production line information; wherein the second correspondence includes a correspondence between production line attributes and lost working hours; By using the single board grouping weight corresponding to each first production line information, weighted summation is performed on the similarity of the production line attributes to obtain the comprehensive similarity between the boards; After completing the weighted summation of the similarities of the attributes of each production line, the production similarities between the multiple boards are obtained.
15. The device according to claim 14, characterized in that The device also includes a feature engineering module, which is used to: Obtaining historical configuration information of production lines used in historical production of multiple boards and lost working hours in the historical production; Extracting production line attributes from the historical configuration information; Performing model training using the production line attributes and the lost working hours, and determining a second model obtained through the training as the second corresponding relationship, wherein the second model is used to reflect the importance of the production line attributes relative to the lost working hours; The similarity determination module is specifically used for: Each piece of first production line information is input into the second corresponding relationship respectively, and the importance of the production line attribute in the first production line information relative to the lost working hours is obtained as the single board grouping weight corresponding to the first production line information.
16. The device according to any one of claims 11 to 15, characterized in that The grouping module is specifically used for: Determine, according to the production similarities between the multiple single boards, a substrate among the multiple single boards, wherein the substrate includes a single board whose production similarity with the single boards other than the substrate among the multiple single boards is greater than a second similarity threshold; At least one single board group is determined according to the production similarity between single boards other than the substrate and the substrate among the plurality of single boards and according to the rule that single boards with relatively higher production similarity are grouped together.
17. The device according to claim 16, characterized in that The production similarities between the plurality of single boards include a matrix formed by the production similarities between the plurality of single boards, the kth column of the matrix including the production similarities between the kth single board and single boards other than the kth single board among the plurality of single boards, 0≤k≤N, and is an integer, N being the number of types of the plurality of single boards; The grouping module is specifically used for: Sum each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; According to the sum of the similarities corresponding to each column, determine the target column with the largest sum of the similarities, and determine the kth single board included in the target column as the substrate; According to the condition that the number of single boards in each single board group is not greater than the loading threshold, among the single boards other than the substrate, the single board with the highest production similarity with the substrate among the multiple single boards is divided into the single board group to which the substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of single boards; When the single boards other than the base board in the plurality of single boards are grouped, obtaining the at least one single board group; When the single board group to which the substrate belongs is grouped and there are ungrouped single boards, a new substrate is determined from the ungrouped single boards, and according to the production similarity between the ungrouped single boards and the new substrate, at least one single board group is determined according to the rule that single boards with relatively higher production similarity are grouped together, until the grouping of the multiple single boards is completed.
18. The device according to claim 16, characterized in that The production similarities between the plurality of single boards include a matrix formed by the production similarities between the plurality of single boards, the kth column of the matrix including the production similarities between the kth single board and single boards other than the kth single board among the plurality of single boards, 0≤k≤N, and is an integer, N being the number of types of the plurality of single boards; The grouping module is specifically used for: Sum each column of the matrix respectively to obtain the sum of the similarities corresponding to each column; According to the sum of the similarities corresponding to each column, a plurality of target columns whose corresponding sum of similarities is greater than a first threshold are determined, and a plurality of k-th boards included in the plurality of target columns are determined as a plurality of candidate substrates; Determine the candidate substrates with the largest sum of similarities among the plurality of candidate substrates as a group of substrates of the single-board group; Determine, among the candidate substrates other than the determined substrates, the candidate substrates whose production similarities with the determined substrates are less than a second threshold value as substrates for a new group of single board groups, until there are no candidate substrates whose production similarities with the determined substrates are less than the second threshold value, thereby obtaining at least one substrate and multiple single board groups to which each substrate belongs; According to the condition that the number of boards in each board group is not greater than the loading threshold, the boards among the plurality of boards, except for the determined substrate, that have the highest production similarity with the first substrate are divided into the board group to which the first substrate belongs; wherein the loading threshold is the loading upper limit of the production line for co-production of boards; and the first substrate includes any one of the determined substrates; When the single boards other than the at least one substrate in the plurality of single boards are grouped, obtaining the at least one single board group; When the single board group to which at least one substrate belongs has been grouped and there are ungrouped single boards, a new substrate is determined from the ungrouped single boards, and according to the production similarity between the ungrouped single boards and the new substrates, at least one single board group is determined according to the rule that single boards with relatively higher production similarity are grouped together, until the grouping of the multiple single boards is completed.
19. The device according to any one of claims 11 to 18, characterized in that The device also includes an update information determination module, which is used to: Acquire an initial single board information set, wherein the initial single board information set includes at least one second single board information different from at least one first single board information; According to the at least one second single board information, respectively, by using the first corresponding relationship, determine the second production line information corresponding to each second single board information in the at least one second single board information; According to the second production line information corresponding to each second single board information and the first production line information corresponding to the at least one collinear single board information group, and / or, according to each second single board information and the at least one collinear single board information group, determine the first comparison information of at least one second single board corresponding to the at least one second single board information relative to the multiple first single boards corresponding to the at least one collinear single board information group; The first comparison information is used to determine whether to update the initial board information, and when updating, is used to update the initial board information according to the first comparison information.
20. The device according to any one of claims 11 to 19, characterized in that The device also includes a single board supplement module, which is used to: Acquire a supplementary board information set, wherein the supplementary board information set includes at least one third board information for replacing at least one of the first board information; According to the at least one third single board information, respectively, by using the first corresponding relationship, determine the third production line information corresponding to each third single board information in the at least one third single board information; Determine second comparison information of at least one third board corresponding to the at least one third board information relative to the plurality of first boards corresponding to the at least one collinear board information group based on the third production line information corresponding to each third board information and the first production line information corresponding to the at least one collinear board information group, and / or based on each second board information and the at least one collinear board information group; The second comparison information is used to determine whether to use the supplementary board information to replace the at least one first board information.
21. An electronic device, characterized in that: include: processors and transceivers; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that: The method comprises a computer program, wherein when the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1 to 10.
23. A chip, characterized in that: It comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send the signal to the processor, the signal comprising a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the method described in any one of claims 1 to 10.
24. A computer program product, characterized in that The invention comprises a computer program, which, when executed by an electronic device, enables the electronic device to execute the method according to any one of claims 1 to 10.
