Tool architecture rationality demonstration method and device, electronic device and storage medium
By building a tool module mapping chain and counting the access frequency, the problem of tool architecture rationality argumentation in commercial, high-integration, and agile delivery scenarios in the existing technology is solved, and efficient and automated architectural optimization point positioning is achieved, which is suitable for rationality argumentation of commercial tools.
Patent Information
- Application Number
- CN202111248335.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The existing technical solutions cannot meet the rationality argument of tool architecture in commercial, high-integration, and agile delivery scenarios, and are time-consuming and difficult to automate.
Build a tool module mapping chain, count the access frequency of tool functional modules, and demonstrate the integrated architecture in sequence based on the frequency, position the optimization points, and realize the separation of tool architecture and business scenario design.
It improves the rationality demonstration efficiency of tool architecture in commercial, high integration, and agile delivery scenarios, is easy to automate, provides detailed architectural optimization point positioning, and supports efficient problem solving in closed-source complex systems.
Smart Images

Figure CN116028016B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data processing, and in particular to a tool architecture rationality demonstration method and device, electronic equipment and storage medium. Background Art
[0002] Tool architecture directly determines its functionality, performance baseline, and limits. Tools with inappropriate architectures will directly lead to functional defects and performance bottlenecks. Introducing tools with architectural flaws into production systems will directly impact business and production efficiency, resulting in losses. Therefore, before launching any module, tool, platform, or system, ensure the integration method and architecture are sound.
[0003] There are two types of existing technical architecture evaluation methods:
[0004] The scenario-driven architecture analysis method, or SAAM (Scenarios-based Architecture Analysis Method), analyzes the application of an object in different scenarios and demonstrates each of the key elements of interest, including performance, reliability, availability, and security. SAAM relies on a comprehensive comparison of scenarios, requiring extensive manual intervention and time-consuming work for highly integrated data systems with diverse and complex application scenarios. This makes it unsuitable for demonstrating the logic of agile delivery system tool architectures in current DevOps scenarios.
[0005] The second approach is the design-driven architecture tradeoff analysis method, or ATAM (Architecture Tradeoff Analysis Method). This method analyzes object prototype design, combines application scenarios with a quality attribute utility tree, and then analyzes the underlying elements of interest to draw conclusions. ATAM attempts to delve into tool design prototypes, conducting a comprehensive demonstration based on application scenarios, architecture, and quality scoring. This method requires in-depth analysis of the tool prototype design logic and analysis based on the architecture and quality attribute utility tree. This makes it difficult to implement commercial tools involving intellectual property disputes, and the closed-source nature of the attributes adds uncertainty to the implementation process.
[0006] In summary, existing technical solutions cannot meet the rationality of tool architecture in commercial, highly integrated, and agile delivery scenarios. Summary of the Invention
[0007] The present invention provides a tool architecture rationality demonstration method and device, electronic equipment and storage medium, which are used to solve the technical defects existing in the prior art.
[0008] The present invention provides a tool architecture rationality demonstration method, comprising:
[0009] Constructing a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0010] Traversing the tool module mapping chain and counting the access frequency of the tool function module;
[0011] Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points.
[0012] According to the tool architecture rationality demonstration method of the present invention, before constructing the tool module mapping chain, the method includes:
[0013] For any tool Y, according to the minimum functional granularity, it is abstracted into Y1, Y2, ...Yk respectively; where k is a number greater than or equal to 1 and less than or equal to K, and K represents the total number of functional modules of the tool.
[0014] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0015] Constructing a mapping relationship GT between an application scenario set and a tool function set, wherein constructing the mapping relationship GT includes:
[0016] Record the tool function set as a set T, wherein the set T contains t minimum function granularity units;
[0017] Record the business scenario set as set G, where set G includes g business scenarios;
[0018] The business scenario set is mapped according to the tool function set to form a mapping relationship between the application scenario set and the tool function set.
[0019] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0020] Constructing a mapping relationship TY between a tool function set and a tool function module, wherein constructing the mapping relationship TY includes:
[0021] Record the tool function module Y involved in the tool architecture design, decompose the tool function set T into a combination represented by Y-granularity objects, and form a mapping relationship between tool functions and tool function modules.
[0022] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0023] Based on the business scenario set G and the tool function module Y, a mapping relationship GY between the business scenario set and the tool function module is constructed.
[0024] According to the tool architecture rationality demonstration method of the present invention, the method of demonstrating the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules to locate the architecture optimization points includes:
[0025] Record the access frequency of the tool function module as CYk;
[0026] The attention factors of CYk are divided into the first type of attention factors and the second type of attention factors.
[0027] The tool function modules whose CYk is greater than or equal to the preset experience value L are recorded as the first batch, and the other tool function modules are recorded as the second batch;
[0028] Sort the first batch of tool function modules in descending order according to CYk to form a sequence CY;
[0029] According to CY, verify one by one whether the first batch of tools have problems with the first and second categories of concern factors, and output a sequence X of tool function modules with problems;
[0030] Sort the second batch of tool function modules in descending order according to CYk to form sequence CY1;
[0031] According to CY1, verify one by one whether the second batch of tools have problems with the second type of focus elements, and output the tool function module sequence X1 with problems.
[0032] According to the tool architecture rationality demonstration method of the present invention, the method of demonstrating the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules to locate the architecture optimization points includes:
[0033] According to the priority of the sequences X and X1, they are sorted in descending order one by one to locate the architecture optimization point.
[0034] The present invention also provides a tool architecture rationality demonstration device, comprising:
[0035] A mapping chain construction module is used to construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0036] A frequency statistics module, used to traverse the tool module mapping chain and count the access frequency of the tool function module;
[0037] The rationality demonstration module is used to demonstrate the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules and locate the architecture optimization points.
[0038] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-described tool architecture rationality demonstration methods are implemented.
[0039] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned tool architecture rationality demonstration methods.
[0040] The present invention is based on the constructed tool module mapping chain, statistics of the access frequency of the tool function module, and based on the access frequency of the tool function module, sequentially demonstrates the integrated architecture between the tool function modules, locates the architecture optimization points, thereby realizing a demonstration method that separates the tool architecture demonstration from the business scenario design process, and aims to solve the architectural rationality demonstration of highly integrated commercial tools. Since the mapping chain construction process between the tool function module and the application scenario realizes scenario abstraction, it is more universal and easy to automate. The method of the present invention is refined to the tool function module, and forms a priority definition of the tool architecture problem point based on the access frequency sorting sequence of the tool function module, and its architectural rationality demonstration conclusion is more detailed; the present invention provides an efficient architectural demonstration method, which separates the architectural rationality demonstration process and optimization point positioning process of the business scenario and tool, supports the efficient positioning of problem points of the newly launched tool architecture of closed-source and complex systems, and improves efficiency. The present invention is more suitable for tool architecture rationality demonstration and problem solving in commercial, highly integrated, and agile delivery scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 It is a flowchart of the tool architecture rationality demonstration method provided by the present invention;
[0043] Figure 2 It is a schematic diagram of the structure of the tool architecture rationality demonstration device provided by the present invention;
[0044] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0045] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0046] For ease of explanation, this invention focuses on the smallest-granularity online unit tool. This tool is considered the smallest granular unit that completes a single business function through a certain integration of different functional modules. Any specific event can be broken down into several individual business function blocks, which, according to specific invocation methods, form a specific and complex event. Therefore, the method provided by this invention provides a universal demonstration unit process applicable to functional unit architectures of varying granularity.
[0047] The following combination Figure 1 A tool architecture rationality demonstration method of the present invention is described, the method comprising:
[0048] S1. Construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0049] The purpose of building a tool module mapping chain is to record and store the module call relationships involved in the tool's functional completion according to certain rules. This step separates the tool logic from the business scenario and forms the foundation for architectural demonstration.
[0050] S2. Traverse the tool module mapping chain and count the access frequency of the tool function module;
[0051] Specifically, we can traverse the function chain Gp and count the total frequency of the function module Yk, which is recorded as CYk, where p represents the pth function block, P is the total number of functions, k represents the kth function module, and K is the total number of function modules.
[0052] The judgment process is recorded as follows:
[0053] 2.1 p=1,q=1,c=0,CYk=0,where k is greater than or equal to 1 and less than or equal to K.
[0054] 2.2 i=1, determine whether Gpq is equal to Yi. If so, execute 2.3; otherwise, execute 2.5.
[0055] 2.3 CYi=CYi+Gpq, q=q+1.
[0056] 2.4 Determine whether q is greater than CGp. If so, p = p + 1. Determine whether p is greater than P. If so, proceed to 2.6. Otherwise, q = q + 1 and execute 2.2.
[0057] 2.5 i=i+1, determine whether i is greater than K. If so, execute 2.3; otherwise, execute 2.2.
[0058] 2.6 End
[0059] Traverse Gpq, where q is greater than or equal to 1 and less than or equal to CGp, and count the total frequency of occurrence of Yk in each functional module.
[0060] p=p+1, repeat steps 2.1 to 2.6. After the traversal is completed, the total frequency CYk of Yk occurrence is output.
[0061] S3. Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points.
[0062] That is, according to the access frequency of functional modules, the integrated architecture between functional modules is demonstrated in sequence to locate the architectural optimization points.
[0063] The present invention is based on the constructed tool module mapping chain, statistics of the access frequency of the tool function module, and based on the access frequency of the tool function module, sequentially demonstrates the integrated architecture between the tool function modules, locates the architecture optimization points, thereby realizing a demonstration method that separates the tool architecture demonstration from the business scenario design process, and aims to solve the architectural rationality demonstration of highly integrated commercial tools. Since the mapping chain construction process between the tool function module and the application scenario realizes scenario abstraction, it is more universal and easy to automate. The method of the present invention is refined to the tool function module, and forms a priority definition of the tool architecture problem point based on the access frequency sorting sequence of the tool function module, and its architectural rationality demonstration conclusion is more detailed; it provides an efficient architectural demonstration method, which separates the architectural rationality demonstration process and optimization point positioning process of the business scenario and tool, supports the efficient positioning of problem points of the newly launched tool architecture of closed-source and complex systems, and improves efficiency. The present invention is more suitable for tool architecture rationality demonstration and problem solving in commercial, highly integrated, and agile delivery scenarios.
[0064] According to the tool architecture rationality demonstration method of the present invention, before constructing the tool module mapping chain, the method includes:
[0065] Tool function module abstraction: For any tool Y, according to the minimum functional granularity, it is abstracted into Y1, Y2, ...Yk respectively; where k is a number greater than or equal to 1 and less than or equal to K, and K represents the total number of the tool function modules.
[0066] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0067] Constructing a mapping relationship GT between an application scenario set and a tool function set, wherein constructing the mapping relationship GT includes:
[0068] Record the tool function set as a set T, wherein the set T contains t minimum function granularity units;
[0069] Record the business scenario set as set G, where set G includes g business scenarios;
[0070] The business scenario set is mapped according to the tool function set to form a mapping relationship between the application scenario set and the tool function set.
[0071] For example, the tool has existing functions including collection, storage, verification, encryption, decryption, transmission, stream processing, verification, scheduling, and query. The business scenario set includes scenario G1: data exchange, which involves the business function of user 1 encrypting data and transmitting it to user 2 for storage and access. The mapping relationship between G1 and the tool function unit can be expressed as the elements of G1-associated T include {encryption, transmission, storage, decryption, access}.
[0072] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0073] Constructing a mapping relationship TY between a tool function set and a tool function module, wherein constructing the mapping relationship TY includes:
[0074] Record the tool function module Y involved in the tool architecture design, decompose the tool function set T into a combination represented by Y-granularity objects, and form a mapping relationship between tool functions and tool function modules.
[0075] For example, the encryption function involves module Y2, transmission involves module Y1, storage design module Y3, decryption involves module Y2, and access involves module Y4. According to the above example, the expression of {encryption, transmission, storage, decryption, access} using tool modules is {Y2, Y1, Y3, Y2, Y4}.
[0076] According to the tool architecture rationality demonstration method of the present invention, the construction of the tool module mapping chain includes:
[0077] Based on the business scenario set G and the tool function module Y, a mapping relationship GY between the business scenario set and the tool function module is constructed.
[0078] For example, the application scenario function chain is recorded as G1, G2, ...Gp, where p represents the pth function. There are P functions in the scenario. G1 involves Y1, Y2, and Y3, and G2 involves Y2 and Y3, and so on.
[0079] Record the number of times each step calls the function module. For the function chain Gp, it involves function modules Y1, ..Yi, where i represents the i-th function module and I represents the total number of modules. Function module Y1 is recorded as Gpj, where p is greater than or equal to P and j is greater than or equal to I. The number of function modules involved in each function module is recorded as CGp=I.
[0080] According to the tool architecture rationality demonstration method of the present invention, the method of demonstrating the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules to locate the architecture optimization points includes:
[0081] Record the access frequency of the tool function module as CYk;
[0082] The attention factors of CYk are divided into the first type of attention factors and the second type of attention factors.
[0083] The tool function modules whose CYk is greater than or equal to the preset experience value L are recorded as the first batch, and the other tool function modules are recorded as the second batch;
[0084] The factors involved are divided into two categories: the first category is {high availability, reliability, stability, and stress resistance}, and the second category is {availability and security}.
[0085] Sort the first batch of tool function modules in descending order according to CYk to form a sequence CY;
[0086] According to CY, the first batch of tools are verified one by one to see whether there are problems with the first and second types of focus factors, and a sequence X of tool function modules with problems is output; wherein the specific verification method is the general consensus method.
[0087] Sort the second batch of tool function modules in descending order according to CYk to form sequence CY1;
[0088] According to CY1, the second batch of tools are verified one by one to see if there are any problems with the second category of focus factors, and the functional module sequence X1 of the tools with problems is output. The specific verification method is the general consensus method.
[0089] According to the tool architecture rationality demonstration method of the present invention, the method of demonstrating the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules to locate the architecture optimization points includes:
[0090] According to the priority of the sequences X and X1, they are sorted in descending order one by one to locate the architecture optimization point.
[0091] For example, the first batch of module sequence CY proves that the modules with problems include Y2 and Y6, and their corresponding problems correspond to {X1, X2} and {X3, X4, X5} in the problem sequence X. Similarly, CY1 proves that the module with problems is Y1, which corresponds to {X11, X12} in the problem sequence X1. The processing priority of the optimization point is {X1, X2, X3, X4, X5, X11, X12}, and the corresponding tool function module processing priority is Y2, Y6, and Y1.
[0092] See also Figure 2 The tool architecture rationality demonstration device provided by the present invention is described below. The tool architecture rationality demonstration device described below and the tool architecture rationality demonstration method described above can refer to each other. The tool architecture rationality demonstration device includes:
[0093] A mapping chain construction module 10 is used to construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0094] The purpose of building a tool module mapping chain is to record and store the module call relationships involved in the tool's functional completion according to certain rules. This step separates the tool logic from the business scenario and forms the foundation for architectural demonstration.
[0095] A frequency statistics module 20 is used to traverse the tool module mapping chain and count the access frequency of the tool function module;
[0096] Specifically, we can traverse the function chain Gp and count the total frequency of the function module Yk, which is recorded as CYk, where p represents the pth function block, P is the total number of functions, k represents the kth function module, and K is the total number of function modules.
[0097] The rationality demonstration module 30 is used to demonstrate the integration architecture between the tool function modules in sequence based on the access frequency of the tool function modules, and locate the architecture optimization points.
[0098] That is, according to the access frequency of functional modules, the integrated architecture between functional modules is demonstrated in sequence to locate the architectural optimization points.
[0099] According to the tool architecture rationality demonstration device of the present invention, the device further includes a tool function module abstraction module:
[0100] The tool function module abstraction is used to: for any tool Y, according to the minimum function granularity, abstract it into Y1, Y2, ...Yk respectively; wherein k is a number greater than or equal to 1 and less than or equal to K, and K represents the total number of the tool function modules.
[0101] According to the tool architecture rationality demonstration device of the present invention, the mapping chain construction module 10 is used to:
[0102] Constructing a mapping relationship GT between an application scenario set and a tool function set, wherein constructing the mapping relationship GT includes:
[0103] Record the tool function set as a set T, wherein the set T contains t minimum function granularity units;
[0104] Record the business scenario set as set G, where set G includes g business scenarios;
[0105] The business scenario set is mapped according to the tool function set to form a mapping relationship between the application scenario set and the tool function set.
[0106] For example, the tool has existing functions including collection, storage, verification, encryption, decryption, transmission, stream processing, verification, scheduling, and query. The business scenario set includes scenario G1: data exchange, which involves the business function of user 1 encrypting data and transmitting it to user 2 for storage and access. The mapping relationship between G1 and the tool function unit can be expressed as the elements of G1-associated T include {encryption, transmission, storage, decryption, access}.
[0107] According to the tool architecture rationality demonstration device of the present invention, the mapping chain construction module 10 is used to:
[0108] Constructing a mapping relationship TY between a tool function set and a tool function module, wherein constructing the mapping relationship TY includes:
[0109] Record the tool function module Y involved in the tool architecture design, decompose the tool function set T into a combination represented by Y-granularity objects, and form a mapping relationship between tool functions and tool function modules.
[0110] For example, the encryption function involves module Y2, transmission involves module Y1, storage design module Y3, decryption involves module Y2, and access involves module Y4. According to the above example, the expression of {encryption, transmission, storage, decryption, access} using tool modules is {Y2, Y1, Y3, Y2, Y4}.
[0111] According to the tool architecture rationality demonstration device of the present invention, the mapping chain construction module 10 is used to:
[0112] Based on the business scenario set G and the tool function module Y, a mapping relationship GY between the business scenario set and the tool function module is constructed.
[0113] For example, the application scenario function chain is recorded as G1, G2, ...Gp, where p represents the pth function. There are P functions in the scenario. G1 involves Y1, Y2, and Y3, and G2 involves Y2 and Y3, and so on.
[0114] Record the number of times each step calls the function module. For the function chain Gp, it involves function modules Y1, ..Yi, where i represents the i-th function module and I represents the total number of modules. Function module Y1 is recorded as Gpj, where p is greater than or equal to P and j is greater than or equal to I. The number of function modules involved in each function module is recorded as CGp=I.
[0115] According to the tool architecture rationality demonstration device of the present invention, the rationality demonstration module 30 is used to:
[0116] Record the access frequency of the tool function module as CYk;
[0117] The attention factors of CYk are divided into the first type of attention factors and the second type of attention factors.
[0118] The tool function modules whose CYk is greater than or equal to the preset experience value L are recorded as the first batch, and the other tool function modules are recorded as the second batch;
[0119] The factors involved are divided into two categories: the first category is {high availability, reliability, stability, and stress resistance}, and the second category is {availability and security}.
[0120] Sort the first batch of tool function modules in descending order according to CYk to form a sequence CY;
[0121] According to CY, the first batch of tools are verified one by one to see whether there are problems with the first and second types of focus factors, and a sequence X of tool function modules with problems is output; wherein the specific verification method is the general consensus method.
[0122] Sort the second batch of tool function modules in descending order according to CYk to form sequence CY1;
[0123] According to CY1, the second batch of tools are verified one by one to see if there are any problems with the second category of focus factors, and the functional module sequence X1 of the tools with problems is output. The specific verification method is the general consensus method.
[0124] According to the tool architecture rationality demonstration device of the present invention, the rationality demonstration module 30 is used to:
[0125] According to the priority of the sequences X and X1, they are sorted in descending order one by one to locate the architecture optimization point.
[0126] For example, the first batch of module sequence CY proves that the modules with problems include Y2 and Y6, and their corresponding problems correspond to {X1, X2} and {X3, X4, X5} in the problem sequence X. Similarly, CY1 proves that the module with problems is Y1, which corresponds to {X11, X12} in the problem sequence X1. The processing priority of the optimization point is {X1, X2, X3, X4, X5, X11, X12}, and the corresponding tool function module processing priority is Y2, Y6, and Y1.
[0127] Figure 3 The following is a schematic diagram of the physical structure of an electronic device, which may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340. The processor 310, the communication interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute a tool architecture rationality demonstration method, which includes:
[0128] S1. Construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0129] S2. Traverse the tool module mapping chain and count the access frequency of the tool function module;
[0130] S3. Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points.
[0131] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0132] On the other hand, the present invention further provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions. When the program instructions are executed by a computer, the computer is capable of performing the tool architecture rationality demonstration method provided by the above methods, which comprises:
[0133] S1. Construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0134] S2. Traverse the tool module mapping chain and count the access frequency of the tool function module;
[0135] S3. Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points.
[0136] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program is implemented to perform the above-mentioned tool architecture rationality demonstration method, the method comprising:
[0137] S1. Construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module;
[0138] S2. Traverse the tool module mapping chain and count the access frequency of the tool function module;
[0139] S3. Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points.
[0140] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A tool architecture rationality demonstration method, characterized by: include: Constructing a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module; Traversing the tool module mapping chain and counting the access frequency of the tool function module; Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is demonstrated in sequence to locate the architecture optimization points; Based on the access frequency of the tool function modules, the integration architecture between the tool function modules is sequentially demonstrated to locate the architecture optimization points, including: Record the access frequency of the tool function module as CYk; Divide the attention factors of CYk into first-category attention factors and second-category attention factors; The tool function modules whose CYk is greater than or equal to the preset experience value L are recorded as the first batch, and the other tool function modules are recorded as the second batch; Sort the first batch of tool function modules in descending order according to CYk to form a sequence CY; According to CY, verify one by one whether the first batch of tools have problems with the first and second categories of concern factors, and output a sequence X of tool function modules with problems; Sort the second batch of tool function modules in descending order according to CYk to form sequence CY1; According to CY1, verify one by one whether the second batch of tools have problems with the second category of focus elements, and output the tool function module sequence X1 with problems; The method of sequentially demonstrating the integrated architecture between the tool function modules based on the access frequency of the tool function modules and locating the architecture optimization points further includes: According to the priority of the sequences X and X1, they are sorted in descending order one by one to locate the architecture optimization point.
2. The tool architecture rationality demonstration method according to claim 1 is characterized in that: Before building the tool module mapping chain, include: For any tool Y, according to the minimum functional granularity, it is abstracted into Y1, Y2, ...Yk respectively; where k is a number greater than or equal to 1 and less than or equal to K, and K represents the total number of functional modules of the tool.
3. The tool architecture rationality demonstration method according to claim 2 is characterized in that: The construction tool module mapping chain includes: Constructing a mapping relationship GT between an application scenario set and a tool function set, wherein constructing the mapping relationship GT includes: Record the tool function set as a set T, wherein the set T contains t minimum function granularity units; Record the business scenario set as set G, where set G includes g business scenarios; The business scenario set is mapped according to the tool function set to form a mapping relationship between the application scenario set and the tool function set.
4. The tool architecture rationality demonstration method according to claim 3 is characterized in that: The construction tool module mapping chain includes: Constructing a mapping relationship TY between a tool function set and a tool function module, wherein constructing the mapping relationship TY includes: Record the tool function module Y involved in the tool architecture design, decompose the tool function set T into a combination represented by Y-granularity objects, and form a mapping relationship between tool functions and tool function modules.
5. The tool architecture rationality demonstration method according to claim 4 is characterized in that: The construction tool module mapping chain includes: Based on the business scenario set G and the tool function module Y, a mapping relationship GY between the business scenario set and the tool function module is constructed.
6. A tool architecture rationality demonstration device, characterized in that: include: A mapping chain construction module is used to construct a tool module mapping chain; the tool module mapping chain includes the relationship between the application scenario set and the tool function set, the mapping relationship between the tool function set and the tool function module, and the mapping relationship between the business scenario set and the tool function module; A frequency statistics module, used to traverse the tool module mapping chain and count the access frequency of the tool function module; A rationality demonstration module is used to demonstrate the integration architecture between the tool function modules in order based on the access frequency of the tool function modules and locate the architecture optimization points; The rationality demonstration module is further configured to record the access frequency of the tool function module as CYk; classify the focus factors of the CYk into a first category of focus factors and a second category of focus factors; record the tool function modules whose CYk is greater than or equal to a preset experience value L as the first batch, and record the other tool function modules as the second batch; sort the tool function modules in the first batch in descending order according to CYk to form a sequence CY; verify one by one whether the first batch of tools have problems with the first category of focus factors and the second category of focus factors according to CY, and output a sequence X of tool function modules with problems; sort the tool function modules in the second batch in descending order according to CYk to form a sequence CY1; According to CY1, verify one by one whether the second batch of tools have problems with the second category of focus elements, and output the tool function module sequence X1 with problems; The rationality demonstration module is further used to sort the sequences X and X1 in descending order according to their priorities to locate the architecture optimization points.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the tool architecture rationality argumentation method as described in any one of claims 1 to 5 are implemented.
8. A non-transitory 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 tool architecture rationality argumentation method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Task-oriented software test strategy generation method combining defect prediction and incidence matrix
CN112699019A