METHOD FOR CONSTRUCTING TOPOLOGY REFERENCE ARCHITECTURE FOR A PRODUCTION LINE

Information

  • Patent Application
  • 20240295873
  • Publication Number
    20240295873
  • Date Filed
    July 04, 2023
    a year ago
  • Date Published
    September 05, 2024
    4 months ago
Abstract
A method for constructing a topology reference structure for a production line is provided. The present disclosure is based on historical production line topology data of an enterprise to extract a commonly used topology reference structure for a production line of the enterprise by a computer through a machine learning (ML) algorithm, so as to form a typical production line topology group of the enterprise. The present disclosure can record typical production line characteristics and production habits of the enterprise, realize reuse of a production line structure and production line construction knowledge, reduce the workload of production line designers, and improve the production line construction efficiency of the enterprise. In addition, the present disclosure avoids the interference of designers' subjective decisions to a certain extent, and the reference structure extracted by the computer has high reference value, and is objective, mature, and stable.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 202310198392.6 with a filing date of Mar. 3, 2023. The content of the aforementioned application, including any intervening amendments thereto, is incorporated herein by reference.


TECHNICAL FIELD

The present disclosure relates to the technical field of production line construction for enterprises, and in particular to a method for constructing a topology reference architecture for a production line.


BACKGROUND

At present, production lines constructed by traditional methods are constructed from beginning to end based on specific requirements on production functions, or constructed by combining multiple existing small work stations that perform specific production tasks into a production line according to their functions. These methods basically adopt serial design, without considering the overall situation of the production line, and require a long construction cycle. In addition, they are faced with problems such as insufficient connection and integration, and heavy reliance on designers' experience, which inevitably leads to many unreasonable aspects in the design. Currently, there are many complex production lines at home and abroad that fail to meet the pre-designed targets due to unreasonable or incorrect initial planning. Traditional methods for constructing production lines may not pose major problems for small enterprises with a small number of simply structured production lines. However, they will bring huge workload and production risks to large enterprises with a large number of complexly structured production lines. Furthermore, as traditional methods for constructing production lines cannot achieve reuse of the production line structure, they have significantly low construction efficiency and increase the enterprise's research and development costs.


SUMMARY

In order to overcome the shortcomings in the prior art, an objective of the present disclosure is to provide a method for constructing a topology reference architecture for a production line. The present disclosure is based on the historical production line topology data of an enterprise to extract a commonly used topology reference architecture for the production lines of the enterprise by a computer through a machine learning (ML) algorithm, so as to form a typical production line topology group of the enterprise. The present disclosure can record typical production line characteristics and production habits of the enterprise, realize reuse of a production line structure and production line construction knowledge, reduce the workload of production line designers, and improve the production line construction efficiency of the enterprise. In addition, the present disclosure avoids the interference of designers' subjective decisions to a certain extent, and the reference architecture extracted by the computer has high reference value, and is objective, mature, and stable.


To achieve the above objective, the present disclosure provides the following technical solution.


The method for constructing a topology reference architecture for a production line includes the following steps:

    • S1: calculating a comprehensive similarity between a first production line xA and a second production line xB;
    • S2: calculating a similarity parameter SA,B between the first production line xA and the second production line xB based on the comprehensive similarity;
    • S3: calculating a similarity parameter si,j between each two production lines xi and xj in n historical production lines according to steps S1 and S2, and forming a fuzzy compatibility matrix S of the n historical production lines;
    • S4: constructing a multi-granularity quotient space based on the fuzzy compatibility matrix S;
    • S5: selecting an optimal granular layer from the multi-granularity quotient space; and
    • S6: constructing the topology reference architecture for the production line based on the optimal granular layer.


In one embodiment, the calculating the comprehensive similarity between the first production line xA and the second production line xB specifically includes:

    • S11: calculating a matching degree and similarity between a first device vA,i in the first production line xA and a second device vB,j in the second production line xB in terms of four properties, to obtain a comprehensive similarity between the first device vA,i and the second device vB,j; wherein, the four properties include material, production process, product category, and production quality;
    • S12: calculating the comprehensive similarity Sact (vA,i, vB,j) between each pair of devices from the first production line xA and the second production line xB according to S11; and calculating the comprehensive similarity Sact(xA, xB) between the first production line xA and the second production line xB based on the comprehensive similarity between each pair of devices and a number of devices; wherein, calculation equations are as follows:











