IT architecture control method, control device, processor and electronic device
By obtaining and comparing the interface design information and interface release information of IT products, as well as the design and operation status of the database model, and using structured data to achieve automated consistency audits, the problem of difficult manual audits in the existing technology is solved, and the audit efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202111679650.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In the prior art, it is difficult to manually review the consistency of the design and operation release states of IT products, especially when the processing and automated processing capabilities of unstructured data are low.
By obtaining interface design information and interface release information, as well as the design and operation state of the database model, comparing it with structured data, generating comparison results and sending them to the terminal, realizing automated consistency audits.
It improves the efficiency and accuracy of consistency audits in IT product design and operation release modes, reduces the workload of manual processing, and ensures the quality and control efficiency of architectural assets.
Smart Images

Figure CN114281306B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software engineering technology management, and specifically, to an IT architecture management and control method, a management and control device, a computer-readable storage medium, a processor, and an electronic device. Background Art
[0002] IT architecture refers to a part of the enterprise architecture, including application architecture, data architecture, technical architecture and security architecture. IT architecture assets refer to the granular content of IT architecture and are the carriers of IT architecture. IT architecture management and control refers to the management and control mechanism that takes IT architecture assets as the management and control object and establishes corresponding management and control organizations and management and control processes.
[0003] Currently in the system construction phase, IT architecture management and control mainly includes service-specific asset management and data-specific asset management.
[0004] The service-specific asset management and control process is as follows: For traditional projects, the service interface is defined in the "Interface Design Specification" or "Interface Specification", and the transaction line and response code are defined in the "General Design Specification" and "Detailed Design Specification" respectively. At the same time, the management and control objects are all managed by unstructured documents such as design specifications, and the management, review, operation and release processes are carried out through the system.
[0005] For system engineering developed using business modeling, service interfaces, transaction lines, service models and response codes are defined in the "Application Component Design Specification" and "Application Integration Design Specification". Each part of the data is designed independently and has a correlation. At the same time, the objects of control are controlled by unstructured files such as design specifications, and the management, review, operation and release processes are carried out through the system.
[0006] In the current service-specific asset management and control process, there are the following problems:
[0007] 1) When unstructured data is used as a control object, it is difficult to review and analyze, the automated processing capability is low, and it is difficult to use the platform to assist in reviewing the content;
[0008] 2) It is difficult to ensure consistency between the design state of the service model and the design state of the service interface, and it is difficult to audit;
[0009] 3) There may be differences between the service interface design document and the actual interface released for operation, and there is no guarantee that these differences can be discovered and updated in a timely manner. The following are possible reasons for the differences:
[0010] When the service is urgently launched, the interface information is published through the enterprise service bus system, but the design documents are not updated in time;
[0011] When the interface operator registered the service interface, due to personal negligence, the field name, type and other information were incorrect;
[0012] 4) It is difficult to ensure consistency in the design and implementation of the response code, making it difficult to implement standards and conduct audits.
[0013] Data thematic assets include data dictionaries and data models. Data governance and system data standards are achieved through the management and control of data dictionaries, and the quality of database design is controlled through the management and control of data models.
[0014] The following problems exist in the existing data thematic asset management and control process:
[0015] 1) When unstructured data is used as a control object, the automatic processing capability is low, and it is difficult to use the platform to assist in the review of the content. The review and analysis are difficult, the automatic processing capability is low, and it is difficult to use the platform to assist in the review of the content;
[0016] 2) Structured data only circulates in the system as a control object, and the specific content cannot be effectively identified, analyzed, and checked;
[0017] 3) It is difficult to ensure consistency between the database design model and the database deployment, and it is difficult to audit. The following are the possible causes of this inconsistency:
[0018] When writing database script DDL, the English names of table names or field names are incorrectly written or omitted;
[0019] After the database creates the index script, the index is optimized according to the application's operation, but the database design model in the design document is not maintained;
[0020] The database table structure was modified according to the new application requirements, but the database design model in the design document was not maintained;
[0021] 4) It is difficult to ensure the compliance of data dictionaries in data models, service models and service interfaces, and it is difficult to audit them.
[0022] Therefore, there is an urgent need for a method to solve the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the existing technology.
[0023] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention
[0024] The main purpose of this application is to provide an IT architecture management and control method, a management and control device, a computer-readable storage medium, a processor and an electronic device to solve the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0025] According to one aspect of an embodiment of the present invention, a method for managing and controlling an IT architecture is provided, comprising: obtaining interface design information and interface release information, and / or obtaining a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, and the interface release information is interface information of the target service released in operation, the first database model is a database model in the design phase, and the second database model is a database model released in operation, and the interface design information and the first database model are respectively composed of structured data; comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model to generate a comparison result; and sending the comparison result to a terminal.
[0026] Optionally, the interface information includes response code information and other information, and obtaining interface design information and interface release information includes: obtaining the interface design information; obtaining the response code information of the target service running and released through DevOps; and obtaining the other information of the target service running and released through the enterprise service bus.
[0027] Optionally, obtaining the interface design information includes: obtaining an interface design specification template, the interface design specification template including multiple initial interface documents, the initial interface documents being structured documents; calling a predetermined interface document from the interface design specification template, the predetermined interface document being the initial interface document related to the target service; and generating an interface design specification including the interface design information in response to a modification operation on the predetermined interface document.
[0028] Optionally, obtaining the first database model and the second database model includes: obtaining the first database model; and obtaining the second database model through DevOps.
[0029] Optionally, the interface design information and the interface release information are compared, and / or the first database model and the second database model are compared to generate a comparison result, including: when the interface design information is consistent with the interface release information, and / or when the first database model and the second database model are consistent, generating the comparison result including comparison success information; when the interface design information and the interface release information are inconsistent, and / or when the first database model and the second database model are inconsistent, generating comparison failure information and marking the inconsistent information, the comparison failure information and the inconsistent information constitute the comparison result.
[0030] Optionally, sending the comparison result to a terminal includes: sending the comparison result to a terminal of an architecture control person and / or a terminal of a service consumer.
[0031] According to another aspect of an embodiment of the present invention, a management and control device for an IT architecture is also provided, including: an acquisition unit, for acquiring interface design information and interface release information, and / or acquiring a first database model and a second database model, the interface design information is the interface information of the target service in the design stage, the interface release information is the interface information of the target service released in operation, the first database model is the database model in the design stage, the second database model is the database model released in operation, and the interface design information and the first database model are respectively composed of structured data; a comparison unit, for comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model, to generate a comparison result; a sending unit, for sending the comparison result to a terminal.
[0032] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described.
[0033] According to yet another aspect of the embodiments of the present invention, a processor is provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.
[0034] According to one aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.
[0035] In an embodiment of the present invention, in the IT architecture management and control method, first, interface design information and interface release information are obtained, or a first database model and a second database model are obtained, or interface design information and interface release information are obtained, and the first database model and the second database model are obtained at the same time; then, the obtained interface design information is compared with the interface release information, or the obtained first database model is compared with the obtained second database model, or the obtained interface design information is compared with the interface release information and the obtained first database model is compared with the obtained second database model at the same time, to obtain a comparison result, and finally, the obtained comparison result is sent to the terminal. Compared with the prior art in which the interface design information and the first database model are both composed of unstructured data, and the interface release information and the second database model are composed of structured data, which require manual comparison by management personnel, in this solution, the acquired interface design information and the acquired first database model information are composed of structured data, which realizes the automatic comparison of the interface design information with the interface release information, and the comparison of the first database model information with the second database model information, thereby ensuring the effectiveness and real-time nature of the comparison results, while reducing the workload of manual processing by management personnel, ensuring the good quality of architecture assets and high management efficiency, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings constituting part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 A schematic diagram of an IT architecture management and control method according to an embodiment of the present application is shown;
[0038] Figure 2 A schematic diagram of an IT architecture control device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0039] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0040] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present application.
[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0042] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0043] IT architecture: refers to the information system technology implementation framework that undertakes the enterprise-level business architecture, including application architecture, data architecture, technical architecture and security architecture;
[0044] Entity: It originates from business needs and is the basic unit for registering and saving business operation data information;
[0045] Attribute: a specific description of an entity. Multiple attributes together describe the characteristics of an entity.
[0046] Data item: A data unit whose definition, identification, representation, and allowed values are specified by a set of attributes. It is the basic object of the data dictionary and its value is regulated by the domain.
[0047] Data dictionary: is a collection of data items within the enterprise (deduplicated), covering all data items required for system design and development. The basic component unit of the data dictionary is the data item. The enterprise-level data dictionary provides standardized, unified data item definitions and related specifications for the entire process of information project implementation. The domain standardizes the format and value of the data item; the code-class domain is a special domain group, and the code table enumerates all the code values of the data item; the root word standardizes the Chinese name of the data item and the Chinese name of the domain, and provides a unified conversion from Chinese name to English name and English abbreviation;
[0048] Domain: A general representation of a set of attribute values, a range of values that each attribute must follow;
[0049] Response code: The response code management object is the response code list, which includes the response code number, response code Chinese and other information.
[0050] As mentioned in the background technology, it is difficult to manually review the consistency of IT products in the design state and the operation and release state in the prior art. In order to solve the above problem, in a typical implementation of the present application, a management and control method, a management and control device, a computer-readable storage medium, a processor and an electronic device for an IT architecture are provided.
[0051] According to an embodiment of the present application, a method for managing and controlling an IT architecture is provided.
[0052] Figure 1 1 is a flow chart of a method for controlling an IT architecture according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0053] Step S101, obtaining interface design information and interface publishing information, and / or obtaining a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, the interface publishing information is interface information of the target service in operation and publishing, the first database model is a database model in the design phase, the second database model is a database model in operation and publishing, and the interface design information and the first database model are respectively composed of structured data;
[0054] Step S102, comparing the interface design information and the interface publishing information, and / or comparing the first database model and the second database model, to generate a comparison result;
[0055] Step S103, sending the above comparison result to the terminal.
[0056] In the above-mentioned IT architecture management and control method, first, interface design information and interface release information are obtained, or the first database model and the second database model are obtained, or the interface design information and the interface release information are obtained, and the first database model and the second database model are obtained at the same time; then, the obtained interface design information is compared with the interface release information, or the obtained first database model is compared with the obtained second database model, or the obtained interface design information is compared with the interface release information and the obtained first database model is compared with the obtained second database model at the same time, to obtain a comparison result, and finally, the obtained comparison result is sent to the terminal. Compared with the prior art in which the interface design information and the first database model are both composed of unstructured data, and the interface release information and the second database model are composed of structured data, which require manual comparison by management personnel, in this solution, the acquired interface design information and the acquired first database model information are composed of structured data, which realizes the automatic comparison of the interface design information with the interface release information, and the comparison of the first database model information with the second database model information, thereby ensuring the effectiveness and real-time nature of the comparison results, while reducing the workload of manual processing by management personnel, ensuring the good quality of architecture assets and high management efficiency, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0057] Specifically, the above interface information may include basic information, request parameter information, response code information, and the like.
[0058] Specifically, in the traditional IT architecture management and control method, in the design stage, the above-mentioned interface design information is usually stored in an unstructured document to store the interface design information. For unstructured data, the data structure is generally irregular or incomplete, and there is no predefined data model. Therefore, when comparing the interface design information with the interface release information, or whether the first database model and the second database model are consistent, it is necessary to manually extract the interface design information or the information in the first database model composed of unstructured data, and then analyze it with the interface release information or the second database model. Since manual analysis is required, this not only makes the analysis efficiency low, but also makes the workload of the management and control personnel large. In this solution, the interface design information and the first database model are both composed of structured data, and the structured data is data that is logically expressed and implemented in a two-dimensional table structure, strictly following the data format and length specifications, that is, the interface design information can be automatically compared with the interface release information, or the first database model information can be compared with the second database model information. This can reduce the workload of the management and control personnel, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0059] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0060] In one embodiment of the present application, the above-mentioned interface information includes response code information and other information, and obtaining interface design information and interface release information includes: obtaining the above-mentioned interface design information; obtaining the above-mentioned response code information of the above-mentioned target service released by operation through DevOps; obtaining the above-mentioned other information of the above-mentioned target service released by operation through the enterprise service bus. In this embodiment, the response code information of the target service released by operation is obtained through DevOps, and the other information of the target service released by operation is obtained through the enterprise service bus, which ensures that the interface release information obtained is relatively comprehensive, and further ensures that the subsequent comparison results are also relatively accurate and comprehensive.
[0061] Specifically, the above DevOps is a combination of Development and Operations, which can make software building, testing, running and releasing faster, more frequent and more reliable through automated processes. The above Enterprise Service Bus (ESB) is the product of the combination of traditional middleware technology with XML, Web services and other technologies. ESB provides the most basic connection center in the network and is an essential element for building the enterprise nervous system.
[0062] In the actual application process, the above response code information can be response code information and response message, but is not limited to response code information and response message, and can also be other parameter information obtained through DevOps.
[0063] In a specific embodiment of the present application, by connecting with DevOps, the response code information in the production log is scanned and analyzed to check whether there is any non-standardization, that is, there is undesigned response code information. If so, an analysis report is generated and provided to the architecture management personnel for management and control.
[0064] In another embodiment of the present application, obtaining the above-mentioned interface design information includes: obtaining an interface design specification template, the above-mentioned interface design specification template includes multiple initial interface documents, and the above-mentioned initial interface documents are structured documents; calling a predetermined interface document from the above-mentioned interface design specification template, and the above-mentioned predetermined interface document is the above-mentioned initial interface document related to the above-mentioned target service; in response to the modification operation of the above-mentioned predetermined interface document, an interface design specification including the above-mentioned interface design information is generated. This further facilitates the subsequent comparison of the interface design information composed of structured data with the interface release information, further ensures that the comparison results obtained are more comprehensive, ensures high efficiency, and further reduces the workload of manual processing by management and control personnel.
[0065] The above-mentioned interface design specification template is in word format, and the above-mentioned initial interface document is in excel format. Each of the above-mentioned initial interface documents is inserted into the corresponding position of the word file, and the location directory of each of the above-mentioned initial interface documents is generated on the directory page of the word file to obtain the above-mentioned interface design specification template.
[0066] Of course, obtaining the above-mentioned interface design information is not limited to the above-mentioned method. In another specific embodiment, obtaining the above-mentioned interface design information may also include: receiving a predetermined interface document, the above-mentioned predetermined interface document includes the above-mentioned interface design information, and the above-mentioned predetermined interface document is a structured document; parsing the above-mentioned predetermined interface document, and filling the parsed information into the predetermined interface document, the above-mentioned predetermined interface document is the above-mentioned initial interface document related to the above-mentioned target service in the interface design specification template, and the above-mentioned interface design specification template includes multiple structured above-mentioned initial interface documents; in response to the modification operation of the above-mentioned predetermined interface document, an interface design specification including the above-mentioned interface design information is generated.
[0067] The above-mentioned reservation interface document is in Excel format.
[0068] In a specific embodiment of the present application, after the service model is designed, it is also necessary to design a service interface, register and run it and publish it to the enterprise service bus system. However, the interface design specification for providing external services, including the fields in the request message and the response message, has been designed in the service model. For the interface design specification information composed of unstructured data, the user can use the conversion rules, that is, through the pre-set conversion template, the field information in the service model can be automatically generated by the system. The initial interface document is modified to obtain an interface document including the interface design information, that is, the modification operation can be to add fields unique to the service interface, which need to be added by the user, such as the service call method, the start and stop date, and some security configuration attributes. After the service interface is designed, the service interface can be registered, run and published to the enterprise service bus system through online transactions.
[0069] In order to obtain the first database model and the second database model in a simpler and more comprehensive manner, in another embodiment of the present application, obtaining the first database model and the second database model includes: obtaining the above-mentioned first database model; and obtaining the above-mentioned second database model through DevOps.
[0070] In the actual application process, the management and control objects of the data model include: C' model and D model, among which the C' model contains information such as entities, attributes, and mapping relationships between C and C' entities; the D model is the IT implementation layer database design. The C' model determines the basic business data objects and entity scope of the application components based on the business model (i.e. C model) objects and entity lists. The D model is a database table structure designed based on the data entities and attributes in the C' model. The management and control of the data model is based on structured and unstructured documents such as "database design instructions" and "database table structure design", which are managed, reviewed, and run and released through the system.
[0071] In a specific embodiment of the present application, the model of the above-mentioned first database can be a D model, and the first database model, that is, the database DDL script, including the creation of an index script, can be automatically generated based on the D model, which not only improves the work efficiency of developers, but also avoids inconsistencies in the script generation process. In addition, based on the architectural management requirements of assets, by connecting with DevOps, the database script is scanned and analyzed to obtain the second database model, and then the first database model and the second data script are compared to check whether there are inconsistencies. If so, an analysis report is generated and provided to the architecture management personnel for management and control.
[0072] Specifically, when designing data models, service models, and service interfaces, the data items and domains in the data dictionary are used as input items, and the corresponding data dictionary is selected to ensure that the data dictionary is standardized. For example, when designing the request message and response message of the service interface, each field selects the corresponding data item information (including the data item code and the Chinese name of the data item) to implement the data dictionary in the message. Secondly, through cross-checking, scan and analyze whether there are fields in the service interface that have not been standardized in the data dictionary. If so, generate an analysis report and provide it to the architecture management personnel for management and control.
[0073] In order to facilitate management, discovery, analysis and error modification by control personnel and designers, in another embodiment of the present application, the above-mentioned interface design information and the above-mentioned interface release information are compared, and / or the above-mentioned first database model and the above-mentioned second database model are compared to generate a comparison result, including: when the above-mentioned interface design information is consistent with the above-mentioned interface release information, and / or when the above-mentioned first database model and the above-mentioned second database model are consistent, the above-mentioned comparison result including comparison success information is generated; when the above-mentioned interface design information is inconsistent with the above-mentioned interface release information, and / or when the above-mentioned first database model and the above-mentioned second database model are inconsistent, comparison failure information is generated and the inconsistent information is marked, and the above-mentioned comparison failure information and the above-mentioned inconsistent information constitute the above-mentioned comparison result.
[0074] In one embodiment of the present application, sending the comparison results to a terminal includes: sending the comparison results to a terminal of an architecture control person and / or a terminal of a service consumer. In this embodiment, the comparison results are sent to the terminal of the architecture control person, which can further facilitate the control person to find and analyze errors in the comparison results. This solution can also send the comparison results to the terminal of the service consumer, which is convenient for users to find inconsistencies between interface design information and interface release information. After the user finds the inconsistency, he can contact the designer or control person, so that the inconsistencies can be modified and updated in a timely manner.
[0075] In a specific embodiment of the present application, the interface design information and the interface release information can also be cross-checked, and the comparison check is automatically performed regularly to generate an analysis report, which is provided to designers and management personnel to facilitate them to find and correct errors in a timely manner. For example, by docking with the enterprise service bus system, the interface information of the successful operation and release is regularly synchronized to the system, and compared with the service interface data designed in the system to generate an analysis report, and the data inconsistency in the design document is discovered in advance. This method ensures the consistency of the service model and the service interface from the design stage. In addition, if the service interface is maintained separately, the inconsistency of the data can be discovered through cross-checking, thereby avoiding the inconsistency between the design state of the service model and the development state of the service interface. By docking with the enterprise service bus, the inconsistency of the data in the design document can be discovered in advance.
[0076] The embodiment of the present application also provides an IT architecture control device. It should be noted that the IT architecture control device of the embodiment of the present application can be used to execute the IT architecture control method provided in the embodiment of the present application. The following introduces the IT architecture control device provided in the embodiment of the present application.
[0077] Figure 2 Schematic diagram of a control device for IT architecture according to an embodiment of the present application. Figure 2 As shown, the device comprises:
[0078] The acquisition unit 10 is used to acquire interface design information and interface publishing information, and / or acquire a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, the interface publishing information is interface information of the target service in operation and publishing, the first database model is a database model in the design phase, the second database model is a database model in operation and publishing, and the interface design information and the first database model are respectively composed of structured data;
[0079] A comparison unit 20, used for comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model, to generate a comparison result;
[0080] The sending unit 30 is used to send the above comparison result to the terminal.
[0081] In the management and control device of the above-mentioned IT architecture, the acquisition unit is used to acquire interface design information and interface release information, and / or acquire the first database model and the second database model, the above-mentioned interface design information is the interface information of the target service in the design stage, the above-mentioned interface release information is the interface information of the above-mentioned target service released in operation, the above-mentioned first database model is the database script corresponding to the above-mentioned interface design information, the above-mentioned second database model is the database script corresponding to the above-mentioned interface release information, and the above-mentioned interface design information and the above-mentioned first database model are respectively composed of structured data; the comparison unit is used to compare the above-mentioned interface design information and the above-mentioned interface release information, and / or compare the above-mentioned first database model and the above-mentioned second database model to generate a comparison result; the sending unit is used to send the above-mentioned comparison result to the terminal. Compared with the prior art in which the interface design information and the first database model are both composed of unstructured data, and the interface release information and the second database model are composed of structured data, which require manual comparison by management personnel, in this solution, the acquired interface design information and the acquired first database model information are composed of structured data, which realizes the automatic comparison of the interface design information with the interface release information, and the comparison of the first database model information with the second database model information, thereby ensuring the effectiveness and real-time nature of the comparison results, while reducing the workload of manual processing by management personnel, ensuring the good quality of architecture assets and high management efficiency, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0082] Specifically, the above interface information may include basic information, request parameter information, response code information, and the like.
[0083] Specifically, in the traditional IT architecture management and control method, in the design stage, the above-mentioned interface design information is usually stored in an unstructured document to store the interface design information. For unstructured data, the data structure is generally irregular or incomplete, and there is no predefined data model. Therefore, when comparing the interface design information with the interface release information, or whether the first database model and the second database model are consistent, it is necessary to manually extract the interface design information or the information in the first database model composed of unstructured data, and then analyze it with the interface release information or the second database model. Since manual analysis is required, this not only makes the analysis efficiency low, but also makes the workload of the management and control personnel large. In this solution, the interface design information and the first database model are both composed of structured data, and the structured data is data that is logically expressed and implemented in a two-dimensional table structure, strictly following the data format and length specifications, that is, the interface design information can be automatically compared with the interface release information, or the first database model information can be compared with the second database model information. This can reduce the workload of the management and control personnel, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0084] In one embodiment of the present application, the acquisition unit includes a first acquisition module, a second acquisition module and a third acquisition module, wherein the interface information includes response code information and other information, the first acquisition module is used to acquire the interface design information; the second acquisition module is used to acquire the response code information of the target service released by operation through DevOps; the third acquisition module is used to acquire the other information of the target service released by operation through the enterprise service bus. In this embodiment, the response code information of the target service released by operation is acquired through DevOps, and the other information of the target service released by operation is acquired through the enterprise service bus, which ensures that the interface release information is acquired more comprehensively, and further ensures that the subsequent comparison results are more accurate and more comprehensive.
[0085] Specifically, the above DevOps is a combination of Development and Operations, which can make software building, testing, running and releasing faster, more frequent and more reliable through automated processes. The above Enterprise Service Bus (ESB) is the product of the combination of traditional middleware technology with XML, Web services and other technologies. ESB provides the most basic connection center in the network and is an essential element for building the enterprise nervous system.
[0086] In the actual application process, the above response code information can be response code information and response message, but is not limited to response code information and response message, and can also be other parameter information obtained through DevOps.
[0087] In a specific embodiment of the present application, by connecting with DevOps, the response code information in the production log is scanned and analyzed to check whether there is any non-standardization, that is, there is undesigned response code information. If so, an analysis report is generated and provided to the architecture management personnel for management and control.
[0088] In another embodiment of the present application, the first acquisition module includes an acquisition submodule, a call submodule and a first generation submodule, wherein the acquisition submodule is used to acquire an interface design specification template, the interface design specification template includes multiple initial interface documents, and the initial interface documents are structured documents; the call submodule is used to call a predetermined interface document from the interface design specification template, and the predetermined interface document is the initial interface document related to the target service; the first generation submodule is used to generate an interface design specification including the interface design information in response to a modification operation on the predetermined interface document. This further facilitates the subsequent comparison of the interface design information consisting of structured data with the interface release information, further ensures that the comparison results obtained are more comprehensive, ensures high efficiency, and further reduces the workload of manual processing by management and control personnel.
[0089] The above-mentioned interface design specification template is in word format, and the above-mentioned initial interface document is in excel format. Each of the above-mentioned initial interface documents is inserted into the corresponding position of the word file, and the location directory of each of the above-mentioned initial interface documents is generated on the directory page of the word file to obtain the above-mentioned interface design specification template.
[0090] In another specific embodiment, the first acquisition module includes a receiving submodule, a parsing submodule and a second generating submodule, wherein the receiving submodule is used to receive a predetermined interface document, the predetermined interface document includes the interface design information, and the predetermined interface document is a structured document; the parsing submodule is used to parse the predetermined interface document and fill the parsed information into the predetermined interface document, the predetermined interface document is the initial interface document related to the target service in the interface design specification template, and the interface design specification template includes multiple structured initial interface documents; the second generating submodule is used to generate an interface design specification including the interface design information in response to a modification operation on the predetermined interface document.
[0091] The above-mentioned reservation interface document is in Excel format.
[0092] In a specific embodiment of the present application, after the service model is designed, it is also necessary to design a service interface, register and run it and publish it to the enterprise service bus system. However, the interface design specification for providing external services, including the fields in the request message and the response message, has been designed in the service model. For the interface design specification information composed of unstructured data, the user can use the conversion rules, that is, through the pre-set conversion template, the field information in the service model can be automatically generated by the system. The initial interface document is modified to obtain an interface document including the interface design information, that is, the modification operation can be to add fields unique to the service interface, which need to be added by the user, such as the service call method, the start and stop date, and some security configuration attributes. After the service interface is designed, the service interface can be registered, run and published to the enterprise service bus system through online transactions.
[0093] In order to obtain the first database model and the second database model more simply and comprehensively, in another embodiment of the present application, the acquisition unit also includes a fourth acquisition module and a fifth acquisition module, wherein the fourth acquisition module is used to obtain the first database model; the fifth acquisition module is used to obtain the second database model through DevOps.
[0094] In the actual application process, the management and control objects of the data model include: C' model and D model, among which the C' model contains information such as entities, attributes, and mapping relationships between C and C' entities; the D model is the IT implementation layer database design. The C' model determines the basic business data objects and entity scope of the application components based on the business model (i.e. C model) objects and entity lists. The D model is a database table structure designed based on the data entities and attributes in the C' model. The management and control of the data model is based on structured and unstructured documents such as "database design instructions" and "database table structure design", which are managed, reviewed, and run and released through the system.
[0095] In a specific embodiment of the present application, the model of the above-mentioned first database can be a D model, and the first database model, that is, the database DDL script, including the creation of an index script, can be automatically generated based on the D model, which not only improves the work efficiency of developers, but also avoids inconsistencies in the script generation process. In addition, based on the architectural management requirements of assets, by connecting with DevOps, the database script is scanned and analyzed to obtain the second database model, and then the first database model and the second data script are compared to check whether there are inconsistencies. If so, an analysis report is generated and provided to the architecture management personnel for management and control.
[0096] Specifically, when designing data models, service models, and service interfaces, the data items and domains in the data dictionary are used as input items, and the corresponding data dictionary is selected to ensure that the data dictionary is standardized. For example, when designing the request message and response message of the service interface, each field selects the corresponding data item information (including the data item code and the Chinese name of the data item) to implement the data dictionary in the message. Secondly, through cross-checking, scan and analyze whether there are fields in the service interface that have not been standardized in the data dictionary. If so, generate an analysis report and provide it to the architecture management personnel for management and control.
[0097] In order to facilitate management, discovery, analysis and modification of errors by control personnel and designers, in another embodiment of the present application, the comparison unit includes a first generation module and a second generation module, wherein the first generation module is used to generate the comparison result including comparison success information when the interface design information is consistent with the interface release information and / or when the first database model and the second database model are consistent; the second generation module is used to generate comparison failure information and mark the inconsistent information when the interface design information is inconsistent with the interface release information and / or when the first database model and the second database model are inconsistent, and the comparison failure information and the inconsistent information constitute the comparison result.
[0098] In one embodiment of the present application, the sending unit includes a sending module for sending the comparison results to the terminal of the architecture control personnel and / or the terminal of the service consumer. In this embodiment, the obtained comparison results are sent to the terminal of the architecture control personnel, which can further facilitate the control personnel to find and analyze errors in the comparison results. This solution can also send the obtained comparison results to the terminal of the service consumer, which is convenient for users to find inconsistencies between interface design information and interface release information. After the user finds the inconsistency, he can contact the designer or control personnel, so that the inconsistencies can be modified and updated in time.
[0099] In a specific embodiment of the present application, the interface design information and the interface release information can also be cross-checked, and the comparison check is automatically performed regularly to generate an analysis report, which is provided to designers and management personnel to facilitate them to find and correct errors in a timely manner. For example, by docking with the enterprise service bus system, the interface information of the successful operation and release is regularly synchronized to the system, and compared with the service interface data designed in the system to generate an analysis report, and the data inconsistency in the design document is discovered in advance. This method ensures the consistency of the service model and the service interface from the design stage. In addition, if the service interface is maintained separately, the inconsistency of the data can be discovered through cross-checking, thereby avoiding the inconsistency between the design state of the service model and the development state of the service interface. By docking with the enterprise service bus, the inconsistency of the data in the design document can be discovered in advance.
[0100] The management and control device of the above-mentioned IT architecture includes a processor and a memory. The above-mentioned acquisition unit, comparison unit and sending unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0101] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the difficulty of manually reviewing the consistency of IT products in the design state and the running release state in the prior art can be solved by adjusting the kernel parameters.
[0102] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0103] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which implements the above-mentioned IT architecture management and control method when executed by a processor.
[0104] An embodiment of the present invention provides a processor, which is used to run a program, wherein the management and control method of the IT architecture is executed when the program is running.
[0105] In a typical embodiment of the present application, an electronic device is also provided, comprising: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the above methods.
[0106] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0107] Step S101, obtaining interface design information and interface publishing information, and / or obtaining a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, the interface publishing information is interface information of the target service that is run and published, the first database model is a database script corresponding to the interface design information, the second database model is a database script corresponding to the interface publishing information, and the interface design information and the first database model are respectively composed of structured data;
[0108] Step S102, comparing the interface design information and the interface publishing information, and / or comparing the first database model and the second database model, to generate a comparison result;
[0109] Step S103, sending the above comparison result to the terminal.
[0110] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0111] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0112] Step S101, obtaining interface design information and interface publishing information, and / or obtaining a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, the interface publishing information is interface information of the target service that is run and published, the first database model is a database script corresponding to the interface design information, the second database model is a database script corresponding to the interface publishing information, and the interface design information and the first database model are respectively composed of structured data;
[0113] Step S102, comparing the interface design information and the interface publishing information, and / or comparing the first database model and the second database model, to generate a comparison result;
[0114] Step S103, sending the above comparison result to the terminal.
[0115] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0116] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0117] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0119] If the above-mentioned 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, 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 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 above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0120] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0121] 1) In the IT architecture management and control method of the present application, first, interface design information and interface release information are obtained, or a first database model and a second database model are obtained, or interface design information and interface release information are obtained, and the first database model and the second database model are obtained at the same time; then, the obtained interface design information is compared with the interface release information, or the obtained first database model is compared with the obtained second database model, or the obtained interface design information is compared with the interface release information and the obtained first database model is compared with the obtained second database model at the same time to obtain a comparison result, and finally, the obtained comparison result is sent to the terminal. Compared with the prior art in which the interface design information and the first database model are both composed of unstructured data, and the interface release information and the second database model are composed of structured data, which require manual comparison by management personnel, in this solution, the acquired interface design information and the acquired first database model information are composed of structured data, which realizes the automatic comparison of the interface design information with the interface release information, and the comparison of the first database model information with the second database model information, thereby ensuring the effectiveness and real-time nature of the comparison results, while reducing the workload of manual processing by management personnel, ensuring the good quality of architecture assets and high management efficiency, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0122] 2) In the management and control device of the IT architecture of the present application, the acquisition unit is used to obtain interface design information and interface release information, and / or obtain the first database model and the second database model, the above-mentioned interface design information is the interface information of the target service in the design stage, the above-mentioned interface release information is the interface information of the above-mentioned target service released in operation, the above-mentioned first database model is the database script corresponding to the above-mentioned interface design information, the above-mentioned second database model is the database script corresponding to the above-mentioned interface release information, and the above-mentioned interface design information and the above-mentioned first database model are respectively composed of structured data; the comparison unit is used to compare the above-mentioned interface design information and the above-mentioned interface release information, and / or compare the above-mentioned first database model and the above-mentioned second database model, and generate a comparison result; the sending unit is used to send the above-mentioned comparison result to the terminal. Compared with the prior art in which the interface design information and the first database model are both composed of unstructured data, and the interface release information and the second database model are composed of structured data, which require manual comparison by management personnel, in this solution, the acquired interface design information and the acquired first database model information are composed of structured data, which realizes the automatic comparison of the interface design information with the interface release information, and the comparison of the first database model information with the second database model information, thereby ensuring the effectiveness and real-time nature of the comparison results, while reducing the workload of manual processing by management personnel, ensuring the good quality of architecture assets and high management efficiency, thereby solving the problem of the difficulty of manually reviewing the consistency of IT products in the design state and the operation release state in the prior art.
[0123] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for managing and controlling IT architecture, characterized in that: include: Obtaining interface design information and interface publishing information, and / or obtaining a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, and the interface publishing information is interface information of the target service that is released in operation, the first database model is a database model in the design phase, and the second database model is a database model that is released in operation, and the interface design information and the first database model are respectively composed of structured data; Comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model, to generate a comparison result; Sending the comparison result to the terminal, The interface information includes response code information and other information, and obtains interface design information and interface release information, including: Acquiring the interface design information; Obtain the response code information of the target service released by running through DevOps; Acquire the other information of the target service published by running through the enterprise service bus, The interface design information is obtained, including: Obtaining an interface design specification template, wherein the interface design specification template includes a plurality of initial interface documents, and the initial interface documents are structured documents; Calling a predetermined interface document from the interface design specification template, wherein the predetermined interface document is the initial interface document related to the target service; In response to a modification operation on the predetermined interface document, an interface design specification including the interface design information is generated.
2. The method according to claim 1, characterized in that Obtaining a first database model and a second database model includes: Acquire the first database model; The second database model is obtained through DevOps.
3. The method according to claim 1, characterized in that Comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model to generate a comparison result, includes: When the interface design information is consistent with the interface publishing information, and / or when the first database model is consistent with the second database model, generating the comparison result including comparison success information; When the interface design information is inconsistent with the interface release information, and / or when the first database model and the second database model are inconsistent, comparison failure information is generated and the inconsistent information is marked. The comparison failure information and the inconsistent information constitute the comparison result.
4. The method according to claim 1, characterized in that: Sending the comparison result to the terminal includes: The comparison result is sent to a terminal of an architecture control person and / or a terminal of a service consumer.
5. A management and control device for IT architecture, characterized in that: include: an acquisition unit, used to acquire interface design information and interface publishing information, and / or acquire a first database model and a second database model, wherein the interface design information is interface information of a target service in a design phase, and the interface publishing information is interface information of the target service that is released in operation, the first database model is a database model in the design phase, and the second database model is a database model that is released in operation, and the interface design information and the first database model are respectively composed of structured data; A comparison unit, used for comparing the interface design information and the interface release information, and / or comparing the first database model and the second database model, to generate a comparison result; A sending unit, used to send the comparison result to a terminal, The interface information includes response code information and other information, and the acquisition unit includes: A first acquisition module, used to acquire the interface design information; A second acquisition module is used to acquire the response code information of the target service released by running through DevOps; The third acquisition module is used to acquire the other information of the target service published through the enterprise service bus. The first acquisition module includes: An acquisition submodule is used to acquire an interface design specification template, wherein the interface design specification template includes a plurality of initial interface documents, and the initial interface document is a structured document; A calling submodule, used to call a predetermined interface document from the interface design specification template, wherein the predetermined interface document is the initial interface document related to the target service; The first generating submodule is used to generate an interface design specification including the interface design information in response to a modification operation on the predetermined interface document.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 4.
7. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 4 when running.
8. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 4.
Citation Information
Patent Citations
System and method for monitoring consistency of design state and operation state of model
CN113282486A