CN110096260B - Information system architecture automatic construction method and system based on business process - Google Patents

Information system architecture automatic construction method and system based on business process Download PDF

Info

Publication number
CN110096260B
CN110096260B CN201910317029.5A CN201910317029A CN110096260B CN 110096260 B CN110096260 B CN 110096260B CN 201910317029 A CN201910317029 A CN 201910317029A CN 110096260 B CN110096260 B CN 110096260B
Authority
CN
China
Prior art keywords
component
function
module
components
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910317029.5A
Other languages
Chinese (zh)
Other versions
CN110096260A (en
Inventor
巫乾军
陈宇航
储诚贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Gansu Electric Power Co Ltd
NARI Group Corp
Information and Telecommunication Branch of State Grid Fujian Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Gansu Electric Power Co Ltd
Original Assignee
State Grid Gansu Electric Power Co Ltd
NARI Group Corp
Information and Telecommunication Branch of State Grid Fujian Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Gansu Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Gansu Electric Power Co Ltd, NARI Group Corp, Information and Telecommunication Branch of State Grid Fujian Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Gansu Electric Power Co Ltd filed Critical State Grid Gansu Electric Power Co Ltd
Priority to CN201910317029.5A priority Critical patent/CN110096260B/en
Publication of CN110096260A publication Critical patent/CN110096260A/en
Application granted granted Critical
Publication of CN110096260B publication Critical patent/CN110096260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an information system architecture automatic construction method and a system based on a business process, which express business logic and components in a unified form, operate the existing components according to a fixed algorithm by well-defined combination operation on the basis of the unified expression to form a new more complex component to meet the business logic. The method is a meaningful attempt for automatically constructing a system architecture by utilizing business logic, and can be used as a solution for solving the unreliable problem caused by hasty upgrade of the system.

Description

Information system architecture automatic construction method and system based on business process
Technical Field
The invention belongs to a construction method of an information system architecture, and relates to an automatic construction method and system of the information system architecture of a business process.
Background
The reliable operation of the information system is the basic guarantee of the normal operation of various businesses of a company, and the loss of one fault to hundreds of thousands of times is easy, so that the improvement or the maintenance of the system reliability is a matter which is worth paying attention in economic aspects. However, due to the rapid update of services, the large application of new technologies, and the update of old information systems, the system has to upgrade and expand the architecture more frequently than before, but the immature architecture upgrade and expansion causes considerable harm to the reliable operation of the system. In contrast, the expansion of social information systems seems to have no signs of slowdown, especially the recent rise of the internet of things, making it a daily routine to build available systems quickly in heterogeneous environments.
Current unreliability of aggressive system upgrades is addressed by either creating new tools to assist architects in designing them to improve their work efficiency, such as Unified Modeling Language (UML), or by designing architectures that are less sensitive to business changes to slow down system obsolescence, such as Service Oriented Architecture (SOA).
However, the existing technical solutions, such as UML and SOA, are limited by development capability, and cannot solve the problems of low architectural design efficiency, insufficient architectural reliability and the like caused by insufficient automation degree of system architectural design.
Disclosure of Invention
The invention provides a method and a system for automatically constructing an information system architecture based on a business process, which aim to solve the problems of low efficiency of the architecture design, insufficient guarantee of the architecture reliability and the like caused by insufficient automation degree of the system architecture design in the upgrading and reconstruction process of an information system.
The invention discloses an information system architecture automatic construction method based on a business process, which comprises the following steps:
the method comprises the following steps: according to the description requirements of the component functions of each component in the component set C, the component functions of each component are described by adopting the same attribute, and a constraint function set, a termination judgment function set, an objective function and an update function corresponding to the objective function are constructed by taking the attribute as a variable, wherein the constraint function set is used for controlling the synthesis process of the components;
step two: calculating to obtain sampling probability of each component in the component set C according to the target function;
step three: randomly taking out one component C from component set C by obeying sampling probabilityjAnd assembling the assembly CjWith one component C of the component set C not combined with itSPerforming trial combination; judgment component CjAnd component CSIf the relevant operation conditions are met, performing corresponding combined operation to generate a new component, putting the new component into a new component set B, and executing the fourth step; otherwise, executing the step four;
step four: judging whether the component set C is completely traversed or not, and if so, executing a fifth step; otherwise, taking out the next un-linked component CjThe combined components are tried to combine the components, and the components are judged again according to the step of judging whether the relevant operation conditions are met in the step three;
step five: taking out one component from the new component set B, judging whether the component meets all constraint functions in the constraint function set according to the constraint function set, if not, discarding the component, and executing a sixth step; otherwise, the component is removed from the new component set B and added into a component set C, and a sixth step is executed;
step six: judging whether the new component set B is an empty set, if so, executing a seventh step; otherwise, taking out a component which is not judged by the constraint function set from the new component set B, and executing the step five again;
step seven: and judging whether any termination judgment function in the termination judgment function set is met or not according to the termination judgment function set, if so, finishing construction, otherwise, updating the target function based on the updating function corresponding to the target function, and executing the step two.
Further, the attributes include at least one attribute for recording the satisfaction degree of the component for each business process.
Further, the constraint function set comprises at least one constraint function for rejecting new components of any sub-process that cannot complete any business process.
Further, the relevant operation conditions in the third step include determining whether to allow the corresponding combination operation by determining the similarity between different components.
Further, the similarity is a similarity of a relationship among an input, an output, and an input and an output of the component.
Further, before performing the second step, the method further includes:
according to design convention, acquiring a semantic tree of words used when referring to an object set in a system development process;
representing the components as synthesized quadruples (I ', O', R ', A) describing the functions of the components and controlling the components by adopting words on a semantic tree, wherein I' is an input set of the components, O 'is an output set of the components, R' is a relation between the input and the output of the components, and A is an attribute vector of the components;
the second step comprises the following steps: calculating the sampling probability of each component in the component set C according to the formula (1):
Figure BDA0002033457210000021
wherein p isiIs a component CiSampling probability of (A)iIs a component CiAttribute vector of g (A)i) Is a component CiThe objective function value of (1); n is the number of components in the component set C, AjIs a component C in a component set CjAttribute vector of g (A)j) Is the component CjThe objective function value of (a);
the step of performing the corresponding combining operation includes:
acquiring an updating function of the corresponding attribute vector according to the attribute vector in the quadruple of the component;
and according to the specific combination operation type, carrying out combination operation on the relation R ' between the input set I ', the output set O ' and the input and output in the four-tuple corresponding to the operated two components to generate a new component, and setting the attribute vector of the new component according to an attribute updating function.
Further, the specific combined operation types comprise head-to-tail docking, head polymerization and tail polymerization; according to a specific combination operation type, the step of performing combination operation on the relationship R ' between the input set I ', the output set O ' and the input and output of the two operated components is specifically as follows:
let two components operated be denoted by C1=(I1,O1,R1,A1)、C2=(I2,O2,R2,A2) New component is C ═ (I, O, R, a); I.C. A1Is a component C1Input of (A), O1Is a component C1Output of (A), R1Is a component C1Of (2) a1Is a component C1The attribute vector of (2); I.C. A2As a component C2Input of (A), O2Is a component C2Output of (A), R2Is a component C2Of (2) a2Is a component C2I is the input of the new component C, O is the output of the new component C, R is the relationship between the input and the output of the new component C, a is the attribute vector of the new component C;
the operation corresponding to the head-to-tail butt joint is as follows: the input set I of the new component C is C1Input set I1The output set O of the new component C is C2Output of (2) O2Of a new component C
Figure BDA0002033457210000031
Wherein k is O1And I2According to the attribute updating function, setting an attribute vector A of a new component C;
the operation corresponding to the first polymerization is as follows: the input set I of the new component C is I1And I2The output set O is O1And O2R is R1And R2According to the attribute updating function, setting an attribute vector A of a new component C;
the operation corresponding to the tail polymerization is as follows: the input set I of the new component C is I1And I2The output set O is O1And O2R is R1And R2According to the attribute updating function, setting an attribute vector A of a new component C;
the set of constraint functions includes at least one constraint function for the attribute vector of the new component.
Further, the termination judgment function set includes a termination judgment function for judging whether there are components satisfying all services in the service set in the component set C and a termination judgment function for judging whether a new component cannot be regenerated in the construction process.
Further, before the step of determining whether there is a component satisfying all services in the service set in the component set C, a service set is constructed, which specifically includes the following steps:
constructing a service flow decomposition tree which takes a main service flow as a root node and a descendant service flow as a descendant node according to a service flow of a service to be realized; a plurality of business process decomposition trees form a business set;
the step of judging whether the assembly meeting all the services in the service assembly exists in the assembly set C comprises the following steps: judging whether the function met by one assembly reaches the root node of all the service flow decomposition trees or not, if so, indicating that the assembly meets all the services in the service set; otherwise, the component does not satisfy all services in the service set;
the function fulfilled by the one component is determined by the relation between the input, output and input-output of the component.
The invention discloses a system of an information system architecture automatic construction method based on a business process, which comprises the following steps:
the component storage module is used for storing components;
the attribute acquisition module is used for describing the component functions of the components by adopting the same attribute according to the description requirements of the component functions of the components in the component storage module;
the target function generation module is used for generating an initial target function for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the target function updating module is used for receiving the target function updating operation information and updating the target function based on the updating function corresponding to the target function to obtain the current latest target function;
the target function storage module is used for storing the current latest target function;
the constraint function generation module is used for generating a constraint function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the termination judgment function set generation module is used for generating a termination judgment function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the component sampling probability calculation module is used for calculating the sampling probability of each component in the component storage module according to the current latest objective function;
the first component sampling module is used for randomly sampling the components in the component storage module according to sampling probability;
the second component sampling module is used for selecting a component which is not combined with the component obtained by sampling of the first component sampling module from the component storage module when the component sampling operation information is received;
the component combination judging module is used for judging whether the components obtained by sampling of the first component sampling module and the components obtained by the second component sampling module meet related operating conditions or not, and if so, sending operating information for performing corresponding combination operation to the component combination operating module; otherwise, sending component sampling operation information to a second component sampling module;
the component combination operation module is used for performing corresponding combination operation on the components obtained by sampling by the first component sampling module and the components obtained by the second component sampling module when receiving operation information which is transmitted by the component combination judgment module and performs corresponding combination operation, generating new components and transmitting component constraint judgment operation information to the component constraint judgment module;
the component constraint judging module is used for receiving component constraint judging operation information from the component combination operation module, judging whether a new component meets all constraint functions in a constraint function set, if so, sending termination judging operation information to the termination judging module, otherwise, sending component discarding operation information to the component discarding module;
the termination judging module is used for judging whether to end the component construction or not according to the termination judging function set when receiving termination judging operation information sent by the component constraint judging module, and if the component construction is continued, sending target function updating operation information to the target function updating module and sending component sampling operation information to the component sampling module; otherwise, stopping the construction;
the component discarding module is used for discarding the new component when receiving the component discarding operation information from the component constraint judging module;
and the component adding module is used for adding the new component to the component storage module when the component adding operation information is received.
Further, the attributes include at least one attribute used for recording the satisfaction degree of the component on each business process.
Furthermore, the constraint function set at least comprises a constraint function used for rejecting new components of any sub-process which can not complete any business process.
Further, the relevant operation conditions in the component combination judgment module include whether to allow the combination operation by judging the similarity between different components.
Further, the similarity is a similarity of a relationship among an input, an output, and an input and an output of the component.
Further, specific combination operation types of the combination operations in the component combination operation module include head-to-tail docking, head aggregation, and tail aggregation.
Further, the termination judgment function set includes a termination judgment function for judging whether the components in the component storage module satisfy all services and a termination judgment function for judging whether a new component cannot be regenerated in the construction process.
The invention discloses a system of an information system architecture automatic construction method based on a business process, which comprises a network interface, a memory and a processor; wherein,
the network interface is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
the memory to store computer program instructions operable on the processor;
the processor is used for executing the steps of the information system architecture automatic construction method based on the business process when the computer program instructions are run.
The invention discloses a computer storage medium, which stores a program of a business process-based information system architecture automatic construction method, wherein the program of the business process-based information system architecture automatic construction method is executed by at least one processor to realize the steps of the business process-based information system architecture automatic construction method.
Has the advantages that: the system architecture construction method provided by the invention expresses the service logic and the components in a unified form, and on the basis of the unified expression, the defined combination operation is carried out, and the existing components are operated according to a fixed algorithm to form a new more complex component so as to meet the service logic. The method is a meaningful attempt for automatically constructing a system architecture by utilizing business logic, and can be used as a solution for solving the unreliable problem caused by hasty upgrade of the system.
Drawings
FIG. 1 is an example of a semantic tree;
FIG. 2 is a business process decomposition tree corresponding to an exemplary business process;
FIG. 3 is a schematic flow chart of the present invention.
Detailed Description
The invention is further illustrated below with reference to the figures and examples.
The reason why the automatic construction can be logically implemented is that they can be represented by three components, whether the logic of the business process or the function of the system: input, operation and output;
the specific services, whether complex or simple, and the systems, whether large or small, all accept some inputs, undergo some conversions, and then give some outputs, i.e., mapping in essence. The business logic and system functions have a common essence, which is the root cause that the system architecture can be constructed by the business logic. The automatic construction can be expressed by an algorithm because the mode of constructing the system architecture according to the business logic has a fixed flow. The invention relates to an automatic construction method of an information system architecture, which roughly follows the following flow:
s1: the service flow of the service to be realized is mastered, and the existing technology and system realization are mastered.
S2: existing technologies and systems are expanded and combined to generate new architectures that satisfy business logic.
S3: and screening the generated new architecture by combining various constraints and optimization targets.
S4: if the system architecture meeting all the business processes and constraints appears or no new architecture is generated in the generation process, extracting a plurality of system architectures which can best complete the optimization goal, submitting the system architectures, if not, classifying the generated new architecture into the prior art and the system implementation, and returning to the second step to continue iteration.
The second step of the generation process is essentially to construct a new mapping using the existing mapping. The normal design process is such that iterations are repeated until the desired system architecture is produced. Each key object and action in the process are reasonably represented in a mathematical and logical mode, and the process can be realized by an algorithm, so that the system architecture is automatically constructed.
Example 1:
as shown in fig. 3, before implementing the method for automatically constructing an information system architecture based on a business process according to this embodiment, the following preparation work needs to be performed:
creating a semantic tree: according to design convention, giving a semantic tree of nouns used when referring to an object set in the system development process; the semantic tree of the embodiment provides a knowledge base for analysis and synthesis of business logic and component functions, the semantics is used for describing semantic inclusion relations among a plurality of nouns, and the nouns are used for describing input and output of the business logic and the component functions. The semantic tree is constructed based on the use habit of the language of the personnel related to the system development.
The input and output of system or component functions, and the input and output of a step in a business flow diagram, can be expressed using sets. The elements of the set may use common words, as shown in fig. 1, and the words on the semantic tree may be "picture", "txt file", "byte stream", "user information table", etc., and "file" and "text file" constitute a branch of the semantic tree shown in fig. 1. It is not important what vocabulary is specifically used, what is important is the semantic containment relationship between these vocabularies. The inclusion relationship of the semantics of a word on a semantic tree determines the inclusion relationship between the collections that contain the word and also determines how the interfaces of the components or systems should be abstracted. Before the set is used for representing input and output, a complete semantic tree of words is established, then the words on the semantic tree are used for describing the input and output, and even if new words are used, the new words must be added into the semantic tree before being used.
The mapping between inputs and outputs may be represented by relationships over their corresponding sets. By introducing more words in the set, and thus more relational tuples, the description is more refined.
According to the business process of the business to be realized, a business process decomposition tree is constructed, wherein the main business process is taken as a root node, and the descendant business process is taken as a descendant node, leaf nodes of the business process decomposition tree of the embodiment can be described as triplets, and finally, a business process can be represented as a triple set (all leaf nodes), and the triplets (I, O and R) of the business process represented by each node are given by nouns in a semantic tree, wherein I represents an input object set, O represents an output object set, and R represents the relationship between the input and output object sets; these business processes decompose trees to form business collections
Figure BDA0002033457210000072
The service flow decomposition tree is used for checking the service satisfaction degree of the components in the component construction process. Complex processes can be broken down into groups of tiny processesIn this embodiment, the loop in the flow is not considered, the root node represents a complete service flow, and the sub-nodes of the root node represent each sub-service flow of the complete service flow; if a component records a node of each business process tree in an attribute of the component, it indicates that the component can satisfy the business process represented by the node. And (4) decomposing the business flow, namely decomposing the business. Fig. 2 is a service flow decomposition tree corresponding to an exemplary service flow, and taking can processing as an example, a service flow decomposition tree is constructed, in which a can processing flow is a root node and a descendant service flow of can processing is a descendant node, and branches are used: as an example, the leaf node of "preprocessing" and "cleaning" is given a triple (fruit, clean fruit, (fruit, clean fruit)) of the business process represented by the leaf node by using a vocabulary in a pre-created semantic tree, where the fruit is an input object set, the clean fruit is an output object set, and the (fruit, clean fruit) represents a relationship between the input and output object sets.
Translating each component in the component set C into a quadruple: according to the function description of each component, giving an input set I ', an output set O ' and a relation R ' between input and output of the component by using vocabularies in a semantic tree; these components constitute a component set C. A business is a "customer's demand", and a component is a "raw material to meet the demand". The present embodiment was developed with the goal of "combining" components to meet business (needs). The "component functionality" and "business logic" are essentially the same, so both components and business can be represented in the form of triples.
The component set C is from many sources, may be a component that has been developed by the company in the past, and may be a component (service) invoked from another company. The relationship between the component set and the service set is as if the relationship of "raw materials" and "products".
Attribute vector A of given component and update function of attribute vector
Figure BDA0002033457210000071
For constructionIn describing the function of the component and the resultant quadruple (I ', O ', R ', a) of the control component; in short, the attribute at least includes an attribute a for recording the node reached by the satisfaction degree of the component to each business process decomposition tree, and other attributes can be expanded according to specific design requirements.
The reason why the embodiment does not give an explicit attribute update function is that the embodiment does not give any specific attribute to the component; in this embodiment, referring to the description of the service flow decomposition tree, a specific attribute a is assigned to a component to record the relationship between the component and each main service flow, where the attribute a is a length of
Figure BDA0002033457210000081
(i.e., the number of main business processes) node identifier array, where each unit of the array records an identifier of a node of each tree, and the recorded node means that the component can satisfy the business process corresponding to the node, that is, if the node is the root node of the tree, it means that the component can satisfy the entire main business process, and if the node is a child node of the root node, it means that the component can satisfy the child business process of the main business process.
Designing operation conditions and corresponding combined operations: the operation conditions at least include determining whether to allow the combination operation by determining similarity between the components, specifically determining similarity of a relationship R ' between an input set I ', an output set O ' and input and output of the components, for example: component C1And C2End to end, assembly C to be judged1O' and C of2If I' of (A) is sufficiently similar, if not, component C1And C2It cannot be connected end to end, that is: component C1Is to be given to component C2Then component C2Must be able to contain component C1Is collected. The present embodiment represents the similarity between four tuples by the following notations:
set similarity: let R, P be two quads, defining the similarity Sim (R, P) between them as:
Figure BDA0002033457210000082
when the two sets are the same, the similarity is 1, when the latter contains the former, the similarity is 1, when the intersection of the two sets is empty, the similarity is 0, and Sim (R, P) and Sim (P, R) are different.
The specific combination operation types of this embodiment include end-to-end docking, end aggregation, and end aggregation;
let two components operated be denoted by C1=(I1,O1,R1,A1)、C2=(I2,O2,R2,A2) New component is C ═ I (I, O, R, a); i is1As a component C1Input of (A), O1Is a component C1Output of (A), R1Is a component C1The relationship between input and output of (A)1Is a component C1An attribute vector of (2); I.C. A2As a component C2Input of (A), O2Is a component C2Output of (A) R2Is a component C2The relationship between input and output of (A)2Is a component C2I is the input of the new component C, O is the output of the new component C, R is the relationship between the input and the output of the new component C, a is the attribute vector of the new component C;
the set update logic corresponding to the three operations is:
the end-to-end Concatenate is C ═ Concatenate (C)1,C2)
I=I1,O=O2
Figure BDA0002033457210000083
The operating logic is: setting input set I of new component C as C1Input set I1The output set O is C2Output O of2Updating functions according to attributes
Figure BDA0002033457210000091
The attribute vector a of the new component C is set. The relevant operating conditions are at least: sim (O)1,I2) And alpha, wherein alpha is a similarity threshold value and is usually 1.
The first polymerization H _ Aggregate is as follows: c ═ H _ Aggregate (C)1,C2)
I=I1∪I2
O=O1∪O2
R=R1∪R2
The operation logic is as follows: setting the input set I of a new component C to I1And I2The output set O is O1And O2Is a union of R1And R2Is collected. Updating functions according to attributes
Figure BDA0002033457210000092
The attribute vector a of the new component C is set. The relevant operating conditions are at least: sim (I)1,I2)≥α。
The tail polymerization T _ Aggregate is as follows: c ═ T _ Aggregate (C)1,C2)
I=I1∪I2
O=O1∪O2
R=R1∪R2
The operation logic is as follows: setting the input set I of a new component C to I1And I2The output set O is O1And O2And R is R1And R2And (3) are combined. Updating functions according to attributes
Figure BDA0002033457210000093
The attribute vector a of the new component C is set. The relevant operating conditions are at least: sim (O)1,O2)≥α。
Meanwhile, for the set of operating conditions, there is a decision function:
Figure BDA0002033457210000094
where S is e { SC,SH,ST},
Figure BDA0002033457210000095
Cj、CsIs two components to be combined and S is a set of operating conditions. Judge (C)j,CsS) means a judgment component Cj、CsAnd if all the conditions in the operation condition set S are met, returning to 1, otherwise, returning to 0. SCIs a set of operating conditions corresponding to a head-to-tail docking operation, SHIs a set of operating conditions corresponding to the first polymerization operation, STIs the set of operating conditions corresponding to the tail aggregation operation. S is one of the three, so write as S e { S ∈ [ ]C,SH,STWhen the operation is end-to-end connection, S is SCWhen the operation is the first polymerization, S is SH(ii) a When the operation is tail polymerization, S is ST
If: judge (C)j,Cs,SC) If 1, C is Concatenate (C)j,Cs) Putting a new component set B;
if: judge (C)j,Cs,SH) When 1, C is H _ Aggregate (C)j,Cs) Putting a new component set B;
if: judge (C)j,Cs,ST) When 1, C is T _ Aggregate (C)j,Cs) Putting a new component set B;
the method for automatically constructing the information system architecture based on the business process comprises the following steps:
the method comprises the following steps: according to the description requirements of the component functions of each component in the component set C, the component functions of each component are described by adopting the same attribute, and a constraint function set, a termination judgment function set, an objective function and an update function corresponding to the objective function are constructed by taking the attribute as a variable, wherein the constraint function set is used for controlling the synthesis process of the components; the new component is discarded as long as one constraint function is not satisfied, the termination judgment function set is used for determining whether the synthesis process should be terminated, the termination judgment function comprises a termination judgment function for judging whether components capable of meeting all service flows generate and a termination judgment function for judging whether the construction process can not regenerate new components, and the construction process can be terminated when any termination judgment function is satisfied.
The attribute and the related objective function, constraint function and termination judgment function of the embodiment have significance for controlling the synthesis process of the component according to the requirements, and the system construction requirements are different according to different scenes, so that the attribute and the related function can be expanded.
Step two: calculating according to the target function to obtain the sampling probability of each component in the component set C; the method comprises the following specific steps: calculating the sampled probability of each component in the component set according to the formula (1):
Figure BDA0002033457210000101
wherein p isiIs a component CiSampling probability of (A)iIs a component CiAttribute vector of g (A)i) Is a component CiThe objective function value of (a); n is the number of components in the component set C, AjIs a component C in a component set CjAttribute vector of g (A)j) Is the component CjThe objective function value of (a);
the present embodiment may also use the softmax function to specify the sampling probability of each component: the objective function of the embodiment exists for optimizing the construction process, and there is no specific application scenario, and there is no specific attribute, that is, there is no specific optimization function.
Step three: randomly taking one component C out of the component set C according to sampling probabilityjAnd the component C is connectedjWith one component C of the set of components C not combined with itsPerforming trial combination; judgment component CjAnd component CSIf the relevant operation conditions are met, performing corresponding combined operation to generate a new component, putting the new component into a new component set B, and executing the step four; otherwise, executing the step four;
step four: judging whether the component set C is completely traversed or not, and if so, executing a fifth step; otherwise, the next un-linked component C is taken outjTrying to combine the components by the combined components, and judging again according to the step of judging whether the related operation conditions are met in the step three;
step five: taking out one component from the new component set B, judging whether the component meets all constraint functions in the constraint function set or not according to the constraint function set, if not, discarding the component, and executing a sixth step; otherwise, the component is removed from the new component set B and added into a component set C, and a sixth step is executed;
the constraint functions in the constraint function set take the attribute vectors of the components as input parameters, and the constraint functions are constraints on the attribute vectors. This constraint, corresponding to the attribute, is the node identifier array mentioned above in this embodiment.
Figure BDA0002033457210000102
In the formula,
Figure BDA0002033457210000111
for the constraint function set, A of C is the attribute vector A of component C;
the constraint of this embodiment is a constraint on the attribute vector of the new component, and the constraint cannot be applied for judgment until the operation result comes out.
For any component C belonging to the new component set BkIf, if
Figure BDA0002033457210000112
Then component C is addedkRemoving from the new component set B;
therefore, the constraint function set at least comprises a constraint function for the attribute vector of the new component and at least one constraint function for rejecting any sub-process which can not complete any business process.
Step six: judging whether the new component set B is an empty set, if so, executing a seventh step; otherwise, taking out a component which is not judged by the constraint function set from the new component set B, and re-executing the step five;
step seven: and judging whether any termination judgment function in the termination judgment function set is met or not according to the termination judgment function set, if so, finishing construction, otherwise, updating the target function based on the updating function corresponding to the target function, and executing the step two. The termination judgment function set comprises a termination judgment function for judging whether components meeting all services in the service set exist in the component set C or not and a termination judgment function for judging whether new components can not be generated in the construction process or not.
Before the step of judging whether the component set C has components meeting all services in the service set, the method further comprises the following steps of constructing the service set:
constructing a service flow decomposition tree which takes a main service flow as a root node and a descendant service flow as a descendant node according to a service flow of a service to be realized; a plurality of business process decomposition trees form a business set;
the step of judging whether the assembly meeting all the services in the service assembly exists in the assembly set C comprises the following steps: judging whether the function met by one component reaches the root node of all the service flow decomposition trees, if so, indicating that the component meets all the services in the service set; otherwise, the component does not satisfy all services in the service set; the function fulfilled by a component is determined by the relation between the input, output and input-output of the component.
Example 2:
the system for automatically constructing the information system architecture based on the business process comprises the following steps:
the component storage module is used for storing components;
the attribute acquisition module is used for describing the component functions of each component by adopting the same attribute according to the description requirements of the component functions of each component in the component storage module, wherein the attribute at least comprises an attribute used for recording the satisfaction degree of each component to each business process;
the target function generation module is used for generating an initial target function for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the target function updating module is used for receiving the target function updating operation information and updating the target function based on the updating function corresponding to the target function to obtain the current latest target function;
the target function storage module is used for storing the current latest target function;
the constraint function generation module is used for generating a constraint function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable; the constraint function set at least comprises a constraint function used for eliminating a new component which can not complete any sub-process of any business process;
the termination judgment function set generation module is used for generating a termination judgment function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable; the termination judging function set comprises a termination judging function for judging whether the components in the component storage module have components meeting all services or not and a termination judging function for judging whether a new component can not be regenerated in the construction process or not;
the component sampling probability calculation module is used for calculating the sampling probability of each component in the component storage module according to the current latest target function;
the first component sampling module is used for randomly sampling the components in the component storage module according to sampling probability;
the second component sampling module is used for selecting a component which is not combined with the component sampled by the first component sampling module from the component storage module when the component sampling operation information is received;
the component combination judging module is used for judging whether the components obtained by sampling of the first component sampling module and the components obtained by the second component sampling module meet related operating conditions or not, and if so, sending operating information for performing corresponding combination operation to the component combination operating module; otherwise, sending component sampling operation information to a second component sampling module; the related operation conditions comprise that whether the combined operation is allowed or not is determined by judging the similarity among different components, wherein the similarity is the similarity of the relation among the input, the output and the input and the output of the components;
the component combination operation module is used for performing corresponding combination operation on the components obtained by sampling by the first component sampling module and the components obtained by the second component sampling module when receiving operation information which is transmitted by the component combination judgment module and performs corresponding combination operation, generating new components and transmitting component constraint judgment operation information to the component constraint judgment module; the specific combination operation types of the combination operation comprise head-to-tail butt joint, head polymerization and tail polymerization;
the component constraint judging module is used for receiving component constraint judging operation information from the component combination operation module, judging whether a new component meets all constraint functions in a constraint function set, if so, sending termination judging operation information to the termination judging module, otherwise, sending component discarding operation information to the component discarding module;
the termination judging module is used for judging whether to end the component construction according to the termination judging function set when receiving the termination judging operation information sent by the component constraint judging module, if the component construction is continued, sending target function updating operation information to the target function updating module, and sending component sampling operation information to the component sampling module; otherwise, stopping construction;
the component discarding module is used for discarding the new component when receiving the component discarding operation information from the component constraint judging module;
and the component adding module is used for adding the new component to the component storage module when the component adding operation information is received.
Example 3:
the embodiment discloses a system of an information system architecture automatic construction method based on a business process, which comprises a network interface, a memory and a processor; wherein,
a network interface for receiving and transmitting signals during the process of transmitting and receiving information with other external network elements;
a memory for storing computer program instructions executable on the processor;
and the processor is used for executing the steps of the information system architecture automatic construction method based on the business process in the embodiment 1 when the computer program instructions are executed.
Example 4:
the present embodiment discloses a computer storage medium storing a program of a business process-based information system architecture automatic construction method, which when executed by at least one processor implements the steps of the business process-based information system architecture automatic construction method of embodiment 1.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present invention and not for limiting the same, and those skilled in the art can make modifications or equivalent substitutions to the specific embodiments of the present invention with reference to the above embodiments, and any modifications or equivalent substitutions which do not depart from the spirit and scope of the present invention are within the scope of the claims of the present invention as filed in the application.