s
act

(


v

A
,
i


,

v

B
,
j



)

=

{






ss
type

+

ss
fea


,





ss
mat

=



1
&




ss
qua


=
1







0
,



otherwise








(

1
-
2

)














s
act

(


x
A

,

x
B


)

=












v

A
,
i










v

B
,
j




max


(


s
act



(


v

A
,
i


,

v

B
,
j



)


)


+












v

B
,
j










v

A
,
i





max

(


s
act

(


v

A
,
i


,

v

B
,
j



)

)







V
A

+

V
B







(

1
-
3

)







where, ssfea represents an ontology similarity of product category between the first device vA,i and the second device vB,j; sstype represents an ontology similarity of production quality between the first device vA,i and the second device vB,j; ssmat represents a material matching degree between the first device vA,i and the second device vB,j, and the material matching degree is 1 in a compatible case and 0 in a non-compatible case; ssqua represents a production process matching degree between the first device vA,i and the second device vB,j, and the production process matching degree is 1 in a compatible case and 0 in a non-compatible case; vA represents a number of devices in the first production line xA; and vB represents a number of devices in the second production line xB.


In one embodiment, the calculating the similarity SA,B between the first production line xA and the second production line xB specifically includes:

    • calculating a similarity SSeq (xA, xB) between a topology of the first production line xA and a topology of the second production line xB:











s
seq

(


x
A

,

x
B


)

=


2
*

M

A
,
B





E
A

+

E
B







(

1
-
4

)









    • calculating the similarity SA,B between the first production line xA and the second production line xB:













s

A
,
B


=



w
act

*


s
act

(


x
A

,

x
B


)


+


w
seq

*


s
seq

(


x
A

,

x
B


)







(

1
-
5

)







where, MA,B represents a number of matched relationship edges between the first production line xA and the second production line xB; EA represents a total number of relationship edges in the first production line xA; EB represents a total number of relational edges in the second production line xB; wact represents a weight of the similarity between devices in the first and second production lines in determining the similarity between the first production line xA and the second production line xB; and wseq represents a weight of the similarity between topologies of the first and second production lines in determining the similarity between the first production line xA and the second production line xB.


In one embodiment, the fuzzy compatibility matrix S is expressed as follows:









S
=



[

s

i
,
j


]


n
×
n


=

[



1














































s

i
,
1







1








































s

j
,
1








s

j
,
i







1


































s

n
,
1








s

n
,
i








s

n
,
j







1



]






(

1
-
6

)







where, the similarity between identical production lines is 1, and si,j=sj,i.


In one embodiment, step S4 includes: inputting the fuzzy compatibility matrix S; and outputting a series of granular layers {X(λ)|≤λ≤1}, with different granularities and mutual transformability according to a granular computing algorithm of a fuzzy compatibility quotient space, wherein X represents the granular layers, and λ represents the granularities; the series of granular layers form the multi-granularity quotient space; and a specific calculation process is as follows:

    • step 1: performing 1st to mth loops to calculate m granularities λ to acquire m granular layers, wherein the following steps are executed in each loop:
    • step 1.1: initializing historical production line sets A={x1, x2, . . . , xn}, B=Ø, and C=Ø;
    • step 1.2: traversing the production line in the set A, wherein the following steps are executed in each traversal;
    • step 1.2.1: transferring initial production lines xj from the set A to the set B during a first loop;
    • step 1.2.2: traversing current production lines xk in the set A during a second loop;
    • step 1.2.2.1: determining if a similarity S(xj, xk) between the initial production lines xj and the current production lines xk is greater than or equal to the granularity; if not, return to step 1.2.2; and if yes, executing the following steps:
    • step 1): transferring the current production lines xk from the set A to the set B;
    • step 2): traversing production lines xs in the set A during a third loop;
    • step 3): determining if a similarity S(xk, xs) between the production lines xk and the production lines xs is greater than or equal to the granularity; if yes, transferring the production lines xs from the set A to the set B; and if not, moving on to step 2);
    • step 1.2.3: incorporating the set B into the set C to serve as a subset of the set C; and
    • step 1.2.4: determining if the set A is an empty set; if yes, returning to the granular layer X(λ)=C corresponding to the granularity λi, and ending the first loop; and if not, letting the set B=Ø, skipping a current loop, and moving on to a next loop; and
    • step 1.3: determining if i is equal to m; if yes, ending the loop, and exiting; and if not, continuing the for loop; and
    • outputting m granular layers X(λ)=C corresponding to the granularities λ1.


