Application coupling degree detection method and device, storage medium and electronic device

CN116450505BActive Publication Date: 2026-10-30INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310309103.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2026-10-30
Estimated Expiration
2043-03-27

AI Technical Summary

Technical Problem

[0005]本申请的主要目的在于提供一种应用耦合度的检测方法和装置、存储介质及电子装置,以解决相关技术中应用耦合度的检测的精准度较低的问题

Benefits of technology

[0036]通过本申请,采用以下步骤:从目标应用架构中所包括的需求项中检测每个需求项的牵头应用,其中,目标应用架构用于通过M个具有关联关系的应用实现目标功能,每个需求项用于指示目标应用架构中所允许执行的一个业务需求,牵头应用为负责主导实现需求项的应用,M为大于1的正整数;获取M个具有关联关系的应用中每个第一应用作为牵头应用的N个需求项,其中,N为大于或者等于1的正整数;根据N个需求项对应的工作量信息检测第一应用在目标应用架构中的应用耦合度,其中,工作量信息用于指示实现N个需求项中每个需求项所需的总工作量和总工作量中属于牵头应用实现的牵头工作量,应用耦合度用于指示第一应用与M个具有关联关系的应用中除第一应用之外的其他应用之间的耦合程度,上述过程只需要获取目标应用架构中的每个需求项的牵头应用,以及,需求项对应的工作量信息就可以对第一应用在目标应用架构中的应用耦合度进行检测,无需各个应用的设计人员大量人力投入,并且精准描述目标应用架构中每个应用的应用间的表、数据、接口、服务等信息,对于应用耦合度的检测,避免了依赖于精准掌握应用间这些设计要素的关系,其评估精准度对于外部依赖性较小,解决了相关技术中应用耦合度的检测的精准度较低的问题。进而达到了提高应用耦合度的检测的精准度的效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116450505B_ABST
    Figure CN116450505B_ABST
Patent Text Reader

Abstract

The application discloses a kind of detection method and device of application coupling degree, storage medium and electronic device. It is related to the field of financial technology, which comprises: detecting the leading application of each requirement item from the requirement item included in the target application architecture, wherein the target application architecture is used to realize the target function by M applications with correlation, each requirement item is used to indicate a business requirement allowed to be executed in the target application architecture, the leading application is the application responsible for leading the implementation of the requirement item, M is a positive integer greater than 1;Obtain N requirement items of each first application in M applications with correlation as the leading application, wherein N is a positive integer greater than or equal to 1;According to the workload information corresponding to the N requirement items, the application coupling degree of the first application in the target application architecture is detected. Through the present application, the problem of low accuracy of application coupling degree detection in related art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology, and more specifically, to a method and apparatus for detecting application coupling, a storage medium, and an electronic device. Background Technology

[0002] Currently, high cohesion and low coupling are important criteria for evaluating the quality of an IT system design. The core purpose of high cohesion and low coupling is to enhance the reusability and portability of programs within the IT system. An enterprise's IT system typically involves numerous applications, which interact with each other through service calls, file transfers, and other means; this interaction constitutes application coupling. When such interactions occur, the calling party usually needs to make synchronous modifications, leading to coupling at the development level. In recent years, with the deepening of modular and platform-based development, and the widespread application of distributed technologies and service-oriented architectures, large enterprises and institutions are promoting the establishment of layered and decoupled enterprise-level IT architectures, requiring the decoupling of highly coupled applications.

[0003] Currently, analyzing inter-application coupling requires understanding the relationships between application tables and data dependencies, interfaces and services, and file information transfer to conduct an assessment. Because enterprise IT architectures involve numerous applications, the information regarding tables, data, interfaces, and services between these applications is vast and complex. Accurately understanding the relationships between these design elements requires significant manpower from the designers of each application to accurately describe these relationships. Therefore, this method of assessing inter-application coupling is highly complex, requires substantial manpower, and its accuracy is heavily dependent on external factors.

[0004] There is currently no effective solution to the problem of low accuracy in the detection of coupling degree in related technologies. Summary of the Invention

[0005] The main objective of this application is to provide a method and apparatus for detecting application coupling, a storage medium, and an electronic device to solve the problem of low accuracy in the detection of application coupling in related technologies.

[0006] To achieve the above objectives, according to one aspect of this application, a method for detecting application coupling is provided. The method includes:

[0007] Detect the lead application for each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1;

[0008] Obtain N requirement items from each of the M related applications as the lead application, where N is a positive integer greater than or equal to 1;

[0009] The application coupling degree of the first application in the target application architecture is detected based on the workload information corresponding to the N requirements. The workload information is used to indicate the total workload required to implement each of the N requirements and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and the other applications besides the first application among the M related applications.

[0010] Optionally, detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items includes at least one of the following:

[0011] The first coupling degree of the first application in the target application architecture is determined based on the workload information corresponding to each of the N requirement items. The first coupling degree is used to indicate the degree of coupling between the first application and all other applications other than the first application in the M related applications in the target application architecture.

[0012] From the N requirements, K requirements including the second application are obtained in the cooperating application, and the second coupling degree of the first application in the target application architecture is determined according to the workload information corresponding to each of the K requirements. The cooperating application is used to cooperate with the lead application to implement the corresponding requirements. K is a positive integer greater than or equal to 1. The second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture.

[0013] Optionally, determining the first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items includes:

[0014] Calculate the first target difference between the total workload and the lead workload for each requirement item;

