Trusted application integration

Through the formal platform and correctness check, the application integration is ensured to be safe, automatic and efficient, solving the problem of lack of design-time verification and run-time confirmation in application integration in the existing technology, and realizing a trustworthy integration process.

CN113626062BActive Publication Date: 2024-09-20SAP SE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010986291.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-05-07
Filing Date
2020-09-18
Publication Date
2024-09-20
Estimated Expiration
2040-09-18

AI Technical Summary

Technical Problem

The existing technology lacks design-time functional verification and run-time confirmation in application integration, resulting in design defects and functional errors. Frequent changes to the integration solution bring uncertainty and high costs, affecting trust and efficiency.

Method used

A formal platform is used to define pattern requirements, and a formal combination is formed through singleton pattern combination. The correctness platform checks the combination structure and semantics, realizes platform transformation and configuration, and ensures the safety, automation and efficiency of application integration.

Benefits of technology

It provides trusted application integration, ensures the structural correctness and semantic consistency of the integration model, reduces development and maintenance costs, and improves the reliability and efficiency of the integration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113626062B_ABST
    Figure CN113626062B_ABST
Patent Text Reader

Abstract

According to some embodiments, the method and system can be associated with trusted application integration. The formalization platform can facilitate the definition of pattern requirements by integration developers. The formalization platform can also formalize singleton pattern combinations and combine singleton patterns into template-based formal combinations. The correctness platform can then check the structural correctness of the formalized combinations and perform semantic transformations or bindings to pattern features and associated interactions. The correctness platform can also check the combination semantics and generate a formal model. The implementation platform can transform the formal model generated by the correctness platform and configure the implementation parameters of the transformed formal model. The implementation platform can then execute the transformed formal model according to the configured implementation parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to methods and systems associated with trusted application integration. Background Art

[0002] Recent trends have led to modularization and distribution of business applications and devices, which has increased the importance of applications and business processes. Due to modularization, the resulting integration scenarios or programs—essentially a composition of integration patterns (i.e., best practices in the form of integration operators)—are becoming increasingly complex. Although existing integration platform vendors may allow the development of integration programs, these vendors typically do not provide a formally verifiable foundation. As a result, the following types of problems may be common:

[0003] There is no design-time functional verification or validation (e.g., correctness checking);

[0004] Requires detailed manual runtime validation;

[0005] Discover design flaws and functional errors late in the development phase (even in production);

[0006] Unintentional problems may occur during business processes (e.g., an integration scenario behaves differently than expected); and

[0007] • Frequent changes to the integrated solution (eg, for improvement and / or optimization) require significant effort and carry with them the uncertainty that the resulting "improved" solution is not functionally correct.

[0008] These issues combined not only lead to high costs for the development and maintenance of these solutions (and in the event of errors in the production business process), but also to frustration and lack of trust in these solutions. Since applications are at the core of most current IT solutions, trusted application integration may be expected. For example, if the integration solution is intentional and formally verifiable, then the application integration will be trusted.

[0009] Therefore, it is desirable to provide trusted application integration in a secure, automatic, and efficient manner. Summary of the invention

[0010] According to some embodiments, the method and system may be associated with trusted application integration. A formalization platform may facilitate the definition of pattern requirements by integration developers. The formalization platform may also formalize single pattern compositions and compose single pattern compositions into template-based formalized compositions. The correctness platform may then check the structural correctness of the formalized compositions composed by the formalization platform and perform semantic transformations or bindings to pattern features and associated interactions. The correctness platform may also check composition semantics and generate a formal model. An implementation platform may transform the formal model generated by the correctness platform and configure implementation parameters of the transformed formal model. The implementation platform may then execute the transformed formal model according to the configured implementation parameters.

[0011] Some embodiments include: means for facilitating, by a computer processor of a formalization platform, the definition of pattern requirements by an integration developer; means for formalizing combinations of singleton patterns by the formalization platform; means for combining singleton patterns into template-based formal combinations by the formalization platform; means for checking, by a correctness platform, the structural correctness of the formalized combinations combined by the formalization platform; means for performing, by the correctness platform, semantic transformations or bindings to pattern properties and associated interactions; means for checking, by the correctness platform, the semantics of the combinations and generating a formal model; means for transforming, by an implementation platform, the formal model generated by the correctness platform; means for configuring, by the implementation platform, parameters of the transformed formal model; and means for executing, by the implementation platform, the transformed formal model according to the configured implementation parameters.

[0012] Some technical advantages of some embodiments disclosed herein are improved systems and methods for providing trusted application integration in a secure, automatic, and efficient manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is an information flow diagram associated with a responsive mode combination process according to some embodiments.

[0014] Figure 2 is a high-level block diagram of a system according to some embodiments.

[0015] Figure 3 is a method according to some embodiments.

[0016] Figure 4 Domain abstraction according to some embodiments is shown.

[0017] Figure 5 A domain formalization according to some embodiments is shown.

[0018] Figure 6 Domain verification according to some embodiments is shown.

[0019] Figure 7 is a hybrid integration scenario according to some embodiments.

[0020] Figure 8 is an example of an integration pattern contract diagram according to some embodiments.

[0021] Fig. 9 is an integration mode contract diagram after “sequence to parallel” optimization according to some embodiments.

[0022] Fig.10 Shown are start and end modes according to some embodiments.

[0023] Fig.11 Transition to unconditional fork mode is shown in accordance with some embodiments.

[0024] Fig.12 Transformation of an unconditional join pattern according to some embodiments is shown.

[0025] Fig.13 Transformation of a conditional fork pattern is shown in accordance with some embodiments.

[0026] Fig.14 Transformation of a message processor pattern according to some embodiments is shown.

[0027] Fig.15 A transition to merge mode is shown according to some embodiments.

[0028] Fig.16 Transformation of an external call pattern according to some embodiments is shown.

[0029] Fig.17 It is a 1:1 model contract construction according to some embodiments.

[0030] Fig.18 is a 1:o mode contract construct according to some embodiments.

[0031] Fig.19is an example of a message converter construction according to some embodiments.

[0032] Fig. 20 is an example of a join router configuration according to some embodiments.

[0033] Fig.21 A complete integration pattern contract diagram is shown in accordance with some embodiments.

[0034] Fig. 22 A material replication scenario in a timed db-net (timed database network) with boundaries according to some embodiments.

[0035] Fig.23 is a complete integration pattern contract diagram for a predictive maintenance scenario according to some embodiments.

[0036] Fig.24 Rewrite rules according to some embodiments are shown.

[0037] Fig.25A and Fig.25B Redundant sub-processes and combined sibling modes are shown according to some embodiments.

[0038] Fig.26A and Fig.26B An early filter and an early map are shown according to some embodiments.

[0039] Fig.27A and Fig.27B Early aggregation and early claim checking are shown according to some embodiments.

[0040] Fig.28A and Fig.28B An early split and an (inserted) early split according to some embodiments are shown.

[0041] Fig.29A and Fig.29B A serial-to-parallel process and a parallel merge process are shown according to some embodiments.

[0042] Fig.30 A heterogeneous serial-to-parallel process is shown in accordance with some embodiments.

[0043] Fig.31A and Fig.31B Ignoring the failed endpoint and trying the failed endpoint are shown according to some embodiments.

[0044] Fig.32 A reduce request process is shown in accordance with some embodiments.

[0045] Fig.33 is a pattern combination evaluation pipeline according to some embodiments.

[0046] Fig.34 is a human-machine interface display according to some embodiments.

[0047] Fig.35 is an apparatus or platform according to some embodiments.

[0048] Fig.36 is part of an application-integrated data store according to some embodiments.

[0049] Fig.37 A tablet computer is provided that provides a trusted application integrated display according to some embodiments. DETAILED DESCRIPTION

[0050] In the following detailed description, a number of specific details are set forth in order to provide a comprehensive understanding of the embodiments. However, it will be appreciated by those of ordinary skill in the art that the embodiments may be practiced without these specific details. In other cases, well-known methods, processes, components, and circuits are not described in detail to avoid obscuring the embodiments.

[0051] One or more specific embodiments of the present invention will be described below. In order to provide a concise description of these embodiments, all features of the actual implementation may not be described in the specification. It should be understood that in the development of any such actual implementation, as in any engineering or design project, multiple implementation-specific decisions must be made to achieve the developer's specific goals, such as compliance with system-related and business-related constraints, which may vary from implementation to implementation. In addition, it should be understood that such development efforts may be complex and time-consuming, but are still routine work of design, fabrication, and manufacturing for those of ordinary skill who benefit from this disclosure.

[0052] The embodiments described herein may provide a formal basis for trusted application integration. Note that integration patterns may be considered to have been reliably developed (i.e., their execution semantics are formally well-defined and can be verified). The embodiments described herein may include the following contributions:

[0053] A reliable pattern combination process from combination formalization, through combination correctness to combination implementation;

[0054] · A combined formalization based on (a) well-defined properties of the schema for data processing within the schema, and (b) formal definitions of data exchange between schemas in the form of schema contracts;

[0055] · Ensure the correctness of the integration pattern contract diagram to maintain the correctness of the integration scenario;

[0056] Extension of well-defined patterns through the concept of pattern contracts, and transformation of contract graphs to patterns with contracts (called “boundaries”) in multiple steps: for singleton patterns and for connections between patterns / edges in the graph using configurable contracts;

[0057] A mechanism for synchronization of schema boundaries to assess the semantic correctness of the composition;

[0058] Formalization of improvements and / or optimizations (and correctness-preserving properties of improvements and / or optimizations) as a graph rewrite based on the contract graph

[0059] These contributions may allow trusted application integration and therefore allow formal treatment of integration solutions to application integration problems.

[0060] Figure 1 is an information flow diagram 100 associated with a reliable pattern combination process according to some embodiments. Initially, a "formalization" process 110 may include several sub-processes 112, including: defining pattern requirements for formalization; formalizing a singleton pattern combination; and combining singleton patterns into a template-based formalized combination. Next, a "correctness" process 120 may include several sub-processes 122, including: checking the structural correctness of the formalized combination; transforming or binding to pattern features and their interactions (semantic transformation); and checking the composition semantics. Finally, a "realization" process 130 may include several sub-processes 132, including: transforming from a formal model; configuring implementation parameters; and executing the transformed formal model according to the configured implementation parameters.