In one embodiment, the selecting an optimal granular layer from the multi-granularity quotient space includes:

    • evaluating a granularity of a quotient space X(λk) based on a Shannon information entropy concept, where the granularity of the quotient space is defined as an average amount of information required to completely distinguish all production lines in the granular layer;










E
[

X

(

λ
k

)

]

=




i
=
1

g






"\[LeftBracketingBar]"


G
i



"\[RightBracketingBar]"


n

*


log
2

(



"\[LeftBracketingBar]"


G
i



"\[RightBracketingBar]"


)







(

1
-
7

)







where, g represents a number of production line granules in the quotient space X(λk); Gi represents an ith production line granule in the quotient space X(λk); |Gi| represents a number of production lines in the ith production line granule in the quotient space X(λk); and log2 (|Gi|) represents an amount of information required to completely distinguish all the production lines in the production line granule Gi (assuming that a probability of classifying a jth production line individual in the production line granule q into a class is equal);

    • calculating an information gain generated during a refinement process from a coarse-grained quotient space X(λk-1) with a large information entropy to a fine-grained quotient space X(λk) as follows:










IG
[

X

(

λ
k

)

]

=


E
[

X

(

λ

k
-
1


)

]

-

E
[

X

(

λ
k

)

]






(

1
-
8

)









    • finding the quotient space with the optimal granularity based on the information gain and the comprehensive similarity.





In one embodiment, the constructing the topology reference architecture for a production line based on the optimal granular layer includes:

    • extracting a typical production line topology sequence of production lines in each production line granule in the quotient space with the optimal granularity;
    • calculating, by a dynamic programming method improved based on a longest common subsequence (LCS) algorithm, an LCS of all the production lines in each production line granule in the quotient space with the optimal granularity, where a number of LCSs belonging to different production line granules is equal to a number of the production line granules in the quotient space with the optimal granularity;
    • performing, by an ontology-based computing method, property abstraction on each LCS to acquire a lowest superclass of all device properties in a domain ontology, so as to improve versatility and representativeness:










vtr

j
,

j

LCS



=


C
super

(


vt

1
,
j


,

vt

2
,
j


,


,

vt

i
,
j



)





(

1
-
10

)







where, Csuper(vt1,j, vt2,j, . . . , vti,j) represents abstract properties of a jth matched production line device node of all i production lines;

    • further assembling an abstract set of all production line device nodes and production line topology relationship edges into a new topology reference architecture for a production line, where the topology reference architecture for a production line corresponding to each production line granule is expressed as:










PRM
i

=

(


Vr
i

,

Er
i

,

vtr
i


)





(

1
-
11

)







where, Vri={vri,1, vri,2, . . . , vri,n} represents a set of matched production line device nodes; vtri represents a lowest superclass of abstract device properties; and Eri={eri,j,k|eri,j,k=vri,j*vri,k, 1≤j, k≤ni} represents an abstract set of production line topology relationship edges; and

    • extracting a topology reference architecture for a production line from each production line granule in the quotient space with the optimal granularity, where each topology reference architecture for a production line is manifested by the set of matched production line device nodes and the abstract set of production line topology relationship edges.


In one embodiment, the calculating, by a dynamic programming method improved based on an LCS algorithm, an LCS of all production lines (for example, the production line xA and the production line xB) in each production line granule in the quotient space with the optimal granularity includes:

    • 1) starting matching from a first production line device node in a production line topology;
    • 2) matching, based on a recursive equation, production line device nodes backwards one by one, and stacking a successfully matched production line device node into LCS(i,j):