[0015] The ratio of the first target difference for each requirement item to the total workload is determined as the first coupling index of the corresponding requirement item;

[0016] The first coupling degree is obtained by summing the first coupling degree index of each of the N demand items.

[0017] Optionally, the step of obtaining K requirement items from the N requirement items that include the second application in the cooperating application, and determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, includes:

[0018] Calculate the second objective difference between the total workload and the lead workload for each requirement item;

[0019] Obtain the coordination workload of the second application implementation from the second target difference;

[0020] The ratio of the coordination workload of each requirement item to the total workload is determined as the second coupling index of the corresponding requirement item;

[0021] The second coupling degree is obtained by summing the second coupling degree indices of each of the K demand items.

[0022] Optionally, after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, the method further includes:

[0023] Obtain the P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1;

[0024] Obtain the second coupling degree between every two applications in the Q applications included in the target sub-architecture to obtain the target coupling degree, wherein the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2;

[0025] The target coupling degree is constructed into a target matrix, and the value of the target matrix is ​​calculated to obtain the third coupling degree corresponding to the target sub-architecture, wherein the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture.

[0026] Optionally, after detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, the method further includes:

[0027] Applications with an application coupling degree greater than the application coupling threshold are identified as hot applications;

[0028] Based on the difference between the application coupling degree of the hot application and the application coupling degree threshold, the association between the hot application and the other applications is adjusted until the application coupling degree of the hot application is less than or equal to the application coupling degree threshold.

[0029] Optionally, identifying applications with an application coupling degree greater than an application coupling degree threshold as hot applications includes:

[0030] From the M related applications, extract the applications whose application coupling degree is greater than the application coupling threshold as the hot applications;

[0031] The hot applications are marked on the target application architecture.

[0032] To achieve the above objectives, according to another aspect of this application, an application coupling degree detection device is provided. The device includes:

[0033] The first detection module is used to detect the lead application of each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1.

[0034] The first acquisition module is used to acquire N requirement items for each of the M related applications as the lead application, where N is a positive integer greater than or equal to 1;

[0035] The second detection module is used to detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information is used to indicate the total workload required to implement each of the N requirement items and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application among the M related applications.

[0036] This application employs the following steps: First, it detects the lead application for each requirement item from the requirement items included in the target application architecture. The target application architecture is used to implement the target function through M related applications. Each requirement item indicates a business requirement allowed to be executed in the target application architecture. The lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. Second, it obtains N requirement items from each of the M related applications, where N is a positive integer greater than or equal to 1, with each first application serving as the lead application. Third, it detects the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information indicates the total workload required to implement each of the N requirement items and the workload belonging to the lead application within the total workload. The lead application workload is used to determine application coupling degree, which indicates the degree of coupling between the first application and M related applications (excluding the first application). The process described above only requires obtaining the lead application for each requirement in the target application architecture, as well as the workload information corresponding to that requirement. This allows for the detection of the application coupling degree of the first application within the target application architecture, without requiring significant manpower from the designers of each application. Furthermore, it accurately describes the tables, data, interfaces, and services between each application in the target application architecture. This avoids relying on a precise understanding of the relationships between these design elements, resulting in lower external dependence on the accuracy of the assessment and solving the problem of low accuracy in application coupling degree detection in related technologies. This ultimately improves the accuracy of application coupling degree detection. Attached Figure Description

[0037] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0038] Figure 1 This is a flowchart of an application coupling degree detection method provided according to an embodiment of this application;

[0039] Figure 2 This is a schematic diagram of a method for determining the first coupling degree and the second coupling degree according to an embodiment of this application;

[0040] Figure 3 This is a schematic diagram illustrating the application coupling degree according to the embodiments of this application;

[0041] Figure 4 This is a schematic diagram of an application coupling degree evaluation and analysis system provided according to an embodiment of this application;

[0042] Figure 5 This is a schematic diagram illustrating the interaction between the application coupling degree evaluation and analysis system and other systems according to embodiments of this application;

[0043] Figure 6 This is a schematic diagram of an application coupling degree detection device according to an embodiment of this application;

[0044] Figure 7 This is a schematic diagram of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0045] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0046] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0047] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0048] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:

[0049] High cohesion refers to the tightness of the connections between elements within a module or component. In other words, the functional modules within a component should have similar purposes and be designed and implemented around the same function, thereby minimizing the dependencies between elements within the component. Highly cohesive components typically have better maintainability, testability, reusability, and scalability.

[0050] Low coupling refers to the degree of dependency between different modules or components. In other words, the interfaces and relationships between modules should be designed to be as loosely as possible to reduce mutual influence. Low-coupling systems typically offer better flexibility, reusability, and maintainability.

[0051] It's important to note that high cohesion and low coupling are two related concepts. Modules or components within a system should simultaneously possess both high cohesion and low coupling characteristics to improve the system's maintainability, scalability, and reusability. In software design, we need to adhere to these two principles as much as possible to design more efficient, stable, and reliable software systems.

[0052] Target application architecture: An architecture that achieves the target function through multiple related applications, including the aforementioned IT systems.

[0053] Requirements: Requirements that have business value and can generate business results, encompassing a complete end-to-end business scenario, and are the minimum scope that can be independently deployed. These refer to customer or business needs that a project must meet, typically specific functions or features. Requirements are the foundation for project planning and execution.

[0054] Lead application: This refers to the main application or service responsible for implementing or providing the required item. The lead application is usually the most important application or service in the project, and its development and implementation are crucial to the project's success.

