CN106201455B - A kind of system cohesion degree calculation method - Google Patents

A kind of system cohesion degree calculation method Download PDF

Info

Publication number
CN106201455B
CN106201455B CN201610464281.5A CN201610464281A CN106201455B CN 106201455 B CN106201455 B CN 106201455B CN 201610464281 A CN201610464281 A CN 201610464281A CN 106201455 B CN106201455 B CN 106201455B
Authority
CN
China
Prior art keywords
system function
function
cohesion degree
subsystem
allocation list
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
CN201610464281.5A
Other languages
Chinese (zh)
Other versions
CN106201455A (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 CN201610464281.5A priority Critical patent/CN106201455B/en
Publication of CN106201455A publication Critical patent/CN106201455A/en
Application granted granted Critical
Publication of CN106201455B publication Critical patent/CN106201455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of system cohesion degree calculation methods, comprising: simultaneously resolution system design data file is obtained, according to system design data file according to specified format building system function composition table, system function relation table and system function allocation list;The validity of list deciding system function design is formed according to system function allocation list, system function relation table and system function;It carries out system cohesion degree to the system with validity to calculate, according to the cohesion degree of each subsystem in system function composition table, system function relation table and system function allocation list computing system, and according to the overall cohesion degree of the cohesion degree of each subsystem acquisition system.The present invention can provide support to analyse and evaluate the designing quality of information system, provide guidance to improve and improving the design of Complex Information System.

Description

A kind of system cohesion degree calculation method
Technical field
The present invention relates to Information System Engineering fields, particularly, are related to a kind of system cohesion degree calculation method.
Background technique
With the development of information technology and increasingly extensive, the structure of information system and the information system of information system application The function of system also becomes increasingly complex, and how to ensure the quality of Information System Design, and the reasonability for promoting Information System Design is letter Breath system (especially complex large-sized information system) design and develop in a key problem.For objective effectively evaluation information The reasonability of system design, key are to determine evaluation index and its measure.It is each that cohesion degree reflects an internal system The tightness degree of ingredient connection.High cohesion is one of pursuing a goal for system design, and the cohesion degree of system module is higher, more It is readily appreciated that, modifies and safeguards.Therefore, cohesion degree can be used as an important indicator of evaluation system designing quality, it is letter Breath hides and the natural expansion of localization.
The research about cohesion degree is also concentrated mainly on field of software engineering at present, because the target of software development is sought to The cohesion degree of each intermodule of lifting system as far as possible, while reducing the degree of coupling of intermodule.In software system development, especially towards In the program of object, cohesion degree refers to the bond strength between a class or an object built-in attribute and method, can pass through The degree of association in program between each class (or example) internalist methodology accounts for the ratio of the degree of association between entire program technic to carry out It measures.Common method is that relationship between the method for class each in program is converted to a undirected simple graph, should by evaluation The degree of communication of undirected simple graph carrys out the cohesion of software for calculation program.If this figure be it is non-interconnected, illustrate this software Program cohesion is poor, if this figure is complete graph, illustrates that this software program cohesion is most strong, if this figure is connection Fragile, that is, cutting off seldom side can be allowed to not be connected to, then illustrates that the cohesion of this software program is also poor.
But the isomery for being made of elements such as software, hardware, equipment, personnel, for large complicated information system, software Only one of module, therefore concept Yu calculation method in relation to cohesion degree in field of software engineering can not indiscriminately imitate use, it is existing There is cohesion degree calculation method also not ready-made in technology that can provide guidance for the design of Complex Information System.
Aiming at the problem that can instruct and evaluate Complex Information System design without the calculation method of cohesion degree in the prior art, There has been no effective solution schemes at present.
Summary of the invention
In view of this, can be analysis and evaluation it is an object of the invention to propose a kind of system cohesion degree calculation method The designing quality of information system provides support, provides guidance to improve and improving the design of Complex Information System.
Based on above-mentioned purpose, technical solution provided by the invention is as follows:
According to an aspect of the invention, there is provided a kind of system cohesion degree calculation method.
A kind of system cohesion degree calculation method provided according to the present invention includes:
Simultaneously resolution system design data file is obtained, system function is constructed according to specified format according to system design data file Table, system function relation table and system function allocation list can be formed;
List deciding system function design is formed according to system function allocation list, system function relation table and system function Validity;
System cohesion degree is carried out to the system with validity to calculate, and table, system function relationship are formed according to system function The cohesion degree of each subsystem in table and system function allocation list computing system, and system is obtained according to the cohesion degree of each subsystem Overall cohesion degree.
Wherein, table, decision-making system function are formed according to system function allocation list, system function relation table and system function The validity of design includes:
System function redundancy analysis is carried out according to system function allocation list, is configured in decision-making system with the presence or absence of repetition System function;
The analysis of system function completeness, decision-making system function are carried out according to system function allocation list and system function composition table Whether composition table covers all functions of configuring in systems and all system functions have all carried out configuration simultaneously in systems It can be implemented by system;
Table is formed according to system function and system function relation table carries out system function association analysis, decision-making system function Composition table whether cover in system function relationship functional, all system functions have body in system function relationship Now and there is no isolated system functions;
When in system there is no repeat the system function of configuration, system function composition table is covered and all is configured in systems Function, all system functions all carried out configuration in systems and can be by system is implemented, system function form table and cover In system function relationship functional, all system functions have embodiment in system function relationship and there is no isolated When system function, determine that the system function design is effective.
Also, the analysis of system function completeness is carried out according to system function allocation list and system function composition table, determines system System function composition table whether covers all functions of configuring in systems and all system functions all carry out in systems It configures and can include: by system implementation
Table is formed according to system function allocation list and system function, establishes two set SF1 and SF2, wherein SF1 is root According to the system function collection that system function allocation list obtains, SF2 is the system function collection obtained according to system function composition table;
Two set SF1 and SF2 are subjected to set comparison operation, whether equal have been judged whether according to the result of the comparison It is standby, it is that then system function is complete, it is no, then it is incomplete.
Meanwhile table and system function relation table progress system function association analysis are formed according to system function, determine system System function composition table whether cover in system function relationship functional, all system functions in system function relationship There is embodiment and isolated system function is not present and includes:
Table and system function relation table are formed according to service system function, establishes two set SF3 and SF4, wherein SF3 It is the system function collection obtained according to system function composition table, SF4 is the system function collection obtained according to system function relation table.
Two set SF3 and SF4 are subjected to set comparison operation, whether equal judge whether to meet according to the result of the comparison Relevance requirement, if equal, simultaneously there is isolated system function in relevant property between each function of system, otherwise, onrelevant.
In addition, being formed according to system function each in table, system function relation table and system function allocation list computing system The cohesion degree of subsystem, and include: according to the overall cohesion degree that the cohesion degree of each subsystem obtains system
Table, system function relation table and system function allocation list, respectively each subsystem structure are formed according to system function Making contributions can relational matrix;
The cohesion degree of each subsystem is calculated separately according to the corresponding functional relationship matrix of each subsystem;
According to the cohesion degree of the comprehensive acquisition system entirety of each subsystem cohesion degree.
Also, table, system function relation table and system function allocation list, respectively each subsystem are formed according to system function System constructing function relational matrix include:
Construct N number of corresponding functional relationship matrix, wherein N is the record number in system function allocation list;
For kth item record (1≤k≤N) in system function allocation list, according in system function allocation list kth item record System function { the f of subsystem k configurationm1,…,fms, then corresponding functional relationship matrix D(k)Dimension be s, functional relationship square Battle array D(k)Each elementAre as follows:
Wherein, s is the number of system function, fmi→fmjIndicate that in system function relation table be f there are source functionmiAnd Purpose function is fmjRecord.
Also, the cohesion degree of each subsystem is calculated separately, according to the corresponding functional relationship matrix of each subsystem to judge function It can relational matrix D(k)Dimension s whether be greater than 1: if s be not more than 1, the cohesion degree C of the subsystem(k)=1;Otherwise
It also, is the cohesion degree of system entirety according to the cohesion degree of the comprehensive acquisition system entirety of each subsystem cohesion degree
From the above it can be seen that technical solution provided by the invention is set by using the system saved in the database It counts, especially the data such as the function composition of system, system function relationship and system function configuration, constructs each subsystem respectively The functional relationship matrix of system, and the cohesion degree of system is calculated accordingly, it can be the designing quality of analysis and evaluation information system It provides and supports, provide guidance to improve and being promoted the design of Complex Information System.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart according to a kind of system cohesion degree calculation method of the embodiment of the present invention;
Fig. 2 is according in a kind of system cohesion degree calculation method of the embodiment of the present invention, and decision-making system Functional Design is effective The flow chart of property;
Fig. 3 be according in a kind of system cohesion degree calculation method of the embodiment of the present invention, constructing function relational matrix and The flow chart of computing system entirety cohesion degree;
Fig. 4 is the structure of one embodiment system according in a kind of system cohesion degree calculation method of the embodiment of the present invention Figure;
Fig. 5 is a kind of system function of the embodiment according in a kind of system cohesion degree calculation method of the embodiment of the present invention The schematic diagram of data interaction relationship between energy;
Fig. 6 is another system of the embodiment according in a kind of system cohesion degree calculation method of the embodiment of the present invention The schematic diagram of data interaction relationship between function.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction in the embodiment of the present invention Attached drawing, technical solution in the embodiment of the present invention further progress understands, completely, describe in detail, it is clear that it is described Embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field Those of ordinary skill's every other embodiment obtained, shall fall within the protection scope of the present invention.
According to one embodiment of present invention, a kind of system cohesion degree calculation method is provided.
As shown in Figure 1, the system cohesion degree calculation method provided according to embodiments of the present invention includes:
Step S101 obtains simultaneously resolution system design data file, according to system design data file according to specified format Construct system function composition table, system function relation table and system function allocation list;
Step S102 forms list deciding system according to system function allocation list, system function relation table and system function The validity of Functional Design;
Step S103, carries out system cohesion degree to the system with validity and calculates, and forms table, system according to system function The cohesion degree of each subsystem in functional relationship table and system function allocation list computing system, and according to the cohesion degree of each subsystem The overall cohesion degree of acquisition system.
As shown in Fig. 2, forming table according to system function allocation list, system function relation table and system function, system is determined System Functional Design validity include:
Step S201 carries out system function redundancy analysis according to system function allocation list, whether there is in decision-making system Repeat the system function of configuration;
Step S202 carries out the analysis of system function completeness according to system function allocation list and system function composition table, sentences Determine system function composition table whether cover all functions of configuring in systems and all system functions all in systems into It has gone and has configured and can be implemented by system;
Step S203 forms table according to system function and system function relation table carries out system function association analysis, sentences Determine system function composition table whether cover in system function relationship functional, all system functions system function close There is embodiment in system and there is no isolated system functions;
When in system there is no repeat the system function of configuration, system function composition table is covered and all is configured in systems Function, all system functions all carried out configuration in systems and can be by system is implemented, system function form table and cover In system function relationship functional, all system functions have embodiment in system function relationship and there is no isolated When system function, determine that the system function design is effective.
Also, the analysis of system function completeness is carried out according to system function allocation list and system function composition table, determines system System function composition table whether covers all functions of configuring in systems and all system functions all carry out in systems It configures and can include: by system implementation
Table is formed according to system function allocation list and system function, establishes two set SF1 and SF2, wherein SF1 is root According to the system function collection that system function allocation list obtains, SF2 is the system function collection obtained according to system function composition table;
Two set SF1 and SF2 are subjected to set comparison operation, whether equal have been judged whether according to the result of the comparison It is standby, it is that then system function is complete, it is no, then it is incomplete.
Meanwhile table and system function relation table are formed according to system function, system function association analysis is carried out to system, Decision-making system function composition table whether cover in system function relationship functional, all system functions in system function There is embodiment in relationship and isolated system function is not present and includes:
Table and system function relation table are formed according to service system function, establishes two set SF3 and SF4, wherein SF3 It is the system function collection obtained according to system function composition table, SF4 is the system function collection obtained according to system function relation table.
Two set SF3 and SF4 are subjected to set comparison operation, whether equal judge whether to meet according to the result of the comparison Relevance requirement, if equal, simultaneously there is isolated system function in relevant property between each function of system, otherwise, onrelevant.
As shown in figure 3, forming table, system function relation table and system function allocation list computing system according to system function In each subsystem cohesion degree, and according to the cohesion degree of each subsystem obtain system overall cohesion degree include:
Step S301 forms table, system function relation table and system function allocation list according to system function, respectively respectively Subsystem constructing function relational matrix;
Step S302 calculates separately the cohesion degree of each subsystem according to the corresponding functional relationship matrix of each subsystem;
Step S303, according to the cohesion degree of the comprehensive acquisition system entirety of each subsystem cohesion degree.
Also, table, system function relation table and system function allocation list, respectively each subsystem are formed according to system function System constructing function relational matrix include:
Construct N number of corresponding functional relationship matrix, wherein N is the record number in system function allocation list;
For kth item record (1≤k≤N) in system function allocation list, according in system function allocation list kth item record System function { the f of subsystem k configurationm1,…,fms, then corresponding functional relationship matrix D(k)Dimension be s, functional relationship square Battle array D(k)Each elementAre as follows:
Wherein, s is the number of system function, fmi→fmjIndicate that in system function relation table be f there are source functionmiAnd Purpose function is fmjRecord.
Also, the cohesion degree of each subsystem, arbitration functions are calculated separately according to the corresponding functional relationship matrix of each subsystem Relational matrix D(k)Dimension s whether be greater than 1: if s be not more than 1, the cohesion degree C of the subsystem(k)=1;Otherwise
It also, is the cohesion degree of system entirety according to the cohesion degree of the comprehensive acquisition system entirety of each subsystem cohesion degree
Below according to the specific embodiment technical solution that the present invention is further explained.
Step 1: resolution system design data constructs data table related.
With system design data file for input of the invention, simultaneously resolution system design data file is read, according to fixation Format constructs system function and forms table, system function relation table and system function allocation list.
System function composition table mainly shows all system functions included by the system.There are two descriptions to want in the table Element is function number (FID) and function title respectively.
System function relation table mainly shows the data interaction relationship between each system function.There are four descriptions to want in the table Element is functional relationship number (FRID), functional relationship title, source function number and purpose function number respectively.Wherein, source function The number for indicating functional relationship starting function can be numbered, purpose function number indicates the number of the functional relationship purpose function.
Which system function each subsystem of the main representation system of system function allocation list has been respectively configured.Have three in the table A description element is the function collection number of System Number (SID), systematic name and system configuration respectively.Wherein, system configuration Function collection number in have recorded for the subsystem configuration all system functions number set.
In the present embodiment, the structure composition of system S and system function relationship difference are as shown in Figure 4 and Figure 5, design knot Fruit parses the design document with the input of xml document format, generates system function and forms table 1, system function relation table 2 and is System functional configuration table 3.
Table 1: system function forms table
Table 2: system function relation table
Table 3: system function allocation list
Step 2: table, decision-making system function are formed according to system function allocation list, system function relation table and system function The validity that can be designed.
As shown in Fig. 2, the step of system function design efficiency analysis, is as follows:
Step 201, according to system function allocation list, system function redundancy analysis is carried out.
Successively each record in Ergodic Theory functional configuration table, according to the function collection number of system configuration in the record Value constructs corresponding configuration feature collection F for each subsystem respectivelyi。FiInitial value be empty set.Successively Ergodic Theory functional configuration The corresponding system function number of system configuration features collection field in table is added to corresponding function collection F by every record in tablei In, until having traversed the last item record of system function allocation list.
According to table 3, can obtain: F1={ F0001, F0005, F0008 }, F2={ F0002 }, F3={ F0007, F0009 }, F4 ={ F0003, F0004, F0006, F0010 }.
Whether more different configuration feature collection two-by-two judges intersection that every two configuration feature integrates as empty set.If institute Comparison result be all empty set, then be not present duplicate system function.Otherwise, there are redundancies, need to reconfigure system function Energy.By analysis it is found that any two intersection of sets integrates all as empty set in above four set, therefore the present embodiment is come It says, there is no the system functions for repeating configuration in system function allocation list.
Step 202, table is formed according to system function allocation list and system function, carries out the analysis of system function completeness.
According to system function allocation list, system function set SF1 is constructed, the initial value of SF1 is empty set.Successively Ergodic Theory The corresponding system function number of the function collection number field of system configuration in table is added to by every record in functional configuration table In function collection SF1, until having traversed the last item record of system function allocation list.To obtain final system function collection SF1。
According to table 3, can obtain:
SF1={ F0001, F0005, F0008, F0002, F0007, F0009, F0003, F0004, F0006, F0010 }
Table is formed according to system function, constructs system function set SF2, the initial value of SF2 is empty set.Successively Ergodic Theory Function forms every record in table, the function number that every records is added in function collection SF2, until having traversed system function The last item record of table can be formed.To obtain final system function collection SF2.
According to table 1, can obtain:
SF2={ F0001, F0002, F0003, F0004, F0005, F0006, F0007, F0008, F0009, F0010 }
Two set SF1 and SF2 are compared operation, obtain result RES, i.e. RES=(SF1=SF2).
If RES is really to talk about, system function is complete, otherwise, incomplete, need to remodify the design number of system function According to.
Compare SF1 and SF2, it is known that SF1 is equal to SF2, therefore for the present embodiment, the configuration of system function is complete 's.
Step 203, table and system function relation table are formed according to system function, carries out system function association analysis.
Table is formed according to system function, constructs system function set SF3, the initial value of SF3 is empty set.Successively Ergodic Theory Function forms every record in table, function number in every record is added in function collection SF3, until having traversed system function The last item record of table can be formed.To obtain final system function collection SF3.
According to table 1, can obtain:
SF3={ F0001, F0002, F0003, F0004, F0005, F0006, F0007, F0008, F0009, F0010 }
According to system function relation table, system function set SF4 is constructed, the initial value of SF4 is empty set.Successively Ergodic Theory Every record in functional relationship table, by source function number in table and the corresponding field of purpose function number into function collection SF4, It needs first to judge during addition whether containing the function number in set SF4, if it is not, the function number is added Set SF4, otherwise, the number is directly skipped, until having traversed the last item record of system function relation table.To To final system function collection SF4.
According to table 2, can obtain:
SF4={ F0001, F0002, F0005, F0008, F0007, F0009, F0004, F0003, F0010, F0006 }
Two set SF3 and SF4 are compared operation, obtain result RES, i.e. RES=(SF3=SF4).
If RES is really to talk about, system meets relevance requirement, and otherwise, there are isolated system functions, need to repair again Change the configuration data of system function.
Compare SF3 and SF4, it is known that SF3 is equal to SF4, therefore for the present embodiment, system function is to meet relevance It is required that.
Step 3: table, system function relation table and system function allocation list being formed according to system function and calculate each subsystem Cohesion degree, and the overall cohesion degree of computing system accordingly.
As shown in figure 3, each subsystem function relational matrix and system totality cohesion degree are as follows the step of calculating:
Step 301, the system function relational matrix of each subsystem is constructed.
The system function relational matrix of each subsystem embodies the data between the system function configured by each subsystem Interactive relation.Table, system function relation table and system function allocation list, respectively each subsystem structure are formed according to system function Making contributions can relational matrix.If the number of data record is N number of in system function allocation list, then needs to construct N number of system function and close It is matrix D, the initial value of each D is empty matrix.
Without loss of generality, by taking the K articles record in system function allocation list as an example, illustrate system function relational matrix D(k)'s Construction method.If the function of the corresponding system configuration of this record integrates system function number recorded in number field as s It is a, and the number of these system functions is { FIDm1,…,FIDms, then D(k)Dimension be s, and each element in matrixContain Justice
Wherein, FIDmi→FIDmjIndicate that there are data exchanges between corresponding system function in system function relation table, it should Emic source function is FIDmiAnd purpose function is FIDmj
Corresponding functional relationship matrix D is constructed respectively to every record in the table according to system function allocation list(i)。D(i)Initial value be empty matrix.Successively every record in Ergodic Theory functional configuration table, with the function collection of system configuration in table Dimension of the number of the corresponding system function number of number field as functional relationship matrix.Without loss of generality, with system function It being illustrated for first record in allocation list, the number of the number of the system function as corresponding to the record is 3, Functional relationship matrix D(1)Dimension be 3, and with system function F0001, the relationship between F0005, F0008 constructs the matrix:
Wherein, since the source function of functional relationship 2 is F0001 in functional relationship table and purpose function is F0005,The source function of functional relationship 3 is F0005 in functional relationship table and purpose function is F0008, thereforeIn function The source function of functional relationship 5 is F0001 in energy relation table and purpose function is F0008, thereforeAnd D(1)In remaining element Value be all 0.
Similarly, it can calculate:
D(2)=(0),
Step 302, according to functional relationship matrix, the cohesion degree of each subsystem is calculated.
The corresponding system function relational matrix of each subsystem is successively traversed, corresponding data is extracted, calculates separately out each son The cohesion degree C of system.The initial value of C is 0.
According to above-mentioned it is assumed that sharing N number of system function relational matrix.Without loss of generality, with k-th of functional relationship matrix D(k)For, illustrate the calculation method of subsystem cohesion degree.
The dimension of the functional relationship matrix is s, first analyses whether to meet s greater than 1, if not satisfied, then directly enabling the subsystem The cohesion degree C of system(k)=1 (this shows that the subsystem is only configured with a system function, for only having the subsystem of simple function It for system, combines closely certainly, therefore 1) its cohesion degree is;Otherwise the cohesion degree C of the subsystem is calculated as follows(k):
Wherein,For matrix D(k)The value of middle each element.
Successively traverse functional relationship matrix D corresponding to each subsystem(i), calculate the cohesion degree C of each subsystem(k)。C(k)'s Initial value is 0.For the functional relationship matrix D of subsystem 1(1)For, dimension 3, thereforeFor the functional relationship matrix D of subsystem 2(2)For, dimension 1, therefore C(2)=1;For the functional relationship matrix D of subsystem 3(3)For, dimension 2, thereforeFor the functional relationship matrix D of subsystem 4(4)For, dimension 4, therefore
Step 303, based on the cohesion degree of each subsystem, the cohesion degree of computing system entirety.
On the basis of subsystem cohesion degree, the comprehensive cohesion degree C for obtaining system totality.The initial value of C is 0.
According to above-mentioned it is assumed that the cohesion degree of N number of subsystem is respectively C(k)(1≤k≤N), then system totality cohesion degree C Calculation method is:
I.e. system totality cohesion degree be each subsystem cohesion degree arithmetic mean of instantaneous value.
Due to C(1)=0.5, C(2)=1, C(3)=1 and C(4)=5/12, therefore the cohesion degree C of system entirety are as follows:
Fig. 6 shows the data interaction relational graph in the present embodiment between another system function, compares Fig. 5 and Fig. 6 It is found that the function composition of system and the functional configuration of system do not change, but the system function interactive relation in Fig. 6 The system function interactive relation of each subsystem internal, final result table are reduced less than the system function interactive relation in Fig. 5 The bright system cohesion degree calculated based on Fig. 6 is again smaller than the system cohesion degree calculated based on Fig. 5.
In conclusion by means of above-mentioned technical proposal of the invention, by using system design data, to system function Between composition, system function configuration and system function on the basis of data interaction relationship analysis, with relative program, automation Analysis construct the system function relational matrix of each subsystem, and calculate accordingly each subsystem cohesion degree and system it is overall Cohesion degree.This calculation method can to system carry out structure design while quickly, accurately and efficiently calculate system Cohesion degree, and the calculation method of this system cohesion degree meets that nonnegativity, monotonicity, regional computer (i.e. the value of cohesion degree is arrived 0 Between 1) and subsystem merge after cohesion angle value do not increase the characteristic requirements of equicohesive degree, be that a kind of effective cohesion degree is measured Means, this also provides a kind of effective analysis means to measure and evaluating the cohesion degree of Complex Information System, to improve and mentioning The designing quality for rising information system provides support, meets the design requirement of Complex Information System.
It should be understood by those ordinary skilled in the art that: the above is only a specific embodiment of the present invention, and It is not used in the limitation present invention, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done, It should be included within protection scope of the present invention.

Claims (8)

1. a kind of system cohesion degree calculation method characterized by comprising
Simultaneously resolution system design data file is obtained, system function is constructed according to specified format according to the system design data file Table, system function relation table and system function allocation list can be formed;
System function redundancy analysis is carried out to system according to the system function allocation list, according to the system function allocation list The analysis of system function completeness is carried out with system function composition table, table is formed according to the system function and the system function is closed It is that table carries out system function association analysis, when there is no the system function for repeating to configure, system function composition tables to contain in system Covered all functions of configuring in systems, all system functions all carried out in systems configuration and can by system implementation, System function table composition cover in system function table functional, all system functions have body in system function relationship Now and there is no when isolated system function, determine that the system function design is effective;
System cohesion degree is carried out to the system with validity to calculate, and table, system function relationship are formed according to the system function The cohesion degree of each subsystem in table and system function allocation list computing system, and obtained according to the cohesion degree of each subsystem The overall cohesion degree of system.
2. the method according to claim 1, wherein described carry out system according to the system function allocation list System function redundancy analysis carries out system function completeness point according to the system function allocation list and system function composition table Analysis forms table according to the system function and the system function relation table carries out system function association analysis, when in system There is no repeat the system function of configuration, system function composition table covers all functions of configuring in systems, all is System function has all carried out configuration in systems and can form the institute covered in system function table by system implementation, system function table Functional, all system functions have embodiment in system function relationship and there is no when isolated system functions, determine that this is Functional Design of uniting is effective, comprising:
System function redundancy analysis is carried out to system according to the system function allocation list, whether there is in decision-making system and repeat The system function of configuration;
The analysis of system function completeness, decision-making system function are carried out according to the system function allocation list and system function composition table Whether composition table covers all functions of configuring in systems and all system functions have all carried out configuration simultaneously in systems It can be implemented by system;
Table is formed according to the system function and system function relation table carries out system function association analysis, decision-making system function Composition table whether cover in system function relationship functional, all system functions have body in system function relationship Now and there is no isolated system functions;
When there is no the system function for repeating to configure, system function composition tables to cover all function configured in systems in system Energy, all system functions have all carried out configuration in systems and can have been formed table by system implementation, system function and be covered system In functional relationship functional, all system functions have embodiment in system function relationship and there is no isolated systems When function, determine that the system function design is effective.
3. according to the method described in claim 2, it is characterized in that, being formed according to the system function allocation list and system function Table carry out the analysis of system function completeness, decision-making system function composition table whether cover all functions of configuring in systems, And all system functions have all carried out configuration in systems and can include: by system implementation
Table is formed according to the system function allocation list and system function, establishes two set SF1 and SF2, wherein the SF1 It is the system function collection obtained according to the system function allocation list, the SF2 is obtained according to the system function composition table System function collection;
Two set SF1 and SF2 are subjected to set comparison operation, according to the result of the comparison whether it is equal judge whether complete, be, Then system function is complete, no, then incomplete.
4. according to the method described in claim 2, it is characterized in that, forming table and system function relationship according to the system function Table carries out system function association analysis, and it is active whether decision-making system function composition table covers the institute in system function relationship Energy, all system functions have embodiment in system function relationship and isolated system function are not present
Table and system function relation table are formed according to the service system function, establishes two set SF3 and SF4, wherein described SF3 is the system function collection obtained according to the system function composition table, and the SF4 is obtained according to the system function relation table The system function collection arrived;
Two set SF3 and SF4 are subjected to set comparison operation, according to the result of the comparison whether it is equal judge whether meet association Property require, if equal, simultaneously there is isolated system function in relevant property between each function of system, otherwise, onrelevant.
5. the method according to claim 1, wherein forming table, system function relationship according to the system function The cohesion degree of each subsystem in table and system function allocation list computing system, and obtained according to the cohesion degree of each subsystem The overall cohesion degree of system includes:
Table, system function relation table and system function allocation list, respectively described each subsystem are formed according to the system function System constructing function relational matrix;
The cohesion degree of each subsystem is calculated separately according to the corresponding functional relationship matrix of each subsystem;
According to the cohesion degree of the comprehensive acquisition system entirety of each subsystem cohesion degree.
6. according to the method described in claim 5, it is characterized in that, forming table, system function relationship according to the system function Table and system function allocation list, respectively described each subsystem constructing function relational matrix include:
Construct N number of corresponding functional relationship matrix, wherein N is the record number in the system function allocation list;
For kth item record (1≤k≤N) in the system function allocation list, remembered according to the system function allocation list kth item System function { the f that subsystem k is configured in recordm1,L,fms, then corresponding functional relationship matrix D(k)Dimension be s, the function Relational matrix D(k)Each elementAre as follows:
Wherein, s is the number of system function,fmi→fmjIndicate that in system function relation table be f there are source functionmiAnd purpose function Can befmjRecord.
7. according to the method described in claim 6, it is characterized in that, according to the corresponding functional relationship matrix point of each subsystem The cohesion degree of each subsystem is not calculated, is arbitration functions relational matrix D(k)Dimension s whether be greater than 1: if s be not more than 1, The then cohesion degree C of the subsystem(k)=1;Otherwise
8. the method according to the description of claim 7 is characterized in that whole according to the comprehensive acquisition system of each subsystem cohesion degree The cohesion degree of body is the cohesion degree of system entirety
CN201610464281.5A 2016-06-23 2016-06-23 A kind of system cohesion degree calculation method Active CN106201455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610464281.5A CN106201455B (en) 2016-06-23 2016-06-23 A kind of system cohesion degree calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610464281.5A CN106201455B (en) 2016-06-23 2016-06-23 A kind of system cohesion degree calculation method

Publications (2)

Publication Number Publication Date
CN106201455A CN106201455A (en) 2016-12-07
CN106201455B true CN106201455B (en) 2019-05-17

Family

ID=57460886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610464281.5A Active CN106201455B (en) 2016-06-23 2016-06-23 A kind of system cohesion degree calculation method

Country Status (1)

Country Link
CN (1) CN106201455B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687812B (en) * 2021-08-25 2022-09-09 中国人民解放军国防科技大学 Information system architecture construction method, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793230A (en) * 2014-02-18 2014-05-14 河海大学 Method for measuring class cohesion orientated to object software system
CN104133766A (en) * 2014-07-11 2014-11-05 西安交通大学 Software system maintainability evaluation and promotion method based on multi-objective community detection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793230A (en) * 2014-02-18 2014-05-14 河海大学 Method for measuring class cohesion orientated to object software system
CN104133766A (en) * 2014-07-11 2014-11-05 西安交通大学 Software system maintainability evaluation and promotion method based on multi-objective community detection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于结构熵的类内聚度度量方法;郁湧等;《系统工程与电子技术》;20090331;702-704
信息系统体系结构设计中系统内聚度分析方法;罗爱民;《国防科技大学学报》;20101015;118-122

Also Published As

Publication number Publication date
CN106201455A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN105260534B (en) Regression test case maintaining method and system for ultra-large chip checking
CN105138461A (en) Interface testing method and device for application program
CN103336792B (en) Data partition method and device
CN102467684A (en) System and method for evaluating comprehensive performance based on improved radar chart
CN106209974B (en) A kind of method of data synchronization, equipment and system
CN104636484A (en) Monitoring task generating method and device based on data monitoring
CN102222121A (en) Finite element modeling method for modal simulation
CN109799948A (en) A kind of date storage method and device
CN106201455B (en) A kind of system cohesion degree calculation method
CN101242616A (en) Intelligent making method and system for office data
Khan et al. A new conical regularization for some optimization and optimal control problems: convergence analysis and finite element discretization
CN106156530A (en) Health check-up data analysing method based on stack own coding device and device
CN108874871A (en) Real-time PNT service data source tracing method and device
CN105183624A (en) Data matching based simulation playback method
CN107809345B (en) Gateway data checking tool, method and device for checking gateway data
CN112235358A (en) Data acquisition method and device, electronic equipment and computer readable storage medium
JP5199948B2 (en) Database management method, database apparatus, and program
CN104281584A (en) XML database performance testing system and method
WO2013102260A1 (en) Feedback based model validation and service delivery optimization using multiple models
CN111177508A (en) Spreading index query method and device for specified news topic and storage medium
CN104950696A (en) System and method for converting control logic design data into control logic simulation verification platform files
CN104508656B (en) Document automation in distributed computing system replicates
CN109726370A (en) A kind of configurable verification rule packaging method and device
CN108009082B (en) Flight management-based combined test case generation method
CN106294104B (en) Test case execution method and mobile terminal

Legal Events

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