[0061] Figure 2 is a high-level block diagram of a system 200 according to some embodiments. The system 200 includes a formalization platform 210 that can interact with an integration developer. The formalization platform 210 can provide output to a correctness platform 220, which in turn provides output to an implementation platform 230 to create a runtime representation. The process can be performed automatically or initiated via a command from a remote operator interface device. As used herein, the term "automatically" can refer to, for example, an action that can be performed with little or no human intervention.

[0062] As used herein, devices (including devices associated with system 200 and any other devices described herein) can exchange information via any communication network, which can be a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a proprietary network, a Public Switched Telephone Network (PSTN), a Wireless Application Protocol (WAP) network, a Bluetooth network, a wireless LAN network, and / or an Internet Protocol (IP) network (such as the Internet, an intranet, or an extranet). Note that any device described herein can communicate via one or more such communication networks.

[0063] The platforms 210, 220, 230 (including those associated with the system 200 and any other devices described herein) may store information to and / or retrieve information from various data stores (e.g., data storage devices), which may be stored locally or reside remotely from the platforms 210, 220, 230. Figure 2 200, but any number of such devices may be included in system 200. In addition, various devices described herein may be combined according to embodiments of the present invention. For example, in some embodiments, formalization platform 210, correctness platform 220, and / or implementation platform 230 may include a single device. The functions of system 200 may be performed by a group of networked devices, such as in a distributed processing or cloud-based architecture.

[0064] According to any embodiment described herein, an operator or administrator can access the system 200 via a remote device (e.g., a personal computer (PC), a tablet computer, or a smart phone) to view information about the operation information and / or manage the operation information. In some cases, the interactive graphical user interface display can allow the operator or administrator to define and / or adjust certain parameters (e.g., define how to apply optimization rules) and / or provide or receive automatically generated suggestions or results from the system 200.

[0065] Figure 3 Can be referenced by Figure 2The method of performing some or all elements of the system 200 described herein. The flowcharts described herein do not imply a fixed order of steps, and embodiments of the present invention may be practiced in any feasible order. Note that any method described herein may be performed by hardware, software, or any combination of these methods. For example, a computer-readable storage medium may store instructions thereon, which, when executed by a machine, causes execution according to any embodiment described herein.

[0066] At S310, a computer processor of a formalization platform may facilitate the integration developer to define pattern requirements. At S320, the formalization platform may formalize the singleton pattern combination. At S330, the formalization platform may combine the singleton pattern into a template-based formal combination.

[0067] At S340, the correctness platform may check the structural correctness of the formalized combination assembled by the formalization platform. At S350, the correctness platform may perform semantic transformation or binding to pattern features and associated interactions. At S360, the correctness platform may check the composition semantics and generate a formal model.

[0068] At S370, the implementation platform may transform the formal model generated by the correctness platform. At S380, the implementation platform may configure parameters of the transformed formal model. Then, at S390, the implementation platform may execute the transformed formal model according to the configured implementation parameters.

[0069] Figure 4 4 shows a domain abstraction 400 according to some embodiments. The domain abstraction 400 includes operators or patterns 430p1, ..., p n A collection of integration patterns (i.e., representing best practices in that domain). For example, in application integration, a collection of integration patterns may provide common solutions to recurring problems in that domain. Figure 4 As shown, the characteristic analysis can generate characteristics 440 pc1, ..., pc for each of the modes. m , which can be subsumed into categories of properties (e.g., channel cardinality as a structure and message cardinality as a data property). These categories can be based on the data flow properties 450 within the pattern. and inter-mode data flow characteristics 470 They represent constraints (configurations) 460 and contracts (ie, inContr, outContr) 480, respectively.

[0070] This analysis also produces the execution semantics of each pattern 410 ps1, ..., ps iThe different conceptual aspects of these semantics 410 are grouped and summarized into requirements 420, each of which represents a distinct concept related to more than one pattern 430 and thus summarizes all aspects of the domain. For example, in application integration, the pattern 430 requires control and data flow, transaction resources, time, etc.

[0071] Figure 5 500 according to some embodiments. As shown, requirement 520 is not only used to select an appropriate formalization (e.g., taking into account temporal semantics), but also allows the schemas p1, ..., p n The system is formalized as a singleton pattern 510fp1,…,fp n (This can allow for semantic correctness, including formal analysis / verification 530 and simulation / validation 532.) Formalization of the constraints and configuration 560 of the pattern produces a combined pattern 570 comprising a pattern type graph 572 (based on a control flow graph), which is extended through contracts 580 to a pattern contract graph 574, and after contract verification, to a correct pattern graph 590.

[0072] Figure 6 Domain verification 600 according to some embodiments is shown. As described above, the patterns p1, ..., p n The system is formalized as a singleton pattern 610fp1,…,fp n Semantic correctness may be allowed, including formal analysis / verification 630 and simulation / validation 632. The combined pattern 670 may include a pattern type graph 672 (based on a control flow graph), which is extended through contracts to a pattern contract graph 674, and after contract verification, to a correct pattern graph 690. Note that with domain verification 600, the combined pattern 670 may be extended via fpt1, ..., fpt n 620 provides input to the singleton pattern 610 .

[0073] Enterprise Application Integration (EAI) is at the core of current on-premise, cloud, and device integration scenarios. Some embodiments described herein provide optimization strategies that can use design-time techniques to help reduce model complexity and improve process execution. To achieve this, embodiments can formalize the combination of enterprise integration patterns based on their characteristics and use graph rewriting to provide optimization strategies.