[0055] Collaborating applications: These are other applications or services that need to collaborate or interact with the lead application. Collaborating applications may require modification or collaborative development to support the implementation of the requirements.

[0056] The present invention will now be described in conjunction with preferred implementation steps. Figure 1 This is a flowchart of an application coupling degree detection method provided in an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:

[0057] Step S11: Detect the lead application for each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1.

[0058] Step S12: Obtain N requirement items for each first application in the M related applications as the lead application, where N is a positive integer greater than or equal to 1;

[0059] Step S13: Detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information is used to indicate the total workload required to implement each of the N requirement items and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application among the M related applications.

[0060] In the technical solution provided in step S11 above, the target application architecture may, but is not limited to, implement the target function through M related applications, such as the IT system mentioned above. For a target application architecture, there may be multiple requirement items, each requirement item indicating a business requirement that is allowed to be executed in the target application architecture. The target application architecture implements a requirement item through one or more applications.

[0061] Optionally, in this embodiment, the lead application is the application responsible for leading the implementation of the requirement item. In a requirement item, the lead application can be responsible for leading, designing and implementing the requirement item. The lead application can usually be responsible for defining the function and implementation scheme of the requirement item.

[0062] Optionally, in this embodiment, detecting the lead application for each requirement item from the requirement items included in the target application architecture can be done, but is not limited to, by the following methods: collecting the R&D collaboration division information for each requirement item in the target application architecture through project management tools or systems. The R&D collaboration division information can record information such as the lead application, cooperating applications, lead workload, cooperating workload, total workload, and the module to which each application belongs. The lead application and cooperating applications cooperate to implement the corresponding requirement item. The total workload for implementing the requirement item is the total workload. The workload completed by the lead application is the lead workload, and the workload completed by the cooperating application is the cooperating workload.

[0063] Optionally, in this embodiment, the lead application for each requirement item can be detected from all or part of the requirement items included in the target application architecture, but is not limited to.

[0064] In the technical solution provided in step S12 above, the target application architecture includes M related applications. The target application architecture also allows the implementation of multiple requirement items. Each requirement item may have a different lead application. The first application is selected as the lead application for N requirement items. That is, in the target application architecture, the first application is the lead application for the aforementioned N requirement items. Other applications implementing each of the aforementioned N requirement items are all cooperating applications of the first application. For example, if requirement item A among the N requirement items requires the first application as the lead application to be implemented, it also includes one or more other applications cooperating with the lead application to jointly implement requirement item A. In this case, the other one or more applications are cooperating applications of the lead application. During the implementation of requirement item A, the first application collaborates with one or more other applications, and there is data interaction. Therefore, there may be R&D coupling between the other one or more applications and the first application. Thus, detecting the application coupling degree of the first application is related to the cooperating applications of the first application.

[0065] Optionally, in this embodiment, the first application can be any one of the M related applications in the target application architecture. Therefore, the application coupling detection method proposed in this application is applicable to any one of the M related applications, and the corresponding application coupling can be detected for any application in the target application architecture.

[0066] In the technical solution provided in step S13 above, the lead application of the N requirement items is the first application. For any one of the requirement items, in addition to the first application as the lead application, it may include one or more applications as cooperating applications. Therefore, the application coupling degree of the first application can be measured by the proportion of the lead workload of the first application in the total workload of the requirement item during the implementation process. In the total workload of the requirement item, apart from the lead workload of the first application, the remaining workload is implemented by the cooperating applications. Therefore, the greater the workload implemented by the other cooperating applications, the greater the application coupling degree of the first application.

[0067] In an exemplary embodiment, detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items can be achieved, but is not limited to, through at least one of the following methods:

[0068] The first coupling degree of the first application in the target application architecture is determined based on the workload information corresponding to each of the N requirement items. The first coupling degree is used to indicate the degree of coupling between the first application and all other applications other than the first application in the M related applications in the target application architecture.

[0069] From the N requirements, K requirements including the second application are obtained in the cooperating application, and the second coupling degree of the first application in the target application architecture is determined according to the workload information corresponding to each of the K requirements. The cooperating application is used to cooperate with the lead application to implement the corresponding requirements. K is a positive integer greater than or equal to 1. The second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture.

[0070] Optionally, in this embodiment, in the target application architecture, the first application may include a first coupling degree and a second coupling degree. The application coupling degree of the first application includes the first coupling degree and the second coupling degree. The application coupling degree can indicate the degree of coupling between the first application and other applications besides the first application among M related applications. The emphasis of using the first coupling degree and the second coupling degree to indicate the degree of coupling of the first application is different.

[0071] Optionally, in this embodiment, each of the N requirement items uses the first application as the lead application. Figure 2 This is a schematic diagram of a method for determining the first coupling degree and the second coupling degree according to an embodiment of this application, as shown below. Figure 2 As shown, in the target application architecture, there are N requirements with the first application as the lead application. Here, we take N as 4 as an example. In the target application architecture, the four requirements with the first application as the lead application include {requirement 1, requirement 2, requirement 3, and requirement 4}. The cooperating application for each requirement is different, as follows:

[0072] The corresponding applications for requirement item 1 include {application a, application b, application c};

[0073] The corresponding applications for requirement item 2 include {application a, application b};

[0074] The corresponding applications for requirement item 3 include {application a, application c};

[0075] The corresponding applications for requirement item 4 include {application b};