LCS

(

i
,
j

)


=

{





max


{


LCS

(


i
-
1

,
j

)


,

LCS

(

i
,

j
-
1


)



}







s
act

(


v

A
,
i


,

v

B
,
j



)

<

s
t








LCS

(


i
-
1

,

j
-
1


)




{


C
super

(


v

A
,
i


,

v

B
,
j



)

}







s
act

(


v

A
,
i


,

v

B
,
j



)



s
t






0






i
=
0




j

=
0




.






(

1
-
9

)







where, St represents a user preset similarity threshold for distinguishing a similar device from a non-similar device; and Csuper(vA,i, vB,j) represents abstract properties between two matched production line device nodes, that is, a superclass;

    • 3) repeating steps 1) and 2) to acquire a final LCS(i,j);
    • 4) matching, if a production line granule includes more than two production lines, the LCS(i,j) acquired by steps 1) to 3) and remaining production lines one by one, that is, repeating steps 1) to 3) until all production lines are matched, thus acquiring a final LCS corresponding to the production line granule.


Compared with the prior art, the principles and advantages of the present disclosure are as follows:


The present disclosure is based on the historical production line topology data of an enterprise to extract a commonly used topology reference architecture for a production line of the enterprise by a computer through a machine learning (ML) algorithm, so as to form a typical production line topology group of the enterprise. The present disclosure can record typical production line characteristics and production habits of the enterprise, realize reuse of a production line structure and production line construction knowledge, reduce the workload of production line designers, and improve the production line construction efficiency of the enterprise. In addition, the present disclosure avoids the interference of designers' subjective decisions to a certain extent, and the reference architecture extracted by the computer has high reference value, and is objective, mature, and stable.





BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the following briefly describes the drawings required for describing the embodiments or the prior art. Apparently, the drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these drawings without creative efforts.



FIG. 1 is a flowchart showing a method for constructing a topology reference architecture for a production line according to the present disclosure; and



FIG. 2 is a schematic diagram showing a fuzzy compatibility quotient space.





DETAILED DESCRIPTION OF THE EMBODIMENTS

In the present disclosure, basic concepts are defined before specific embodiments are explained.


Each production line is provided with multiple devices for collaborative processing and manufacturing, and different devices have different production function properties. The present disclosure selects four dimensions of indicators (material, production process, product category, and production quality) for measurement. Multiple devices with different properties can be combined in different order to form a production line. The arrangement structure of the multiple devices refers to a topology of the production line.


For example, the commonly used devices in a mobile phone production line include: surface mount system, labeling machine, potting machine, soldering machine, dispensing machine, and inkjet printer. Each device includes four dimensions of properties: a. material: plastic parts, electronic parts, hardware, packaging materials, etc.; b. production process: solder paste printing, painting, silk screening, welding, assembly, etc.; c. product category: computer, communication, and consumer electronics (3C) products, household appliances, food, clothing, etc.; and d. production quality: rough machining, finishing, precision machining, etc. The topologies of the mobile phone production line are arrangement structures for combining these commonly used devices according to different production plans and processing sequences. Obviously, the type and quantity of the devices and the arrangement structure of the devices required for different products are different to form, for example, a linear production line structure, a U-shaped production line structure, a tree-type production line structure, a ring-type production line structure, etc.


The present disclosure is described in further detail below according to a specific embodiment.


As shown in FIG. 1, the embodiment provides a method for constructing a topology reference architecture for a production line, which includes three stages.


Firstly, a similarity of production lines is calculated based on device properties and production line topologies. At this stage, ontological comprehensiveness and semantic similarity calculation techniques are used. Secondly, a fuzzy compatibility quotient space is constructed. Through comprehensive consideration and calculation of an information gain and the similarity, an optimal granularity for clustering the production line topologies is calculated to acquire a more representative and accurate granule. Finally, by analyzing the similarity and matching relationship between a device node and a relationship edge of the production line topology, a common subgraph of each granule in an optimal granular layer is identified, and a topology reference architecture for a production line is formed by merging.


