CN107329768B - Method and device for removing hierarchy of system business activity model - Google Patents

Method and device for removing hierarchy of system business activity model Download PDF

Info

Publication number
CN107329768B
CN107329768B CN201710550353.2A CN201710550353A CN107329768B CN 107329768 B CN107329768 B CN 107329768B CN 201710550353 A CN201710550353 A CN 201710550353A CN 107329768 B CN107329768 B CN 107329768B
Authority
CN
China
Prior art keywords
information
atomic
business
activity
activities
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
CN201710550353.2A
Other languages
Chinese (zh)
Other versions
CN107329768A (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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN201710550353.2A priority Critical patent/CN107329768B/en
Publication of CN107329768A publication Critical patent/CN107329768A/en
Application granted granted Critical
Publication of CN107329768B publication Critical patent/CN107329768B/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/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for removing hierarchy of a system business activity model, which comprises the following steps: acquiring a business activity design data file of the system, extracting business activity data from the business activity design data file, and establishing a first business activity composition table of the system, an information composition table of business activities and a relation table of business activities and information according to the business activity data; determining the atomic business activity of the system according to a first business activity composition table of the system, and establishing a relation table of the atomic business activity and the information according to the relation table of the business activity and the information; verifying whether the interaction relationship of the system business activity information is complete according to the information composition table of the business activity and the relationship table of the atomic business activity and the information; and when the interaction relation of the system service activity information is complete, generating a de-layering service activity model according to the relation table of the atomic service activity and the information. The method and the device can realize automatic layering processing of the service activity model of the complex large-scale information system.

Description

Method and device for removing hierarchy of system business activity model
Technical Field
The invention relates to the field of information system engineering, in particular to a method and a device for removing hierarchy of a system business activity model.
Background
With the development of information technology and the increasingly wide application of information systems, the composition and functions of information systems are increasingly complex. The business activity description is an important link in the design of an information system, and is also an important means for clearing various business activities required to be carried out by the system in the process of realizing business targets and information dependency relationships among the business activities. Due to the complexity of the business activities, the description of the business activity model generally adopts a hierarchical method to decompose the business activities layer by layer from top to bottom until the granularity of the description of each business activity is refined to the granularity capable of guiding the operation of the system and realizing the business target requirement of the system. In a high-level diagram of a business activity model, it is typically described in a relatively generalized, abstract manner, whereas in a low-level diagram it is described in a relatively concrete, refined manner. During the execution of each business activity, resources are typically consumed and results are also produced. The result of one business activity is likely to be a resource that another business activity needs to consume, and thus there can be a large amount of information exchanged between different business activities. The information exchange relationships are also described in a combing way in the process of business activity modeling. In addition, due to the complexity of the information system, a "divide and conquer" method is usually adopted when designing business activities, that is, different business fields develop respective business activity models, but in order to embody the overall business capability, the business activity models in different fields need to be organically integrated. In the process of integrating the business activity models, the first problem is to perform hierarchical removal processing on the activity models in each business field, so that each business activity is ensured to be completed on the same level when being integrated. Otherwise, inconsistency of business activity integration is highly likely to be caused due to the difference of the decomposition levels of the business activity model.
At present, most of the methods for de-layering the business activity models adopt manual operation to process the designed business activity models. The processing result and the knowledge level of the participators and the operation preference are closely related, so the processing result of the method has certain subjectivity and uncertainty. For an information system with large scale and complex business activities, the complexity of the business activities and the information interaction relationship thereof will increase sharply along with the increase of the number of the business activities and the interaction relationship, and the processing and analysis of the business activities and the interaction information are difficult to be effectively carried out simply by depending on artificial knowledge and energy.
The prior art has problems in the layering processing process of the information system service activity model with large scale and complex structure, and an effective solution is not available at present.
Disclosure of Invention
In view of this, the present invention is to provide a method and an apparatus for de-layering a system service activity model, so as to implement de-layering processing of a large-scale and complex-structured information system service activity model.
Based on the above object, the present invention provides a method for de-layering a system service activity model, comprising:
acquiring a service activity design data file of a system, extracting service activity data from the service activity design data file, and establishing a first service activity composition table of the system, an information composition table of service activities and a relation table of service activities and information according to the service activity data;
determining the atomic business activity of the system according to the first business activity composition table of the system, and establishing a relation table of the atomic business activity and the information according to the relation table of the business activity and the information;
verifying whether the system service activity information interaction relationship is complete according to the information composition table of the service activity and the relationship table of the atomic service activity and the information;
and when the interaction relation of the system service activity information is complete, generating a de-layering service activity model according to the relation table of the atomic service activity and the information.
Further, determining the atomic business activity of the system according to the first business activity composition table of the system, and establishing a relational table of the atomic business activity and the information according to the relational table of the business activity and the information, including:
acquiring the atomic business activity according to the system first business activity composition table, and modifying the system first business activity composition table according to the acquired atomic business activity to acquire a system second business activity composition table;
and acquiring the information interaction relationship among the atomic business activities according to the second business activity composition table of the system and the relationship table of the business activities and the information, and establishing the relationship table of the atomic business activities and the information according to the information interaction relationship among the atomic business activities.
Further, the atomic business activity is obtained according to the system first business activity composition table, and the system first business activity composition table is modified according to the obtained atomic business activity, so as to obtain a system second business activity composition table; the method comprises the following steps:
the system comprises a first service activity composition table, a second service activity composition table and a third service activity composition table, wherein the first service activity composition table comprises a service activity identifier, a father service activity identifier and an atomic service activity identifier, and the atomic service activity identifier is marked as not being an atomic service activity by default;
sequentially traversing the service activity identifiers of the first service activity composition table of the system, and judging whether the service activity identifiers appear in the father service activity identifiers of the first service activity composition table of the system; if not, the atomic business activity is carried out, and the corresponding atomic business activity identification is modified; otherwise, the operation is not an atomic business activity, and the atomic business activity identification is not modified;
and after the traversal is finished, generating a second service activity composition table of the system.
Further, obtaining the information interaction relationship between the atomic service activities according to the second service activity composition table of the system and the relationship table of the service activities and the information, and establishing the relationship table of the atomic service activities and the information according to the information interaction relationship between the atomic service activities, including:
the relation table of the business activity and the information comprises a business activity identifier, an information number and an information type, wherein the information type comprises input and output;
sequentially traversing the service activity identifiers of a second service activity composition table of the system, and judging whether the service activities corresponding to the service activity identifiers are atomic service activities; if so, finding out the information number and the information type corresponding to the atomic business activity from the business activity and information relation table, and adding the information number and the information type into the atomic business activity and information relation table; otherwise, directly analyzing the next business activity of the second business activity composition table of the system.
Further, verifying whether the system service activity information interaction relationship is complete according to the service activity information composition table and the atomic service activity and information relationship table, including:
establishing a first information set according to the information composition table of the service activities, and establishing a second information set according to the relation table of the atomic service activities and the information;
and carrying out subtraction operation on the first information set and the second information set to obtain a result difference set, wherein if the result difference set is empty, the system service activity information interaction relationship is complete.
Further, generating a de-hierarchical business activity model according to the relationship table of the atomic business activity and the information, including:
constructing an information interaction matrix between the atomic business activities according to the relation table of the atomic business activities and the information, and verifying whether the internal information input and output of the information interaction matrix between the atomic business activities are effective or not;
and when the internal information input and output are effective, generating a de-layering business activity model according to the information interaction matrix among the atomic business activities.
Further, constructing an information interaction matrix between the atomic business activities according to the relational table of the atomic business activities and the information, comprising:
the rows of the information interaction matrix among the atomic business activities represent the information in the relation table of the atomic business activities and the information, and the columns represent the atomic business activities in a second business activity composition table of the system;
when the information stored in the relation table of the atomic business activities and the information is the input of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set as-1; when the information stored in the relation table of the atomic business activities and the information is the output of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set to be 1; and when the information is not stored in the relation table of the atomic business activities and the information and is the input or output relation of the atomic business activities, setting the element value of the corresponding position of the information interaction matrix between the atomic business activities to be 0.
Further, verifying whether the internal information input and output of the information interaction matrix between the atomic business activities is valid includes:
the information composition table of the business activity comprises an internal information identifier of the information;
judging whether the information is internal information or not according to the internal information identifier of the information;
and when the information is internal information, judging whether the sum of elements of the corresponding rows of the internal information of the information interaction matrix among the atomic service activities is 0, and if the sum is 0, inputting and outputting the internal information of the information interaction matrix among the atomic service activities effectively.
Further, generating a de-hierarchical business activity model according to the information interaction matrix among the atomic business activities, including:
obtaining the composition structure of the atomic business activities and the information flow relationship among the atomic business activities according to the information interaction matrix among the atomic business activities; and establishing a de-hierarchized business activity model according to the composition structure of the atomic business activities and the information flow relationship among the atomic business activities.
The invention also provides a device for removing hierarchy of the system business activity model, which comprises:
the extraction module is used for acquiring a business activity design data file of a system, extracting business activity data from the business activity design data file, and establishing a first business activity composition table of the system, an information composition table of business activities and a relation table of business activities and information according to the business activity data;
the table building module is used for determining the atomic business activity of the system according to the first business activity composition table of the system and building a relational table of the atomic business activity and the information according to the relational table of the business activity and the information;
the verification module is used for verifying whether the system business activity information interaction relationship is complete or not according to the information composition table of the business activity and the relationship table of the atomic business activity and the information;
and the generating module is used for generating a de-layering business activity model according to the relation table of the atomic business activity and the information.
From the above, the method and the device for de-layering the system business activity model provided by the invention analyze and extract the information flow relationship between the atomic business activities by using the system business activity design data stored in the database, in particular the data such as the business activity composition of the system, the information interaction relationship between the business activities and the like; on the premise of objective and comprehensive, the interaction dependency relationship among each atomic business activity and the atomic business activities can be rapidly identified with high precision, and the information interaction relationship among the atomic business activity components and the atomic business activities after the layering is removed is obtained, so that the automatic layering removal processing of the business activity model of the complex large-scale information system can be realized, and further, effective support can be provided for the integration of the business activity model.
Drawings
FIG. 1 is a flowchart of a method for de-layering a system business activity model according to an embodiment of the present invention;
FIG. 2 is another flowchart of a method for de-layering a system business activity model according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the composition of system business activities prior to de-layering in an embodiment of the present invention;
FIG. 4 is a diagram illustrating the composition of system business activities after de-layering in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a de-layering device of a system business activity model according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Fig. 1 is a flowchart of a method for de-layering a system business activity model according to an embodiment of the present invention. One embodiment of the present invention provides a method for de-layering a system business activity model, comprising:
s101, acquiring a service activity design data file of a system, extracting service activity data from the service activity design data file, and establishing a first service activity composition table of the system, an information composition table of service activities and a relation table of service activities and information according to the service activity data.
In step S101, a system business activity design data file is used as an input of the present invention, the system business activity design data file is read and analyzed, and a first business activity composition table of the system, an information composition table of the business activity, and a relationship table of the business activity and the information are constructed according to a fixed format.
Wherein, the first business activity composition table of the system mainly represents all business activities of the system. There are four description elements in the table, which are respectively a service activity identifier AID, a service activity name, a parent service activity identifier, i.e. a parent service activity AID, and an atomic service activity identifier. Preferably, in the atomic business activity identifier, 0 represents a non-atomic business activity, and 1 represents an atomic business activity.
The information composition of the business activities represents various external and internal information used and generated by each business activity in the execution process of the business activities of the system. Wherein, the external information refers to the information of the interaction between the business activity and the external environment or the external system; the internal information refers to information interacted between business activities in the system, namely, both a producer and a user of the information are business activities in the system. The table includes three description elements, i.e., an information number IID, an information name, and an internal information identifier. For the internal information identification one item, 0 denotes external information, and 1 denotes internal information. The invention needs to analyze the input and output validity of the internal information, so that the internal information for distinguishing and defining the system business activity is the premise and the basis for effectively applying the method of the invention.
The business activity and information relation table mainly represents input/output information related to business activities. There are three description elements in the table, which are the service activity identifier AID, the information number IID and the information type, respectively. Wherein, in the information type, I indicates that the information is an input of the corresponding business activity, and O indicates that the information is an output of the corresponding business activity.
S102, determining the atomic business activity of the system according to the first business activity composition table of the system, and establishing a relation table of the atomic business activity and the information according to the relation table of the business activity and the information.
Preferably, the format of the atomic business activity and information relation table is the same as the format of the business activity and information relation table.
S103, verifying whether the system service activity information interaction relationship is complete according to the service activity information composition table and the atomic service activity and information relationship table.
Preferably, it is verified whether the system service activity information interaction relationship is complete, that is, it is determined whether all information in the information composition table of the service activity exists in the relationship table of the atomic service activity and information.
And S104, when the system business activity information interaction relationship is complete, generating a de-layering business activity model according to the relation table of the atomic business activity and the information.
Fig. 2 is another flowchart of a method for de-layering a system business activity model according to an embodiment of the present invention. As an embodiment of the present invention, step S102 determines an atomic business activity of the system according to the first business activity composition table of the system, and establishes a relational table of the atomic business activity and the information according to the relational table of the business activity and the information, further including:
s201, obtaining the atomic business activity according to the system first business activity composition table, and modifying the system first business activity composition table according to the obtained atomic business activity to obtain a system second business activity composition table.
Preferably, in step S201, atomic service activities are not distinguished in the system first service activity composition table, and it is default that all service activities are not atomic service activities, that is, a value of each atomic service activity identifier in the system first service activity composition table is 0.
Preferably, the step S201 further includes: sequentially traversing the service activity identifiers of the first service activity composition table of the system, and judging whether the service activity identifiers appear in parent service activity identifiers of the first service activity composition table of the system; if not, the atomic business activity is carried out, and the corresponding atomic business activity identification is modified; otherwise, the operation is not an atomic business activity, and the atomic business activity identification is not modified; and after the traversal is finished, generating a second service activity composition table of the system. The system second business activity composition table distinguishes between atomic business activities and non-atomic business activities.
As a specific embodiment, sequentially traversing each service activity a in the first service activity composition table of the system, and determining whether the service activity identifier AID of the service activity a appears in the parent service activity identifier of the table; if the operation activity A is the next level of operation activity, the operation activity A is not the atomic operation activity; if not, the service activity A is an atomic service activity, and the value of the atomic service activity identification item corresponding to the service activity in the table is changed to 1. And generating a second system service activity composition table after traversing the first system service activity composition table, wherein all service activities with the service activity identification items of 1 in the second system service activity composition table are all atomic service activities.
S202, according to the second service activity composition table of the system and the relationship table of the service activities and the information, obtaining the information interaction relationship among the atomic service activities, and establishing the relationship table of the atomic service activities and the information according to the information interaction relationship among the atomic service activities.
Preferably, step S202 may further include: sequentially traversing the service activity identifiers of the second service activity composition table of the system, and judging whether the service activities corresponding to the service activity identifiers are atomic service activities, namely judging whether the atomic service activity identifiers in the second service activity composition table of the system are 1; if so, finding out the information number and the information type corresponding to the atomic business activity from the relation table of the business activity and the information, and adding the information number and the information type into the relation table of the atomic business activity and the information; otherwise, skipping the service activity, and directly analyzing the next service activity of the second service activity composition table of the system. And after the traversal is finished, obtaining the relation table of the atomic business activity and the information.
As another embodiment of the present invention, step S103 verifies whether the system business activity information interaction relationship is complete according to the information composition table of the business activity and the relationship table of the atomic business activity and information, further comprising:
s301, a first information set INF1 is established according to the information composition table of the business activity, and a second information set INF2 is established according to the relation table of the atomic business activity and the information.
S302, performing a subtraction operation on the first information set INF1 and the second information set INF2 to obtain a result difference set INF, i.e., INF1-INF 2; if the result difference set INF is empty, the system service activity information interaction relationship is complete; otherwise, the interaction relation of the system service activity information is incomplete, and the service activity design data of the system needs to be modified.
In another embodiment of the present invention, in step S104, generating a de-layered business activity model according to the relationship table of atomic business activities and information, further includes:
s401, constructing an information interaction matrix between the atomic business activities according to the relation table of the atomic business activities and the information, and verifying whether the internal information input and output of the information interaction matrix between the atomic business activities are effective or not.
S402, when the internal information input and output are effective, generating a de-layering business activity model according to the information interaction matrix among the atomic business activities.
Preferably, in step S401, an information interaction matrix between atomic business activities is constructed according to the relationship table between atomic business activities and information, and the method further includes:
the rows of the information interaction matrix among the atomic business activities represent the information in the relation table of the atomic business activities and the information, and the columns represent the atomic business activities in a second business activity composition table of the system;
when the information stored in the relation table of the atomic business activities and the information is the input of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set as-1; when the information stored in the relation table of the atomic business activities and the information is the output of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set to be 1; and when the information is not stored in the relation table of the atomic business activities and the information and is the input or output relation of the atomic business activities, setting the element value of the corresponding position of the information interaction matrix between the atomic business activities to be 0.
As a specific embodiment, if the number of information in the relationship table of atomic business activities and information is M, and the number of atomic business activities in the system second business activity composition table is N, then the information interaction matrix D between atomic business activities is an M × N matrix, and an element D in the matrix isijMeans of
Figure BDA0001344258290000091
Wherein, Ii→AjIndicating the presence of an information item I in a relational table of atomic business activities and informationiIs a business activity AjInput of (A)j→IiIndicating the presence of an information item I in a relational table of atomic business activities and informationiIs a business activity AjI and j correspond to element d, respectivelyijThe row and column positions in matrix D.
Preferably, the step S401 of verifying whether the internal information input and output of the information interaction matrix between the atomic business activities is valid further includes:
the information composition table of the business activity comprises an internal information identifier of the information;
judging whether the information is internal information or not according to the internal information identifier of the information;
and when the information is internal information, judging whether the sum of elements of the corresponding rows of the internal information of the information interaction matrix among the atomic service activities is 0, and if the sum is 0, inputting and outputting the internal information of the information interaction matrix among the atomic service activities effectively.
As a specific embodiment, verifying whether the internal information input and output of the information interaction matrix between the atomic business activities is valid includes:
traversing each row in the matrix D in turn, if the information represented by the row corresponds to the internal information in the service activity information composition table, calculating the sum D of all the element values of the row in the matrix Di
Figure BDA0001344258290000092
Wherein d isijAnd representing the value of the corresponding position element in the matrix D.
If for 1. ltoreq. i.ltoreq.M all diIf all the calculation results of (1) are 0, the input and output of the internal information are valid; otherwise, the design data of the system business activity needs to be modified.
As a preferred embodiment, in step S402, generating a de-layered business activity model according to the information interaction matrix between the atomic business activities, further includes:
analyzing and obtaining the interaction dependency relationship among the atomic business activities based on the atomic business activities in the matrix according to the information interaction matrix among the atomic business activities, thereby obtaining the composition structure of the atomic business activities and the information flow relationship among the atomic business activities; and establishing a de-hierarchized business activity model according to the composition structure of the atomic business activities and the information flow relationship among the atomic business activities.
The invention also provides a specific embodiment, wherein the method for de-layering the system business activity model comprises the following steps:
s501, acquiring a service activity design data file of the system, extracting service activity data from the service activity design data file, and establishing a first service activity composition table of the system, an information composition table of service activities and a relation table of service activities and information according to the service activity data.
FIG. 3 is a diagram illustrating the composition of system business activities prior to de-layering in an embodiment of the present invention. In a specific embodiment, the service activity design data file of the system in this embodiment is in an xml file format, and the service activity design data file is parsed to establish a first service activity composition table 1, a service activity information composition table 2, and a service activity and information relationship table 3.
Table 1: first business activity composition table of system
Figure BDA0001344258290000101
Figure BDA0001344258290000111
Table 2: information composition table of business activity
Information numbering Information name Internal information identification
I0001 Information I1 0
I0002 Information I2 0
I0003 Information I3 1
I0004 Information I4 1
I0005 Information I5 1
I0006 Information I6 1
I0007 Information I7 1
I0008 Information I8 1
I0009 Information I9 1
I0010 Information I10 1
I0011 Information I11 1
I0012 Information I12 1
Table 3: relation table of business activity and information
Figure BDA0001344258290000112
Figure BDA0001344258290000121
Step S502, the atomic business activity is obtained according to the system first business activity composition table, and the system first business activity composition table is modified according to the obtained atomic business activity, so as to obtain a system second business activity composition table.
Respectively reading the data of each record from the 1 st record of the first service activity composition table of the system, judging whether the service activity identifier of the service activity appears in the parent service activity identifier of the table, if not, modifying the value of the corresponding atomic service activity identifier to be 1, otherwise, skipping the record, and analyzing the next record until the record is finished. The modified system service activity composition table obtained finally is the system second service activity composition table 4 after distinguishing the atomic service activity.
Table 4: system second business activity composition table
Business activity identification Name of business activity Parent business activity identification Atomic business activity identification
A0001 Business activity A - 0
A0002 Business activity A1 A0001 1
A0003 Business activity A2 A0001 0
A0004 Business activity A3 A0001 0
A0005 Business activity A4 A0001 1
A0006 Business activity A21 A0003 1
A0007 Business activity A22 A0003 1
A0008 Business activity A23 A0003 0
A0009 Business activity A31 A0004 1
A0010 Business activity A32 A0004 1
A0011 Business activity A33 A0004 1
A0012 Business activity A231 A0008 1
A0013 Business activity A232 A0008 1
A0014 Business activity A233 A0008 1
A0015 Business activity A234 A0008 1
Step 503, obtaining the information interaction relationship between the atomic business activities according to the system second business activity composition table and the relationship table of the business activities and the information, and establishing the relationship table of the atomic business activities and the information according to the information interaction relationship between the atomic business activities.
And sequentially taking out each record from the relation table of the business activity and the information, and checking whether the business activity is an atomic business activity or not in a second business activity composition table of the system by taking the business activity identifier in the record as a basis, namely whether the atomic business activity identifier corresponding to the business activity is 1 or not. If yes, adding all the recorded information, including the contents of service activity identification, information number, information type and the like, into a relation table of the atomic service activity and the information; if not, skipping the record and analyzing the next record until all records in the relation table of the business activity and the information are processed. Finally, the relationship table 5 of the atomic business activity and the information can be obtained.
Table 5: relational table of atomic business activity and information
Business activity identification Information numbering Type of information
A0002 I0001 I
A0002 I0003 O
A0005 I0005 I
A0005 I0002 O
A0006 I0003 I
A0006 I0006 O
A0007 I0006 I
A0009 I0004 I
A0009 I0008 O
A0010 I0008 I
A0010 I0009 O
A0011 I0009 I
A0011 I0005 O
A0012 I0007 I
A0012 I0010 O
A0013 I0010 I
A0013 I0011 O
A0014 I0011 I
A0015 I0012 I
A0015 I0004 O
S504, according to the information composition table of the service activity and the relation table of the atomic service activity and the information, whether the information interaction relation of the system service activity is complete is verified. That is, it is determined whether all the information in the information composition table of the business activity is embodied in the relationship table of the atomic business activity and the information.
Reading the information of the business activity to form each record in table 2, adding the information number of each record into the first information set INF1 until the last record of the information of the business activity to form table 2 is finished, and obtaining the first information set INF1 ═ { I0001, I0002, I0003, I0004, I0005, I0006, I0007, I0008, I0009, I0010, I0011, I0012 }.
And reading each record in the atomic business activity and information relation table 5, adding the information number in each record into the second information set INF2 until the last record in the atomic business activity and information relation table 5 is finished, and obtaining an information set INF2 ═ { I0001, I0003, I0005, I0002, I0006, I0004, I0008, I0009, I0007, I0010, I0011, I0012 }.
Comparing the values of INF1 and INF2,
Figure BDA0001344258290000141
it can be seen that, for the system business activity model described in fig. 4, the decomposition of the information interaction relationship between the atomic business activities is complete.
And step S505, constructing an information interaction matrix between the atomic business activities according to the relational table of the atomic business activities and the information.
According to the second service activity composition table of the system, the following steps are known: business activities a1, a4, a21, a22, a31, a32, a33, a231, a232, a233, and a234 are atomic business activities, and as can be seen by atomic business activity to information relationship table 5, information I1 is the input of atomic business activity a1, information I2 is the output of atomic business activity A2 and the input of atomic business activity A2, information I2 is the output of atomic business activity a234 and the input of atomic business activity A2, information I2 is the output of atomic business activity A2 and the input of atomic business activity a231, information I2 is the output of atomic business activity A2 and the input of atomic business activity A2, information I2 is the output of atomic business activity A2 and the input of atomic business activity A2, information I10 is the output of atomic business activity a231 and the input of atomic business activity a232, information I11 is the output of atomic business activity a232 and the input of atomic business activity a233, and information I12 is the output of atomic business activity a232 and the input of atomic business activity a 234. The information interaction matrix D between the atomic service activities is:
Figure BDA0001344258290000142
step S506, verifying whether the internal information input and output of the information interaction matrix between the atomic business activities is valid.
It can be known from the information composition table 2 that the information I3, I4, I5, I6, I7, I8, I9, I10, I11 and I12 are internal information.
Analyzing the matrix D, for the internal information I3, I4, I5, I6, I7, I8, I9, I10, I11 and I12, the sum of the elements corresponding to each row of the matrix D is 0, i.e. for any 3 ≦ I ≦ 12, there is
Figure BDA0001344258290000151
Therefore, the input-output relationship of internal information between the atomic business activities is valid.
And step S507, generating a hierarchical service activity model according to the information interaction matrix among the atomic service activities.
From the above, the atomic business activities of this example include a1, a4, a21, a22, a31, a32, a33, a231, a232, and a233, and the information interaction matrix D between atomic business activities gives information interaction relationships between atomic business activities, so that the generated hierarchical business activity model is as shown in fig. 4.
Fig. 5 is a schematic structural diagram of a de-layering device of a system business activity model according to an embodiment of the present invention. The embodiment of the invention also provides a device for removing hierarchy of the system business activity model, which comprises:
the extraction module 11 is configured to acquire a service activity design data file of a system, extract service activity data from the service activity design data file, and establish a first service activity composition table of the system, an information composition table of service activities, and a relationship table of service activities and information according to the service activity data;
the table building module 12 is configured to determine an atomic service activity of the system according to the first service activity composition table of the system, and build a relationship table between the atomic service activity and the information according to the relationship table between the service activity and the information;
a verification module 13, configured to verify whether the system service activity information interaction relationship is complete according to the information composition table of the service activity and the relationship table of the atomic service activity and information;
and the generating module 14 is configured to generate a hierarchical service activity model according to the relationship table of the atomic service activity and the information.
In summary, the method and apparatus for de-layering a system service activity model according to the present invention analyze and extract information interaction dependency between atomic service activities by using system service activity design data stored in a database, particularly data such as service activity composition of a system, information interaction relationship between service activities, and the like, establish interaction dependency between atomic service activities and information interaction matrix between atomic service activities, automatically analyze and extract element values in the matrix, and accordingly implement automatic de-layering of a complex large-scale information system service activity model; the input of the invention is a formatted system business activity design data file, and the used system business activity design method and the modeling platform have no clear requirements, so the invention has good compatibility and development; the invention can support various system service activity design concepts and modeling methods, can use the design data generated by the newly-modeled method only by simple analysis, and has better expansibility; the de-layering process does not need manual participation, is irrelevant to the knowledge level and experience of designers and analysts, and has scientificity and objectivity in the processing process; the invention converts the de-layering processing process of the system business activity model into simple set operation, logic judgment operation and matrix operation, can be completely realized by an automatic means, can realize the analysis of related data by simple program design as long as providing a data file of the system business activity design, does not need other complex models, and has simpler and more effective calculation process; the invention innovatively provides a layering analysis means of the service activity model of the complex information system by analyzing the hierarchical relationship and the information interaction dependency relationship among the service activities of the system according to the requirement of effective integration of the service activity model of the complex information system, provides a feasible method for realizing the automatic layering processing of the service activity model of the complex large-scale information system, and further provides a basic support for the integration of the service activity model.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. A method for de-layering a system business activity model, comprising:
acquiring a service activity design data file of a system, extracting service activity data from the service activity design data file, and establishing a first service activity composition table of the system, an information composition table of service activities and a relation table of service activities and information according to the service activity data;
determining the atomic business activity of the system according to the first business activity composition table of the system, and establishing a relation table of the atomic business activity and the information according to the relation table of the business activity and the information;
verifying whether the system service activity information interaction relationship is complete according to the information composition table of the service activity and the relationship table of the atomic service activity and the information;
when the system service activity information interaction relationship is complete, generating a de-layering service activity model according to the relationship table of the atomic service activity and the information;
generating a de-layering business activity model according to the relation table of the atomic business activity and the information, wherein the method comprises the following steps: constructing an information interaction matrix between the atomic business activities according to the relation table of the atomic business activities and the information, and verifying whether the internal information input and output of the information interaction matrix between the atomic business activities are effective or not; when the internal information input and output are effective, generating a de-layering business activity model according to the information interaction matrix among the atomic business activities;
constructing an information interaction matrix between the atomic business activities according to the relational table of the atomic business activities and the information, wherein the information interaction matrix comprises the following steps: the rows of the information interaction matrix among the atomic business activities represent the information in the relation table of the atomic business activities and the information, and the columns represent the atomic business activities in a second business activity composition table of the system; when the information stored in the relation table of the atomic business activities and the information is the input of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set as-1; when the information stored in the relation table of the atomic business activities and the information is the output of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set to be 1; and when the information is not stored in the relation table of the atomic business activities and the information and is the input or output relation of the atomic business activities, setting the element value of the corresponding position of the information interaction matrix between the atomic business activities to be 0.
2. The method of claim 1, wherein determining an atomic business activity of a system according to the first business activity composition table of the system, and building a relational table of the atomic business activity and information according to the relational table of the business activity and information comprises:
acquiring the atomic business activity according to the system first business activity composition table, and modifying the system first business activity composition table according to the acquired atomic business activity to acquire a system second business activity composition table;
and acquiring the information interaction relationship among the atomic business activities according to the second business activity composition table of the system and the relationship table of the business activities and the information, and establishing the relationship table of the atomic business activities and the information according to the information interaction relationship among the atomic business activities.
3. The method according to claim 2, wherein the atomic business activity is obtained according to the system first business activity composition table, and the system first business activity composition table is modified according to the obtained atomic business activity to obtain a system second business activity composition table; the method comprises the following steps:
the system comprises a first service activity composition table, a second service activity composition table and a third service activity composition table, wherein the first service activity composition table comprises a service activity identifier, a father service activity identifier and an atomic service activity identifier, and the atomic service activity identifier is marked as not being an atomic service activity by default;
sequentially traversing the service activity identifiers of the first service activity composition table of the system, and judging whether the service activity identifiers appear in the father service activity identifiers of the first service activity composition table of the system; if not, the atomic business activity is carried out, and the corresponding atomic business activity identification is modified; otherwise, the operation is not an atomic business activity, and the atomic business activity identification is not modified;
and after the traversal is finished, generating a second service activity composition table of the system.
4. The method according to claim 3, wherein the step of obtaining the information interaction relationship between the atomic business activities according to the second business activity composition table of the system and the relationship table of the business activities and the information, and establishing the relationship table of the atomic business activities and the information according to the information interaction relationship between the atomic business activities comprises:
the relation table of the business activity and the information comprises a business activity identifier, an information number and an information type, wherein the information type comprises input and output;
sequentially traversing the service activity identifiers of a second service activity composition table of the system, and judging whether the service activities corresponding to the service activity identifiers are atomic service activities; if so, finding out the information number and the information type corresponding to the atomic business activity from the business activity and information relation table, and adding the information number and the information type into the atomic business activity and information relation table; otherwise, directly analyzing the next business activity of the second business activity composition table of the system.
5. The method of claim 2, wherein verifying whether the interaction relationship between the system business activity information is complete according to the information composition table of the business activity and the relationship table of the atomic business activity and information comprises:
establishing a first information set according to the information composition table of the service activities, and establishing a second information set according to the relation table of the atomic service activities and the information;
and carrying out subtraction operation on the first information set and the second information set to obtain a result difference set, wherein if the result difference set is empty, the system service activity information interaction relationship is complete.
6. The method of claim 1, wherein verifying whether the internal information input and output of the information interaction matrix between the atomic business activities is valid comprises:
the information composition table of the business activity comprises an internal information identifier of the information;
judging whether the information is internal information or not according to the internal information identifier of the information;
and when the information is internal information, judging whether the sum of elements of the corresponding rows of the internal information of the information interaction matrix among the atomic service activities is 0, and if the sum is 0, inputting and outputting the internal information of the information interaction matrix among the atomic service activities effectively.
7. The method of claim 1, wherein generating the de-layered business activity model according to the information interaction matrix between the atomic business activities comprises:
obtaining the composition structure of the atomic business activities and the information flow relationship among the atomic business activities according to the information interaction matrix among the atomic business activities; and establishing a de-hierarchized business activity model according to the composition structure of the atomic business activities and the information flow relationship among the atomic business activities.
8. A system business activity model de-layering apparatus, comprising:
the extraction module is used for acquiring a business activity design data file of a system, extracting business activity data from the business activity design data file, and establishing a first business activity composition table of the system, an information composition table of business activities and a relation table of business activities and information according to the business activity data;
the table building module is used for determining the atomic business activity of the system according to the first business activity composition table of the system and building a relational table of the atomic business activity and the information according to the relational table of the business activity and the information;
the verification module is used for verifying whether the system business activity information interaction relationship is complete or not according to the information composition table of the business activity and the relationship table of the atomic business activity and the information;
the generating module is used for generating a de-layering business activity model according to the relation table of the atomic business activity and the information;
generating a de-layering business activity model according to the relation table of the atomic business activity and the information, wherein the method comprises the following steps: constructing an information interaction matrix between the atomic business activities according to the relation table of the atomic business activities and the information, and verifying whether the internal information input and output of the information interaction matrix between the atomic business activities are effective or not; when the internal information input and output are effective, generating a de-layering business activity model according to the information interaction matrix among the atomic business activities;
constructing an information interaction matrix between the atomic business activities according to the relational table of the atomic business activities and the information, wherein the information interaction matrix comprises the following steps: the rows of the information interaction matrix among the atomic business activities represent the information in the relation table of the atomic business activities and the information, and the columns represent the atomic business activities in a second business activity composition table of the system; when the information stored in the relation table of the atomic business activities and the information is the input of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set as-1; when the information stored in the relation table of the atomic business activities and the information is the output of the atomic business activities, the element value of the corresponding position of the information interaction matrix among the atomic business activities is set to be 1; and when the information is not stored in the relation table of the atomic business activities and the information and is the input or output relation of the atomic business activities, setting the element value of the corresponding position of the information interaction matrix between the atomic business activities to be 0.
CN201710550353.2A 2017-07-07 2017-07-07 Method and device for removing hierarchy of system business activity model Active CN107329768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710550353.2A CN107329768B (en) 2017-07-07 2017-07-07 Method and device for removing hierarchy of system business activity model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710550353.2A CN107329768B (en) 2017-07-07 2017-07-07 Method and device for removing hierarchy of system business activity model

Publications (2)

Publication Number Publication Date
CN107329768A CN107329768A (en) 2017-11-07
CN107329768B true CN107329768B (en) 2020-07-24

Family

ID=60196905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710550353.2A Active CN107329768B (en) 2017-07-07 2017-07-07 Method and device for removing hierarchy of system business activity model

Country Status (1)

Country Link
CN (1) CN107329768B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847170A (en) * 2010-04-07 2010-09-29 连志斌 Aided design or verification method and device for system engineering
CN102708224A (en) * 2012-04-10 2012-10-03 中国人民解放军国防科学技术大学 Functional design-based method for automatically analyzing system structure
CN104346393A (en) * 2013-08-02 2015-02-11 克拉玛依红有软件有限责任公司 Building method of atomic data element models
CN104794010A (en) * 2015-04-29 2015-07-22 中国人民解放军国防科学技术大学 Optimization method for information interaction in system
US9606964B1 (en) * 2015-12-30 2017-03-28 International Business Machines Corporation Visual modeller for mathematical optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847170A (en) * 2010-04-07 2010-09-29 连志斌 Aided design or verification method and device for system engineering
CN102708224A (en) * 2012-04-10 2012-10-03 中国人民解放军国防科学技术大学 Functional design-based method for automatically analyzing system structure
CN104346393A (en) * 2013-08-02 2015-02-11 克拉玛依红有软件有限责任公司 Building method of atomic data element models
CN104794010A (en) * 2015-04-29 2015-07-22 中国人民解放军国防科学技术大学 Optimization method for information interaction in system
US9606964B1 (en) * 2015-12-30 2017-03-28 International Business Machines Corporation Visual modeller for mathematical optimization

Also Published As

Publication number Publication date
CN107329768A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
Miehe et al. Sustainable production and the role of digital twins–Basic reflections and perspectives
US10782961B2 (en) Analyzing components related to a software application in a software development environment
US20080249646A1 (en) Method and system for product line management (plm)
CN103226743B (en) Aircraft equipment technology maturity based on TRL assesses information processing method
Karataş et al. Mapping extended feature models to constraint logic programming over finite domains
CN117454492A (en) Electromechanical construction method and system based on BIM technology
Fleming et al. Building Component Library: an online repository to facilitate building energy model creation
CN106354492A (en) Automatic code generation method and system capable of rapidly adjusting transaction process connection
US8230392B2 (en) Determining the reuse value of a service component
Zada et al. Building information modelling (BIM)—Versioning for collaborative design
CN107832279A (en) A kind of method, equipment and computer-readable recording medium for generating form
Alzraiee Cost estimate system using structured query language in BIM
Naderi et al. Civil infrastructure digital twins: Multi-level knowledge map, research gaps, and future directions
Noronha Pinto de Oliveira e Sousa et al. Towards digital twins for heritage buildings: A workflow proposal
US20150363711A1 (en) Device for rapid operational visibility and analytics automation
CN107329768B (en) Method and device for removing hierarchy of system business activity model
WO2024049796A1 (en) Systems and methods for legacy mbse diagram data importation using element specific ml models and schema templates
Fu et al. IFC implementation in lifecycle costing
CN104794010A (en) Optimization method for information interaction in system
Ter Beek et al. Applying the product lines paradigm to the quantitative analysis of collective adaptive systems
Guo et al. Model-driven approach to developing domain functional requirements in software product lines
CN110334055B (en) Method for acquiring material calculation data
Wang et al. Interactive inconsistency fixing in feature modeling
CN107944003A (en) A kind of classic poetry is collected and data analysing method
Du et al. A Non-redundant BIM Sub-model Extraction Method for IFC Files

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