[0076] When calculating the first coupling degree of the first application, the first coupling degree of the first application in the target application architecture is determined based on the workload information corresponding to each of the four requirement items {requirement item 1, requirement item 2, requirement item 3, and requirement item 4}. Therefore, the first coupling degree does not distinguish between specific cooperating applications; all cooperating applications participate in determining the first coupling degree. Thus, the first coupling degree can indicate the degree of coupling between the first application and all other applications among the M related applications in the target application architecture, excluding the first application itself.

[0077] When calculating the second coupling degree of the first application, taking application c as the second application as an example, K requirement items {requirement item 1, requirement item 3} that include the second application (application c) are obtained from the four requirement items. The second coupling degree of the first application in the target application architecture is determined according to the workload information corresponding to each requirement item in {requirement item 1, requirement item 3}. The second coupling degree is used to indicate the degree of coupling between the first application and the second application (application c) in the target application architecture.

[0078] In one exemplary embodiment, the first coupling degree of the first application in the target application architecture can be determined by, but is not limited to, the workload information corresponding to each of the N requirement items in the following manner: calculating a first target difference between the total workload and the lead workload of each requirement item; determining the ratio of the first target difference to the total workload of each requirement item as the first coupling degree index of the corresponding requirement item; and summing the first coupling degree indices of each of the N requirement items to obtain the first coupling degree.

[0079] Optionally, a first target difference between the total workload and the lead workload for each requirement item is calculated. This first target difference may be, but is not limited to, the coordination workload for each requirement item, i.e., the workload of the cooperating application corresponding to each requirement item. It may be, but is not limited to, using the following formula to calculate the first coupling degree of the first application in the target application architecture:

[0080]

[0081] Among them, D A The first degree of coupling is defined by N, which represents the number of all requirements in the target application architecture that use the first application as the lead application. PW i For the coordination workload in each requirement item (corresponding to the difference of the first objective mentioned above), RW i Total workload for each requirement item.

[0082] In one exemplary embodiment, K requirements including the second application in the cooperating application can be obtained from the N requirements in the following manner, and a second coupling degree of the first application in the target application architecture can be determined based on the workload information corresponding to each of the K requirements: calculating a second target difference between the total workload and the lead workload of each requirement; obtaining the cooperating workload implemented by the second application from the second target difference; determining the ratio of the cooperating workload to the total workload of each requirement as the second coupling degree index of the corresponding requirement; and summing the second coupling degree indices of each of the K requirements to obtain the second coupling degree.

[0083] Optionally, a second target difference between the total workload and the lead workload for each requirement item is calculated. This second target difference may be, but is not limited to, the coordination workload for each requirement item, i.e., the workload implemented by the cooperating application corresponding to each requirement item. Since there may be multiple cooperating applications, it is also necessary to obtain the coordination workload implemented by the second application from the second target difference. This can be achieved, but is not limited to, using the following formula to calculate the second coupling degree of the first application in the target application architecture:

[0084]

[0085] Where, d ij For the second degree of coupling, N represents the number of requirements in the target application architecture that are led by the first application and include the second application as a cooperating application. PW k The workload of the second application in each requirement item, RW k Total workload for each requirement item.

[0086] In an exemplary embodiment, after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, the method may further include, but is not limited to, the following: obtaining P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1; obtaining the second coupling degree between every two applications in the Q applications included in the target sub-architecture to obtain a target coupling degree, where the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2; constructing the target coupling degree into a target matrix and calculating the value of the target matrix to obtain a third coupling degree corresponding to the target sub-architecture, where the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture.

[0087] Optionally, P is a positive integer greater than or equal to 1. When P equals 1, the third coupling degree is the degree of coupling between applications within the target application architecture. When P is greater than 1, the third coupling degree is the degree of coupling between applications within the target sub-architecture in the target application architecture.

[0088] Optionally, but not limited to, the third degree of coupling can be calculated using the formula below:

[0089]

[0090] Where D is the third coupling degree, an M*M matrix, M is the number of all applications in the target sub-architecture (when the target sub-architecture is the target application architecture, M is the number of all applications in the target application architecture), d ij For application A i The second coupling degree (to apply A)i As the lead application, and application A j To facilitate the application, application A i and application A j For any application in the target sub-architecture.

[0091] In an exemplary embodiment, after detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, the method may include, but is not limited to, the following: identifying applications with application coupling degrees greater than an application coupling degree threshold as hot applications; adjusting the association relationship between the hot applications and the other applications based on the difference between the application coupling degree of the hot applications and the application coupling degree threshold until the application coupling degree of the hot applications is less than or equal to the application coupling degree threshold.

[0092] Optionally, applications with an application coupling degree greater than the application coupling degree threshold are identified as hot applications. The way to determine that the application coupling degree is greater than the application coupling degree threshold may include, but is not limited to, an application's first coupling degree being greater than the application coupling degree threshold, and / or a second coupling degree being greater than the application coupling degree threshold.

[0093] In one exemplary embodiment, applications with an application coupling degree greater than an application coupling degree threshold may be identified as hot applications by, but not limited to, the following methods: extracting applications with an application coupling degree greater than the application coupling degree threshold from the M related applications as hot applications; and marking the hot applications on the target application architecture.