[0074] Note that EAI can compose an EIP from a catalog that includes both the original schema and the most recently added. This can result in complex models that are often vendor-specific, informal, and ad-hoc; optimizing such integration processes is desirable but difficult. This is further complicated by the fact that, in most cases, the data aspect is missing from the model. As a specific motivation for a formal framework for data-aware integration process optimization, consider the following example: Many organizations have begun using integration processes to integrate their on-premises applications (such as Customer Relationship Management (CRM) systems) with cloud applications (such as For example, Figure 7 700 is a hybrid integration scenario according to some embodiments. As can be seen, the integration platform 750 connects the CRM platform 710 (via Electronic Data Interchange (EDI)) with the customer cloud platform 790 (via Simple Object Access Protocol (SOAP)). For example, consider CRM materials sent from the CRM platform 710 via EDI to the integration process 750 running on the cloud platform integration 790. The integration process 750 can have a content enricher 760 that enriches the message header (MSG.HDR) with additional information based on the document number (i.e., AppID) for reliable messaging, which allows the message to be redelivered with a one-time quality of service. The EDI structure is then mapped to the appropriate cloud for the customer service description by the message converter 770 and sent to the cloud for the customer recipient. In this simple scenario, obvious improvements can already be applied: the data-independent content enricher 760 and message converter 770 patterns can be executed in parallel. Without the data flow in the model, this insight may not be obvious and lead to questions such as: "Are there other optimizations that can be applied and how can this be supported by modeling?" These questions cannot be answered currently because of the lack of methods for verification and static analysis of "real data-aware" business and integration processes. Consider the following research question (RQ):

[0075] ·RQ1 What are the relevant optimization techniques for EAI pattern combinations?

[0076] RQ2: How to formalize pattern combinations appropriately for optimization?

[0077] RQ3 How to formally define the optimization strategy?

[0078] The embodiments described herein can develop a validation and static analysis framework for applying and reasoning about optimizations of data-aware integration patterns. In addition, a graph-based representation of integration patterns can enable optimizations to be implemented as graph rewrite rules. As used herein, the term "optimization" can be associated with a process that iteratively improves a combination but does not guarantee optimality. For the sake of simplicity, the embodiments can focus on common EAI optimization goals: message throughput (runtime benchmark), pattern processing delay (abstract cost model), and runtime-independent model complexity from the process modeling domain. In addition, the embodiments can focus on pattern combinations within an integration process (not pattern combinations to or within message endpoints).

[0079] Note that the primary goal of some optimization techniques may be to reduce model complexity (i.e., the number of patterns) or "process simplification." The cost reduction of these techniques can be measured by pattern processing time (latency, i.e., the time required for each operation) and model complexity metrics. Process simplification can be achieved by removing redundant patterns, such as redundant subprocess removal (e.g., removing one of two identical subflows), combining sibling patterns (e.g., removing one of two identical patterns), or unnecessary conditional bifurcations (e.g., removing redundant branches). Simplification may require formalizing the patterns as control graph structures (prerequisite R1), which helps to identify and handle structural changes in the representation.

[0080] Additionally, data reduction can be facilitated by pattern push-down optimizations of message element cardinality reduction patterns such as early filters (on data; e.g., removing elements from message content), early mapping (e.g., applying message transformations), and message reduction optimization patterns such as early filters (on messages; e.g., removing messages), early aggregation (e.g., combining multiple messages into fewer messages), early assertion checking (e.g., storing content and asserting it later without passing it through the pipeline), and early splitting (e.g., cutting a large message into several smaller messages). Measuring data reduction requires a cost model based on the characteristics of the patterns and the cardinality of data and elements. For example, actual implementations of multimedia and hardware streams show improvements especially for early filters, splitting, and aggregation, and modest improvements for early mapping. This requires a formalization (R2) that can represent data or element streams. Data reduction optimizations aim to improve message throughput (i.e., messages processed per unit time), however, some may have a negative impact on model complexity.

[0081] Going further, parallelization of the process can be facilitated by transformations such as serial to parallel (e.g., replicating patterns or pattern processing sequences), or if there is no benefit, restored by, for example, parallel merging. For example, vectorization and hardware parallelization have shown good practical results. Therefore, control graph structures (R1) may also be required. Although the main focus of parallelization is message throughput, heterogeneous variants can also improve latency. In both cases, parallelization may require additional patterns, which will have a negative impact on model complexity. The opposite optimization of the parallel merging process mainly increases model complexity and latency.

[0082] In addition to control flow (as used in most relevant domains), a suitable formalization may be able to represent control graph structures (R1) (including reachability and connectivity properties) and data element flows (R2) between patterns (not within patterns). Furthermore, the formalization must allow verification of correctness (R3) at the pattern combination level (i.e., each optimization produces a correct pattern combination), taking into account the semantics of inter-pattern data exchange. Compared to other approaches, the embodiments described herein define a novel data-aspect representation of an extended EIP with guaranteed correctness.

[0083] Summarizing requirements R1 to R3, a suitable formalization of integration patterns is based on graphs that can represent data element flows and allow correctness checks. Therefore, embodiments may utilize an Integration Pattern Typed Graph (IPTG) as an extended control flow graph. First, some notations are defined: a directed graph consists of a node set P and an edge set Given, for a node p∈P, let p's direct predecessor set be ·p={p′∈P|(p′,p)∈E}, and let p's direct successor set be p·={p″∈P|(p,p″)∈E}.

[0084] IPTG is a directed graph with a node set P and an edge set And function type: P→T, where T = {start, end, message processor, fork, structural join, condition, merge, external call}. IPTG(P, E, type) is correct if the following conditions are met:

[0085] · Where type(p1) = start and type(p2) = end;

[0086] If type(p)∈{fork,condition}, then |·p|=1 and |p·|=n, and if type(p)=join, then |·p|=n and |p·|=1;

[0087] If type(p)∈{message processor,merge}, then |·p|=1 and |p·|=1;

[0088] If type(p)∈{external call}, then |·p|=1 and p·|=2; and

[0089] The graph (P, E) is connected and acyclic.

[0090] In the definition, P is considered to be the set of extended EIPs connected by message channels in E (as in a pipes and filters architecture). The function type records what type of pattern each node represents. The first correctness condition states that an integration pattern has at least one source and one target, while the next three correctness conditions state that the cardinality of the patterns involved is consistent with the in-and-out-degree of the nodes in the graph representing them. The last condition states that the graph represents a single integration pattern, not multiple unrelated patterns, and that messages do not loop back to previous patterns.

[0091] In order to represent the data flow (i.e., the basis for optimization), the control flow must be augmented with (a) the data processed by each mode and (b) the data exchanged between modes in the combination. The data (a) processed by each mode is described as a set of "mode features", which are formally defined as follows. The mode feature assignment of IPTG(P, E, type) is the function char:P→2 PC , which assigns each pattern a subset of the following set

[0092]

[0093] in is a set of Booleans, BExp is a set of Boolean expressions, Exp is a set of program expressions, and MC, CHG, MG, CND, PRG are some distinguishing symbols. The attributes and value ranges in the schema property definition are based on the schema description and can be extended if necessary. Consider a property (MC,n,k) that represents the cardinality of messages n:k, a property (ACC,x) that represents message access depending on whether x is read-only (“ro”) or read-write (“rw”), and a property (MG,y) that represents whether the schema is message generation depending on Boolean y. Finally, (CND,{c1,...,cn}) represents the conditions c1,...,c used by the pattern to route messages n , (PRG,(p,(v,v′))) represents the procedure used by the pattern together with its timing window for message conversion.

[0094] For example, the content-based router CBR characteristic may be char(CBR)={(MC,1:1),(ACC,ro),(MG,false),(CND,{cnd1,...,cnd n-1})}, because the router's workflow: it only receives one message and then evaluates at most n-1 routing conditions cnd1 to cnd n-1 (one routing condition per outgoing channel) until the condition matches. The original message is then rerouted on the selected output channel in a read-only manner (in other words, the router is not a message producer), or forwarded to the default channel if no condition matches. Data exchange between schemas (b) is based on input and output contracts (similar to data parallelization contracts). These contracts specify how data is exchanged during data exchange according to the required message properties of the schema, formally defined as "schema contracts". The schema contract assignment for IPTG(P,E,type) is the function contr:P→CPT×2 EL , which assigns each mode a function of the following type

[0095] CPT={signed, encrypted, encoded}→{yes, no, any}

[0096] and the following subsets

[0097] EL=MS×2 D

[0098] where MS = {HDR, PL, ATTCH}, and D is a set of data elements (the specific elements of D are not important and will vary with the application domain). A function of type CPT may be represented by its graph, omitting attributes sent to any when convenient.

[0099] Each pattern will have inbound and outbound pattern contracts, describing the data formats that each pattern can receive and send respectively - the role of the pattern contract is to ensure that adjacent inbound and outbound contracts match. The set CPT in the contract represents the integration concept, while the set EL represents the data elements and the structure of the message: the header of the message (HDR, H), the payload of the message (PL, Y) and the attachment of the message (ATTCH, A).

[0100] For example, a content-based router cannot handle encrypted messages. Recall that the pattern feature of a content-based router includes a set of routing conditions: these conditions may require read-only access to message elements (such as certain headers h1 or payload elements e1, e2). Therefore, the input contract of the router that mentions these message elements is:

[0101] inContr(CBR)=({(encrypted,no)},{(HDR,{h1}),(PL,{e1,e2})}).

[0102] Since the router forwards the original message, the output contract is the same as the input contract.

[0103] Let (C, E)∈2 CPT ×2 EL is a model contract, and is a set of pattern contracts. and If the following conditions are met: Then consider (C, E) matches X, which is represented by the symbol match((C, E), X).

[0104] Consider inbound contract K in Whether it matches the outbound contract K1,…,K of its predecessor n If (i) for all pairs K in Important integration concepts, all contracts K i Either agree or K in or K i At least one of them accepts any value (conceptual correctness); and (ii) K1,…,K n Provide K together in This is the case for all message elements that require validation (data element correctness).

[0105] Because pattern contracts can refer to arbitrary message elements, a formalization of integration patterns can be very precise. On the other hand, unless care is taken, the formalization can easily become specific to a concrete pattern combination. In practice, it is often possible to restrict the focus to a small number of important message elements, which makes the formalization manageable. Putting everything together, a pattern combination can be formalized as an IPCG with pattern properties and the inbound and outbound pattern contracts for each pattern. In particular, an IPCG is a tuple (P, E, type, char, inContr, {outContr}) where (P, E, type) is an IPCG, char: P → 2 PC is a mode feature assignment, and inContr: Π p∈P (2CPT ×2 EL ) |·p| and inContr:Π p∈P (2 CPT ×2 EL ) |·p·| are pattern contract assignments - one for each incoming and outgoing edge of the pattern - called inbound and outbound contract assignments, respectively. If the underlying IPTG(P, E, type) is correct, and the inbound contract matches the outbound contract of the predecessor of the pattern, that is Then it is correct. Note that two IPCGs are isomorphic if there is a bijective function between their schemas that preserves edges, types, properties, and contracts.

[0106] Figure 8 is an example of an IPCG 800 according to some embodiments, which represents the original scenario of the focus contract. Fig. 9 900 after a "serial to parallel" optimization according to some embodiments, which represents an improved combination showing characteristics and giving an indication of mode delay. Figure 8 , the input contract inContr(CE) of the content enricher pattern CE requires a non-encrypted message and a payload element DOCNUM. The content enricher performs a query to obtain the application ID AppID from the external system and appends it to the message header. Therefore, the output contract outContr(CE) contains (HDR, {AppID}). The content enricher then sends out an unencrypted or unsigned message. The subsequent message transformer MT requires the same message payload, but does not care about the attached header. It adds another payload RcvID to the message. Comparing the inbound and outbound pattern contracts of adjacent patterns, it can be seen that this is the correct IPCG 800.

[0107] Fig. 9 A refinement of this combination is depicted in , where the independent modes CE and MT have been parallelized. To achieve this, a read-only structural fork has been added with a channel cardinality 1:n in the form of a multicast MC. The inbound and outbound contracts of the MC are adapted to accommodate the combination. After the concurrent execution of CE and MT, the join router JR brings the messages back together again and feeds the result to the aggregator AGG, which recovers the ADPT r The expected format. Note that the resulting IPCG900 is still correct, so this will be a good optimization.

[0108] Some embodiments may be associated with semantics using timing db-nets, timing db-nets with boundaries, etc. Consider a progression from a pattern contract graph to a timing db-net with b boundaries. Initially, a pattern composition may undergo a graph definition to create a pattern contract graph. Then, the pattern contract graph may undergo a transformation to create a timing db-net with boundaries (based on the timing db-net processed for boundary definition).

[0109] As used herein, "timing db-net" is It is Type Control Layer That is, the tuple (P, T, F in ,F out ,F rb ,color,query,guard,action), where: (i) It is divided into control position P c and observation position P v is a finite set of positions, (ii) T is a finite set of transformations, (iii) F in is the input flow from P to T, (iv) F out and F rb are the output and fallback flows from T to Pc, respectively. (v)color is the color assignment on P (mapped to the Cartesian product of data types), and (vi)query is the query from P. v Query assignment to Q (mapping the results of Q to P v ), (vii) guard is a transition guard assignment on T (mapping each transition to a formula on its input literal (inscription), and (viii) action is an action assignment from T to A (mapping some transition to an action that triggers an update on the persistence layer).

[0110] timing LTS, with A (possibly infinite) set of snapshots S, transition relations over states are marked by a transition T, and both S and → are defined by simultaneous induction as the minimal set such that: (i) s0∈S; (ii) given snapshot s∈S, for each transition t∈T, bound σ, and Snapshot s′, if s[t,σ>s′, then s′∈S and also, Snapshot<I,m> is the database instance I and the corresponding tag m in the network. The timed db-net has a special tag (·,0.0) with an age (age) value of 0.0 attached to it.

[0111] A "timing db-net" can be defined as a db-net with and Tuple Where T is from the control layer The set of transformations, and is the set of non-negative rational numbers. For a transition t, let τ(t) = (v1, v2); then it may be required that v1 ≤ v2 (where v1 is always ≤ ∞).

[0112] The function τ in the definition is called the time distribution function. The default choice of τ is to map the transformation to the pair (0,∞) corresponding to the standard db-net transformation.

[0113] Given a transition t, the following graphical conventions are used: (i) if τ(t) = (0,∞), then the time label of t is not displayed; (ii) if τ(t) is of the form (v,v), then t is labeled “[v]”; (iii) if τ(t) is of the form (v1,v2) where v1≠v2, then t is labeled “[v1,v2]”.

[0114] "db-net" can be defined as a tuple in:

[0115] · is a finite set of type domain-data types D = (Δ D ,Γ D ), which has a range of Δ D and a finite set of predicate symbols Γ D .

[0116] · yes Type of persistence layer, that is, in yes The database schema of type, and E is Previous FO A finite set of constraints.

[0117] · yes on Type data logic layer, that is, (Q, A), where Q is FO A is a finite set of queries, and A is There is a finite set of actions on .

[0118] · yes Type Control Layer That is, the tuple (P, T, F in ,F out ,F rb ,color,query,guard,action), where: (i) It is divided into control position P c and observation position P v is a finite set of positions, (ii) T is a finite set of transformations, (iii) F in is the input flow from P to T, (iv) F out and F rb are the output and fallback flows from T to Pc, respectively. (v)color is the color assignment on P (mapping P to the Cartesian product of data types), and (vi)query is the query from P. v Query assignment to Q (mapping the results of Q to P v ), (vii) guard is a transition guard assignment on T (mapping each transition to a formula on its input literal (inscription), and (viii) action is an action assignment from T to A (mapping some transition to an action that triggers an update on the persistence layer).

[0119] Some timing db-nets can be considered "open" in that they have "ports" or "open boundaries" for communicating with the outside world: tokens can be received and sent on these ports. Thus, boundary configurations can be defined that document the outside world's expectations of the network's operation. This is not the most general concept of an open db-net, but it is common enough for these purposes.

[0120] A "boundary configuration" can be defined as follows. is a type domain, and It is the data layer on top of it. The boundary configuration on is an ordered finite list of the following colors:

[0121]

[0122] Such a list can be written as And I is an empty list.

[0123] The length of the boundary configuration list can give the number of "open ports" of the boundary. Each color c in the list can describe the type of data to be sent / received on the port. An open timing db-net has a left boundary and a right boundary, both of which are described by the boundary configuration.

[0124] A "timed db-net with boundaries" can be defined as follows. and They are type domain, persistence layer and data layer, and use and yes has a left border. and right border The control layer is a tuple (P, T, F in ,F out ,F rb ,color,query,guard,action), which is The control layer above, except F in is from flow to T, and F out and F rb From T to The flow, that is (i) It is divided into control position P c and observation position P v is a finite set of positions, (ii) T is a finite set of transformations, (iii) F in is from Flow to T (assuming color(i) = c i ), (iv) F out and F rb From T to Output and fallback stream (assuming color(j) = c′ j ), (v) color is the color assignment on P (mapping P to the Cartesian product of data types), and (vi) query is the query from P v Query assignment to Q (mapping the results of Q to P v ), (vii) guard is a transition guard assignment on T (mapping each transition to a formula on its input literal (inscription), and (viii) action is an action assignment from T to A (mapping some transition to an action that triggers an update on the persistence layer). A timed db-net with a control layer with a given boundary can be written as And such a tuple is called a "timing db-net with boundaries".

[0125] Note in particular that a timed db-net with an empty boundary is by definition a timed db-net. and definition For two adjacent networks N and N', the color The operation is extended to the network - this gives the tensor product or "parallel" combination of the network. The key point about the bounds of the network is that whenever the bounds are compatible, the network can be "serialized". The following definition uses the notation represents the disjoint union of X and Y with injection and For f:X→Z and g:Y→Z, for [f,g](in X (x)) = f(x) and [f,g](in Y (y))=g(y), denoted as

[0126] The term "synchronization" can then be defined as follows. and Their combination can be defined as:

[0127]

[0128] (where the union of tuples is pointwise), where:

[0129]

[0130] in:

[0131]

[0132]

[0133]

[0134]

[0135]

[0136]

[0137] query″=[query, query′]

[0138] guard″(in T (t)) = guard(t)

[0139] guard″(in T ′(t′))=guard′(t′)

[0140] action″=[action, action′]

[0141] τ″=[τ,τ′]

[0142] The combined network consists of two constituent networks and n new control locations x for inter-network communication. iComposition. These positions take color from the shared boundary. Some embodiments may use only nets with boundaries to plug open nets together. In other words, only the execution semantics of nets without boundaries are considered, and because these are ordinary timed db-nets, they can inherit their execution semantics from those. Compositions of nets behave as expected: they are associated, and there is an "identity" network that is the unit of composition. In summary, this means that nets with boundaries are morphisms of the strictly monoidal class, as shown below.

[0143] For any timing db-net N, M, K with compatible bounds, there may be And for each boundary configuration Existence unit network So that for every M, N with compatible bounds, and Furthermore, for every N, M, K, there may be As proof of this statement, note that and The relevance is obvious. A unit network is a network with exactly n positions x1, ..., x n A network where color(x i )=c i As a result, networks and their combinations can be defined using a graphical "string graph" language.

[0144] Now consider converting IPCG into a bounded timed db-net. First, assign a bounded timed db-net to each node p in IPCG. Which timed db-net with bounds will be constructed depends on type(p). If the cardinality of p is k:m, then the timed db-net with bounds is of the form: The color in (p) i and color out (p) j The input and output contracts according to the pattern are defined as:

[0145]

[0146]

[0147] This incorporates the data elements of the input and output contracts into the boundaries of the timing db-net, as these are essential for the data flow of the network. Note that it is also possible to incorporate the remaining concepts from the contract (such as signing, encryption and encoding) into the transformation. More precisely, according to the IPTG definition, the specific characteristics required for a transformation of type type(p) and pattern category p are:

[0148]

[0149] Since a pattern class contains all related patterns, one can then define the transformations for each pattern class and specify the timing db-net with boundary templates for each of the pattern classes.

[0150] Fig.10 A start and end pattern 1000 is shown according to some embodiments. For the start and end pattern type, the start pattern p start Converted to a timed db-net with boundaries like Fig.10 As shown in the start element 1010, including network 1012, ch out 1014, action 1022, query 1024 and DB schema 1026. Similarly, end element 1050 shows the end of the pattern p end Conversion to timed db-net with boundaries

[0151] Fig.11 FIG. 100 shows a conversion 1100 of an unconditional fork mode according to some embodiments. Fig.11 As shown, for the unconditional fork pattern, the unconditional fork pattern p with a cardinality of 1:n is fork Converted to a timed db-net with boundaries

[0152] Fig.12 FIG. 1200 shows a transformation 1200 of an unconditional join pattern according to some embodiments. Fig.12 As shown, for the unconditional join mode, the unconditional join mode p with a cardinality of m:1 is join Converted to a timed db-net with boundaries

[0153] Fig.13 1300 is shown for a transformation of a conditional fork pattern according to some embodiments. Fig.13 As shown, for the conditional fork pattern, there will be cond1,…,cond n-1 The cardinality of the conditional fork pattern p is 1:n cfork Converted to a timed db-net with boundaries Note that the network is constructed so that the conditions are evaluated sequentially—only when condition k is true and the conditions cond1,…,cond k-1 If all conditions evaluate to false, the last transition will be fired.

[0154] Fig.14 1400 illustrates a transformation of a message processor pattern according to some embodiments. Fig.14 As shown, for the message processor pattern, the message processor pattern p with a persistent state DB and a processor function f mp Converted to a timed db-net with boundaries It has a parameter function g: <el> → <type>, and where hd is the head of the list in CPN and tl is the tail, INS is the insert list function, and all parameters are in <>. Note that such a template can cover a wide range of 1:1 modes, including control only, control resources, control time, etc.

[0155] Fig.15 1500 shows a transformation of the merge mode according to some embodiments. For the merge mode, Fig.15 As shown, the merge pattern p with aggregation function f and timeout τ merge Converted to a timed db-net with boundaries where contains(msg, msgs) is defined as a function that checks if msg appears in the list msgs. In short, the network works as follows: the first message in the sequence causes transition T1 to start, which creates a new database record for the sequence and starts a timer. Each subsequent message from the same sequence is stored in the database using transition T2 until τ seconds have passed, which will start transition T3. The action associated with T3 will make the condition of the aggregate transition true, which will retrieve all messages msgs and then put f(msgs) into the output position of the network.

[0156] Fig.16 1600 shows the conversion of the external call mode according to some embodiments. For the external call mode, such as Fig.16 As shown, the external call mode p call Converted to a timed db-net with boundaries

[0157] Now consider not only how to translate individual nodes from the IPCG, but also how to take edges into account. Recall that a schema contract also represents concepts, namely properties of the data exchanged (e.g., whether the schema is able to process or produce signed, encrypted, or encoded data). A message can be sent from one schema to another only if the contracts of the schemas match (i.e., if they agree on these properties). To reflect this in the timed db-net semantics, all color sets are enriched to also track this information: given a position P with a color set C, construct a color set C×{yes,no} 3 , where color(x,b sign ,b encr ,b enc ) is intended to represent the data value x according to b sign 、b encr and b enc The yes / no values ​​of are signed, encrypted, and encoded. To enforce the contract, a new location ch′ is created. in and from ch′ in To in The new transformation (which conditionally copies tokens whose properties match the contract) ensures that entry into input position ch is protected according to the input contract in Each token of the new position ch′ in Replaced ch in As input position. Pairwise, for each output position ch out , create a new position ch′ out and from ch out to ch′ out This ensures that all tokens satisfy the output contract. The new position ch′ out Replace ch out As the output position. Formally speaking, the construction is as follows:

[0158] make For a timed db-net with boundaries and Define a timed db-net with boundaries in

[0159]

[0160] in

[0161]

[0162]

[0163]

[0164] in

[0165] color″(x)=color(x)×{yes, no} 3

[0166]

[0167]

[0168]

[0169]

[0170]

[0171]

[0172] The pattern contract construct can again be implemented as template transformations on the inter-pattern level. Fig.17 and Fig.18 The templates in 1700 and 1800 represent the transformation schemes for the construction of one-to-one message processor and many-to-many pattern categories, respectively. In the case of message processor, if the protection φ on (p, q, r) is precisely configured according to the contract of IPCG pattern, then the color (x, b) with actual data x and signed p, encrypted q and encoded r information is sign ,b encr ,b enc )’s token token(x,p,q,r) is at the boundary position ch′ in , and is consumed by the boundary transition T. At startup, the transition removes this meta information and sends the actual message x→msg to the actual pattern. After the unchanged pattern processing, the boundary transitions T1,…,T k (i.e., depending on any logic), providing (p,q,r) information specific to the pattern. The resulting token φ′ out The output is then the input for the subsequent schema. Similarly, outbound messages of the many-to-many category are encoded for o outgoing channels ch out , and l incoming message channels ch in , Each of them. Templates for zero-to-one, one-to-zero, one-to-many, and many-to-zero boundaries can follow the same construction mechanism. Note that if So for the contract Every choice

[0173] Consider two examples to understand the construction. Fig.19 MT 1900 of the message converter pattern MT 1900 is shown with input contracts {(ENC, no), (ENCR, no), (SIGN, any)} and output contracts {(ENC, no), (ENCR, no), (SIGN, any)} CPT(ENCR=no,...) . Therefore, the input transformation T′ checks guard[x,no,any,no] and if it matches, the token is forwarded to the actual message transformer. After the transformation, the resulting message msg' is not encrypted, the signature is invalid, and it is not encoded, so it emits (x,no,no,no).

[0174] The Join Router can structurally combine multiple incoming messages into one outgoing message channel without accessing the data (see {(MC,1:1),(ACC,ro),(MG,false), }). Although the data format (i.e., data element EL) must be checked during the assembly of the bounds, the runtime perspective of the bounds (x,p,q,r) is any for x,p,q in both input and output. Fig. 20 The resulting boundary construction 2000 for a join router is shown. The input boundary does not enforce CPT constraints, so no protection is defined for the transition. However, the output boundary must handle the three CPT attributes p, q, r set to {yes, no}, resulting in 27 different permutations.

[0175] With regard to the combination of synchronization patterns and determining the correctness of the transformation, a complete transformation of the correct IPCG G is defined. For the transformation to be well defined, only the data element correctness of the graph is required. Concept correctness can be used to show that in the network of transformed graphs, tokens can always flow from the transformation of the start node to the transformation of the end node.

[0176] Given a correct integration pattern contract graph G. For each node p, consider the timing db-net:

[0177]

[0178] The previously enabled graphical language can be used to compose these networks from the edges of the graph. The resulting timed db-net is then well-defined and has the option of completion, i.e., from every tag reachable from a tag with a token in some input position, it is possible to reach a tag with a token in an output position. Since the graph is assumed to be correct, all input contracts match the output contracts of the network composed with it, which means that the boundary configuration matches by data element correctness, so the result is well-defined.

[0179] To see that the constructed network also has completion options, first note that the interpretation of the basic pattern described in this article holds (in particular, in Fig.13 A transition is always enabled in the conditional fork pattern in Fig.15 ) By the way, this interpretation is defined, and all that remains to be said is that if N and N′ have completion options, then if the contract and If it matches, then also has a completion option. Suppose there is a tag with a token in the input position of N′. Because N′ has a completion option, a tag with a token in the output position of N′ is reachable, and since the contract matches, this tag will satisfy the condition given by The guard imposed by the construct. Therefore, the token with the token in the input position of N is reachable and the statement is followed because N has a completion option.

[0180] The embodiments can be used to evaluate the translation in two case studies of real-world integration scenarios: the replicated materials scenario and the predictive machine maintenance scenario. The former is an example of hybrid integration, while the latter is an example of device integration. The purpose is to observe different aspects of the following hypotheses:

[0181] H1 Integration Pattern Contract Diagram allows for structurally correct composition.

[0182] The execution semantics of the bounded timed db-net after H2 conversion is consistent.

[0183] For each scenario, given an IPCG with matching contracts (→H1), it is converted into a timed db-net with boundaries, and it is shown how to simulate its execution (→H2). Both scenarios are taken from the Cloud Platform Integration Solution Catalog of reference integration scenarios.

[0184] Figure 8 An IPCG 800 is shown in , which represents an integration process for replicating material from an enterprise resource planning or customer relationship management system to a cloud system. Now adding a little more data in the form of schema features, this provides enough information for conversion to a timed db-net with boundaries. Fig.21 The enriched IPCG 2100 is depicted. The characteristics of the CE node include a tuple (PRG, (prg1, [0, ∞))) with an enriched function prg1 that assigns the Docum payload to the new header field AppID. Similarly, the characteristics of the MT node include a tuple (PRG, (prg2, _)) with a mapping program prg2 that maps the Edi_Dc40-Docnum payload to the MMRR-BMH-ID field (the basic message header ID of the material bulk copy request structure) and maps the Epm-Product_Id payload to the Mmrr-Mat-ID field (the material ID of the material bulk copy request structure). According to the IPCG definition, the pattern composition with these refined pattern characteristics is correct, which shows that assumption H1 is satisfied for the material copy scenario.

[0185] Regarding the conversion to a timed db-net with boundaries, first convert the structure from Fig.21 Each singleton pattern of node ADPT s and ADPT r is converted into Fig.10 The content enricher CE node and the message converter MT node do not have a stored message processor, so they use <f> CE =prg1 and <f> MT =prg2 (no database value required) Fig.14 Since neither transformation requires a table update, in both cases the database update function parameter <g>Select as the unit function. In the second step, the bounded timing db-net is refined by constructing in the IPCG definition to take the contract concept into account. The resulting network 2200 is as follows Fig. 22 This ensures the correctness of the types of data exchanged between the modes and directly complies with the correctness of the corresponding IPCG. Other contract properties (such as encryption, signing and encoding) are checked through conversion protection.

[0186] It is noteworthy that constructing IPCG requires less technical knowledge (such as the peculiarities of timing db-net), but still enables correct pattern composition at an abstract level. Although the CPT parts of the pattern contracts (e.g., encrypted, signed) can be automatically derived and transformed from the scenario in a yet-to-be-defined modeling language, several aspects like their element EL and feature configuration through enrichment and mapping procedures require a technical understanding of IPCG and the underlying scenario. Therefore, IPCG can be considered a suitable intermediate representation for pattern composition. Users may still prefer more attractive graphical modeling languages ​​on top of IPCG. Therefore, it can be concluded that: (1) IPCG and timing db-net are correct with respect to composition and execution semantics (→H1, H2); (2) IPCG is more abstract than timing db-net, however, it is still quite technical; (3) supporting tools for automatic construction and transformation may be more desirable.

[0187] Some embodiments are associated with an IPCG representing a predictive maintenance creation notification scenario that connects the machine with Enterprise Resource Planning (ERP) and Plant Design Management System (PDMS). Adding all the schema features and data, this provides enough information for the conversion to a timed db-net with boundaries. Fig.23 The corresponding IPCG 2300 is depicted. The characteristics of the SP node include a tuple (PRG, (prg1, [0, ∞))) with a split function prg1 that splits the incoming list of machine IDs and upper threshold warning values ​​for each machine and issues a single message for each machine entry. The subsequent CE1 node adds more information about the machine in the form of feature types via an enrichment function prg2. The data is utilized by the UDF1 node, which uses a prediction function prg3 on the need for maintenance and adds the result to the Maintenance Request By Id field. Before forwarding the data to the ERP system (simplified by End), the AGG1 node utilizes the relevant cnd cr and complete cnd cc The condition along with the aggregation function prg4 and the completion timeout (v1, v2) as pattern features {({cndcr, cndcc}), (PRG, prg4, (v1, v2))}, combines the single machine prediction into one message. The pattern composition is correct with these refined pattern features, which indicates that hypothesis H1 is satisfied for the material copy scenario.

[0188] Regarding the conversion to a timed db-net with boundaries, again according to the construction described in this article the conversion from Fig.23 Each singleton pattern is 2300. The Start and End nodes can be converted to Fig.10 The start mode 1010 and the end mode 1050 in the splitter SP1, content enricher CE1 and user defined function UDF1 nodes are message processors without storage, so they use <f> SP1 =prg1、 <f> CE1 =prg2 and <f> UDF1 =prg3 (no database value required) Fig.14 Since neither transformation requires a table update, in all cases the database update function parameter <g>The aggregator AGG1 node is of merge mode type and thus uses (v1,v2)→[τ1,τ2], prg agg →f(msgs) Fig.15 In addition, the relevant condition cnd cr →g(msg,msgs) and completion condition cnd cc → complCount.

[0189] In the second step, the timing db-net with boundaries is refined to also take into account the contract concepts through the constructs in the IPCG definition. This ensures the correctness of the types of data exchanged between the schemas and directly follows the correctness of the corresponding IPCG. Other contract properties (such as encryption, signing and encoding) are checked through conversion protection.

[0190] Regarding optimization strategy implementation, graph rewriting provides a visual framework for transforming graphs in a rule-based manner. The graph rewriting rules consist of two embeddings of the graph: Given, where L represents the left-hand side of the rewrite rule, R represents the right-hand side, and K represents their intersection (the part of the graph that should be preserved according to the rule). The matching of L in graph G has been given as the embedding Afterwards, the rewrite rule can be applied to the graph G; this replaces the match of L in G by R. The application of the rule is potentially non-deterministic: several different matches are possible. Visually, the rewrite rule can be represented by a left-hand and right-hand graph with dashed and solid parts: the dashed parts are shared and represent K, while the solid parts will be deleted on the left-hand side and inserted on the right-hand side, respectively. For example, Fig.24 Rewrite rule 2400 is shown that moves node P1 across the fork by replicating in each branch, changing its label from c to c' in the process.

[0191] Formally, the rewritten graph can be constructed using Double-Pushout (DPO) from category theory. For example, DPO rewriting can be used because rule application is side-effect free (e.g., there are no "dangling" edges) and local (i.e., all graph changes are described by the rules). Furthermore, Habel and Plump's relabeling DPO extension can be used to facilitate the relabeling of nodes in a partially labeled graph. Figure 8 and Fig. 9 In , contracts and properties are shown as dashed boxes, but in the subsequent rules, for space reasons, contracts and properties will be represented as (schematic) labels within the nodes. In addition, rewrite rules parameterized by graphs are considered, where the parameter graph can be drawn as a cloud (see, for example, Fig.25A ). A cloud represents any graph, sometimes with some additional conditions stated together with the rules. When looking for a match in a given graph G, it is of course sufficient to instantiate the cloud with a subgraph of G - in this way, the infinite number of rules represented by the parameterized rewrite rules can be reduced to a finite number. The parameterized rewrite rules can be represented formally using substitutions of hypergraphs or by !-boxes in an open graph. Since the optimization strategies are described as graph rewrite rules, it can be flexible in when and in what order these strategies are applied. For example, rules can be applied repeatedly until a fixed point is reached, i.e., when no further changes are possible, making the process idempotent. Each rule application maintains IPCG correctness, since the input contract does not become more specific and the output contract remains unchanged. Methodologically, rules are specified by preconditions, change primitives, postconditions, and optimization effects, where the preconditions and postconditions are implicit in the applicability and results of the rewrite rules.

[0192] Redundant subroutine optimization removes redundant copies of the same subroutine in a process. Fig.25A , where SG1 and SG2 are isomorphic pattern graphs with in-degree n and out-degree m. Content enricher (CE) nodes are from Fig.14 , which has a pattern property (PRG,(addCtxt,[0,∞))) of an enrichment procedure for adding content to a message (is it from the left or right subgraph?). Similarly, a content filter (CF) is a message processor with a pattern property (PRG,(removeCtxt,[0,∞))) of an enrichment procedure for removing the added content from the message again. Furthermore, a content-based router (CBR) node is a node from Fig.13 , which has a pattern feature (CND,{fromLeft?}) for conditions (fromLeft?) for routing messages depending on their added context. On the right-hand side of the rule, the CE nodes add the context of the predecessor to the message in the form of a content enricher pattern, and the CBR nodes are content-based routers that route the message to the correct recipient based on the context introduced by the CE. Graph SG′1 is the same as SG1, but with the context introduced by the CE replicated everywhere. The content filter CF strips this context from the message. This optimization benefits the model complexity when the isomorphic subgraph contains more than n+m nodes, where n is the in-degree of the isomorphic subgraph and m is the out-degree of the isomorphic subgraph. The delay reduction is a factor of the subgraph minus the delay introduced by n extra nodes CE, m extra nodes CBR and k extra nodes CF.

[0193] Sibling patterns have the same parent node in the pattern graph (e.g., they follow the unconditional fork pattern) and their channel cardinality is 1:1. Combining them means that only one copy of the message is propagated in the graph instead of two copies of the message - in order for this transformation to be correct overall, the siblings also need to be side-effect free, i.e., have no external calls, although this may not be captured by correctness criteria. Regarding the change primitive, in Fig.25B Rule 2520 is given in , where SG1 and SG2 are isomorphic pattern graphs, and F is a bifurcation. The model complexity and delay are reduced by SG2 model complexity and delay.

[0194] Consider data reduction optimization strategies whose main goal is to improve message throughput (including reducing element cardinality). These optimizations require that the schema input and output contracts are periodically updated with element datasets from the real-time system. in and EL out The snapshot is updated, for example, from experimental measurements via a benchmark.

[0195] An early filter may be associated with a filter pattern that can be moved or inserted before some of its successors in order to reduce the data to be processed. The following types of filters may be distinguished:

[0196] Message filters remove messages with invalid or incomplete content. They can be used to prevent abnormal situations and thus improve stability.

[0197] Content filters remove elements from the message, thereby reducing the amount of data passed to subsequent modes. Both modes are Fig.14 The content filter assigns the filter function (prg1, ([0, ∞)) → f(msg, value) to remove data from the message (i.e., no time information), and the message filter assigns the filter condition {(cond1)} → g(msg). Regarding the change primitive, in Fig.26A Rule 2610 is given in , where P3 is a content or message filter that matches the output contract of P1 and the input contract of P2, which removes data that is not used by P2. Unless limited by the throughput of the append mode, the message throughput increases at the rate of the reduced number of data elements processed per second.

[0198] Early mappings can be associated with mappings that reduce the number of elements in a message to increase message throughput. Fig.26B , where P3 is an element-reduced message mapping compatible with SG2, P4 and P1, SG2, and where P4 does not modify the elements mentioned in the output contract of P3. In addition, P5 is a content filter that ensures that the input contract of P4 is satisfied. The Message Translator (MT) node is from Fig.14 A message processor pattern having a pattern characteristic (PRG,(prg,[0,∞))) for some mapping program prg for transforming messages. The message throughput of the subgraph after mapping increases by the ratio of the number of unnecessary data elements processed.

[0199] Early aggregation can be associated with a micro-batch region that is a subgraph containing patterns that can process multiple messages grouped into multi-messages or one message with multiple segments with increased message throughput. If latency is not a consideration, the optimal number of messages to be aggregated is determined by the highest batch size of the throughput ratio of the pattern with the lowest throughput. Fig.27A Rule 2710 is given in , where SG2 is the micro-batch region, P1 is the aggregator, P2 is the splitter that divides the batch entries into different messages to reverse the aggregation, and SG′2 is finally modified by SG2 to process the micro-batch messages. The aggregator (AG) node is from Fig.15 A merge mode with some relevant conditions cnd cr , complete the condition cnd cc , aggregate function prg agg , and the pattern characteristics {(CND,{cnd cr ,cnd cc })、(PRG,prg agg ,(v1,v2))}. The Splitter (SP) node is from Fig.14 A message processor with a pattern characteristic (PRG,(prg,[0,∞))) for some split function prg for splitting the message into several pieces. The message throughput is the minimum pattern throughput of all patterns in the micro-batch region. If the region is followed by a pattern with lower throughput, only the overall latency may be improved.

[0200] Now consider the early declaration check optimization. If a subgraph does not contain a pattern with message access, the message payload may be stored temporarily or permanently intermediately (depending on the quality of service level) and not moved through the subgraph. This applies, for example, to subgraphs consisting only of control flow logic independent of the data, or to subgraphs that operate entirely on message headers (e.g., header routing). Regarding the change primitive, in Fig.27B Rule 2720 is given in , where SG2 is a message-free subgraph, P1 is a claim check that stores the message payload and adds claims to the message attributes (and possibly routing information to the message header), and P2 is a content enricher that adds the original payload to the message. The Claim Check (CC) node is from Fig.14 A message processor with a pattern feature (PRG,(_,[0,∞))) that stores messages for later retrieval. If the claim check and content enricher pattern throughput is greater than or equal to the improved throughput of each of the patterns in the subgraph, the main memory consumption and CPU load are reduced, which may increase the message throughput of SG2.

[0201] Now consider early segmentation optimization. Messages with multiple segments can be reduced to several messages with fewer segments, thereby reducing the processing required for each message. Segments are iterable parts of a message like lists of elements. When such messages become large, the message throughput for a group of adjacent patterns may degrade compared to the expected performance of a single segment. This phenomenon is called segment bottleneck subsequences. Algorithmically, these bottlenecks can be found, for example, using maxflow-mincut techniques based on scenario-based workload statistics. Splitter (SP) nodes are nodes from Fig.14 The message processor has a pattern property (PRG,(prg,[0,∞))) for some partitioning program prg. Regarding the change primitive, Fig.28A and Fig.28B Rules 2810 and 2820 are given in , where SSQ1 is a segment bottleneck subsequence. If SSQ1 already has an adjacent splitter, then Fig.28A , otherwise apply Fig.28B In the latter case, SP is the segmenter and P2 is the aggregator which reconstructs the required segments for the successor in SG2. Fig.28A For an existing splitter P1 in SSQ1, the splitting conditions must be adjusted to the elements required by the input contract of the subsequent patterns in SSQ1. In both cases, it is assumed that the patterns in SSQ1 handle both single-segment and multi-segment messages; otherwise, all patterns must also be adjusted. If, after segment reduction, the throughput of the moved or added splitter (and aggregator) ≥ the message throughput of each of the patterns in the segment bottleneck subsequence, then the message throughput increases by the ratio of the increased throughput on fewer message segments.

[0202] According to some embodiments, parallelization optimization strategies can be used to increase message throughput. These optimizations may require experimentally measured message throughput statistics, such as from a benchmark. For example, consider a serial to parallel optimization. A bottleneck subsequence with a channel cardinality of 1:1 can also be handled by distributing its input and duplicating its logic. The parallelization factor is the average message throughput of the predecessor and successor of the sequence divided by 2, which represents the improvement potential of the bottleneck subsequence. The goal is to use the improvement to not achieve more than the average of the predecessor and successor throughputs to avoid iterative optimization. Therefore, the optimization is performed only when the parallel subsequences achieve a throughput below their minimum. With respect to changing primitives, in Fig.29A Rule 2910 is given in which SSQ1 is the bottleneck subsequence, P2 is the fork node, P3 is the joining router, and for 1≤k≤n, each SSQ′ k is a copy of SSQ1. The parallelization factor n is a parameter of the rule. The message throughput improvement rate depends on the parallelization factor n and the message throughput of the balanced fork and join routers at runtime. For the measured throughput of the bottleneck subsequence, the throughput can be improved to the average of n×t≤the sum of the predecessor and successor throughputs, while being bounded by the upper bound of the balanced fork or join routers.

[0203] In parallel merges, balanced fork and join router implementations may limit throughput in some runtime systems, so parallelization can reduce throughput. This is called limited parallelism, and is defined as when a fork or join has less throughput than the pattern in the following subsequence. Fig.29B Rule 2920 is given in which P3 and P4 restrict the n subsequence copies of SSQ1 to SSQ′1, ..., SSQ′ n The model complexity is reduced to (n-1)k-2, where each SSQ′ i contains k nodes. The message throughput may improve because the transformation lifts the upper bound of the limit implemented by the poorly performing balanced fork or join router to the lowest mode throughput in the bottleneck subsequence.

[0204] Heterogeneous parallelization consists of parallel subsequences of different structures. In general, if P i The front-drive mode satisfies P j The input contract, P i Relative to P j The data element set is presented as read-only, and P i and P j The outbound contract of the combination satisfies P j The input contract of the successor pattern, then the two subsequent patterns P i and P j can be parallelized. Regarding changing primitives, Fig.30 Rule 3000 is given in which the sequential subsequence parts SSQ1, ..., SSQ n can be parallelized, P3 is a parallel fork, P4 is a join router, and P5 is an aggregator that waits for messages from all subsequence part branches before issuing a message that satisfies the combination of input contracts of P2. Synchronization latency can be improved, but the model complexity increases by 3. Latency is improved from the sum of sequential mode latencies to the maximum latency of all subsequence parts plus fork, join, and aggregator latencies.

[0205] Note that any data reduction optimization technique can also be applied to the "push down to endpoint" scenario by extending the placement to the message endpoints using a similar contract.

[0206] Reduce Interactions The optimization strategy can reduce interactions to target a more resilient behavior of the integration process. For example, when an endpoint fails, different exceptions must be handled on the caller side. Additionally, this can be accompanied by long timeouts, which block the caller and increase latency. Knowing that an endpoint is unreliable can speed up processing by immediately falling back to an alternative endpoint. Fig.31A Rule 3110 is given in which SG ext is the failure endpoint, SG1 and SG2 are subgraphs, and P1 is a service call or message sending pattern with configuration cf. This specifies the number of subsequent failed delivery attempts to the endpoint that are collected or a configurable time interval. If one of these thresholds is reached, the process stops calling SG ext , and instead of continuing with the usual processing in SG1, alternative processing or exception processing in SG2 is called. In addition to improved latency (i.e., the average time to respond from an endpoint in the event of a failure), the integration process also behaves more stable due to the immediate alternative processing. In order not to permanently exclude the remote endpoint, Fig.31B Rule 3120 in is scheduled to execute after a period of time to try if the endpoint still fails. If not, the configuration is updated to cf' to avoid Fig.31A The retry time is adjusted based on experience (for example, an endpoint may be down once every two hours and fourteen minutes).

[0207] The request reduction optimization may be associated with message-bound endpoints (i.e., endpoints that cannot handle high request rates and may become unresponsive or fail). To avoid this, the caller can be aware of this (e.g., through TCP backpressure) and react by reducing the number or frequency of requests. This can be achieved by using throttling (or even sampling mode) that removes messages. Aggregators can also help to combine messages into multiple messages. Regarding the change primitive, rewrite the Fig.32 In rule 3200, P1 is a service call or message sending mode, SG ext is a message-constrained external endpoint, SG2 is a subgraph with a reconfigured copy SG′2 of SG2 (e.g., for vectorized message processing), and SG cs A subgraph that reduces the rate or number of messages sent. Latency and message throughput may improve, but the main goal of this optimization is stability of communication. This can be improved by configuring the caller to a rate or number of requests that the receiver can handle.

[0208] Note that the optimization may not change the input and output behavior of the pattern graph in the timed db-net semantics, i.e., if rule G is rewritten as G', then With Same observable behavior. Consider the bisimulation parameter and let and For two timings with the same boundary and The conversion system of the associated mark. If I = I', then Snapshot(I,m) is equivalent to snapshot (I′,m′), (I,m)≈(I′,m′), and m and m′ agree on the output position, that is, for every output position p where m(p)=(α,γ,age) and m′(p)=(α′,γ′,age′), for the elements in message α and not used by any endpoint γ (usually )For those elements required, there exists α=α′, and age is the timing db-net age information.

[0209] Furthermore, if whenever s0→*(I,m), then there exists (I′,m′) such that s′0→′*(I′,m′) and (I,m)≈(I′,m′), and whenever s′0→*(I′,m′), then there exists (I,m) such that s0→*(I,m) and (I′,m′)≈(I,m), then we can say Equivalent to Note that this bisimulation parameter ignores unused fields and token expiration. The correctness of the optimization can be proved by combining the following congruence relations.

[0210] The relation ~ is a congruence relation with respect to the composition of the timed db-net with bounds, i.e. it is reflexive, symmetric and transitive, and if Where t0 is and On the shared boundary of

[0211] Regarding the redundant sub-processes, each move on the left-hand side either moves a token into the cloud, out of the cloud, or within the cloud. In the first two cases, this can be simulated by the right-hand side moving the token through the CE or CBR and CF, respectively, and then moving the token into or out of the cloud, while in the latter case, the corresponding token can be moved within SG′1 until the isomorphism between SG′1 and the cloud on the left is achieved. Similarly, moving into or out of the cloud on the right-hand side can be easily simulated on the left-hand side. Assume that a transition is initiated in SG′1. Since all protections in SG′1 are modified to require all messages to come from the same enriched context, the corresponding transition can be initiated in either SG1 or SG2.

[0212] Regarding the combined sibling pattern, assume that the left-hand side takes a finite number of steps and ends with m(P2) tokens in P2 and m(P3) tokens in P3. There are three possibilities: (i) there are tokens of the same color in both P2 and P3; or (ii) there is a token in P2 that has no matching token in P3; or (iii) there is a token in P3 that has no matching token in P2. For the first case, the right-hand side can simulate this situation by emulating the steps of a token ending up in P2 and eventually forking it. For the second case, the right-hand side can simulate this situation by emulating the steps of a token ending up in P2 and then forking it, but not moving a copy of the token across the boundary layer in the presentation of the forking pattern. The third case is similar, using SG2 isomorphic to SG1. The right-hand side can be easily simulated by copying all moves in SG1 into SG1 and synchronizing moves in the isomorphic SG2.

[0213] By construction, early filter optimization can remove data that is not used by P2, so if the left-hand side moves a token to P2, the same token can be moved to P2 on the right-hand side, and vice versa. In the early mapping, assume that the left-hand side moves a token to P4. By construction, on the right-hand side, the same transformation can move the corresponding token to P4 with the same payload. Similarly, the right-hand side can also be simulated by the left-hand side. For early aggregation optimization, by construction, the interpretation of subgraph SG2 is equivalent to the interpretation of P1 followed by SG′2 followed by P3, so the left-hand side and the right-hand side are equivalent. For early claim check optimization, since the claim check CC+CE only stores the data and then adds it back to the message in the CE step, the two sides can obviously simulate each other. For early split optimization, by assumption, P1 followed by SSQ1 (P1 followed by SSQ1 followed by P2 for the inserted early split) is equivalent to SSQ1 followed by P1, with the claim immediately following.

[0214] For the optimization from serial to parallel, the left-hand side can be obtained by converting the respective n Each move in SSQ1 is simulated by the right-hand side by replicating the moves in SSQ1. If the right-hand side moves a token to the output position, it must move the token through SSQ′1, and the same move can move the token through SSQ1 on the left-hand side. For the parallel merge optimization, when the left-hand side moves a token to the output position, it must move the token through SSQ′1, and the same move can move the token through SSQ1 on the right-hand side. The right-hand side can be optimized by moving the tokens from SSQ′1 to SSQ′ n For heterogeneous serial-to-parallel optimization, the right-hand side can simulate the left-hand side as follows: if the left-hand side moves a token to an output position, it must move it through SSQ1 to SSQ n The right-hand side can do the same moves in the same order. For the other direction, the left-hand side can reorder the moves on the right-hand side to do all the moves in SSQ1 first, then all the moves in SSQ2, and so on. This is still a valid sequence of steps due to the lack of side effects.

[0215] For the "ignore, try failed endpoint" optimization, assuming Fig.31A The left-hand side of t takes a finite number of steps to move the token to SG1, however, due to the abnormal situation (i.e., the token in cf has not changed), to SG ext The conversion of does not produce a result. Accordingly, the right-hand side moves the token, but there is no failure, so the read-only conversion to SG ext , which ensures that the tokens received by either side are equal. ext The right-hand side can accordingly simulate the left-hand side, with the same restriction of returning the exception context. For the reduce request optimization, since the only difference between the left-hand side and the right-hand side is the slow-down due to the insertion of the pattern CS, and the simulation does not take into account the age of the messages, the left-hand side can obviously simulate the right-hand side and vice versa.

[0216] You can follow Fig.33 The workflow 3300 shown constructs IPCG for various integration scenarios. According to some embodiments, data flow reconstruction and IPCG construction elements 3320 can access graph data 3312 (e.g., archives and directories) and runtime benchmarks 3316 (e.g., associated with delay and throughput). The integration scenario can be stored as a process model in a BPMN-like notation. The process model can reference data specifications, such as architectures (e.g., XSD, WSDL), mapping programs, selectors (e.g., XPath) and / or configuration files 3314. For each pattern used in the process model, runtime statistics can be obtained from the benchmark 3316. The data specification 3314 is obtained from the content archive and from the current content directory, while the runtime benchmark 3316 can be collected using an open source integration system (such as the Apache Camel system). Mapping and architecture information can be automatically mined and added to the pattern as a contract, and the rest of the collected data is used as a pattern feature. For each integration scenario and each optimization strategy, the system can determine whether the strategy is applicable, and if applicable, determine whether the cost is improved. The generated IPCG graph data 3330 may be used to create and store results 3340 for evaluation.

[0217] In this way, embodiments may address important shortcomings in EAI research, namely the lack of optimization strategies and the informality of descriptions of pattern combinations and optimizations. Embodiments may develop a formalization of pattern combinations in order to precisely define optimizations. Note that formalizations and optimizations may be relevant even for experienced integration experts, with interesting choices, implementation details, and / or tradeoffs.

[0218] Fig.34 34 is a human-machine interface display 3400 according to some embodiments. Display 3400 includes a graphical representation 3410 of a trusted application integration system according to any embodiment described herein. Selection of an element on display 3400 (e.g., via a touch screen or computer pointer 3420) may result in the display of a pop-up window containing more detailed information about the element and / or various options (e.g., adding an adjustment optimization strategy, selecting formalized parameters, etc.). Selection of the "Optimize" icon 3430 may also allow an operator or administrator to initiate or complete an operation of the application integration system.

[0219] Note that the embodiments described herein may be implemented using any number of different hardware configurations. For example, Fig.35 For example, it can be Figure 2 200 (and / or any other system described herein). The platform 3500 includes a processor 3510, such as one or more commercially available central processing units (CPUs) in the form of a single-chip microprocessor, coupled to a communication device 3520, which is configured to communicate via a communication network ( Fig.35 For example, communication device 3520 can be used to communicate with one or more remote designer platforms, administrator platforms, etc. Platform 3500 also includes input device 3540 (e.g., a computer mouse and / or keyboard for inputting formalization and optimization information) and / or output device 3550 (e.g., a computer monitor for presenting a display, transmitting optimization suggestions, and / or creating reports on application integration, benchmark results, etc.). According to some embodiments, mobile devices, monitoring physical systems, and / or PCs can be used to exchange information with platform 3500.

[0220] The processor 3510 also communicates with the storage device 3530. The storage device 3530 may include any appropriate information storage device, including a combination of a magnetic storage device (e.g., a hard drive), an optical storage device, a mobile phone, and / or a semiconductor storage device. The storage device 3530 stores a program 3512 and / or an application integration engine 3514 for controlling the processor 3510. The processor 3510 executes the instructions of the programs 3512 and 3514, thereby operating according to any embodiment described herein. For example, the processor 3510 may be associated with a formalization platform, and facilitates the integration developer's definition of pattern requirements (and formalizing the singleton pattern combination to combine the singleton pattern into a formal combination based on a template). The processor 3510 may also be associated with a correctness platform, which checks the structural correctness of the formalized combination, and performs semantic transformation or binding to pattern characteristics and associated interactions. Such a processor 3510 may also check the combination semantics and generate a formal model. In some embodiments, the processor 3510 is associated with an implementation platform that transforms the formal model generated by the correctness platform and configures the implementation parameters of the transformed formal model. In this case, processor 3510 may then execute the transformed formal model according to the configured implementation parameters.

[0221] Programs 3512, 3514 may be stored in compressed, uncompiled and / or encrypted formats. Programs 3512, 3514 may also include other program elements, such as an operating system, a clipboard application, a database management system, and / or a device driver used by processor 3510 to interface with peripheral devices.

[0222] As used herein, information may be, for example: (i) "received" by platform 3500 from another device or "sent" from another device to platform 3500; or (ii) "received" by a software application or module within platform 3500 from another software application, module, or any other source or "sent" from another software application, module, or any other source to a software application or module within platform 3500.

[0223] In some embodiments (e.g. Fig.35 In the embodiment shown in the figure), the storage device 3530 also stores the application integrated data storage 3600. Now, reference will be made to Fig.36 An example of a database that can be used in conjunction with platform 3500 is described in detail. Note that the database described here is only one example, and additional and / or different information can be stored therein. Furthermore, the various databases can be separated or combined according to any embodiment described herein.

[0224] refer to Fig.36 , shows a table representing an application integration data store 3600 that may be stored on a platform 3500 according to some embodiments. For example, the table may include entries associated with applications implemented via a cloud computing environment. The table may also define fields 3602, 3604, 3606, 3608, 3610 for each of the entries. According to some embodiments, the fields 3602, 3604, 3606, 3608, 3610 may specify: an IPCG identifier 3602, a data specification 3604, a runtime benchmark 3606, an optimization 3608, and a state 3610. The application integration data store 3600 may be created and updated, for example, as designers create new systems, additional application integrations are modified or developed, and so on.

[0225] According to any embodiment described herein, IPCG identifier 3602 can be a unique alphanumeric label associated with a contract diagram and / or an integrated designer. Data specification 3604 can define the source materials (e.g., architecture, mapping, configuration data, etc.) used to create a contract diagram. Runtime benchmark 3606 can include measurements (e.g., latency, throughput, etc.) that can be used to improve the contract diagram. Optimization 3608 can indicate one or more types of strategies for improving the contract diagram. State 3610 can include the current state of the contract diagram (e.g., in progress, suspended, completed at a certain date and / or time, etc.).

[0226] Thus, embodiments can provide trusted application integration in a secure, automatic, and efficient manner. Various additional embodiments of the present invention are described below. These do not constitute a definition of all possible embodiments, and those skilled in the art will appreciate that the present invention is applicable to many other embodiments. In addition, although the following embodiments are briefly described for clarity, those skilled in the art will appreciate how to make any changes to the above-described apparatus and methods to accommodate these and other embodiments and applications, if necessary.

[0227] Although specific hardware and data configurations have been described herein, note that any number of other configurations may be provided according to some embodiments of the present invention (e.g., some of the information associated with the databases described herein may be combined or stored in external systems). Furthermore, although some embodiments focus on specific types of application integration and microservices, any of the embodiments described herein may be applied to other types of applications. Furthermore, the displays shown herein are provided only as examples, and any other type of user interface may be implemented. For example, Fig.37 A tablet computer 3700 is shown with a trusted application integrated display 3710. For example, the display 3710 may be used by an operator or administrator to configure an optimization strategy or associated parameters (eg, serial to parallel, early mapping, redundant sub-processes, etc.).

[0228] Any of the embodiments described herein may incorporate dynamic aspects into the formalization of patterns for more precise cost semantics. In addition, the effects of purely data-related techniques (e.g., message indexing, forked path reordering, and / or merging of conditions) may be analyzed. In addition, any of these embodiments may be combined to implement multi-objective optimization and heuristics for graph rewriting at the process level. Note also that embodiments may utilize other types of optimizations, such as pattern layout optimizations (pushing patterns to message endpoints, i.e., sender and receiver applications), optimizations to reduce interactions (helping to stabilize processes), and the like.

[0229] The invention has been described in terms of several embodiments for purposes of illustration only. Those skilled in the art will recognize from this description that the invention is not limited to the embodiments described, but can be practiced with modification and substitution limited only by the spirit and scope of the appended claims.< / g> < / f> < / f> < / f> < / g> < / f> < / f> < / type> < / el>

Claims

1. A system associated with trusted application integration, comprising: Formalization platform, including: Computer processors, and A computer memory, coupled to the computer processor, stores instructions that, when executed by the computer processor, cause the formalization platform to: (i) defining schema requirements by an integration developer using an interface device, the schema requirements including control and data flows, transaction resources and timing, (ii) formalizing the singleton pattern using a first formal model having a pattern property and a pattern contract for each pattern, wherein the pattern property describes data processed by the corresponding pattern, the pattern contract includes an inbound pattern contract and an outbound pattern contract, and wherein, The inbound pattern contract and the outbound pattern contract describe data formats that the pattern can receive and send, respectively, and wherein the pattern contract specifies how data is exchanged during data exchange according to required message properties of the pattern, and (iii) Combining the formalized singleton pattern into a template-based formalization, Includes formalization of constraints and configurations of patterns to obtain combined patterns; The correctness platform receives information from the formalization platform to: (i) checking the structural correctness of the combination of said formalizations assembled by said formalization platform, (ii) performing a semantic transformation or binding of said formalized composition to pattern properties and associated interactions by extending the pattern type graph with the contracts to obtain a pattern contract graph, and (iii) checking the composition semantics and generating a second formal model, wherein the checking the composition semantics includes contract verification to obtain a correct schema diagram; and An implementation platform receives information from the correctness platform to: (i) transforming the second formal model generated by the correctness platform to create a timed db-net having an open boundary for communicating with the outside world as a transformed formal model, (ii) configure the implementation parameters of the transformed formal model, and (iii) executing the transformed formal model according to the configured implementation parameters.

2. The system according to claim 1, wherein: The second form model can be combined to perform optimization strategies.

3. The system according to claim 2, wherein: The optimization strategy includes a static or dynamic optimization strategy, and the optimization strategy maintains structural and semantic correctness.

4. The system according to claim 3, wherein: The static or dynamic optimization strategy is associated with at least one of: (i) process simplification, (ii) data reduction, (iii) parallelization, (iv) interaction reduction, and (v) schema layout.

5. The system according to claim 1, wherein: The second formal model is associated with at least one of: (i) a graph-based pattern composition, (ii) an integrated pattern graph, and (iii) an integrated pattern contract graph.

6. The system according to claim 1, wherein: The rule-based graph rewriting system applies optimization strategies in conjunction with the second formal model.

7. The system according to claim 6, wherein: The optimization strategy is associated with at least one of: (i) process simplification, (ii) redundant sub-processes, and (iii) combined sibling modes.

8. The system according to claim 6, wherein: The optimization strategy is associated with at least one of: (i) parallelization, (ii) serial to parallel, (iii) parallel merging, and (iv) heterogeneous parallelization.

9. The system according to claim 6, wherein: The optimization strategy is associated with a pattern layout.

10. The system according to claim 6, wherein: The optimization strategy is associated with at least one of: (i) interaction reduction, (ii) ignoring failed endpoints, and (iii) request reduction.

11. The system according to claim 6, wherein: The optimization strategy is associated with at least one of: (i) early filter, (ii) early map, (iii) early aggregation, (iv) early claim check, and (v) early split.

12. A computer-implemented method associated with trusted application integration, comprising: defining pattern requirements by an integration developer using an interface device through a computer processor of a formalized platform, the pattern requirements including control and data flow, transaction resources and timing; Formalizing, by a computer processor of the formalization platform, the singleton pattern using a first formal model having a pattern property and a pattern contract for each pattern, wherein the pattern property describes data processed by the corresponding pattern, the pattern contract includes an inbound pattern contract and an outbound pattern contract, and wherein the inbound pattern contract and the outbound pattern contract describe data formats that the pattern can receive and send, respectively, and wherein the pattern contract specifies how data is exchanged during data exchange according to required message properties of the pattern; Combining, by a computer processor of the formalization platform, the formalized singleton patterns into a template-based formalized combination, the combination including formalization of constraints and configurations on the patterns to obtain a combined pattern; checking, by a computer processor of a correctness platform, structural correctness of the combination of the formalizations combined by the formalization platform; performing, by a computer processor of the correctness platform, a semantic transformation or binding of the formalized composition to pattern properties and associated interactions by extending a pattern type graph with a contract to obtain a pattern contract graph; checking the composition semantics and generating a second formal model by a computer processor of the correctness platform, wherein the checking the composition semantics includes contract verification to obtain a correct schema diagram; transforming, by a computer processor of the implementation platform, a second formal model generated by the correctness platform to create a timed db-net having an open boundary for communicating with the outside world as a transformed formal model; configuring the implementation parameters of the transformed formal model by a computer processor of the implementation platform; and The converted formal model is executed by a computer processor of the implementation platform according to the configured implementation parameters.

13. The method according to claim 12, wherein: Static or dynamic optimization strategies can be executed in conjunction with the second formal model and maintain structural and semantic correctness.

14. The method according to claim 13, wherein: The static or dynamic optimization strategy is associated with at least one of: (i) process simplification, (ii) data reduction, (iii) parallelization, (iv) interaction reduction, and (v) schema layout.

15. A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform a method associated with trusted application integration, the method comprising: defining pattern requirements by an integration developer using an interface device through a computer processor of a formalized platform, the pattern requirements including control and data flow, transaction resources and timing; Formalizing, by a computer processor of the formalization platform, the singleton pattern using a first formal model having a pattern property and a pattern contract for each pattern, wherein the pattern property describes data processed by the corresponding pattern, the pattern contract includes an inbound pattern contract and an outbound pattern contract, and wherein the inbound pattern contract and the outbound pattern contract describe data formats that the pattern can receive and send, respectively, and wherein the pattern contract specifies how data is exchanged during data exchange according to required message properties of the pattern; Combining, by a computer processor of the formalization platform, the formalized singleton patterns into a template-based formal combination, including formalization of constraints and configurations on the patterns, to obtain a combined pattern; checking, by a computer processor of a correctness platform, structural correctness of the combination of the formalizations combined by the formalization platform; performing, by a computer processor of the correctness platform, a semantic transformation or binding of the formalized composition to pattern properties and associated interactions by extending a pattern type graph with a contract to obtain a pattern contract graph; checking the composition semantics and generating a second formal model by a computer processor of the correctness platform, wherein the checking the composition semantics includes contract verification to obtain a correct schema diagram; transforming, by a computer processor of the implementation platform, a second formal model generated by the correctness platform to create a timed db-net having an open boundary for communicating with the outside world as a transformed formal model; configuring the implementation parameters of the transformed formal model by a computer processor of the implementation platform; and The transformed formal model is executed by the implementation platform according to the configured implementation parameters.

16. The medium according to claim 15, wherein The second formal model is associated with at least one of: (i) a graph-based pattern composition, (ii) an integrated pattern graph, and (iii) an integrated pattern contract graph.

17. The medium according to claim 15, wherein The rule-based graph rewriting system applies an optimization strategy in conjunction with the second formal model, and the optimization strategy maintains structural and semantic correctness.

18. The medium according to claim 17, wherein: The optimization strategy is associated with at least one of: (i) process simplification, (ii) redundant sub-processes, (iii) combining sibling patterns, (iv) parallelization, (v) serial to parallel, (vi) parallel merging, (vii) heterogeneous parallelization, (xiii) pattern layout, (ix) interaction reduction, (x) ignoring failed endpoints, and (xi) reducing requests.