The method specifically includes the following steps.


S1. A comprehensive similarity between a production line xA and a production line xB is calculated. S1 specifically comprises the following steps S11 and S12.


S1l. A matching degree and similarity between a device vA,i in the production line xA and a device vB,j in the production line xB in terms of four properties are calculated, and a comprehensive similarity between the device vA,i, and the device vB,j is acquired.


The four properties include material, production process, product category, and production quality.


S12. According to S11, the comprehensive similarity Sact (vA,i,VB,j) between each pair of devices from the production line xA and the production line xB is calculated. Based on the comprehensive similarity between each pair of devices and a number of devices, the comprehensive similarity Sact(xA, xB) between the production line xA and the production line xB is calculated.


Calculation equations are as follows:











s
act

(


v

A
,
i


,

v

B
,
j



)

=

{






ss
type

+

ss
fea


,





ss
mat

=



1
&




ss
qua


=
1







0
,



otherwise








(

1
-
2

)














s
act

(


x
A

,

x
B


)

=












v

A
,
i










v

B
,
j




max


(


s
act



(


v

A
,
i


,

v

B
,
j



)


)


+












v

B
,
j










v

A
,
i





max

(


s
act

(


v

A
,
i


,

v

B
,
j



)

)







V
A

+

V
B







(

1
-
3

)







Where, ssfea represents an ontology similarity of product category between the device vA,i and the device vB,jj; sstype represents an ontology similarity of production quality between the device vA,i and the device vB,j; ssmat represents a material matching degree between the device vA,i and the device vB,j, and the material matching degree is 1 in a compatible case and 0 in a non-compatible case; ssqua represents a production process matching degree between the device vA,i and the device vB,j, and the production process matching degree is 1 in a compatible case and 0 in a non-compatible case; VA represents a number of devices in the production line xA; and VB represents a number of devices in the production line xB.


S2. A similarity SA,B between the production line xA and the production line xB is calculated based on the comprehensive similarity between the production line xA and the production line xB.


A similarity sseq (xA, xB) between a topology of the production line xA and a topology of the production line xB is calculated:











s
seq

(


x
A

,

x
B


)

=


2
*

M

A
,
B





E
A

+

E
B







(

1
-
4

)







The similarity SA,B between the production line xA and the production line xB is calculated:










s

A
,
B


=



w
act

*


s
act

(


x
A

,

x
B


)


+


w
seq

*


s
seq

(


x
A

,

x
B


)







(

1
-
5

)







Where, MA,B represents a number of matched relationship edges between the production line xA and the production line xB; EA represents a total number of relationship edges in the production line xA; EB represents a total number of relational edges in the production line xB; Wact represents a weight of the similarity between devices in the production lines in determining the similarity between the production line xA and the production line xB; and wseq represents a weight of the similarity between topologies of the productions lines in determining the similarity between the production line xA and the production line xB.


S3. A similarity si,j between each two production lines xi and xj in n historical production lines is calculated according to steps S1 and S2, and a fuzzy compatibility matrix S of the n historical production lines is formed. The fuzzy compatibility matrix S is expressed as follows:









S
=



[

s

i
,
j


]


n
×
n


=

[



1














































s

i
,
1







1








































s

j
,
1








s

j
,
i







1


































s

n
,
1








s

n
,
i








s

n
,
j







1



]






(

1
-
6

)







The similarity between identical production lines is 1, and si,j=sj,i.


S4. A multi-granularity quotient space is constructed based on the fuzzy compatibility matrix S.


The fuzzy compatibility matrix S is input according to a granular computing algorithm of a fuzzy compatibility quotient space; and a series of granular layers {X(λ)|0≤λ≤1}, namely, quotient spaces, with different granularities and mutual transformation, are output where X represents the granular layer, and λ represents the granularity. A specific calculation process is as follows.


The fuzzy compatibility matrix S is input.


Step 1. For loop: 1st to mth loops are performed, that is, m granularities λi are calculated to acquire m granular layers.


Step 1.1. Historical production line case sets A={x1, x2, . . . , xn}, B=Ø, and C=Ø are initialized.


Step 1.2. For-each loop I: each production line xj in the set A is traversed.


Step 1.2.1. The production line xj is transferred from the set A to the set B.


Step 1.2.2. For-each loop II: each production line xk in the set A is traversed.


Step 1.2.2.1. If: it is determined if a similarity S(xj, xk) between the production line xj and the production line xk is greater than or equal to the granularity λ1. If not, the operation moves on to a next loop of the for-each loop II. If yes, the following steps are performed.


Step 1). The production line xk is transferred from the set A to the set B.