[0094] Optionally, the application coupling degree of each application in the target application architecture can be displayed. Figure 3 This is a schematic diagram illustrating the application coupling degree according to the embodiments of this application, such as... Figure 3 As shown, for each application in the target application architecture, the first coupling degree, second coupling degree, and the lead application (i.e., the lead application) and collaborating applications in the application coupling relationship are displayed in diagrams and tables. The display can show the number of coupling requirements and the workload of collaboration, or a trend chart of the first or second coupling degree of a certain application in each version of the target application architecture. In the data visualization phase, a matrix format can be used, divided into sections, to more intuitively represent the number of cross-section requirements. Applications with a coupling degree greater than the application coupling degree threshold are identified as hotspot applications and highlighted. The color of the markers can be used to differentiate levels based on the application coupling degree; darker colors indicate hotspot areas, facilitating quick location.

[0095] In one exemplary embodiment, this application also proposes an application coupling degree evaluation and analysis system. Figure 4 This is a schematic diagram of an application coupling degree evaluation and analysis system provided according to an embodiment of this application, such as... Figure 4 As shown, the application coupling degree assessment and analysis system 100 includes: a project information collection and processing module 101, an application coupling degree calculation module 102, a visualization module 103, a confirmation and approval function module 104, a query function module 105, and an export function module 106. The functions of each module are as follows:

[0096] The project information collection and processing module 101 is used to collect R&D collaboration and division of labor information using project management tools or systems. It records information such as the lead application, cooperating applications, lead workload, cooperating workload, total workload, and the module to which each application belongs. It collects R&D assistance information for all requirements according to the version of the target application architecture. During the collection process, basic data needs to be analyzed and processed. The same requirement may involve R&D coupling across multiple applications, requiring the identification of cross-module R&D coupling. Because enterprise-level IT architecture design aims for "high cohesion and low coupling" within the same application module, cross-module situations in R&D coupling require close attention and analysis.

[0097] The application coupling degree calculation module 102 is used to calculate the application coupling degree. The calculation method of application coupling degree satisfies non-negativity, monotonicity, interval (i.e., the value of coupling degree is between 0 and 1), and the coupling degree is still within the interval after changes such as application addition, merging, and abandonment. It is an effective means of measuring coupling degree, which also provides an effective analytical means for measuring and evaluating the coupling degree of complex information systems.

[0098] The visualization module 103 is used to display the application coupling index (i.e., the first coupling index mentioned above), the application coupling index (i.e., the second coupling index mentioned above), and the application coupling relationship table (i.e., the relationship between the lead application and the cooperating application between applications) in the form of diagrams and tables.

[0099] The confirmation and approval module 104 is used to confirm the evaluation results (i.e., the application coupling degree mentioned above). If there are problems with the application coupling degree, a decoupling optimization plan for the application and an adjustment plan for the involved applications (including cooperating applications) are formulated. If it is confirmed that there are no problems or no modification is needed for the time being, the reasons need to be explained, such as it being a temporary coupling. The confirmed content undergoes multi-role countersigning, and takes effect immediately upon approval; if rejected, it needs to be reconfirmed.

[0100] The query function module 105 is used to query information such as R&D collaboration division of labor, application coupling degree or charts, application subset list, etc., including operation role, operation time, approval rejection reason, etc.

[0101] The export function module 106 is used to export query results, etc.

[0102] Figure 5 This is a schematic diagram illustrating the interaction between the application coupling degree evaluation and analysis system and other systems according to embodiments of this application, such as... Figure 5 As shown, in addition to the application coupling evaluation and analysis system 100, other systems include:

[0103] The R&D Management System 201 is a system for managing the entire application development lifecycle. Based on standardized management of software asset information, aiming at asset reuse, and using standardized process management as a means, it is an application development platform that includes requirements writing, requirements management, project planning, and automatic collection of R&D management information. Within this system, information on the collaborative division of labor for all requirements items can be obtained.

[0104] Architecture Asset Management System 202 is a system used to maintain and manage the assets of the target application architecture. Application location is obtained from the Architecture Asset Management System, and the final application decoupling optimization scheme and plan are then returned to the Architecture Asset Management System, achieving unified maintenance and effective control of the assets of the target application architecture.

[0105] Operation and Maintenance System 203: Provides comprehensive monitoring for applications in the target application architecture. For highly coupled applications, it implements correlation monitoring to ensure production safety.

[0106] It's important to note that coupling between applications doesn't necessarily equate to R&D coupling. If the enterprise IT architecture is well-designed, and the external services of applications are flexible, forward-looking, and readily adaptable in most cases, R&D coupling can be effectively reduced. The division of labor and collaboration among R&D personnel is an outward manifestation of R&D coupling, and it's also a key focus of understanding application coupling. Therefore, it's an effective way to observe the rationality of existing enterprise IT architecture design from a results-oriented perspective.

[0107] It should be noted that the information on R&D collaboration and division of labor in this application will naturally arise during R&D management and does not require additional collection, thus eliminating the need for significant additional manpower. This information is also objective and complete; therefore, there is no bias in the evaluation results due to inaccurate or incomplete information during the information collection process.

[0108] It should be noted that in this application, through visual charts and coupling indices, coupling hotspots that do not conform to enterprise-level IT architecture design are objectively and concisely identified, thereby promoting the realization of high cohesion and low coupling between applications.

[0109] It should be noted that this application, by building an application coupling degree assessment and analysis system, automatically reduces the cost of manual division and improves efficiency based on R&D collaboration and division of labor information. Furthermore, the system's automatic implementation mechanism enhances the quality of division, providing an efficient and reliable channel for application layering and decoupling. This overcomes the high complexity, manpower investment, and external dependence on accuracy inherent in existing technologies, objectively and concisely identifying hot applications that do not conform to enterprise-level IT architecture design, thus achieving high cohesion and low coupling between applications.