Claims (18)

1. An information system architecture automatic construction method based on business process is characterized in that: the method comprises the following steps:
the method comprises the following steps: according to the description requirements of the component functions of the components in the component set C, the component functions of the components are described by adopting the same attribute, and a constraint function set, a termination judgment function set, an objective function and an update function corresponding to the objective function are constructed by taking the attribute as a variable, wherein the constraint function set is used for controlling the synthesis process of the components;
step two: calculating according to the target function to obtain the sampling probability of each component in the component set C;
step three: obeying sampling probability random slaveTaking out one component C from the component set CjAnd assembling the assembly CjWith one component C of the set of components C not combined with itSPerforming trial combination; judgment component CjAnd component CSIf the relevant operation conditions are met, performing corresponding combined operation to generate a new component, putting the new component into a new component set B, and executing the fourth step; otherwise, executing the step four;
step four: judging whether the component set C is traversed or not, and if so, executing a fifth step; otherwise, taking out the next un-linked component CjTrying to combine the components by the combined components, and judging again according to the step of judging whether the related operation conditions are met in the step three;
step five: taking out one component from the new component set B, and collecting the component according to the constraint function
Figure FDA0003661384200000011
Judging whether the assembly meets all constraint functions in the constraint function set or not, if not, discarding the assembly, and executing a sixth step; otherwise, the component is removed from the new component set B and added into the component set C, and the step six is executed;
step six: judging whether the new component set B is an empty set, if so, executing a seventh step; otherwise, taking out a component which is not judged by the constraint function set from the new component set B, and executing the step five again;
step seven: and judging whether any termination judgment function in the termination judgment function set is met or not according to the termination judgment function set, if so, finishing construction, otherwise, updating the target function based on the updating function corresponding to the target function, and executing the step two.
2. The method for automatically constructing an information system architecture based on business processes as claimed in claim 1, wherein: the attributes comprise at least one attribute used for recording the satisfaction degree of the component to each business process.
3. The method for automatically constructing an information system architecture based on business processes as claimed in claim 1, wherein: the constraint function set at least comprises a constraint function used for eliminating new components of any sub-process which can not complete any business process.
4. The method for automatically constructing an information system architecture based on business processes as claimed in claim 1, wherein: the relevant operation conditions in the third step include determining whether to allow the corresponding combination operation by determining the similarity between different components.
5. The method according to claim 4, wherein the method comprises: the similarity is a similarity of a relationship among the input, output, and input-output of the component.
6. The method for automatically constructing an information system architecture based on business processes as claimed in claim 1, wherein: before the second step is executed, the method further comprises the following steps:
according to design convention, acquiring a semantic tree of words used when referring to an object set in a system development process;
representing the components as synthesized quadruples (I ', O', R ', A) describing the functions of the components and controlling the components by adopting words on a semantic tree, wherein I' is an input set of the components, O 'is an output set of the components, R' is a relation between the input and the output of the components, and A is an attribute vector of the components;
the second step comprises the following steps: calculating the sampling probability of each component in the component set C according to the formula (1):
Figure FDA0003661384200000021
wherein p isiIs a component CiSampling probability of (A)iIs a component CiAttribute vector of g (A)i) Is a component CiThe objective function value of (1); n is the number of components in the component set C, AjIs a component C in a component set CjAttribute vector of g (A)j) Is the component CjThe objective function value of (1);
the step of performing the corresponding combining operation includes:
acquiring an updating function of the corresponding attribute vector according to the attribute vector in the quadruple of the component;
according to the specific combination operation type, combining the relation R ' between an input set I ', an output set O ' and input and output in the quadruplet corresponding to the two operated components to generate a new component, and setting the attribute vector of the new component according to an attribute updating function;
the set of constraint functions includes at least one constraint function for the attribute vector of the new component.
7. The method according to claim 6, wherein the method comprises: the specific combined operation types comprise head-to-tail butt joint, head polymerization and tail polymerization; according to the specific combination operation type, the step of performing combination operation on the relationship R ' between the input set I ', the output set O ' and the input and output of the two operated components specifically includes:
let two components operated be denoted by C1=(I1,O1,R1,A1)、C2=(I2,O2,R2,A2) New component is C ═ (I, O, R, a); I.C. A1Is a component C1Input of (A), O1Is a component C1Output of (A) R1Is a component C1The relationship between input and output of (A)1Is a component C1An attribute vector of (2); I.C. A2Is a component C2Input of (A), O2Is a component C2Output of (A) R2Is a component C2Of (2) a2Is a component C2I is the input of the new component C, O is the output of the new component C, RIs the relationship between the inputs and outputs of the new component C, a is the attribute vector of the new component C;
the operation corresponding to the head-to-tail butt joint is as follows: the input set I of the new component C is C1Input set I1The output set O of the new component C is C2Output of (2) O2Of a new component C
Figure FDA0003661384200000022
Wherein k is O1And I2According to the attribute updating function, setting an attribute vector A of a new component C;
the operation corresponding to the first polymerization is as follows: the input set I of the new component C is I1And I2The output set O is O1And O2R is R1And R2According to the attribute updating function, setting an attribute vector A of a new component C;
the operation corresponding to the tail polymerization is as follows: the input set I of the new component C is I1And I2The output set O is O1And O2R is R1And R2According to the attribute updating function, setting the attribute vector A of the new component C.
8. The method according to claim 1, wherein the method comprises: the termination judgment function set comprises a termination judgment function for judging whether the components meeting all services in the service set exist in the component set C or not and a termination judgment function for judging whether new components can not be regenerated in the construction process or not.
9. The method for automatically constructing an information system architecture based on business processes of claim 8, wherein: before the step of judging whether the component set C has components meeting all services in the service set, the method further comprises the following steps of constructing the service set:
constructing a service flow decomposition tree which takes a main service flow as a root node and a descendant service flow as a descendant node according to a service flow of a service to be realized; a plurality of business process decomposition trees form a business set;
judging whether a satisfied service set exists in the component set C
Figure FDA0003661384200000031
The steps of all the components of the service include: judging whether the function met by one component reaches the root node of all the service flow decomposition trees, if so, indicating that the component meets all the services in the service set; otherwise, the component does not satisfy all the services in the service set;
the function fulfilled by the one component is determined by the relation between the input, output and input-output of the component.
10. A system for automatically constructing a method based on an information system architecture of a business process is characterized in that: the method comprises the following steps:
the component storage module is used for storing components;
the attribute acquisition module is used for describing the component functions of the components by adopting the same attribute according to the description requirements of the component functions of the components in the component storage module;
the target function generation module is used for generating an initial target function for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the target function updating module is used for receiving the target function updating operation information and updating the target function based on the updating function corresponding to the target function to obtain the current latest target function;
the target function storage module is used for storing the current latest target function;
the constraint function generation module is used for generating a constraint function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the termination judgment function set generation module is used for generating a termination judgment function set for controlling the generation of the new component by taking the attribute in the attribute acquisition module as a variable;
the component sampling probability calculation module is used for calculating the sampling probability of each component in the component storage module according to the current latest objective function;
the first component sampling module is used for sampling the components in the component storage module according to sampling probability at random;
the second component sampling module is used for selecting a component which is not combined with the component sampled by the first component sampling module from the component storage module when the component sampling operation information is received;
the component combination judging module is used for judging whether the components obtained by sampling by the first component sampling module and the components obtained by sampling by the second component sampling module meet the related operating conditions or not, and if the components meet the related operating conditions, sending the operating information for carrying out the corresponding combination operation to the component combination operating module; otherwise, sending component sampling operation information to a second component sampling module;
the component combination operation module is used for carrying out corresponding combination operation on the component obtained by sampling by the first component sampling module and the component obtained by sampling by the second component sampling module when receiving operation information which is sent by the component combination judgment module and is used for carrying out corresponding combination operation, generating a new component and sending component constraint judgment operation information to the component constraint judgment module;
the component constraint judging module is used for receiving component constraint judging operation information from the component combination operation module, judging whether the new component meets all constraint functions in the constraint function set, if so, sending termination judging operation information to the termination judging module, and otherwise, sending component discarding operation information to the component discarding module;
the termination judging module is used for judging whether to end the component construction or not according to the termination judging function set when receiving termination judging operation information sent by the component constraint judging module, and if the component construction is continued, sending target function updating operation information to the target function updating module and sending component sampling operation information to the component sampling module; otherwise, stopping the construction;
the component discarding module is used for discarding the new component when receiving the component discarding operation information from the component constraint judging module;
and the component adding module is used for adding the new component to the component storage module when the component adding operation information is received.
11. The system of claim 10, wherein: the attributes comprise at least one attribute used for recording the satisfaction degree of the component to each business process.
12. The system of claim 10, wherein: the set of constraint functions includes at least one constraint function for culling new components that cannot complete any sub-processes of any business process.
13. The system of claim 10, wherein: the relevant operation conditions in the component combination judging module comprise that whether the combination operation is allowed or not is determined by judging the similarity between different components.
14. The system of claim 13, wherein: the similarity is a similarity of a relationship among the input, output, and input-output of the component.
15. The system of claim 10, wherein: the specific combined operation types of the combined operation in the component combined operation module comprise head-to-tail docking, head aggregation and tail aggregation.
16. The system of claim 10, wherein: the termination judgment function set comprises a termination judgment function for judging whether the components in the component storage module have components meeting all services or not and a termination judgment function for judging whether a new component can not be regenerated in the construction process or not.
17. A system for automatically constructing a method based on an information system architecture of a business process is characterized by comprising a network interface, a memory and a processor; wherein,
the network interface is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
the memory for storing computer program instructions executable on the processor;
the processor, when executing the computer program instructions, is configured to perform the steps of the business process based information system architecture automation construction method of any one of claims 1 to 9.
18. A computer storage medium, characterized in that the computer storage medium stores a program of a business process-based information system architecture automatic construction method, which when executed by at least one processor, implements the steps of the business process-based information system architecture automatic construction method of any one of claims 1 to 9.
CN201910317029.5A 2019-04-19 2019-04-19 Information system architecture automatic construction method and system based on business process Active CN110096260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910317029.5A CN110096260B (en) 2019-04-19 2019-04-19 Information system architecture automatic construction method and system based on business process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910317029.5A CN110096260B (en) 2019-04-19 2019-04-19 Information system architecture automatic construction method and system based on business process