Step 2). For-each loop III: each production line xs in the set A is traversed.


Step 3). If: it is determined if a similarity S(xk, xs) between the production line xk and the production line xs is greater than or equal to the granularity λi. If yes, the production line xs is transferred from the set A to the set B. If not, the operation moves on to a next loop of the for-each loop III.


Step 1.2.3. The set B is incorporated into the set C to serve as a subset of the set C.


step 1.2.4. If: it is determined if the set A is an empty set. If yes, the operation returns to the granular layer X(λ)=C corresponding to the granularity λi, and the for-each loop I is ended. If not, let the set B=Ø, and the operation skips a current loop, and moves on to a next loop.


Step 1.3. If: it is determined if i is equal to m. If yes, the for loop is ended, and the algorithm is ended. If not, the for loop is continued.


m granular layers X(λ)=C corresponding to the granularities λi are output.


The algorithm finally outputs the quotient space of all production line granules in S. As shown in FIG. 2, different granularities A correspond to quotient spaces with different granularities, i.e., granular layers with different granularities. A larger granularity λ indicates a finer granularity of the quotient space, more production line granules in the granular layer, and fewer production lines in each production line granule.


S5. The hierarchical structure of S includes a series of granular layers, but not all granular layers can provide as much valuable information as possible to support the construction of the topology reference architecture for a production line. The number of production line granules in the quotient space is proportional to the granularity of the quotient space. Although more granules can form more reference architectures, if the granularity of the quotient space becomes smaller (i.e., λ becomes larger), the similarity threshold between the production lines that generate the granular layer becomes larger. This means that a typical production line topology cannot be effectively abstracted, so the typical production line topology sequence is excessively long, making the extracted typical production line topology sequence not highly versatile. On the contrary, if the granularity of the quotient space becomes thicker (that is, λ becomes smaller), the similarity threshold between the production lines that generate the granular layer becomes smaller, resulting in fewer production line granules and lower similarity between the production lines. This situation can lead to an excessively short typical production line topology sequence, making the extracted typical production line topology sequence not highly adaptive. Therefore, in order to find a typical topology reference architecture for a production line that is more adaptive and versatile, this embodiment uses two metrics to measure the granulation effect (information gain and minimum similarity), so as to find the optimal granular layer. The process is as follows.

    • evaluating a granularity of a quotient space X(λk) based on a Shannon information entropy concept, where the granularity of the quotient space is defined as an average amount of information required to completely distinguish all production lines in the granular layer.










E
[

X

(

λ
k

)

]

=




i
=
1

g






"\[LeftBracketingBar]"


G
i



"\[RightBracketingBar]"


n

*


log
2

(



"\[LeftBracketingBar]"


G
i



"\[RightBracketingBar]"


)







(

1
-
7

)







Where, g represents a number of production line granules in the quotient space X(λk); Gi represents an ith production line granule in the quotient space X(λk); |Gi| represents a number of production lines in the ith production line granule in the quotient space X(λk); and log2 (|Gi|) represents an amount of information required to completely distinguish all the production lines in the production line granule Gi (assuming that a probability of classifying a jth production line individual in the production line granule Gi into a class is equal).


An information gain generated during a refinement process from a coarse-grained quotient space X(λk-1) with a large information entropy to a fine-grained quotient space X(λk) is calculated as follows:










IG
[

X

(

λ
k

)

]

=


E
[

X

(

λ

k
-
1


)

]

-

E
[

X

(

λ
k

)

]






(

1
-
8

)







Finally, a quotient space with a maximum information gain and a minimum similarity is selected as the quotient space with an optimal granularity.