[0110] The application coupling detection method provided in this application embodiment detects the lead application for each requirement item from the requirement items included in the target application architecture. The target application architecture is used to implement a target function through M related applications. Each requirement item indicates a business requirement allowed to be executed in the target application architecture. The lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. The method obtains N requirement items from each of the M related applications, with each first application serving as the lead application, where N is a positive integer greater than or equal to 1. The method detects the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information indicates the total workload and total effort required to implement each of the N requirement items. The workload of the lead application is considered in the quantity calculation. Application coupling degree indicates the degree of coupling between the first application and M related applications (excluding the first application). The above process only requires obtaining the lead application for each requirement item in the target application architecture, as well as the workload information corresponding to that requirement item, to detect the application coupling degree of the first application in the target application architecture. This eliminates the need for significant manpower investment from the designers of each application and accurately describes the tables, data, interfaces, services, and other information between applications in the target application architecture. For application coupling degree detection, it avoids relying on a precise understanding of the relationships between these design elements between applications, and its evaluation accuracy has less external dependence, solving the problem of low accuracy in application coupling degree detection in related technologies. This ultimately improves the accuracy of application coupling degree detection.

[0111] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0112] This application also provides an application coupling degree detection device. It should be noted that the application coupling degree detection device of this application embodiment can be used to execute the application coupling degree detection method provided in this application embodiment. The application coupling degree detection device provided in this application embodiment will be described below.

[0113] Figure 6 This is a schematic diagram of an application coupling degree detection device according to an embodiment of this application. Figure 6 As shown, the device includes:

[0114] The first detection module 602 is used to detect the lead application of each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1.

[0115] The first acquisition module 604 is used to acquire N requirement items of each first application as the lead application in the M related applications, where N is a positive integer greater than or equal to 1;

[0116] The second detection module 606 is used to detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information is used to indicate the total workload required to implement each of the N requirement items and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application among the M related applications.

[0117] Optionally, in the application coupling degree detection device provided in the embodiments of this application, the second detection module includes at least one of the following:

[0118] The first determining unit is configured to determine the first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items. The first coupling degree is used to indicate the degree of coupling between the first application and all other applications other than the first application in the M related applications in the target application architecture.

[0119] The second determining unit is configured to obtain K requirement items, including the second application, from the N requirement items in the cooperating application, and determine the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items. The cooperating application is used to cooperate with the lead application to jointly implement the corresponding requirement item. K is a positive integer greater than or equal to 1. The second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture.

[0120] Optionally, in the application coupling degree detection device provided in this application embodiment, the first determining unit is further configured to:

[0121] Calculate the first target difference between the total workload and the lead workload for each requirement item;

[0122] The ratio of the first target difference for each requirement item to the total workload is determined as the first coupling index of the corresponding requirement item;

[0123] The first coupling degree is obtained by summing the first coupling degree index of each of the N demand items.

[0124] Optionally, in the application coupling degree detection device provided in this application embodiment, the second determining unit is further configured to:

[0125] Calculate the second objective difference between the total workload and the lead workload for each requirement item;

[0126] Obtain the coordination workload of the second application implementation from the second target difference;

[0127] The ratio of the coordination workload of each requirement item to the total workload is determined as the second coupling index of the corresponding requirement item;

[0128] The second coupling degree is obtained by summing the second coupling degree indices of each of the K demand items.

[0129] Optionally, in the application coupling degree detection device provided in the embodiments of this application, the device further includes:

[0130] The second acquisition module is used to acquire P sub-architectures included in the target application architecture after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, where P is a positive integer greater than or equal to 1.

[0131] The third acquisition module is used to acquire the second coupling degree between every two applications in the Q applications included in the target sub-architecture, and obtain the target coupling degree, wherein the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2;

[0132] A construction module is used to construct the target coupling degree into a target matrix and calculate the value of the target matrix to obtain the third coupling degree corresponding to the target sub-architecture, wherein the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture.

[0133] Optionally, in the application coupling degree detection device provided in the embodiments of this application, the device further includes:

[0134] The determination module is used to determine applications with application coupling greater than the application coupling threshold as hot applications after detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items.

[0135] An adjustment module is used to adjust the association between the hot application and other applications based on the difference between the application coupling degree of the hot application and the application coupling degree threshold until the application coupling degree of the hot application is less than or equal to the application coupling degree threshold.

[0136] Optionally, in the application coupling degree detection device provided in this application embodiment, the determining module includes:

[0137] An extraction unit is used to extract applications with an application coupling degree greater than the application coupling threshold from the M related applications as the hot applications;

[0138] A tagging unit is used to tag the hot applications on the target application architecture.

[0139] The application coupling detection device provided in this application embodiment, through a first detection module 602, is used to detect the lead application of each requirement item from the requirement items included in the target application architecture. The target application architecture is used to implement a target function through M related applications. Each requirement item indicates a business requirement that is allowed to be executed in the target application architecture. The lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. A first acquisition module 604 is used to acquire N requirement items of each first application among the M related applications as the lead application, where N is greater than or equal to 1. A positive integer equal to 1; the second detection module 606 is used to detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, wherein the workload information is used to indicate the total workload required to implement each of the N requirement items and the lead workload of the lead application in the total workload, and the application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application in the M related applications, which solves the problem of low accuracy of application coupling degree detection in related technologies, thereby achieving the effect of improving the accuracy of application coupling degree detection.

[0140] The application coupling detection device includes a processor and a memory. The aforementioned units are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to realize the corresponding functions.

