It is an integral part of the software architecture, which realizes the link between the components by modeling the interaction rules between the components. Unlike components, connectors do not need to be compiled.
Definition: The connector is the realization of component operation, it is a six-tuple <ID, Role, Beha, Msgs, Cons, Non-Func>. Where ID is the identification of the connector. Role is the set of interaction points between connectors and components, Role=<ID,Action,Event,LConstraions>. Where ID is the identification of Role; Action is a collection of Role activities, each activity is composed of time links (predicates); Event is a collection of events generated by Role; LConstrains is a set of constraints on Role. The purpose of separating Role from the other attributes of the connector is to highlight the polymorphism of the connector, that is, a connector can be connected to multiple components at the same time.
Beha is a collection of behaviors of connectors.
Msgs is a collection of messages generated by events in each Role in the connector.
Cons is a collection of connector constraints, which includes the initial conditions, pre-conditions and post-conditions of the connectors. Sometimes in order to clearly express these three conditions, it can be written as Cons(init, pre-cond, post-cond), init, pre-cond and post-cond represent the set of initial conditions, pre-conditions and post-conditions respectively.
Non-Func is the non-functional description of the connector, including the safety and reliability description of the connector, etc.
Stainless steel reinforcement connector structure:
It is composed of two steel wire heads with the same specifications and with right-hand threads, and a connecting sleeve with right-hand internal threads. One of the two steel bars is a standard steel wire end with an effective thread length of 1/2 the length of the connecting sleeve; the other is a standard steel wire end with an effective thread length of the connecting sleeve length plus a long wire rebar; the connecting sleeve is a standard connecting sleeve cylinder.