S6. The topology reference architecture for a production line is constructed based on the quotient space with the optimal granularity.


Atypical production line topology sequence of production lines in each production line granule in the quotient space with the optimal granularity is extracted.


An LCS of all the production lines in each production line granule in the quotient space with the optimal granularity is calculated by a dynamic programming method improved based on an LCS algorithm. Take the production line xA and the production line xB) as an example, this process specifically includes the following steps.

    • 1) Matching is performed from a first production line device node in a production line topology.
    • 2) Based on a recursive equation shown in Eq. (5-14), production line device nodes are matched backwards one by one, and a successfully matched production line device node is stacked into LCS(i,j).










LCS

(

i
,
j

)


=

{





max


{


LCS

(


i
-
1

,
j

)


,

LCS

(

i
,

j
-
1


)



}







s
act

(


v

A
,
i


,

v

B
,
j



)

<

s
t








LCS

(


i
-
1

,

j
-
1


)




{


C
super

(


v

A
,
i


,

v

B
,
j



)

}







s
act

(


v

A
,
i


,

v

B
,
j



)



s
t






0






i
=
0




j

=
0




.






(

1
-
9

)







Where, st represents a user preset similarity threshold for distinguishing a similar device from a non-similar device; Csuper (vA,i, vB,j) represents abstract properties between two matched production line device nodes, that is, a superclass; and sact(vA,i, vB,j) represents the comprehensive similarity between each pair of devices from the production line xA and the production line xB.

    • 3) Steps 1) and 2) are repeated to acquire a final LCS(i,j).
    • 4) If a production line granule includes more than two production lines, the LCS(i,j) acquired by steps 1) to 3) and remaining production lines are matched one by one, that is, steps 1) to 3) are repeated until all production lines are matched, thus acquiring a final LCS corresponding to the production line granule.


Property abstraction is performed on each LCS by an ontology-based computing method to acquire a lowest superclass of all device properties in a domain ontology, so as to improve versatility and representativeness:










vtr

j
,

j

LCS



=


C
super

(


vt

1
,
j


,

vt

2
,
j


,


,

vt

i
,
j



)





(

1
-
10

)







Csuper (vt1, vt2,j, . . . , vti,j) represents abstract properties of a jth matched production line device node of all i production lines.


An abstract set of all production line device nodes and production line topology relationship edges is further assembled into a new topology reference architecture for a production line, where the topology reference architecture for a production line corresponding to each production line granule is expressed as:










PRM
i

=

(


Vr
i

,

Er
i

,

vtr
i


)





(

1
-
11

)







Where, Vri={vri,1, vri,2, . . . , vri,n} represents a set of matched production line device nodes; vtri represents a lowest superclass of abstract device properties; and Eri={eri,j,k|eri,j,k=vri,j*vri,j, 1≤j, k≤ni} represents an abstract set of production line topology relationship edges.


A topology reference architecture for a production line is extracted from each production line granule in the quotient space with the optimal granularity, where each topology reference architecture is manifested by the set of matched production line device nodes and the abstract set of production line topology relationship edges.


The above described are only preferred embodiments of the present disclosure, and are not intended to limit the implementation scope of the present disclosure. Therefore, all changes made in accordance with the shapes and principles of the present disclosure should fall within the protection scope of the present disclosure.