[0141] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the accuracy of application coupling detection.

[0142] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0143] This invention provides a computer-readable storage medium storing a program that, when executed by a processor, implements the application coupling detection method.

[0144] This invention provides a processor for running a program, wherein the program executes the application coupling detection method during runtime.

[0145] Figure 7 This is a schematic diagram of an electronic device provided according to an embodiment of this application, such as... Figure 7 As shown, the electronic device includes a processor, a memory, and a program stored in the memory and executable on the processor. The electronic device can be a server, PC, PAD, mobile phone, etc. When the processor executes the program, it performs the following steps:

[0146] The following steps are performed: First, detect the lead application for each requirement item from the requirement items included in the target application architecture. The target application architecture is used to implement a target function through M related applications. Each requirement item indicates a business requirement that is allowed to be executed in the target application architecture. The lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. Next, obtain N requirement items for each first application among the M related applications, where N is a positive integer greater than or equal to 1. Then, detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information indicates the total workload required to implement each of the N requirement items and the lead workload implemented by the lead application within that total workload. The application coupling degree indicates the degree of coupling between the first application and other applications among the M related applications besides the first application.

[0147] Optionally, the processor may further implement the following steps when executing the program: determining a first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items, wherein the first coupling degree is used to indicate the degree of coupling between the first application and all other applications besides the first application among the M related applications in the target application architecture; obtaining K requirement items including the second application from the N requirement items, and determining a second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, wherein the cooperating application is used to cooperate with the lead application to jointly implement the corresponding requirement item, wherein K is a positive integer greater than or equal to 1, and the second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture.

[0148] Optionally, the processor may also perform the following steps when executing the program: calculate the first target difference between the total workload and the lead workload for each requirement item; determine the ratio of the first target difference to the total workload for each requirement item as the first coupling index of the corresponding requirement item; and sum the first coupling indices of each of the N requirement items to obtain the first coupling degree.

[0149] Optionally, the processor may also perform the following steps when executing the program: calculate a second target difference between the total workload and the lead workload of each requirement item; obtain the coordination workload of the second application implementation from the second target difference; determine the ratio of the coordination workload to the total workload of each requirement item as the second coupling index of the corresponding requirement item; sum the second coupling indices of each of the K requirement items to obtain the second coupling degree.

[0150] Optionally, the processor may further implement the following steps when executing the program: after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, obtain the P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1; obtain the second coupling degree between every two applications in the Q applications included in the target sub-architecture to obtain the target coupling degree, where the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2; construct the target coupling degree into a target matrix and calculate the value of the target matrix to obtain the third coupling degree corresponding to the target sub-architecture, where the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture.

[0151] Optionally, the processor may also perform the following steps when executing the program: after detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, the application with the application coupling degree greater than the application coupling degree threshold is identified as a hot application; based on the difference between the application coupling degree of the hot application and the application coupling degree threshold, the association relationship between the hot application and the other applications is adjusted until the application coupling degree of the hot application is less than or equal to the application coupling degree threshold.

[0152] Optionally, the processor may also perform the following steps when executing the program: extracting applications with a coupling degree greater than the application coupling degree threshold from the M related applications as hot applications; and marking the hot applications on the target application architecture.

[0153] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps:

[0154] The following steps are performed: First, detect the lead application for each requirement item from the requirement items included in the target application architecture. The target application architecture is used to implement a target function through M related applications. Each requirement item indicates a business requirement that is allowed to be executed in the target application architecture. The lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. Next, obtain N requirement items for each first application among the M related applications, where N is a positive integer greater than or equal to 1. Then, detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information indicates the total workload required to implement each of the N requirement items and the lead workload implemented by the lead application within that total workload. The application coupling degree indicates the degree of coupling between the first application and other applications among the M related applications besides the first application.

[0155] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: determining a first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items, wherein the first coupling degree is used to indicate the degree of coupling between the first application and all other applications besides the first application among the M related applications in the target application architecture; obtaining K requirement items including the second application from the N requirement items, and determining a second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, wherein the cooperating application is used to cooperate with the lead application to jointly implement the corresponding requirement item, wherein K is a positive integer greater than or equal to 1, and the second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture.

[0156] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: calculating a first target difference between the total workload and the lead workload for each requirement item; determining the ratio of the first target difference to the total workload for each requirement item as a first coupling index for the corresponding requirement item; and summing the first coupling indices of each of the N requirement items to obtain the first coupling degree.

[0157] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: calculating a second target difference between the total workload and the lead workload of each requirement item; obtaining the coordination workload of the second application implementation from the second target difference; determining the ratio of the coordination workload to the total workload of each requirement item as the second coupling degree index of the corresponding requirement item; and summing the second coupling degree indices of each of the K requirement items to obtain the second coupling degree.

[0158] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute a program with the following initialization steps: after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, obtain the P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1; obtain the second coupling degree between every two applications in the Q applications included in the target sub-architecture to obtain the target coupling degree, where the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2; construct the target coupling degree into a target matrix, and calculate the value of the target matrix to obtain the third coupling degree corresponding to the target sub-architecture, where the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture.

[0159] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: after detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, determining the application with an application coupling degree greater than the application coupling degree threshold as a hot application; adjusting the association relationship between the hot application and the other applications based on the difference between the application coupling degree of the hot application and the application coupling degree threshold until the application coupling degree of the hot application is less than or equal to the application coupling degree threshold.

