IT model data processing method and device based on meta-model
By filling and configuring the business model attribute list in the IT model management layer of the metamodel and creating a business template, the problems of large workload and low management efficiency caused by business model changes are solved, and real-time mapping of IT models and business models is realized , improves system development and maintenance efficiency.
Patent Information
- Application Number
- CN202411073283.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-13
AI Technical Summary
In the prior art, changes in business models lead to large workloads in system changes, low IT model management efficiency, and difficult data reading and management, which affects the operation efficiency of resource management systems.
By entering IT model data in the IT model management layer of the metamodel, filling the business model attribute list, sorting and filtering, creating business templates, and performing attribute configuration and model association configuration, generating the configured IT model to realize IT model and business The real-time mapping relationship of the model improves development efficiency and maintenance complexity.
Real-time viewing of the mapping relationship between the system IT model and the business model improves system development efficiency, reduces system maintenance complexity, and improves the management efficiency of meta-models.
Smart Images

Figure CN119127869A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a meta-model-based IT model data processing method and device. Background Art
[0002] At present, in the process of implementing the resource management system IT (Information Technology), it is necessary to map the business model into the IT model (database table) to realize the storage of resource data in the database.
[0003] In the related art, metamodel management of the resource management system is usually performed in the form of IT model-driven metamodel management or business model-driven metamodel management. For the IT model-driven metamodel management, if the business model changes, the IT model corresponding to the business model needs to change, and the workload of system modification is large. For the IT model-driven metamodel management, it is inconvenient to consult the IT model, and as the functions of the business system increase, the database table corresponding to the IT model will also grow rapidly, making data reading, calculation and management more difficult, resulting in low management efficiency of the metamodel, which in turn affects the operating efficiency of the resource management system. Summary of the invention
[0004] The embodiments of the present application provide a meta-model-based IT model data processing method and device to solve the technical problem that, when performing meta-model management of a resource management system in the prior art, changes in the business model easily lead to a large increase in system modification work, and as the functions of the business system increase, the system's data reading, calculation and management are more difficult, resulting in low management efficiency of the meta-model, which in turn affects the operating efficiency of the resource management system.
[0005] In a first aspect, an embodiment of the present application provides an IT model data processing method based on a metamodel, comprising: When IT model data has been entered into the IT model management layer of the meta-model and a target IT model has been selected, the attribute data of the target IT model is filled into the business model attribute list to obtain a new business model attribute list; wherein the target IT model is abstracted based on user requirements; and the target IT model belongs to the IT model data; Sorting and filtering the fields in the new business model attribute list to obtain a filtered business model attribute list; At least one set of business templates is created according to the filtered business model attribute list and the user needs, and business attribute configuration and model association configuration are performed on the at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of the at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0006] In one embodiment, the target IT model is obtained by the following steps: In the case where the user requirements include interfaces that need to be added, deleted, modified, and queried, a business model is abstracted according to the user requirements, and the target IT model is abstracted according to the business model; Alternatively, when the user requirements do not include interfaces that need to be added, deleted, modified, and queried, the target IT model is abstracted according to the user requirements.
[0007] In one embodiment, the target IT model includes one of a first IT master model and an IT model combination; the IT model combination includes a second IT master model and at least one object IT extension model; Abstracting the target IT model according to the business model includes: In the case where the business model is associated with different business model objects of the same type, the IT model combination is abstracted according to the business model, the common attributes of the different business model objects of the same type are stored in the second IT main model, and the difference fields of the different business model objects of the same type are stored in the at least one object IT extension model to obtain the target IT model; the primary key identifier of the second IT main model is the same as the primary key identifier value of the at least one object IT extension model; Alternatively, when the business model is associated with different business model objects of the same type, the business model in which the data volume exceeds a preset threshold is abstracted according to the first IT model to obtain the target IT model.
[0008] In one embodiment, the at least one set of business templates is sequentially configured with business attributes and model associations to obtain a configured IT model, including: Adjust the attribute display order of the at least one set of business templates, set attribute verification rules, set whether the attribute is readable, whether the attribute is hidden, configure virtual attribute mapping rules, and configure enumeration values associated with enumeration attributes to obtain a new IT model; The new IT model is associated with other business models according to a mapping relationship among 1:1, 1:N, N:1 and N:M to obtain the configured IT model.
[0009] In one embodiment, after the IT model data has been entered into the IT model management layer of the meta-model, the method further includes: An IT element corresponding to at least one of an index, a view and a function is entered in the IT model management layer.
[0010] In one embodiment, after obtaining the configured IT model, the method further includes: Converting the configured IT model from a design state to a running state and running it to generate a script data package and a business code; the script data package includes an IT model change script, a business model configuration data script, a business template data script, and an enumeration script; According to the script data package, the database structure of the business system connected to the metamodel is aligned, and the business code package is automatically deployed to the microservice of the metamodel through automated construction, so as to realize low-code automatic publishing of business functions.
[0011] In a second aspect, an embodiment of the present application provides an IT model data processing device based on a meta-model, comprising: A data filling module is used to fill the attribute data of the target IT model into the business model attribute list to obtain a new business model attribute list when the IT model data has been entered into the IT model management layer of the meta-model and the target IT model is selected; wherein the target IT model is abstracted based on user requirements; and the target IT model belongs to the IT model data; A screening module, used to sort and screen the fields in the new business model attribute list to obtain a screened business model attribute list; A configuration module is used to create at least one set of business templates according to the screened business model attribute list and the user requirements, and to perform business attribute configuration and model association configuration on the at least one set of business templates in sequence to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of the at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0012] In a third aspect, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any of the meta-model-based IT model data processing methods described above are implemented.
[0013] In a fourth aspect, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the meta-model-based IT model data processing methods described above.
[0014] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned meta-model-based IT model data processing methods.
[0015] The meta-model-based IT model data processing method and device provided in the present application fill the attribute data of the target IT model of the IT model management layer of the meta-model into the business model attribute list, sort and filter the fields in the new business model attribute list to obtain a filtered business model attribute list, and then create at least one set of business templates based on the filtered business model attribute list and user needs, and perform business attribute configuration and model association configuration on at least one set of business templates in turn to obtain a configured IT model. The mapping relationship between the system IT model and the business model can be viewed in real time, which improves the system development efficiency, reduces the complexity of system maintenance, and thereby improves the management efficiency of the meta-model. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 It is a flowchart of the metamodel-based IT model data processing method provided in this application.
[0018] Figure 2 It is the IT model creation flow chart provided by this application.
[0019] Figure 3 It is a schematic diagram of the relationship between the IT model and the business model provided in this application.
[0020] Figure 4 It is a structural diagram of the metamodel management system provided by the present application for data interaction with the business system and the business system instance library respectively.
[0021] Figure 5 It is a structural diagram of the metamodel-based IT model data processing device provided by this application.
[0022] Figure 6It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] Figure 1 is a flow chart of the IT model data processing method based on the metamodel provided by this application; Figure 1 , the meta-model-based IT model data method includes the following steps: Step 110: When the IT model data has been entered into the IT model management layer of the meta-model and the target IT model has been selected, the attribute data of the target IT model is filled into the business model attribute list to obtain a new business model attribute list; wherein the target IT model is abstracted based on user requirements; the target IT model belongs to the IT model data.
[0025] In this step, the above meta-model belongs to the management model of various metadata in the resource management system; the resource management system includes but is not limited to 0 domain and other resource management systems, which are responsible for managing more than 300 types of resource data of various networks and business lines such as space, transmission, wireless, core, home customers, and customer collection, and define attributes for each resource or business in an object-oriented manner, and complete resource addition, modification, query, deletion and other operations through meta-model configuration to realize resource data management.
[0026] In this embodiment, the IT model data may be different types of database tables, and the IT model management layer may manage the database, IT model table, model attribute table, etc. (including steps such as adding, deleting, modifying and querying).
[0027] In this embodiment, the target IT model may be a plurality of database tables that have been entered into the IT model management layer, and the attribute data of the target IT model includes information such as the type, item, content, and association relationship of the database table.
[0028] In this embodiment, the target IT model is a model to be screened and configured, and can be selected from the input IT model data according to user needs.
[0029] In this embodiment, the business model attribute list can be obtained by pre-configuration in the IT model management layer, and is used to count the attribute data corresponding to different business models.
[0030] Step 120: sort and filter the fields in the new business model attribute list to obtain a filtered business model attribute list.
[0031] In this step, the virtual attribute is a field that does not exist in the IT model, and the virtual field can be set according to the actual needs of the user.
[0032] In this embodiment, after the IT model selection is completed, the attributes of the IT model are automatically initialized to the business model attribute list. The initialized attributes can be deleted according to business needs, and virtual attributes can also be manually added.
[0033] Step 130: Create at least one set of business templates according to the screened business model attribute list and user requirements, and perform business attribute configuration and model association configuration on at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0034] In this step, multiple business templates can be created by obtaining the adjusted business model attributes and analyzing the actual business needs of users. In the business templates, you can adjust the attribute display order, set attribute verification rules, whether the attribute is read-only, whether the attribute is hidden, configure virtual attribute mapping rules (configurable SQL or database functions), configure enumeration values associated with enumeration attributes, etc.; you can also establish an association relationship between one or more IT models and the corresponding one or more business models.
[0035] Specifically, business attribute configuration and model association configuration are performed in sequence on at least one set of business templates to obtain a configured IT model, including: adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring enumeration values associated with enumeration attributes to obtain a new IT model; the new IT model is associated with other business models according to a mapping relationship among 1:1, 1:N, N:1 and N:M to obtain a configured IT model.
[0036] In this embodiment, a 1:1 mapping relationship means that one IT model is associated with one business model; a 1:N mapping relationship means that one IT model is associated with N business models; an N:1 mapping relationship means that N IT models are associated with one business model; and an N:M mapping relationship means that N IT models are associated with M business models.
[0037] For example, a feasible association relationship is: the IT model is a database table, and the corresponding business model includes a view table, a model table, and a sequence table. The database table is associated with the view table, the model table, and the sequence table respectively through specified identifiers.
[0038] The meta-model-based IT model data processing method provided in the embodiment of the present application fills the attribute data of the target IT model of the IT model management layer of the meta-model into the business model attribute list, sorts and filters the fields in the new business model attribute list to obtain a filtered business model attribute list, and then creates at least one set of business templates based on the filtered business model attribute list and user needs, and performs business attribute configuration and model association configuration on at least one set of business templates in turn to obtain a configured IT model. The mapping relationship between the system IT model and the business model can be viewed in real time, thereby improving the system development efficiency, reducing the complexity of system maintenance, and thereby improving the management efficiency of the meta-model.
[0039] In one embodiment, the target IT model is obtained through the following steps: when the user requirements include interfaces that need to be added, deleted, modified and queried, a business model is abstracted according to the user requirements, and the target IT model is abstracted according to the business model; or, when the user requirements do not include interfaces that need to be added, deleted, modified and queried, the target IT model is abstracted according to the user requirements.
[0040] In this embodiment, during the daily maintenance of the system, if the database structure changes, the system maintenance can be performed through the IT model management of the meta-model, and the database structure change can be automatically completed through model publishing.
[0041] Furthermore, after the IT model data has been entered into the IT model management layer of the meta-model, the method further includes: entering an IT element corresponding to at least one of an index, a view and a function into the IT model management layer.
[0042] Figure 2 This is the IT model creation flow chart provided by this application. Figure 2 In the illustrated embodiment, at the beginning of IT model creation, by analyzing user requirements (business functions), when it is determined that the current business function needs to add, delete, modify or query interfaces, the business model is first abstracted from the current business function, and the business model is further sampled according to the types of objects in the business model to obtain the corresponding IT model; if it is determined that the current business function does not need to add, delete, modify or query interfaces, the corresponding IT model is directly abstracted from the current business function; after the IT model is entered into the IT model management layer of the metamodel, the index, view, function and other information required for system maintenance are also entered until the model entry is completed.
[0043] The meta-model-based IT model data processing method provided in the embodiment of the present application realizes the function of automatically generating the add, delete, modify and query interfaces of the IT model and the business model by using the meta-model, by first abstracting the business model when the user requirements include interfaces that need to be added, deleted, modified and queried, and then abstracting the target IT model based on the business model; or by directly abstracting the target IT model when the user requirements do not include interfaces that need to be added, deleted, modified and queried, thereby improving the system development efficiency and reducing the maintenance cost of the business system.
[0044] Furthermore, the target IT model includes a first IT main model and one of an IT model combination; the IT model combination includes a second IT main model and at least one object IT extension model; abstracting the target IT model according to the business model includes: when the business model is associated with different business model objects of the same type, abstracting the IT model combination according to the business model, storing the common attributes of different business model objects of the same type into the second IT main model, storing the difference fields of different business model objects of the same type into at least one object IT extension model, and obtaining the target IT model; the primary key identifier of the second IT main model is the same as the primary key identifier value of at least one object IT extension model; or, when the business model is associated with different business model objects of the same type, abstracting the business model whose data volume exceeds a preset threshold according to the first IT model to obtain the target IT model.
[0045] In this embodiment, the business model objects of the same type refer to IT model data published by the same data source, and the business model objects of the same type refer to IT model data in the same format.
[0046] In this embodiment, the first IT model may be the same as or different from the second IT model.
[0047] In this embodiment, the preset threshold can be set according to user needs. For example, the preset threshold can be 2 million or 3 million.
[0048] In this embodiment, the business model abstracts the IT model according to the following principles: (1) For different business model objects of the same type, abstract the following: IT main model + IT extended model of each object, and put the common attributes of the same type of business model into the IT main model, and put the difference fields into the corresponding IT extended model. The primary key identifier of the IT main model is consistent with the primary key identifier value of the extended model.
[0049] (2) For different business model objects of the same type, models with data volumes exceeding 3 million are abstracted as a single IT model to avoid query performance issues when querying the IT main model + extended IT model.
[0050] Figure 3 is a schematic diagram of the relationship between the IT model and the business model provided by this application. Figure 3 In the illustrated embodiment, the IT model management layer is capable of abstracting the stored IT model data into eight tables (database table, professional table, index table, view table, IT model table, model attribute table, sequence table, and function, stored procedure and trigger table) for IT model management, storing all database structure information of the business system; as shown in the figure (partial examples are given for the design structure of each table), the structural information (same as attribute data) corresponding to the database table includes: ID, Chinese name, English name, database type, instance library address, creation time, creator and last modification time; the data table is associated with the view table, IT model table, sequence table, and function, stored procedure and trigger table according to a 1:N mapping relationship; the professional table is associated with the IT model table according to a 1:N mapping relationship; the IT model table is associated with the model attribute table according to a 1:N mapping relationship; the model attribute table is associated with the index table according to an M:N mapping relationship.
[0051] The meta-model-based IT model data processing method provided in the embodiment of the present application can not only clearly view the mapping relationship between the system IT model and the business model, but also quickly build a system instance library based on the IT model, initialize the instance library data, and realize one-click upgrade of the business instance library, thereby further improving the system development efficiency and reducing the complexity of system maintenance.
[0052] Furthermore, after obtaining the configured IT model, the metamodel-based IT model data processing method also includes: converting the configured IT model from a design state to a running state and running it to generate a script data package and business code; the script data package includes an IT model change script, a business model configuration data script, a business template data script, and an enumeration script; according to the script data package, the database structure of the business system connected to the metamodel is aligned, and the business code package is automatically deployed to the microservice of the metamodel through automated construction, so as to realize low-code automatic publishing of business functions.
[0053] In this embodiment, after completing IT model creation, business model configuration, and business template configuration, the configured IT model is published, thereby realizing closed-loop model management of the business system and improving metamodel management efficiency.
[0054] Figure 4 It is a schematic diagram of the structure of the metamodel management system provided by the present application for data interaction with the business system and the business system instance library. Figure 4In the illustrated embodiment, the metamodel management system includes a business model management layer (including an OTN network element model, an ONU network element model and an "XX" model, where the "XX" model represents a network element model) and an IT model management layer (including multiple types of table data as shown in the figure); wherein the business model management layer adds a new business model according to user needs, and abstracts the business function into a business model or directly abstracts it into an IT model for the IT model management layer to input. After the IT model is input, the model is sorted and screened, and a corresponding business template is created in combination with user needs, and the business template is sequentially configured with business attributes and model associations to obtain a configured IT model; in this way, the metamodel management system can generate a business model data management interface according to the configured IT model, and realize the functions of adding, deleting, modifying, querying, importing and exporting resource data of the business system (including OTN network element management function, SDH network element management function, ONU network element management function, port occupancy rate statistical report, ONU network element access process and "XX" function); in addition, The IT model management layer simultaneously enters the element structure (such as tables, views, functions, indexes, and sequences) in the business system instance library (including the resource library, report statistics library, transmission process library and other libraries), and manages it in the IT model in the format of data. Based on IT model management, a full SQL script of the instance library element structure can be generated with one click, and the instance library element structure can be incrementally aligned.
[0055] The following is a description of the metamodel-based IT model data processing device provided in the present application. The metamodel-based IT model data processing device described below and the metamodel-based IT model data processing method described above can be referenced to each other.
[0056] Figure 5 is a schematic diagram of the structure of the IT model data processing device based on the metamodel provided by the present application, such as Figure 5 As shown, the meta-model-based IT model data processing device includes: a data filling module 510, a screening module 520 and a configuration module 530.
[0057] The data filling module 510 is used to fill the attribute data of the target IT model into the business model attribute list when the IT model data has been entered into the IT model management layer of the meta-model and the target IT model is selected, so as to obtain a new business model attribute list; wherein the target IT model is obtained based on the abstraction of user requirements; the target IT model belongs to the IT model data; A screening module 520, used to sort and screen the fields in the new business model attribute list to obtain a screened business model attribute list; Configuration module 530 is used to create at least one set of business templates based on the screened business model attribute list and user needs, and perform business attribute configuration and model association configuration on at least one set of business templates in sequence to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0058] The meta-model-based IT model data processing device provided in the embodiment of the present application fills the attribute data of the target IT model of the IT model management layer of the meta-model into the business model attribute list, sorts and filters the fields in the new business model attribute list to obtain a filtered business model attribute list, and then creates at least one set of business templates based on the filtered business model attribute list and user needs, and performs business attribute configuration and model association configuration on at least one set of business templates in turn to obtain a configured IT model. The mapping relationship between the system IT model and the business model can be viewed in real time, thereby improving the system development efficiency, reducing the complexity of system maintenance, and thereby improving the management efficiency of the meta-model.
[0059] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor (processor) 610 , a communication interface (Communications Interface) 620 , a memory (memory) 630 and a communication bus 640 , wherein the processor 610 , the communication interface 620 , and the memory 630 communicate with each other through the communication bus 640 . The processor 610 can call the logic instructions in the memory 630 to execute the meta-model-based IT model data processing method, which includes: when the IT model data has been entered into the IT model management layer of the meta-model and the target IT model is selected, the attribute data of the target IT model is filled into the business model attribute list to obtain a new business model attribute list; wherein the target IT model is abstracted based on user needs; the target IT model belongs to the IT model data; the fields in the new business model attribute list are sorted and filtered to obtain a filtered business model attribute list; at least one set of business templates is created according to the filtered business model attribute list and user needs, and business attribute configuration and model association configuration are performed on at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0060] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0061] On the other hand, the present application also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the meta-model-based IT model data processing method provided by the above methods, the method including: when the IT model data has been entered into the IT model management layer of the meta-model and the target IT model is selected, the attribute data of the target IT model is filled into the business model attribute list to obtain a new business model attribute list; wherein the target IT model is abstracted based on user needs; the target IT model belongs to the IT model data; the fields in the new business model attribute list are sorted and filtered to obtain a filtered business model attribute list; at least one set of business templates is created according to the filtered business model attribute list and user needs, and business attribute configuration and model association configuration are performed on at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attribute is readable, whether the attribute can be hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0062] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the meta-model-based IT model data processing method provided by the above-mentioned methods, the method comprising: when IT model data has been entered into the IT model management layer of the meta-model and the target IT model has been selected, filling the attribute data of the target IT model into the business model attribute list to obtain a new business model attribute list; wherein, the target IT model is abstracted based on user needs; the target IT model belongs to the IT model data; sorting and filtering the fields in the new business model attribute list to obtain a filtered business model attribute list; creating at least one set of business templates according to the filtered business model attribute list and user needs, and performing business attribute configuration and model association configuration on at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
[0063] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A meta-model-based IT model data processing method, It is characterized in that include: When IT model data has been entered into the IT model management layer of the meta-model and a target IT model has been selected, the attribute data of the target IT model is filled into the business model attribute list to obtain a new business model attribute list; wherein the target IT model is abstracted based on user requirements; and the target IT model belongs to the IT model data; Sorting and filtering the fields in the new business model attribute list to obtain a filtered business model attribute list; At least one set of business templates is created according to the filtered business model attribute list and the user needs, and business attribute configuration and model association configuration are performed on the at least one set of business templates in turn to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of the at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
2. The IT model data processing method based on the metamodel according to claim 1, It is characterized in that The target IT model is obtained through the following steps: In the case where the user requirements include interfaces that need to be added, deleted, modified, and queried, a business model is abstracted according to the user requirements, and the target IT model is abstracted according to the business model; Alternatively, when the user requirements do not include interfaces that need to be added, deleted, modified, and queried, the target IT model is abstracted according to the user requirements.
3. The IT model data processing method based on metamodel according to claim 2, It is characterized in that The target IT model includes one of a first IT master model and an IT model combination; the IT model combination includes a second IT master model and at least one object IT extension model; Abstracting the target IT model according to the business model includes: In the case where the business model is associated with different business model objects of the same type, the IT model combination is abstracted according to the business model, the common attributes of the different business model objects of the same type are stored in the second IT main model, and the difference fields of the different business model objects of the same type are stored in the at least one object IT extension model to obtain the target IT model; the primary key identifier of the second IT main model is the same as the primary key identifier value of the at least one object IT extension model; Alternatively, when the business model is associated with different business model objects of the same type, the business model in which the data volume exceeds a preset threshold is abstracted according to the first IT model to obtain the target IT model.
4. The IT model data processing method based on metamodel according to claim 1, It is characterized in that The step of sequentially performing business attribute configuration and model association configuration on the at least one set of business templates to obtain a configured IT model includes: Adjust the attribute display order of the at least one set of business templates, set attribute verification rules, set whether the attribute is readable, whether the attribute is hidden, configure virtual attribute mapping rules, and configure enumeration values associated with enumeration attributes to obtain a new IT model; The new IT model is associated with other business models according to a mapping relationship among 1:1, 1:N, N:1 and N:M to obtain the configured IT model.
5. The IT model data processing method based on metamodel according to claim 1, It is characterized in that After the IT model data has been entered into the IT model management layer of the meta-model, the method further includes: An IT element corresponding to at least one of an index, a view and a function is entered in the IT model management layer.
6. The IT model data processing method based on the metamodel according to any one of claims 1 and 4, It is characterized in that After obtaining the configured IT model, the method further includes: Converting the configured IT model from a design state to a running state and running it to generate a script data package and a business code; the script data package includes an IT model change script, a business model configuration data script, a business template data script, and an enumeration script; According to the script data package, the database structure of the business system connected to the metamodel is aligned, and the business code package is automatically deployed to the microservice of the metamodel through automated construction, so as to realize low-code automatic publishing of business functions.
7. An IT model data processing device based on a metamodel, It is characterized in that include: A data filling module is used to fill the attribute data of the target IT model into the business model attribute list to obtain a new business model attribute list when the IT model data has been entered into the IT model management layer of the meta-model and the target IT model is selected; wherein the target IT model is abstracted based on user requirements; and the target IT model belongs to the IT model data; A screening module, used to sort and screen the fields in the new business model attribute list to obtain a screened business model attribute list; A configuration module is used to create at least one set of business templates according to the screened business model attribute list and the user requirements, and to perform business attribute configuration and model association configuration on the at least one set of business templates in sequence to obtain a configured IT model; wherein the business attribute configuration includes adjusting the attribute display order of the at least one set of business templates, setting attribute verification rules, setting whether the attributes are readable, whether the attributes are hidden, configuring virtual attribute mapping rules, and configuring at least one of the enumeration values associated with the enumeration attributes.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the metamodel-based IT model data processing method according to any one of claims 1 to 6 are implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the metamodel-based IT model data processing method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the metamodel-based IT model data processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Management system building method and device based on meta-model, equipment and medium
CN114816389A
Application development system and method
CN115993966A
Metadata-based low-code development platform design and implementation method
CN117472362A
Rule-based systems and methods for customizing complex business solutions
US20220180320A1
Managing and deploying applications in multi-cloud environment
US20230168874A1