Claims
  • 1. A method for constructing a topology reference structure for a production line, comprising the following steps: S1: calculating a comprehensive similarity between a first production line xA and a second production line xB;S2: calculating a similarity parameter SA,B between the first production line xA and the second production line xB based on the comprehensive similarity;S3: calculating a similarity parameter si,j between each two production lines xi and xj in n historical production lines according to steps S1 and S2, and forming a fuzzy compatibility matrix s of the n historical production lines;S4: constructing a multi-granularity quotient space based on the fuzzy compatibility matrix S;S5: selecting an optimal granular layer from the multi-granularity quotient space; andS6: constructing the topology reference structure for a production line for the production line based on the optimal granular layer.
  • 2. The method according to claim 1, wherein the calculating the comprehensive similarity between the first production line xA and the second production line xB specifically comprises: S11: calculating a matching degree and similarity between a first device vA,i in the first production line xA and a second device vB,j in the second production line xB in terms of four properties, to obtain a comprehensive similarity between the first device vA,i and the second device vB;wherein, the four properties comprise material, production process, product category, and production quality;S12: calculating the comprehensive similarity Sact (vA,i, vB,j) between each pair of devices from the first production line xA and the second production line xB according to S11; andcalculating the comprehensive similarity Sact (xA, xB) between the first production line xA and the second production line xB based on the comprehensive similarity between each pair of devices and a number of devices;wherein, calculation equations are as follows:
  • 3. The method according to claim 1, wherein the calculating the similarity SA,B between the first production line xA and the second production line xB specifically comprises: calculating a similarity sseq (xA, xB) between a topology of the first production line xA and a topology of the second production line xB:
  • 4. The method according to claim 1, wherein the fuzzy compatibility matrix S is expressed as follows:
  • 5. The method according to claim 1, wherein step S4 comprises: inputting the fuzzy compatibility matrix S; and outputting a series of granular layers {X(λ)|0≤λ≤1} with different granularities and mutual transformability according to a granular computing algorithm of a fuzzy compatibility quotient space, wherein X represents the granular layers, and λ represents the granularities; the series of granular layers form the multi-granularity quotient space; and a specific calculation process is as follows:step 1: performing 1st to mth loops to calculate m granularities A to acquire m granular layers, wherein the following steps are executed in each loop:step 1.1: initializing historical production line sets A={x1, x2, . . . , xn}, B=Ø, and C=Ø;step 1.2: traversing the production lines in the set A, wherein the following steps are executed in each traversal:step 1.2.1 transferring initial production lines xj from the set A to the set a during a first loop;step 1.2.2: traversing current production lines xk in the set A during a second loop;step 1.2.2.1: determining if a similarity S(xj,xk)) between the initial production lines xj and the current production lines xk is greater than or equal to the granularity; if not, return to step 1.2.2; and if yes, executing the following steps:step 1): transferring the current production lines xk from the set A to the set B;step 2): traversing production lines xs in the set A during a third loop;step 3): determining if a similarity S(xk,xs) between the production lines xk and the production lines xs is greater than or equal to the granularity; if yes, transferring the production lines xs from the set A to the set B; and if not, moving on to step 2);step 1.2.3: incorporating the set B into the set C to serve as a subset of the set C; andstep 1.2.4: determining if the set A is an empty set; if yes, returning to the granular layer X(λ)=C corresponding to the granularity λi and ending the first loop; and if not, letting the set B=Ø, skipping a current loop, and moving on to a next loop; andstep 1.3: determining if is equal to m; if yes, ending the loop, and exiting; and if not, continuing the loop; andoutputting m granular layers X(λ)=C corresponding to the granularities λi.
  • 6. The method according to claim 1, wherein the selecting an optimal granular layer from the multi-granularity quotient space comprises: evaluating a granularity of a quotient space X(λk) based on a Shannon information entropy concept, wherein the granularity of the quotient space is defined as an average amount of information required to completely distinguish all production lines in the granular layer;
  • 7. The method according to claim 1, wherein the constructing the topology reference structure for a production line based on the optimal granular layer comprises: extracting a typical production line topology sequence of production lines in each production line granule in the quotient space with the optimal granularity;calculating, by a dynamic programming method improved based on a longest common subsequence (LCS) algorithm, an LCS of all the production lines in each production line granule in the quotient space with the optimal granularity;performing, by an ontology-based computing method, property abstraction on each LCS to acquire a lowest superclass of all device properties in a domain ontology, so as to improve versatility and representativeness:
  • 8. The method according to claim 7, wherein the calculating, by a dynamic programming method improved based on the LCS algorithm, an LCS of all the production lines in each production line granule in the quotient space with the optimal granularity comprises: 1) starting matching from a first production line device node in a production line topology;2) matching, based on a recursive equation, production line device nodes backwards one by one, and stacking a successfully matched production line device node into LCS(i,j):
Priority Claims (1)
Number Date Country Kind
202310198392.6 Mar 2023 CN national