Publications (2)

Publication Number Publication Date
CN110096260A CN110096260A (en) 2019-08-06
CN110096260B true CN110096260B (en) 2022-07-15

Family

ID=67445238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910317029.5A Active CN110096260B (en) 2019-04-19 2019-04-19 Information system architecture automatic construction method and system based on business process

Country Status (1)

Country Link
CN (1) CN110096260B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure

Also Published As

Publication number Publication date
CN110096260A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN110807067B (en) Data synchronization method, device and equipment for relational database and data warehouse
CN107943945B (en) Isomery operator management method in a kind of big data analysis development platform
US7689582B2 (en) Data flow system and method for heterogeneous data integration environments
CN110134671B (en) Traceability application-oriented block chain database data management system and method
US8346697B2 (en) Direct construction of finite state machines
US20070244876A1 (en) Data flow system and method for heterogeneous data integration environments
CN113283613B (en) Deep learning model generation method, optimization method, device, equipment and medium
US11874875B2 (en) Graph processing system
CN112667860A (en) Sub-graph matching method, device, equipment and storage medium
CN103077192A (en) Data processing method and system thereof
WO2024164559A1 (en) System upgrading method and apparatus, and device and storage medium
CN105630797A (en) Data processing method and system
JP2023553220A (en) Process mining for multi-instance processes
CN110096260B (en) Information system architecture automatic construction method and system based on business process
CN115066673A (en) System and method for ETL pipeline processing
CN111159203B (en) Data association analysis method, platform, electronic equipment and storage medium
CN118133207B (en) Cross-domain log anomaly detection model construction method, device, equipment and medium
US11907245B2 (en) Processes and systems for dataflow routing based on data types and transformations
CN117743398B (en) Real-time decision and data processing method based on rules in stream database
CN112347122B (en) SQL workflow processing method, device, electronic equipment and storage medium
US20230252360A1 (en) Efficient optimization of machine learning models
WO2024207609A1 (en) Method for application migration from client-server architecture to blockchain architecture
GB2466344A (en) Method for automatic workflow graph refactoring and completion
Atzori GDup: an Integrated, Scalable Big Graph Deduplication System
CN114860805A (en) Data mining analysis system and analysis method for Internet of things equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant