Importance calculation method, system, device and storage medium based on information interaction
By constructing an activity information mapping matrix, calculating the importance of business activities, the problem of difficulty in judging the importance of business activities of complex information systems in the existing technology is solved, automated calculations and optimization adjustments are realized, and the scientificity and accuracy of the judgment are improved.
Patent Information
- Application Number
- CN202111516882.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2041-12-13
AI Technical Summary
The existing technology lacks scientific and effective methods to judge and adjust the importance of business activities in complex information systems, making it difficult for manual judgments to ensure the effectiveness and correctness of results.
By establishing a business activity composition table, a business information composition table and an activity information relationship table, a activity information mapping matrix is constructed, matrix element values are extracted, and the importance of business activities is calculated, so as to realize the importance of business activities based on information interaction.
It realizes automated calculation of the importance of business activities of complex large-scale information systems, reduces the complexity and cost of adjustment, and provides scientific and objective support for the adjustment and optimization of business activities.
Smart Images

Figure CN114139508B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a method, system, device and storage medium for calculating importance based on information interaction. Background Art
[0002] With the development of information technology and the rapid changes in business needs, information systems are becoming more and more complex, and the importance of information systems is also increasing. Information systems achieve their business goals through the execution of business activities. At the same time, there may be complex information interactions between various business activities. Therefore, the design of business activities and the interaction between business activities is a key link in the design of information systems. However, the designed business activities are not static, and they may need to be adjusted accordingly as business goals change. When adjusting business activities, we always hope to achieve the adjustment goals at the lowest cost, while minimizing the impact on the current business process. This requires identifying the importance of business activities from the perspective of information interaction, minimizing the adjustment of business activities with more mutual interactions, and thus reducing the complexity and cost of adjustments.
[0003] At present, there is no particularly scientific and effective method for judging the importance of business activities. It still mainly relies on people's common sense and subjective judgment. However, this judgment method is relatively effective for information systems with a small number of business activities and relatively simple interactive relationships. However, with the continuous increase in the number of business activities and the continuous growth of information interactive relationships, it is difficult to effectively cope with it by relying on manual judgment, and it is also difficult to ensure the effectiveness and correctness of the judgment results. Summary of the invention
[0004] Based on this, it is necessary to provide a method, system, device and storage medium for calculating importance based on information interaction in order to address the above technical issues.
[0005] In a first aspect, an embodiment of the present invention provides a method for calculating importance based on information interaction, the method comprising:
[0006] Establish business activity composition table, business information composition table and activity information relationship table based on business activity data;
[0007] Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0008] After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table;
[0009] The element values in the activity information mapping matrix are extracted, and the importance of the business activity is calculated according to the element values, thereby completing the calculation of the importance of the business activity based on information interaction.
[0010] Further, the verifying whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table includes:
[0011] Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0012] When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table;
[0013] Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0014] When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
[0015] Furthermore, after determining that an information interaction relationship occurs between each business activity, an activity information mapping matrix is constructed according to the activity information relationship table, including:
[0016] All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the element d in the activity information mapping matrix is mapped to ij =1;
[0017] If the information item is both the output of business activity i and the input of business activity j, the element d in the activity information mapping matrix ij = -1;
[0018] After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0019] Further, extracting the element values in the activity information mapping matrix, calculating the importance of the business activity according to the element values, and completing the importance calculation of the business activity based on information interaction, includes:
[0020] Map the activity information to the element d in the matrix ij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0021] Map the activity information to the element d in the matrix ij= -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0022] The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
[0023] On the other hand, an embodiment of the present invention further provides an importance calculation system based on information interaction, comprising:
[0024] A data construction module is used to establish a business activity composition table, a business information composition table and an activity information relationship table according to business activity data;
[0025] An information verification module, used to verify whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0026] A mapping matrix module is used to construct an activity information mapping matrix according to the activity information relationship table after determining that an information interaction relationship occurs between each business activity;
[0027] The importance calculation module is used to extract the element values in the activity information mapping matrix, calculate the importance of the business activity according to the element values, and complete the importance calculation of the business activity based on information interaction.
[0028] Furthermore, the information verification module includes a completeness confirmation unit, and the completeness confirmation unit is used to:
[0029] Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0030] When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table;
[0031] Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0032] When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
[0033] Furthermore, the mapping matrix module includes an information item filling unit, and the information item filling unit is used to:
[0034] All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the element d in the activity information mapping matrix is mapped to ij =1;
[0035] If the information item is both the output of business activity i and the input of business activity j, the element d in the activity information mapping matrix ij = -1;
[0036] After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0037] Furthermore, the importance calculation module includes an activity association unit, and the activity association unit is used to:
[0038] Map the activity information to the element d in the matrix ij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0039] Map the activity information to the element d in the matrix ij = -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0040] The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
[0041] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0042] Establish business activity composition table, business information composition table and activity information relationship table based on business activity data;
[0043] Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0044] After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table;
[0045] The element values in the activity information mapping matrix are extracted, and the importance of the business activity is calculated according to the element values, thereby completing the calculation of the importance of the business activity based on information interaction.
[0046] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0047] Establish business activity composition table, business information composition table and activity information relationship table based on business activity data;
[0048] Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0049] After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table;
[0050] The element values in the activity information mapping matrix are extracted, and the importance of the business activity is calculated according to the element values, thereby completing the calculation of the importance of the business activity based on information interaction.
[0051] The above-mentioned importance calculation method, system, device and storage medium based on information interaction, the method includes: establishing a business activity composition table, a business information composition table and an activity information relationship table according to business activity data; verifying whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table; after judging that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table; extracting the element value in the activity information mapping matrix, calculating the importance of the business activity according to the element value, and completing the importance calculation of the business activity based on information interaction. The embodiment of the present invention can utilize the system business activity design data stored in the database, especially the system's business activity composition, the information relationship composition of the business activity, the relationship between the business activity and the information, etc., to analyze and extract the activity information mapping matrix of the business activity and the information, automatically analyze and extract the element value in the matrix, and realize the automatic calculation of the importance of the business activities of the complex large-scale information system based on this, and provide basic support for the adjustment and optimization of business activities. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 is a flow chart of a method for calculating importance based on information interaction in one embodiment;
[0053] Figure 2 A schematic diagram of a process for verifying whether the information interaction relationship of a business activity is complete in one embodiment;
[0054] Figure 3 A schematic diagram of a process of constructing an activity information mapping matrix in one embodiment;
[0055] Figure 4A schematic diagram of a process for calculating the specific importance of a business activity in one embodiment;
[0056] Figure 5 is a structural block diagram of an importance calculation system based on information interaction in one embodiment;
[0057] Figure 6 is an internal structure diagram of a computer device in one embodiment;
[0058] Figure 7 A network diagram corresponding to a business activity model in an embodiment;
[0059] Figure 8 Schematic diagram of an activity information mapping matrix in one embodiment. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] In one embodiment, Figure 1 As shown, a method for calculating importance based on information interaction is provided, the method comprising:
[0062] Step 101, establishing a business activity composition table, a business information composition table and an activity information relationship table according to the business activity data;
[0063] Step 102, verifying whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0064] Step 103, after determining that an information interaction relationship occurs between each business activity, construct an activity information mapping matrix according to the activity information relationship table;
[0065] Step 104: extract element values in the activity information mapping matrix, calculate the importance of the business activity according to the element values, and complete the calculation of the importance of the business activity based on information interaction.
[0066] Specifically, the activity information relationship table in this embodiment is a relationship table between business activities and information. The embodiment of the present invention can utilize the system business activity design data stored in the database, especially the system's business activity composition, the information relationship composition of business activities, the relationship between business activities and information, and other data to analyze and extract the activity information mapping matrix of business activities and information, automatically analyze and extract the element values in the matrix, and based on this, realize the automatic calculation of the importance of business activities of complex large-scale information systems, thereby providing basic support for the adjustment and optimization of business activities. In addition, the input of this embodiment is a formatted system design data file, and there are no clear requirements for the system design method and modeling platform used. Therefore, this embodiment has good compatibility and development performance; this embodiment can support a variety of system design concepts and modeling methods. For the design data generated by the new modeling method, it only needs to be simply parsed before it can be used, and has good scalability; the de-hierarchy process does not require human participation, and is irrelevant to the knowledge level and experience of designers and analysts, and the processing process is scientific and objective; the present invention converts the calculation process of the importance of system business activities into simple set operations, logical judgment operations, and matrix operations, which can be completely realized by automated means. As long as the system design data file is provided, the analysis of relevant data can be realized through simple program design, and no other complex models are required. The calculation process is more concise and effective.
[0067] Among them, the activity information relationship table can be called a relationship table between business activities and information. The table consists of three columns: business activity ID number, information number and information type. The information type describes the relationship between the corresponding business activity and the information item. If the information item is the input of the business activity, fill in I; if the information item is the output of the business activity, fill in O; if there is no relationship between the information item and the business activity, it is not recorded.
[0068] The activity information relationship table in this embodiment is shown as follows:
[0069]
[0070]
[0071]
[0072] In one embodiment, Figure 2 As shown, the process of verifying whether the information interaction relationship of business activities is complete includes the following steps:
[0073] Step 201, read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0074] Step 202: when the first business activity set and the second business activity set are subtracted to form an empty set, define a representation of information interaction of each business activity in the activity information relationship table;
[0075] Step 203, read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0076] Step 204: when the first information set and the second information set are subtracted to form an empty set, define a representation of information interaction between each information item in the activity information relationship table.
[0077] Specifically, the completeness of the information interaction relationship of business activities means that for each business activity, there should be an information interaction relationship with other business activities, that is, there is no isolated business activity node, otherwise, the business activity is redundant for the business goal of the information system, and it is not integrated into the entire business process. When performing completeness verification, it is divided into three small steps. First, analyze whether the business activities in the business activity composition table are reflected in the business activity and information relationship table; then analyze whether the information items in the business information composition table are reflected in the business activity and information relationship table. Finally, by converting the information in the business activity and information relationship table into a business activity and information activity information mapping matrix, it is determined whether there is a row or a column in the matrix whose elements are all 0. If so, it means that there are isolated business activity nodes, and the business activity information interaction relationship is incomplete.
[0078] Specifically, this step includes: first reading each record in the mission business activity composition table, adding the mission task number of each record to the first business activity composition table set ACT1, until the last record of the mission task composition table ends, and obtaining the first mission task set: ACT1 = {A0001, A0002, A0003, A0004, A0005, A0006, A0007, A0008, A0009, A0010, A0011, A0012, A0013, A0014, A0015, A0016, A0017, A0018, A0019, A0020, A0021, A0022, A0023}.
[0079] Then read each record in the relationship table of the business activities and information respectively, add the business activity number in each record to the second business activity set ACT2, until the end of the last column record in the relationship table of the business activities and information, and obtain the second business activity set: ACT1 = {A0001, A0002, A0003, A0004, A0005, A0006, A0007, A0008, A0009, A0010, A0011, A0012, A0013, A0014, A0015, A0016, A0017, A0018, A0019, A0020, A0021, A0022, A0023}.
[0080] Compare the values of ACT1 and ACT2, From this, we can see that each business activity is reflected in the relationship table between business activities and information.
[0081] Then read each record in the business information composition table, add the information number of each record to the first information set INF1, until the last record of the business information composition table ends, and obtain the first information set:
[0082] INF1={I0001,I0002,I0003,I0004,I0005,I0006,I0007,I0008,I0009,I0010,I0011,I0012,I0013, I0014,I0015,I0016,I0017,I0018,I0019,I0020,I0021,I0022,I0023,I0024,I0025,I0026,I0027}
[0083] Then read each record in the business activity and information relationship table respectively, add the information number in each record to the second information set INF2, until the last record in the business activity and information relationship table ends, and obtain the information set:
[0084] INF2={I0001,I0002,I0003,I0004,I0005,I0006,I0007,I0008,I0009,I0010,I0011,I0012,I0013, I0014,I0015,I0016,I0017,I0018,I0019,I0020,I0021,I0022,I0023,I0024,I0025,I0026,I0027}.
[0085] In one embodiment, Figure 3 As shown in the figure, the process of building an activity information mapping matrix includes:
[0086] Step 301, traverse all information items in the activity information relationship table in turn, if the information item is both the input of business activity i and the output of business activity j, map the element d in the activity information mapping matrix ij =1;
[0087] Step 302: If the information item is both the output of business activity i and the input of business activity j, map the activity information to element d in the matrix ij = -1;
[0088] Step 303: After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0089] Specifically, compare the values of INF1 and INF2, It can be seen that each information item is reflected in the relationship table between business activities and information. According to the relationship table between business activities and information, an activity information mapping matrix between business activities and information is constructed. The rows and columns of the matrix are all business activities, and the filling rules for each element in the matrix are as follows: if the business activity corresponding to a row is the direct predecessor of the business activity corresponding to a column, then write "-1" in the corresponding position; if the business activity corresponding to a row is the direct successor of the business activity corresponding to a column, then write "1" in the corresponding position; otherwise, write "0".
[0090] The method of constructing the activity-information mapping matrix D of business activities and information through the relationship table of business activities and information is: traverse all the information items in the relationship table of business activities and information in turn. If the information item is both the input of business activity i and the output of business activity j, then the element d in the matrix D is ij = 1, if the information item is both the output of business activity i and the input of business activity j, then the element d in the matrix D ij =-1, after completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0091] In one embodiment, Figure 4 As shown, the process of calculating the specific importance of business activities includes:
[0092] Step 401: Map the activity information to the element d in the matrix ij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0093] Step 402: Map the activity information to the element d in the matrix ij = -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0094] Step 403, calculating the sum of the number of activities of the direct preceding activities and the direct succeeding activities of the business activity, and determining the importance of the business activity according to the larger the sum of the number of activities.
[0095] In this embodiment, according to the relationship table between business activities and information, business activity 2 is the direct sequence of business activity 1, business activity 3 is the direct sequence of business activity 2 and business activity 23, business activity 4 is the direct sequence of business activity 3, business activity 12 is the direct sequence of business activity 4, business activity 5 is the direct sequence of business activity 16 and business activity 22, business activity 6 is the direct sequence of business activity 5, business activity 7 is the direct sequence of business activity 6, business activity 8 is the direct sequence of business activity 7, business activity 9 is the direct sequence of business activity 8, business activity 10 is the direct sequence of business activity 9, business activity 11 is the direct sequence of business activity 10, and business activity 13 is the direct sequence of business activity 1 2, business activity 14 is the direct sequence of business activity 13, business activity 15 is the direct sequence of business activity 14, business activity 16 is the direct sequence of business activity 15, business activity 17 is the direct sequence of business activity 16, business activity 18 is the direct sequence of business activity 10 and business activity 17, business activity 19 is the direct sequence of business activity 18, business activity 20 is the direct sequence of business activity 19, business activity 21 is the direct sequence of business activity 20, business activity 22 is the direct sequence of business activity 21, business activity 23 is the direct sequence of business activity 22, and business activity 1 is the direct sequence of business activity 22. The activity information mapping matrix D of business activities and information is as follows: Figure 8 As shown, by analyzing the matrix D, we can see that each row and each column of the matrix has non-zero elements, which means that there are no isolated business activity nodes in the business activity model, and each business activity has an information interaction relationship with other business activities. Figure 7 In the figure, business activity 1 and business activity 23 are included. The arrow indicates that there is information association. The importance of a business activity is mainly calculated based on the number of associations between the activity and other activities. That is, the sum of the number of direct predecessor activities and direct successor activities of the activity. The business activity model can also be converted into a business activity network diagram, and the sum of the in-degree and out-degree of each node is calculated. The more business activities it is associated with, the more important the business activity is.
[0096] The calculation formula is: Importance of business activity = Number of business activities directly related to the business activity / Total number of business activities = Number of non-zero elements in the row of the business activity in matrix D / Number of columns in matrix D.
[0097] From this, we can see that the importance of business activity 1, business activity 2, business activity 3, business activity 4, business activity 5, business activity 6, business activity 7, business activity 8, business activity 9, business activity 10, business activity 11, business activity 12, business activity 13, business activity 14, business activity 15, business activity 16, business activity 17, business activity 18, business activity 19, business activity 20, business activity 21, business activity 22 and business activity 23 are 2 / 23, 2 / 23, 3 / 23, 2 / 23, 3 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 2 / 23, 3 / 23, 2 / 23, 2 / 23, 2 / 23, 4 / 23 and 2 / 23 respectively. That is, business activity 22 is the most important because it is associated with four business activities, namely business activity 1, business activity 5, business activity 21, and business activity 23, while other business activities are only associated with two business activities.
[0098] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0099] In one embodiment, Figure 5 As shown, a system for calculating importance based on information interaction is provided, comprising:
[0100] The data construction module 501 is used to establish a business activity composition table, a business information composition table and an activity information relationship table according to the business activity data;
[0101] An information verification module 502 is used to verify whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0102] A mapping matrix module 503 is used to construct an activity information mapping matrix according to the activity information relationship table after determining that an information interaction relationship occurs between each business activity;
[0103] The importance calculation module 504 is used to extract the element values in the activity information mapping matrix, calculate the importance of the business activity according to the element values, and complete the importance calculation of the business activity based on information interaction.
[0104] In one embodiment, Figure 5 As shown, the information verification module 502 includes a completeness confirmation unit 5021, and the completeness confirmation unit 5021 is used to:
[0105] Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0106] When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table;
[0107] Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0108] When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
[0109] In one embodiment, Figure 5 As shown, the mapping matrix module 503 includes an information item filling unit 5031, and the information item filling unit 5031 is used to:
[0110] All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the element d in the activity information mapping matrix is mapped to ij =1;
[0111] If the information item is both the output of business activity i and the input of business activity j, the element d in the activity information mapping matrix ij = -1;
[0112] After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0113] In one embodiment, Figure 5 As shown, the importance calculation module 504 includes an activity association unit 5041, and the activity association unit 5041 is used to:
[0114] Map the activity information to the element d in the matrix ij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0115] Map the activity information to the element d in the matrix ij = -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0116] The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
[0117] For the specific limitations of the importance calculation system based on information interaction, please refer to the limitations of the importance calculation method based on information interaction above, which will not be repeated here. Each module in the above-mentioned importance calculation system based on information interaction can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0118] Figure 6 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 6 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement an importance calculation method based on information interaction. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute an importance calculation method based on information interaction. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0119] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0120] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0121] Establish business activity composition table, business information composition table and activity information relationship table based on business activity data;
[0122] Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0123] After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table;
[0124] The element values in the activity information mapping matrix are extracted, and the importance of the business activity is calculated according to the element values, thereby completing the calculation of the importance of the business activity based on information interaction.
[0125] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0126] Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0127] When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table;
[0128] Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0129] When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0131] All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the element d in the activity information mapping matrix is mapped to ij =1;
[0132] If the information item is both the output of business activity i and the input of business activity j, the element d in the activity information mapping matrix ij = -1;
[0133] After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0135] Map the activity information to the element d in the matrixij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0136] Map the activity information to the element d in the matrix ij = -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0137] The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
[0138] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0139] Establish business activity composition table, business information composition table and activity information relationship table based on business activity data;
[0140] Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table;
[0141] After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table;
[0142] The element values in the activity information mapping matrix are extracted, and the importance of the business activity is calculated according to the element values, thereby completing the calculation of the importance of the business activity based on information interaction.
[0143] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0144] Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set;
[0145] When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table;
[0146] Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set;
[0147] When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0149] All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the element d in the activity information mapping matrix is mapped to ij =1;
[0150] If the information item is both the output of business activity i and the input of business activity j, the element d in the activity information mapping matrix ij = -1;
[0151] After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0.
[0152] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0153] Map the activity information to the element d in the matrix ij =1, defined as the business activity corresponding to a row in the activity information relationship table is the direct subsequent activity of the business activity corresponding to a column;
[0154] Map the activity information to the element d in the matrix ij = -1, defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column;
[0155] The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
[0156] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0157] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0158] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for calculating importance based on information interaction, characterized in that: The method comprises: Establish business activity composition table, business information composition table and activity information relationship table based on business activity data; Verify whether the information interaction relationship of the business activities is complete according to the business activity composition table, the business information composition table and the activity information relationship table; After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table; Extracting element values in the activity information mapping matrix, calculating the importance of the business activity according to the element values, and completing the importance calculation of the business activity based on information interaction; After determining that an information interaction relationship occurs between each business activity, constructing an activity information mapping matrix according to the activity information relationship table includes: All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the elements in the activity information mapping matrix are mapped to ; If the information item is both the output of business activity i and the input of business activity j, the element in the activity information mapping matrix ; After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0; The extracting element values in the activity information mapping matrix, calculating the importance of the business activity according to the element values, and completing the importance calculation of the business activity based on information interaction includes: Map the activity information to the elements in the matrix , defined as the business activity corresponding to a row in the activity information relationship table is a direct subsequent activity of the business activity corresponding to a column; Map the activity information to the elements in the matrix , defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column; The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
2. The importance calculation method based on information interaction according to claim 1 is characterized in that: The verifying whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table includes: Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set; When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table; Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set; When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
3. An importance calculation system based on information interaction, characterized in that: include: A data construction module is used to establish a business activity composition table, a business information composition table and an activity information relationship table according to business activity data; An information verification module, used to verify whether the information interaction relationship of the business activity is complete according to the business activity composition table, the business information composition table and the activity information relationship table; A mapping matrix module, used to construct an activity information mapping matrix according to the activity information relationship table after determining that an information interaction relationship occurs between each business activity; An importance calculation module, used to extract element values in the activity information mapping matrix, calculate the importance of the business activity according to the element values, and complete the importance calculation of the business activity based on information interaction; The mapping matrix module comprises an information item filling unit, and the information item filling unit is used to: All information items in the activity information relationship table are traversed in sequence. If an information item is both the input of business activity i and the output of business activity j, the elements in the activity information mapping matrix are mapped to ; If the information item is both the output of business activity i and the input of business activity j, the element in the activity information mapping matrix ; After completing the traversal of all information items, the remaining elements in the matrix D are filled with 0; The importance calculation module includes an activity association unit, and the activity association unit is used to: Map the activity information to the elements in the matrix , defined as the business activity corresponding to a row in the activity information relationship table is a direct subsequent activity of the business activity corresponding to a column; Map the activity information to the elements in the matrix , defined as the business activity corresponding to a row in the activity information relationship table being the direct predecessor activity of the business activity corresponding to a column; The sum of the numbers of direct preceding activities and direct subsequent activities of the business activity is calculated, and the importance of the business activity is determined as the greater the sum of the numbers of activities is.
4. The importance calculation system based on information interaction according to claim 3 is characterized in that: The information verification module includes a completeness confirmation unit, and the completeness confirmation unit is used to: Read the business activity composition table to construct a first business activity set, and read the activity information relationship table to construct a second business activity set; When the first business activity set and the second business activity set are subtracted to form an empty set, it is defined that each business activity has information interaction in the activity information relationship table; Read the business information composition table to construct a first information set, and read the activity information relationship table to construct a second information set; When the first information set and the second information set are subtracted to form an empty set, it is defined that each information item has information interaction in the activity information relationship table.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 or 2 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
Citation Information
Patent Citations
Information interactive interface optimization method from error-cognition to information characteristic mapping
CN104462683A
Method and apparatus for interactive session information processing, computer device and storage medium
WO2021047189A1