Service system architecture display method and device and related equipment
By dynamically judging and building display elements of the financial business system architecture, the problem of inability to accurately reflect the true status of financial business in traditional technology is solved, the accuracy and user experience of the system architecture are improved, and the operational cost is reduced.
Patent Information
- Application Number
- CN202411313632.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-07
AI Technical Summary
The traditional financial business system architecture design cannot accurately reflect the real status and traffic of financial business, resulting in irregular management, high costs, poor user experience, and affect customer satisfaction.
By responding to the business system architecture display instructions, obtain the resource information of the constituent elements in the preset system architecture, determine whether the display conditions are met, dynamically determine the display elements, and build the target system architecture for display to ensure that the displayed system architecture is consistent with the business status.
It realizes the accuracy and simplicity of the system architecture, improves users' understanding of the current operating status of the business, reduces operating costs, and improves user experience and customer satisfaction.
Smart Images

Figure CN119271331A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to a method, device, computer equipment and computer-readable storage medium for displaying a system architecture of a business. Background Art
[0002] System architecture is the structural representation of a system and a means of describing the overall abstract structure of a system. For businesses involved in financial technology, including but not limited to insurance, securities, and banking, the system architecture of the business can be used to describe the structure of the constituent relationships of the business, including but not limited to component relationships and association relationships.
[0003] In the field of financial technology, the system architecture of financial business is an important means in the field of system management of financial companies. It is very important for planning the system architecture of financial business, the relationship between financial business and retaining the design concept of financial products. For example, in the field of financial technology, for a fund product, users can purchase it from the web page, from a dedicated application (i.e. APP), or from a third-party client. In this case, for the purchase flow of the fund product, the system architecture of the fund product's business can be constructed to describe the flow relationship of the fund product. Through the system architecture of the fund product's business, the business relationship of the fund product can be intuitively understood.
[0004] However, in traditional technology, in the field of financial technology, the design of the system architecture of the above-mentioned financial business generally adopts fixed relationship graphics to transmit information. As the complexity of related financial products and financial services continues to escalate, the traditional system architecture expression of financial products can no longer well meet the financial companies' management of financial services and the ever-changing financial business status (such as the survival and activity of financial services) and the grasp and judgment of the flow direction of financial business links. For example, due to the non-standard management of financial systems, the system architecture design of traditional financial services can only help personnel have a general understanding of the historical business associations of financial business systems, but cannot clearly know the usage of financial services, such as whether related financial services exist, the size of financial business traffic, etc., which results in the inaccuracy or increasing bloat of the system architecture of the financial business, increases the user's cost of use, reduces the willingness to use, makes it difficult to improve work efficiency, and the operating costs remain high, directly or indirectly affecting the satisfaction of related financial customers.
[0005] Therefore, in traditional technologies, the system architecture design of financial business may not be updated in time or not updated due to irregular operation and maintenance management, and other reasons, resulting in the business logic of the system architecture of financial business becoming chaotic, and the system architecture of financial business cannot accurately reflect the true status of the financial business. Summary of the invention
[0006] The present application provides a method, apparatus, computer device and computer-readable storage medium for displaying the system architecture of a business, which can solve the technical problem of inaccurate display of the system architecture of a financial business in traditional technologies.
[0007] In a first aspect, the present application provides a method for displaying a system architecture of a business, comprising: responding to a display instruction of a system architecture of a business, obtaining a preset system architecture of the business, the preset system architecture comprising n constituent elements, wherein n is a natural number and n≥2; obtaining resource information corresponding to the constituent elements; determining whether the resource information meets a preset display condition; determining to display the constituent elements if the resource information meets the preset display condition; constructing a target system architecture corresponding to the business with all the constituent elements determined to be displayed, and displaying the target system architecture.
[0008] In a second aspect, the present application provides a system architecture display device for a business, comprising: a first acquisition unit, used to respond to a display instruction of the system architecture of the business, and acquire a preset system architecture of the business, wherein the preset system architecture includes n constituent elements, where n is a natural number and n≥2; a second acquisition unit, used to acquire resource information corresponding to the constituent elements; a judgment unit, used to judge whether the resource information meets a preset display condition; a first determination unit, used to determine to display the constituent elements if the resource information meets the preset display condition; and a display unit, used to construct a target system architecture corresponding to the business with all the constituent elements determined to be displayed, and display the target system architecture.
[0009] In a third aspect, the present application provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the system architecture display method of the business are implemented.
[0010] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the system architecture display method for the business.
[0011] The present application provides a method, device, computer equipment and computer-readable storage medium for displaying a system architecture of a business. The method obtains a preset system architecture of the business by responding to a display instruction of a system architecture of the business, wherein the preset system architecture includes constituent elements, obtains resource information corresponding to the constituent elements, and determines to display the constituent elements when the resource information meets the preset display conditions, constructs a target system architecture corresponding to the business with all constituent elements determined to be displayed, and displays the target system architecture. Compared with the fixed system architecture diagram used to display financial business in traditional technologies, the embodiment of the present application can dynamically determine whether to display the constituent element according to the resource information of the constituent element each time the system architecture is displayed, thereby realizing the dynamic display of the system architecture according to the resource information, so that the display of the system architecture can reflect the resource information of the constituent elements, and the resource information reflects the operation of the business, so that the system architecture of the displayed business can intuitively and accurately reflect the operation status and survivability of the business, so that the system architecture of the business is as consistent as possible with the operation of the business status, so as to improve the accuracy of the display of the system architecture of the business, so that the front-end user can intuitively, accurately and quickly grasp the system architecture corresponding to the current operation of the business. For example, in financial technology, for financial business, the real operation status of the financial business can be accurately displayed through the system architecture of the financial business. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of a method for displaying a system architecture of a service provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram of a first sub-process of a method for displaying a system architecture of a service provided in an embodiment of the present application;
[0015] Figure 3 A schematic diagram of a second sub-process of the system architecture display method for a service provided in an embodiment of the present application;
[0016] Figure 4 A schematic block diagram of a system architecture display device for a service provided in an embodiment of the present application;
[0017] Figure 5 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0020] An embodiment of the present application provides a method for displaying a system architecture of a business, which can be applied to but not limited to computer devices such as laptops, desktop computers, servers, and can be used in the field of financial technology, including but not limited to displaying the system architecture of financial business.
[0021] Faced with the technical problem that the system architecture of financial business in traditional technology cannot accurately display the real status of financial business, the inventor proposes a system architecture display method for business in the embodiment of the present application. The core idea of the embodiment of the present application is: when it is necessary to display the system architecture of the business, obtain the preset system architecture of the business, and obtain relevant resource information involved in the preset system architecture. According to the resource information, on the basis of the preset system architecture, determine the display composition of the system architecture of the business, and use the determined display composition to build the current system architecture of the business and display it, while the parts included in the preset system architecture that are not determined to be displayed are not explicitly displayed, thereby improving the accuracy of the system architecture display of the business. For example, in financial technology, for financial business, the real operating status of the financial business can be accurately displayed through the system architecture of the financial business.
[0022] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0023] See also Figure 1 , Figure 1 A flow chart of a method for displaying a system architecture of a service provided in an embodiment of the present application. Figure 1 As shown, the method includes but is not limited to the following steps S11-S14:
[0024] S11. Respond to a display instruction of a system architecture of a service, and obtain a preset system architecture of the service, wherein the preset system architecture includes n constituent elements, where n is a natural number and n≥2.
[0025] Explanatory, a preset system architecture corresponding to the business is pre-built. The preset system architecture describes the overall structural representation of the running business. The preset system architecture is the initial system architecture of the business. The preset system architecture contains n constituent elements, where n is a natural number and n≥2. The constituent elements are the elements that constitute the preset system architecture. The constituent elements include but are not limited to the components of the entry layer, application layer, and data layer of the business.
[0026] In an application scenario based on the interaction between the front-end and the back-end, when a user views the system architecture of a business through the front-end, the user may use a display interface including but not limited to a web-based display page or an application (i.e., APP), and click a button to view the system architecture of the business to display the system architecture of the business. The back-end responds to a display instruction to display the system architecture of the business and obtains a preset system architecture corresponding to the business, wherein the display instruction is information transmitted to the back-end by the user clicking the button to view the system architecture of the business, and the information is used to notify the back-end to display the system architecture of the business.
[0027] Exemplarily, in the field of financial technology, when a user views the system architecture of a fund product through the front end, he can click a button to view the system architecture of the fund product on a web-based display page or a display interface of an application (i.e., APP) to display the system architecture of the fund product. The back end responds to the display instruction to display the system architecture of the fund product and obtains the preset system architecture corresponding to the fund product, wherein the preset system architecture describes the overall structural representation of the running fund product, the preset system architecture is a preset static business relationship diagram, the preset system architecture includes n constituent elements for running the fund product, n is a natural number, and n≥2, the display instruction is the information transmitted to the back end by the user clicking the button to view the system architecture of the fund product, and the information is used to notify the back end to display the system architecture of the fund product, and the constituent elements describe the composition of the running fund product including but not limited to the entry layer, application layer, and data layer. For example, the constituent elements include but are not limited to the following: domain name F5 of the entry layer; traffic, load balancing, gateway, and server between different businesses of the application layer; data access volume, link volume, and database of the data layer.
[0028] S12: Obtain resource information corresponding to the constituent elements.
[0029] Explanatory, since the preset system architecture describes the overall structural representation of the running business, the preset system architecture of the business includes but is not limited to the constituent elements of the entry layer, application layer, and data layer of the business. The constituent elements correspond to corresponding resource information, and the resource information describes the information of the resources used for the business operation. Therefore, from the perspective of the entry layer, when the constituent element is the entrance to access the business, for example, when the constituent element is a web page or an APP interface, the resource information corresponding to the constituent element includes the entry access volume of the business. The entry access volume can also be called the entry traffic of the business. The entry access volume of the business can be obtained through the domain name F5 to obtain the resource information corresponding to the constituent elements of the preset system architecture of the business at the entry layer; from the perspective of the application layer, the resource information of the business includes the traffic between the business and other businesses, load balancing information, gateway information, and server information, and the resource information corresponding to the constituent elements of the preset system architecture of the business at the application layer is obtained; from the perspective of the data layer, the resource information of the business includes data access volume (i.e., data traffic), link volume, database information, and network attached storage (NAS) information, and the resource information corresponding to the constituent elements of the preset system architecture of the business at the data layer is obtained.
[0030] S13, determining whether the resource information meets a preset display condition;
[0031] S14: When the resource information meets a preset display condition, determine to display the constituent elements.
[0032] Explanatoryly, pre-set display conditions, i.e., preset display conditions, are used to limit the display of constituent elements of a preset system architecture. Generally, preset display conditions indicate whether a constituent element plays a role in business operations. Only when a constituent element plays a role in business operations does it need to be displayed in the system architecture of the current business. If a constituent element temporarily does not play a role in business operations, it may not be displayed when the system architecture of the business is displayed. Thus, the latest, most accurate, and concise current business logic of the business is displayed through the displayed system architecture of the business, thereby avoiding excessive invalid interference in the displayed system architecture.
[0033] Display the system architecture of the business. On the basis of the preset system architecture, only when the constituent elements included in the preset system architecture meet the preset display conditions, it is determined that the constituent elements will be displayed in the system architecture. When the constituent elements included in the preset system architecture do not meet the preset display conditions, it is determined not to display the constituent elements in the system architecture, so that according to the resource information of the constituent elements, it is dynamically determined whether to display the constituent elements each time the system architecture is displayed, thereby realizing the dynamic display of the system architecture according to the resource information, so that the display of the system architecture can reflect the resource information of the constituent elements, and the resource information reflects the operation of the business, so that the system architecture of the displayed business can intuitively and accurately reflect the operation status of the business, and make the system architecture of the business as consistent as possible with the operation of the business status, so as to improve the accuracy of the display of the system architecture of the business, so that the front-end users can intuitively, accurately and quickly grasp the system architecture corresponding to the current operation of the business.
[0034] For example, in one example, in the field of financial technology, it is assumed that the preset system architecture of the financial business includes the following elements: portal WEB, portal APP, database, traffic between business A and business B, and server. In the process of displaying the system architecture of the business, for each of the above elements, the preset display conditions, the resource information corresponding to each element, and the result of whether to display are shown in the following Table 1:
[0035] Table 1
[0036]
[0037] As shown in Table 1 above, in this example, although the preset system architecture of the business includes: portal WEB, portal APP, database, traffic link between business A and business B, and server, in this display process, it is determined that the final system architecture of the business displayed includes: portal APP, database, and server. Not all components of the preset system architecture of the business are displayed, and only the components that meet the preset display conditions are displayed, so that the system architecture of the displayed business can intuitively and accurately reflect the operating status of the business, and make the system architecture of the business as consistent as possible with the operating status of the business, so as to improve the accuracy of the system architecture display of the business, so that front-end users can intuitively, accurately and quickly grasp the system architecture corresponding to the current operation of the business.
[0038] S15: construct a target system architecture corresponding to the business using all the constituent elements determined to be displayed, and display the target system architecture.
[0039] Explanatory, all the constituent elements determined to be displayed will be used to construct a target system architecture corresponding to the business. The target system architecture reflects the business relationships that have occurred, and the target system architecture is displayed so that the front-end user can intuitively understand the current system architecture corresponding to the business.
[0040] In the embodiment of the present application, by responding to the display instruction of the system architecture of the business, a preset system architecture of the business is obtained, the preset system architecture includes constituent elements, resource information corresponding to the constituent elements is obtained, and when the resource information meets the preset display conditions, it is determined that the constituent elements will be displayed, and the target system architecture corresponding to the business is constructed with all the constituent elements determined to be displayed, and the target system architecture is displayed. Compared with the fixed system architecture diagram for displaying the business in the traditional technology, the embodiment of the present application can dynamically determine whether to display the constituent element according to the resource information of the constituent element each time the system architecture is displayed, and realizes the dynamic display of the system architecture according to the resource information, so that the display of the system architecture can reflect the resource information of the constituent elements, and the resource information reflects the operation of the business, so that the system architecture of the displayed business can intuitively and accurately reflect the operation status and survivability of the business, and make the operation of the system architecture of the business and the business status as consistent as possible, so as to improve the accuracy of the display of the system architecture of the business, so that the front-end user can intuitively, accurately and quickly grasp the system architecture corresponding to the current operation of the business. For example, in financial technology, for financial business, the real operation status of the financial business can be accurately displayed through the system architecture of the financial business.
[0041] In one embodiment, please continue to refer to Figure 1 , the method further comprises:
[0042] S16: When the resource information does not meet a preset display condition, the constituent elements are displayed in a weakened manner or hidden.
[0043] Explanatory, please continue to see Figure 1 When the resource information does not meet the preset display conditions, it is determined that the constituent elements will not be displayed, the constituent elements will be displayed in a weakened manner or hidden, wherein, displaying the constituent elements in a weakened manner means fading the constituent elements, that is, displaying the constituent elements in a lighter manner than the normal display, and hiding the constituent elements means not displaying the constituent elements.
[0044] For example, please continue to refer to Table 1. In the system architecture display processing of this business, the constituent element entrance WEB of the preset system architecture and the traffic link between business A and business B will not be displayed. Alternatively, the constituent element entrance WEB of the preset system architecture and the traffic link between business A and business B may be displayed in a weakened manner.
[0045] In the embodiments of the present application, by weakening the display or hiding the constituent elements when the resource information does not meet the preset display conditions, the constituent elements that have no traffic for a long time or do not need to be displayed can be eliminated from the system architecture display of the business, so that the displayed system architecture is more concise, and the business operation status reflected by the system architecture is more accurate, so that the system architecture of the business can truly and accurately reflect the call status between businesses, and can improve the efficiency of understanding the system architecture under the current operation status of the business. For example, in financial technology, for financial business, the system architecture of the financial business can be used to improve the efficiency of understanding the system architecture under the current operation status of the financial business.
[0046] In one embodiment, see Figure 2 , Figure 2 This is a schematic diagram of the first sub-process of the system architecture display method for the service provided in the embodiment of the present application. Figure 2 As shown, in this embodiment, judging whether the resource information meets the preset display condition includes:
[0047] S21, determining whether there is data interaction between the first component and the second component;
[0048] S22: if there is no data interaction between the first component and the second component, determining that the resource information does not meet a preset display condition;
[0049] S23. In a case where data interaction exists between the first component and the second component, acquiring data flow between the first component and the second component;
[0050] S24, determining whether the data flow is greater than or equal to a preset flow threshold;
[0051] S25. When the data flow rate is less than a preset flow rate threshold, determining that the resource information does not meet a preset display condition;
[0052] S26. When the data flow is greater than or equal to a preset flow threshold, determining whether the preset system architecture includes a link between the first component and the second component;
[0053] S27, when the preset system architecture includes the link, determining that the resource information meets a preset display condition;
[0054] S28: When the preset system architecture does not include the link, add the link to the preset system architecture, and determine to display the link.
[0055] Explanatoryly, the preset system architecture of a business is a static relational architecture diagram of the business. The preset system architecture generally includes constituent elements and links between different constituent elements. Links represent the business relationship between different constituent elements, that is, links represent the business logical association between different constituent elements. For example, during the operation of the business, the front end accesses the database from the access portal through the gateway, then a business link will be formed between the constituent elements of the access portal, the gateway, and the database. The link indicates that there is a business logical relationship between the access portal, the gateway, and the database. Traffic will be generated between the access portal, the gateway, and the database due to data interaction. Traffic between the three indicates that there is data interaction, and no traffic indicates that there can be no data interaction. Similar situations can be deduced by analogy.
[0056] Assume that the preset system architecture of the business includes a first constituent element and a second constituent element, wherein the first and the second are only used to distinguish different constituent elements to describe the technical solution of the embodiment of the present application, and are not used to limit the technical solution of the embodiment of the present application. One situation when judging whether the resource information meets the preset display conditions is to first judge whether there is data interaction between the first constituent element and the second constituent element, that is, to judge whether there is traffic between the first constituent element and the second constituent element. When there is no data interaction between the first constituent element and the second constituent element, that is, there is no traffic between the first constituent element and the second constituent element, it indicates that the first constituent element and the second constituent element have temporarily no business logical relationship when the business is running, and it is judged that the resource information does not meet the preset display conditions, that is, there is no need to display the business logical relationship between the first constituent element and the second constituent element. The logical relationship is generally presented in the form of a link;At the same time, when there is data interaction between the first component and the second component, that is, there is traffic between the first component and the second component, it indicates that a business logical relationship occurs between the first component and the second component during business operation. Further, the data traffic between the first component and the second component is obtained, and the data traffic includes real-time traffic information and / or historical traffic data. The time period corresponding to the data traffic can be customized, so as to determine the data traffic between the first component and the second component within a customized time period, and then determine whether the data traffic is greater than or equal to a preset traffic threshold, that is, determine the size of the data traffic. When the data traffic is less than the preset traffic threshold, it indicates that the data traffic between the first component and the second component is relatively small, and it is determined that the resource information does not meet the preset display conditions, and the business logical relationship between the first component and the second component is not displayed, thereby excluding the situation in the computer field where data interaction exists but the data interaction is not caused by the operation of the business logic, so that the system architecture of the business is displayed more accurately. When the data traffic is greater than or equal to the preset traffic threshold, it indicates that the first component If the data flow between the first element and the second element is relatively large, it indicates that there is a real business logical association between the first element and the second element. Then, it is further determined whether the preset system architecture includes the link between the first element and the second element. If the preset system architecture includes the link between the first element and the second element, it is determined that the resource information meets the preset display condition, and the link between the first element and the second element is displayed in the system architecture, indicating that there is a business logical association between the first element and the second element. If the preset system architecture does not include the link between the first element and the second element, the link between the first element and the second element is added to the preset system architecture, and it is determined that the added link is displayed, indicating that there is a business logical association between the first element and the second element, thereby automatically improving the system architecture, making the system architecture display accurate, and being able to fully indicate the current business operation status, avoiding the situation where there is no business logical association between the original first element and the second element, but there is a business logical association between the first element and the second element due to business changes, and the system architecture cannot be updated in time. ;
[0057] In an embodiment of the present application, whether to display the business logic link between the first component and the second component is determined by judging whether there is traffic between the first component and the second component and the size of the traffic. Furthermore, when there is traffic between the first component and the second component and the preset system architecture does not include the link between the first component and the second component, the link between the first component and the second component is added to the preset system architecture, and it is determined to display the link, so as to timely update the business logical association relationship between the first component and the second component involved in the system architecture, so that the system architecture of the business can be displayed concisely and accurately, so that the displayed system architecture can accurately reflect the real status and survivability of the business. For example, in financial technology, for financial business, the real status and survivability of the business can be accurately reflected through the system architecture of the financial business.
[0058] In one embodiment, after determining whether the preset system architecture includes a link between the first component and the second component, the method further includes:
[0059] The flow size and / or flow direction of the data flow corresponding to the link is obtained, and the flow size and / or the flow direction is marked on the link.
[0060] Explanatory, when there is a business logic association relationship between the first component and the second component, the strength of the business logic association relationship is displayed in the system architecture. The strength of the business association relationship is generally described from the flow size and flow direction of the traffic, so that the business logic association relationship between the first component and the second component can be more clearly displayed from a quantitative and directional perspective, so that the system architecture of the business can further truly reflect the business operation status. Including the following three situations:
[0061] In the first case, the traffic size of the data traffic corresponding to the link is obtained, and the traffic size is marked on the link. The traffic size can be marked above or below the link. The marking position of the traffic size on the link is not limited here. As long as the relationship between the traffic size and the link can be seen from the system architecture, the strength of the business logic association between the first constituent element and the second constituent element can be clearly seen.
[0062] In the second case, the traffic direction of the data traffic corresponding to the link is obtained, and the traffic direction is marked on the link. The traffic direction is generally represented by an arrow connecting the first component element and the second component element, so that the business direction between the first component element and the second component element can be clearly seen.
[0063] The third scenario is to combine the first scenario with the second scenario to obtain the traffic size and traffic direction of the data traffic corresponding to the link, and mark the traffic size and traffic direction on the link, so as to more clearly display the business logic association relationship between the first constituent element and the second constituent element from a quantitative and directional perspective.
[0064] In the embodiments of the present application, by obtaining the flow size and / or flow direction of the data flow corresponding to the link, and marking the flow size and / or flow direction on the link, it is possible to more clearly display the business logic association relationship between the first constituent element and the second constituent element from a quantitative and directional perspective, reflect the call relationship and call volume between the businesses, and enable the system architecture of the business to further truly reflect the business operation status, and further improve the authenticity and accuracy of the system architecture of the business in reflecting the operation status of the business. For example, in financial technology, for financial business, the system architecture of the financial business can be used to enable the system architecture of the financial business to further truly reflect the operation status of the financial business, and further improve the authenticity and accuracy of the system architecture of the financial business in reflecting the operation status of the financial business.
[0065] In one embodiment, see Figure 3 , Figure 3 This is a schematic diagram of the second sub-process of the system architecture display method of the service provided in the embodiment of the present application. Figure 3 As shown, in this embodiment, it is determined that all the constituent elements displayed are used to construct a target system architecture corresponding to the business, including:
[0066] S31, obtaining a preset business attribute corresponding to the constituent element determined to be displayed;
[0067] S32, determining the display order of the constituent elements in the target system architecture according to the preset business attributes;
[0068] S33: Determine the relative position of the constituent elements in the target system architecture according to the display order, and obtain the target system architecture corresponding to the business.
[0069] Explanatory, the business attributes of the constituent elements are pre-set, that is, the preset business attributes of the constituent elements. The preset business attributes indicate the nature or role of the constituent elements in the business. The preset business attributes of the constituent elements can be divided from different business perspectives. For example, from the perspective of system architecture, the preset business attributes of the constituent elements can be divided into major categories such as the entry layer, application layer, and data layer. The entry layer can be further divided into small categories such as WEB entry and APP entry. The application layer can be further divided into small categories such as load balancing and gateway. The data layer can be further divided into small categories such as database and NAS.
[0070] When constructing the target system architecture corresponding to the business, the preset business attributes corresponding to the components determined to be displayed are obtained, and the display order of different components in the target system architecture is determined according to the preset business attributes. The display order describes the order in which the components corresponding to the preset business attributes are displayed in the system architecture, that is, which components with preset business attributes are displayed first and which components with preset business attributes are displayed later. Then, according to the display order, the relative positions of the components in the target system architecture are determined, and the layout of the components contained in the target system architecture is obtained. In fact, the purpose of determining the display order is to determine the relative positions of the components displayed. The order in which the components are displayed generally determines the relative positions of the displays. After determining the display order of all the components in the target system architecture, the relative positions of all the components contained in the target system architecture are determined, and the layout of the target system architecture is also established. Then, different components with logical associations in the business are connected to form links, and the target system architecture of the business can be obtained. For example, the system architecture is generally displayed in the order of display from the outside to the inside of the entry layer, application layer, data layer, etc., and the display order also determines the relative positions of the components of the entry layer, application layer, and data layer.
[0071] The constituent elements corresponding to the preset business attributes are displayed according to the display order, and the constituent elements are determined in the corresponding positions, so that the target system architecture corresponding to the business can be obtained. Since the constituent elements are displayed according to the display order according to the preset business attributes to determine the relative positions of different constituent elements, the constituent elements of the preset business attributes belonging to the same category will be classified and displayed. For example, all constituent elements of the entry layer are displayed first, and then all constituent elements of the application layer are placed in order, and finally all constituent elements of the data layer are placed. In general, the constituent elements of the entry layer can be displayed first, then the constituent elements of the application layer, and finally the constituent elements of the data layer, but the relative positions or display orders of the constituent elements in the system architecture can be flexibly set as needed, and are not limited here.
[0072] In the embodiments of the present application, by obtaining preset business attributes corresponding to the constituent elements determined to be displayed, and determining the display order of the constituent elements according to the preset business attributes, and determining the relative positions of the constituent elements in the target system architecture according to the display order, the constituent elements are displayed in the target system architecture. This can make the display hierarchy of the reconstructed target system architecture clear, and can also make the display of the target system architecture conform to the business attributes or the business operation status, thereby improving the efficiency of understanding the system architecture. For example, in financial technology, for financial business, it can make the display hierarchy of the reconstructed target system architecture clear, and can also make the display of the target system architecture conform to the financial business attributes or the financial business operation status, thereby improving the efficiency of understanding the system architecture.
[0073] Furthermore, according to the preset business attributes, determining the display order of the constituent elements in the target system architecture includes:
[0074] Obtaining a preset service order corresponding to the preset service attribute;
[0075] According to the preset service sequence from earliest to latest, the sequence in which the constituent elements are displayed in the target system architecture is determined, and the sequence in which the constituent elements are displayed in the target system architecture is obtained.
[0076] Explanatoryly, a logical order of priority of each preset business attribute in business operation is preset, that is, a preset business order corresponding to the preset business attribute. The preset business order can be represented by English letters with a sequence property, such as ABCD, or by numbers with a sequence property, such as 123456, or by other identifiers with a sequence property. No limitation is made here. It can be seen from the representation form of the preset business order that the preset business order can not only indicate the logical order of priority of the preset business attributes in business operation, but also the preset business order can indicate the strength or closeness of the association between different preset business attributes in business operation, and can also indicate the similarity between different preset business attributes.For example, in one example, the preset business sequence is represented by English letters with a sequential nature such as ABCD. From the perspective of system architecture, according to the logical sequence of business operation, the preset business attributes of the constituent elements can be divided into major categories such as entry layer A, application layer B, and data layer C. The entry layer A can be further divided into small categories such as WEB entry A1 and APP entry A2. The application layer B can be further divided into small categories such as load balancing B1 and gateway B2. The data layer C can be further divided into small categories such as database C1 and (NAS) C2. Therefore, the entry layer A, application layer B, and data layer C represent the processes involved in the business operation process. The logical order in which the constituent elements corresponding to the preset business attributes execute the business is the preset business order corresponding to the preset business attributes, and WEB portal A1 and APP portal A2 belong to the portal layer A, load balancing B1 and gateway B2 belong to the application layer B, and database C1 and (NAS) C2 belong to the data layer C. According to the above preset business order, since portal layer A is adjacent to application layer B, and portal layer A and data layer C are separated by application layer B, the association strength between portal layer A and application layer B is stronger than the association between portal layer A and data layer C. Moreover, since WEB portal A1 and APP portal A2 belong to portal layer A, , while WEB entry A1 and load balancing B1 belong to entry layer A and application layer B respectively. The similarity between WEB entry A1 and APP entry A2 is greater than the similarity between WEB entry A1 and load balancing B1, that is, the attributes between WEB entry A1 and APP entry A2 are the same or similar, while the attributes between WEB entry A1 and load balancing B1 are different. In short, as the distance between the preset business attributes of different components involved in the business operation chain increases, the correlation strength or closeness between different preset business attributes becomes weaker in the business operation, and the similarity between different preset business attributes becomes weaker. The smaller it is, that is, different constituent elements of the same preset business attribute are the most similar, and different constituent elements of adjacent preset business attributes are more similar. The farther the interval between different preset business attributes on the business operation chain, the smaller the similarity and the weaker the correlation. It can also be said that the similarity or correlation between different preset business attributes is inversely proportional to the distance between them on the business operation chain. For example, on the operation chain of a business, there are preset business attribute A, preset business attribute B, and preset business attribute C in sequence. The correlation or similarity between preset business attribute A and preset business attribute B is stronger than the correlation or similarity between preset business attribute A and preset business attribute C.
[0077] When constructing the target system architecture, the preset business sequence corresponding to the preset business attributes is obtained, and the order in which the constituent elements are displayed in the target system architecture is determined according to the order of the preset business sequence from first to last, and the display order of the constituent elements in the target system architecture is obtained, and then the target system architecture is constructed. For example, in one example, the preset business sequence is represented by English letters with a sequence property such as ABCD. If the preset business sequence corresponding to the preset business attribute of constituent element 1 is A, if the preset business sequence corresponding to the preset business attribute of constituent element 2 is A1, if the preset business sequence corresponding to the preset business attribute of constituent element 3 is B, if the preset business sequence corresponding to the preset business attribute of constituent element 4 is C1, if the preset business sequence corresponding to the preset business attribute of constituent element 5 is C2, according to the above preset business sequence, the order in which constituent elements 1 to 5 are displayed in the target system architecture is determined to be A, A1, B, C1, C2, and the order in which constituent elements 1 to 5 are displayed in the target system architecture is that constituent elements 1 to 5 are displayed in sequence.
[0078] In the embodiment of the present application, by obtaining the preset business order corresponding to the preset business attributes, the order in which the constituent elements are displayed in the target system architecture is determined according to the order of the preset business order from first to last, and the display order of the constituent elements in the target system architecture is obtained. The constituent elements of the same business attributes can be classified and placed, and the constituent elements of similar attributes can be placed close to each other, so that the constituent elements can be displayed in an orderly manner in the target system architecture according to the distance relationship or the order relationship of different business attributes in the business logic, thereby further improving the clarity and orderliness of the hierarchy displayed in the target system architecture, and further improving the accuracy and orderliness of the system architecture of the business in reflecting the operating status of the business. For example, in financial technology, for financial business, the constituent elements can be displayed in an orderly manner in the target system architecture of the financial business, thereby further improving the clarity and orderliness of the hierarchy displayed in the target system architecture, and further improving the accuracy and orderliness of the system architecture of the financial business in reflecting the operating status of the financial business.
[0079] It should be noted that the system architecture display method of the business described in the above embodiments can recombine the technical features included in different embodiments as needed to obtain a combined implementation plan, but all of them are within the scope of protection required by this application.
[0080] See also Figure 4 , Figure 4 A schematic block diagram of a system architecture display device for a service provided in an embodiment of the present application. Corresponding to the above-mentioned system architecture display method for a service, an embodiment of the present application also provides a system architecture display device for a service. Figure 4As shown, the system architecture display device of the service includes a unit for executing the system architecture display method of the service described above, and the system architecture display device of the service can be configured in a computer device. Figure 4 The system architecture display device 40 of the business includes a first acquisition unit 41, a second acquisition unit 42, a judgment unit 43, a first determination unit 44 and a display unit 45.
[0081] The first acquisition unit 41 is used to respond to the display instruction of the system architecture of the service and acquire the preset system architecture of the service, wherein the preset system architecture includes n constituent elements, wherein n is a natural number and n≥2;
[0082] A second acquisition unit 42 is used to acquire resource information corresponding to the constituent element;
[0083] A judging unit 43, used to judge whether the resource information meets a preset display condition;
[0084] A first determining unit 44, configured to determine to display the constituent element if the resource information satisfies a preset display condition;
[0085] The display unit 45 is used to construct a target system architecture corresponding to the business with all the constituent elements determined to be displayed, and display the target system architecture.
[0086] In one embodiment, the system architecture display device 40 of the business further includes:
[0087] The display processing unit is used to weaken or hide the component elements when the resource information does not meet the preset display conditions.
[0088] In one embodiment, the determining unit 43 includes:
[0089] A first judging subunit, used to judge whether there is data interaction between the first constituent element and the second constituent element;
[0090] A first determination subunit, configured to determine that the resource information does not meet a preset display condition when there is no data interaction between the first constituent element and the second constituent element;
[0091] A first acquisition subunit, configured to acquire data flow between the first component and the second component in the case where data interaction exists between the first component and the second component;
[0092] A second judgment subunit is used to judge whether the data flow is greater than or equal to a preset flow threshold;
[0093] A second determination subunit, configured to determine that the resource information does not meet a preset display condition when the data flow rate is less than a preset flow rate threshold;
[0094] A third judgment subunit is used to judge whether the preset system architecture includes a link between the first component and the second component when the data flow is greater than or equal to a preset flow threshold;
[0095] A third determination subunit is configured to determine, when the preset system architecture includes the link, that the resource information satisfies a preset display condition.
[0096] In one embodiment, the determining unit 43 further includes:
[0097] The adding subunit is used to add the link to the preset system architecture and determine to display the link when the preset system architecture does not include the link.
[0098] In one embodiment, the determining unit 43 further includes:
[0099] The marking subunit is used to obtain the flow size and / or flow direction of the data flow corresponding to the link, and mark the flow size and / or the flow direction on the link.
[0100] In one embodiment, the display unit 45 includes:
[0101] A second acquisition subunit is used to acquire a preset business attribute corresponding to the constituent element determined to be displayed;
[0102] A first determining subunit, configured to determine a display order of the constituent elements in a target system architecture according to the preset service attributes;
[0103] The second determining subunit is used to determine the relative position of the constituent elements in the target system architecture according to the display order, and obtain the target system architecture corresponding to the business.
[0104] In one embodiment, the first determining subunit includes:
[0105] A third acquisition subunit is used to acquire a preset service sequence corresponding to the preset service attribute;
[0106] The third determining subunit is used to determine the order in which the constituent elements are displayed in the target system architecture according to the preset service order from earliest to latest, so as to obtain the display order of the constituent elements in the target system architecture.
[0107] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the system architecture display device and each unit of the above-mentioned business can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0108] At the same time, the division and connection method of each unit in the system architecture display device of the above-mentioned business is only for illustrative purposes. In other embodiments, the system architecture display device of the business can be divided into different units as needed, and the units in the system architecture display device of the business can also adopt different connection sequences and methods to complete all or part of the functions of the system architecture display device of the above-mentioned business.
[0109] The system architecture display device of the above-mentioned business can be implemented in the form of a computer program, and the computer program can be used in Figure 5 Runs on the computer device shown.
[0110] See also Figure 5 , Figure 5 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or part in other devices.
[0111] See also Figure 5 The computer device 500 includes a processor 502, a memory and a network interface 505 connected via a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile storage medium.
[0112] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a system architecture display method for the above-mentioned service.
[0113] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0114] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a system architecture display method for the above-mentioned business.
[0115] The network interface 505 is used to communicate with other devices over the network. Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the computer device 500 to which the present application scheme is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the present application scheme. Figure 5 The embodiments shown are consistent and will not be described again here.
[0116] The processor 502 is used to run a computer program 5032 stored in a memory to implement the following steps: respond to a display instruction of a system architecture of a business, obtain a preset system architecture of the business, the preset system architecture includes n constituent elements, wherein n is a natural number and n≥2; obtain resource information corresponding to the constituent elements; determine whether the resource information meets a preset display condition; if the resource information meets the preset display condition, determine to display the constituent elements; construct a target system architecture corresponding to the business with all the constituent elements determined to be displayed, and display the target system architecture.
[0117] In one embodiment, the processor 502 further implements the following steps:
[0118] When the resource information does not meet the preset display condition, the constituent elements are displayed in a weakened manner or hidden.
[0119] In one embodiment, when determining whether the resource information meets the preset display condition, the processor 502 specifically implements the following steps:
[0120] Determine whether there is data interaction between the first component and the second component;
[0121] In the case where there is no data interaction between the first constituent element and the second constituent element, determining that the resource information does not meet a preset display condition;
[0122] In the case where there is data interaction between the first component and the second component, acquiring data flow between the first component and the second component;
[0123] Determining whether the data flow is greater than or equal to a preset flow threshold;
[0124] When the data flow rate is less than a preset flow rate threshold, determining that the resource information does not meet a preset display condition;
[0125] In a case where the data flow is greater than or equal to a preset flow threshold, determining whether the preset system architecture includes a link between the first constituent element and the second constituent element;
[0126] In a case where the preset system architecture includes the link, it is determined that the resource information satisfies a preset display condition.
[0127] In one embodiment, the processor 502 further implements the following steps:
[0128] In a case where the preset system architecture does not include the link, the link is added to the preset system architecture, and the link is determined to be displayed.
[0129] In one embodiment, after determining whether the preset system architecture includes a link between the first component and the second component, the processor 502 further implements the following steps:
[0130] The flow size and / or flow direction of the data flow corresponding to the link is obtained, and the flow size and / or the flow direction is marked on the link.
[0131] In one embodiment, when implementing the construction of the target system architecture corresponding to the business by all the constituent elements determined to be displayed, the processor 502 specifically implements the following steps:
[0132] Obtaining a preset business attribute corresponding to the constituent element determined to be displayed;
[0133] Determining, according to the preset business attributes, a display order of the constituent elements in the target system architecture;
[0134] According to the display order, the relative positions of the constituent elements in the target system architecture are determined to obtain the target system architecture corresponding to the business.
[0135] In one embodiment, when the processor 502 determines the display order of the constituent elements in the target system architecture according to the preset service attributes, it specifically implements the following steps:
[0136] Obtaining a preset service order corresponding to the preset service attribute;
[0137] According to the preset service sequence from earliest to latest, the sequence in which the constituent elements are displayed in the target system architecture is determined, and the sequence in which the constituent elements are displayed in the target system architecture is obtained.
[0138] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0139] Those skilled in the art will appreciate that all or part of the processes in the method for implementing the above embodiment can be completed by a computer program, which can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0140] Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the following steps:
[0141] A computer program product, when running on a computer, enables the computer to execute the steps of the system architecture display method of the service described in the above embodiments.
[0142] The computer-readable storage medium may be an internal storage unit of the aforementioned device, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0144] The storage medium is a physical, non-transient storage medium, for example, it can be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, etc., which can store computer programs.
[0145] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0146] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0147] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0148] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for an electronic device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0149] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for displaying a system architecture of a business, characterized in that: include: In response to a display instruction of a system architecture of a service, a preset system architecture of the service is obtained, wherein the preset system architecture includes n constituent elements, where n is a natural number and n≥2; Obtain resource information corresponding to the constituent elements; Determining whether the resource information meets a preset display condition; In the case where the resource information meets a preset display condition, determining to display the constituent element; A target system architecture corresponding to the business is constructed with all the constituent elements determined to be displayed, and the target system architecture is displayed.
2. The system architecture display method of the business according to claim 1, characterized in that: The method further comprises: When the resource information does not meet the preset display condition, the constituent elements are displayed in a weakened manner or hidden.
3. The system architecture display method of the service according to claim 1 or 2, characterized in that: Determining whether the resource information meets a preset display condition includes: Determine whether there is data interaction between the first component and the second component; In the case where there is no data interaction between the first constituent element and the second constituent element, determining that the resource information does not meet a preset display condition; In the case where there is data interaction between the first component and the second component, acquiring data flow between the first component and the second component; Determining whether the data flow is greater than or equal to a preset flow threshold; When the data flow rate is less than a preset flow rate threshold, determining that the resource information does not meet a preset display condition; In a case where the data flow is greater than or equal to a preset flow threshold, determining whether the preset system architecture includes a link between the first constituent element and the second constituent element; In a case where the preset system architecture includes the link, it is determined that the resource information satisfies a preset display condition.
4. The system architecture display method of the business according to claim 3, characterized in that: The method further comprises: In a case where the preset system architecture does not include the link, the link is added to the preset system architecture, and the link is determined to be displayed.
5. The system architecture display method of the business according to claim 3, characterized in that: After determining whether the preset system architecture includes a link between the first component and the second component, the method further includes: The flow size and / or flow direction of the data flow corresponding to the link is obtained, and the flow size and / or the flow direction is marked on the link.
6. The system architecture display method of the business according to claim 1, characterized in that: The target system architecture corresponding to the business will be determined to be constructed for all the components shown, including: Acquire a preset business attribute corresponding to the constituent element determined to be displayed; Determining, according to the preset business attributes, a display order of the constituent elements in the target system architecture; According to the display order, the relative positions of the constituent elements in the target system architecture are determined to obtain the target system architecture corresponding to the business.
7. The system architecture display method of the business according to claim 6, characterized in that: Determining the display order of the constituent elements in the target system architecture according to the preset business attributes includes: Obtaining a preset service order corresponding to the preset service attribute; According to the preset service sequence from earliest to latest, the sequence in which the constituent elements are displayed in the target system architecture is determined, and the sequence in which the constituent elements are displayed in the target system architecture is obtained.
8. A system architecture display device for a business, characterized in that: include: A first acquisition unit is configured to respond to a display instruction of a system architecture of a service and acquire a preset system architecture of the service, wherein the preset system architecture includes n constituent elements, where n is a natural number and n≥2; A second acquisition unit, used to acquire resource information corresponding to the constituent element; A judging unit, used to judge whether the resource information meets a preset display condition; A first determining unit, configured to determine to display the constituent element if the resource information satisfies a preset display condition; A display unit is used to construct a target system architecture corresponding to the business with all the constituent elements determined to be displayed, and display the target system architecture.
9. A computer device, characterized in that: The computer device comprises a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 can be implemented.