[0160] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute a program that initializes with the following method steps: extracting applications with an application coupling degree greater than the application coupling degree threshold from the M related applications as the hot applications; and marking the hot applications on the target application architecture.

[0161] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0162] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0163] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0164] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0165] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0166] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0167] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0168] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0169] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0170] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for detecting coupling degree, characterized in that, include: Detect the lead application for each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1; Obtain N requirement items from each of the M related applications as the lead application, where N is a positive integer greater than or equal to 1; The application coupling degree of the first application in the target application architecture is detected based on the workload information corresponding to the N requirements. The workload information is used to indicate the total workload required to implement each of the N requirements and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application in the M related applications. The step of detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items includes: determining a first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items, wherein the first coupling degree is used to indicate the degree of coupling between the first application and all other applications besides the first application in the M related applications in the target application architecture; obtaining K requirement items including the second application from the N requirement items, and determining a second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, wherein the cooperating application is used to cooperate with the lead application to jointly implement the corresponding requirement item, wherein K is a positive integer greater than or equal to 1, and the second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture; After determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, the method further includes: obtaining P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1; obtaining the second coupling degree between every two applications in the Q applications included in the target sub-architecture to obtain the target coupling degree, where the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2; constructing the target coupling degree into a target matrix, and calculating the value of the target matrix to obtain the third coupling degree corresponding to the target sub-architecture, where the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture; The third coupling degree is calculated using the following formula: , Where D represents the third coupling degree, and M represents the number of applications in the target sub-architecture. For application The second degree of coupling, To apply A i To lead the application and with application A j To facilitate the application, application A i and application A j For any application in the target sub-architecture.

2. The method according to claim 1, characterized in that, Determining the first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items includes: Calculate the first target difference between the total workload and the lead workload for each requirement item; The ratio of the first target difference for each requirement item to the total workload is determined as the first coupling index of the corresponding requirement item; The first coupling degree is obtained by summing the first coupling degree index of each of the N demand items.

3. The method according to claim 1, characterized in that, The step of obtaining K requirements from the N requirements that include the second application in the cooperating application, and determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirements, includes: Calculate the second objective difference between the total workload and the lead workload for each requirement item; Obtain the coordination workload of the second application implementation from the second target difference; The ratio of the coordination workload of each requirement item to the total workload is determined as the second coupling index of the corresponding requirement item; The second coupling degree is obtained by summing the second coupling degree indices of each of the K demand items.

4. The method according to claim 1, characterized in that, After detecting the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items, the method further includes: Applications with an application coupling degree greater than the application coupling threshold are identified as hot applications; Based on the difference between the application coupling degree of the hot application and the application coupling degree threshold, the association between the hot application and the other applications is adjusted until the application coupling degree of the hot application is less than or equal to the application coupling degree threshold.

5. The method according to claim 4, characterized in that, The step of identifying applications with an application coupling degree greater than the application coupling degree threshold as hot applications includes: From the M related applications, extract the applications whose application coupling degree is greater than the application coupling threshold as the hot applications; The hot applications are marked on the target application architecture.

6. A device for detecting coupling degree, characterized in that, include: The first detection module is used to detect the lead application of each requirement item from the requirement items included in the target application architecture, wherein the target application architecture is used to implement the target function through M related applications, each requirement item is used to indicate a business requirement that is allowed to be executed in the target application architecture, the lead application is the application responsible for leading the implementation of the requirement item, and M is a positive integer greater than 1. The first acquisition module is used to acquire N requirement items for each of the M related applications as the lead application, where N is a positive integer greater than or equal to 1; The second detection module is used to detect the application coupling degree of the first application in the target application architecture based on the workload information corresponding to the N requirement items. The workload information is used to indicate the total workload required to implement each of the N requirement items and the lead workload of the lead application in the total workload. The application coupling degree is used to indicate the degree of coupling between the first application and other applications other than the first application in the M related applications. The second detection module includes: a first determining unit, configured to determine a first coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the N requirement items, wherein the first coupling degree is used to indicate the degree of coupling between the first application and all other applications besides the first application in the M related applications in the target application architecture; and a second determining unit, configured to obtain K requirement items including the second application from the N requirement items, and determine a second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, wherein the cooperating application is used to cooperate with the lead application to jointly implement the corresponding requirement item, K is a positive integer greater than or equal to 1, and the second coupling degree is used to indicate the degree of coupling between the first application and the second application in the target application architecture. The apparatus further includes: a second acquisition module, configured to, after determining the second coupling degree of the first application in the target application architecture based on the workload information corresponding to each of the K requirement items, acquire P sub-architectures included in the target application architecture, where P is a positive integer greater than or equal to 1; a third acquisition module, configured to acquire the second coupling degree between every two applications in the Q applications included in the target sub-architecture, to obtain a target coupling degree, wherein the target sub-architecture is any one of the multiple sub-architectures, and Q is a positive integer greater than or equal to 2; and a construction module, configured to construct the target coupling degree into a target matrix and calculate the value of the target matrix to obtain a third coupling degree corresponding to the target sub-architecture, wherein the third coupling degree is used to indicate the degree of coupling between applications within the target sub-architecture. The third coupling degree is calculated using the following formula: , Where D represents the third coupling degree, and M represents the number of applications in the target sub-architecture. For application The second degree of coupling, To apply A i To lead the application and with application A j To facilitate the application, application A i and application A j For any application in the target sub-architecture.

7. A processor, characterized in that, The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 5 when it runs.

8. An electronic device, characterized in that, The method includes one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method of any one of claims 1 to 5.