Generation method, application method, device and system of data model and medium
By obtaining the extended fields of the core model list and object model, generating field configuration information of the data model and generating corresponding storage tables, service interfaces and operation pages, the problem of existing data model generation tools lack flexibility and scalability in the semiconductor manufacturing industry, and the system flexibility and adaptability improvement is achieved.
Patent Information
- Application Number
- CN202411479023.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-03-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing data model generation tools lack flexibility and scalability in the semiconductor manufacturing industry and require extensive customized development and configuration.
By obtaining the core model list and the extended fields of the object model, the field configuration information of the object model is generated, and the storage table, service interface and operation page are generated based on this configuration information, and custom extended fields are supported to achieve rapid expansion of the business model.
It significantly improves the flexibility and adaptability of the system, reduces development and implementation cycles, reduces operational and development costs, and solves the problem of lack of flexibility and scalability of data model generation tools in the semiconductor industry.
Smart Images

Figure CN119645512A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method for generating a data model, an application method, a device, a system and a medium. Background Art
[0002] The semiconductor manufacturing industry is a highly complex and sophisticated industry involving numerous process flows and strict quality control. With the development of semiconductor technology and changes in market demand, the amount and complexity of data generated in the production process continue to increase. The development of data model generation technology enables enterprises to manage and analyze production data more efficiently. A data model is a data structure model that describes business entities, attributes, and their relationships, and is used for data management and analysis. In the semiconductor manufacturing process, data models can help enterprises systematically manage production data and improve data accuracy and consistency. Existing data model generation tools are mostly used for general business application development, providing basic entity-relationship model generation and data storage functions. However, these tools often require a lot of customized development and configuration when dealing with the personalized needs and production process changes in the semiconductor industry, and lack flexibility and scalability.
[0003] Data model generation tools for the semiconductor manufacturing process require a lot of customized development and configuration, and lack flexibility and scalability. No effective solution has been proposed yet. Summary of the invention
[0004] In this embodiment, a data model generation method, application method, device, system and medium are provided to solve the problem that data model generation tools lack flexibility and scalability.
[0005] In a first aspect, a method for generating a data model is provided in this embodiment, and the method includes:
[0006] Acquire a core model list, the core model list including a plurality of object models corresponding to a plurality of operation objects, the object model including basic fields, the plurality of operation objects being determined based on an application scenario of the core model list;
[0007] Acquire an extended field of the object model, and generate field configuration information of the object model based on the extended field, wherein the field configuration information includes configuration information of a basic field in the object model and configuration information of the extended field;
[0008] Based on the field configuration information, a storage table, a service interface and an operation page corresponding to the object model are generated.
[0009] In some embodiments, generating the field configuration information of the object model based on the extended field includes:
[0010] Based on the preset configuration information of the basic fields in the object model, a table structure for persistent storage is constructed, wherein the table structure includes an extended field structure of a preset storage type;
[0011] Based on the extended field structure, generating configuration information of the extended field;
[0012] The field configuration information is generated based on the preset configuration information of the basic field and the configuration information of the extended field.
[0013] In some of the embodiments, the preset storage type is a JSON type.
[0014] In some embodiments, generating a storage table, a service interface, and an operation page corresponding to the object model based on the field configuration information includes:
[0015] Based on the general data management service interface, generate the data management service interface corresponding to the table structure of the persistent storage;
[0016] Based on the field configuration information, a corresponding data management service interface is created.
[0017] In some embodiments, generating a storage table, a service interface, and an operation page corresponding to the object model based on the field configuration information includes:
[0018] Based on the basic fields and the extended fields, generating an initial editing page of the object model;
[0019] Based on the field configuration information corresponding to the basic field and the extended field, an extended configuration page is added to the initial editing page.
[0020] In a second aspect, a method for applying a data model is provided in this embodiment, and the method includes:
[0021] Based on the data model generation method described in the first aspect, generate a storage table, a service interface, and an operation page corresponding to the object model;
[0022] Based on the application scenario of the object model, the corresponding business process is executed, and the business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model, and the storage table is used to store the business data.
[0023] In a third aspect, a data model generation device is provided in this embodiment, the device comprising:
[0024] A first acquisition module is used to acquire a core model list, wherein the core model list includes a plurality of object models corresponding to a plurality of operation objects, the object model includes a basic field, and the plurality of operation objects are determined based on an application scenario of the core model list;
[0025] A second acquisition module, used to acquire an extended field of the object model, and generate field configuration information of the object model based on the extended field, wherein the field configuration information includes configuration information of a basic field in the object model and configuration information of the extended field;
[0026] The first generation module is used to generate a storage table, a service interface and an operation page corresponding to the object model based on the field configuration information, so as to perform any one or more operations of entering, modifying, deleting and querying the business data corresponding to the operation object.
[0027] In a fourth aspect, in this embodiment, a data model application device is provided, the device comprising:
[0028] A second generating module, configured to generate a storage table, a service interface and an operation page corresponding to the object model based on the data model generating method described in the first aspect;
[0029] A process execution module is used to execute the corresponding business process based on the application scenario of the object model. The business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model. The storage table is used to store the business data.
[0030] In a fifth aspect, a semiconductor data management system is provided in this embodiment, the system comprising an application device of the data model as described in the fourth aspect, and a storage table, a service interface and an operation page for managing semiconductor data.
[0031] In a sixth aspect, a readable storage medium is provided in this embodiment, on which a program is stored, and when the program is executed by a processor, the steps of the method for generating a data model described in the first aspect are implemented.
[0032] Compared with the related art, the data model generation method provided in this embodiment obtains the object model corresponding to different operation objects applied in different production scenarios by obtaining the core model list, and the object model includes basic fields; obtains the extended fields of the object model and generates the field configuration information of the object model based on the extended fields, and realizes the extension of the object model by supporting customized extended fields; generates the storage table, service interface and operation page corresponding to the object model based on the field configuration information, so that different enterprises can expand their business models by themselves without additional design and coding, thereby significantly improving the flexibility and adaptability of the system, saving time and cost, and solving the problem of lack of flexibility and scalability of data model generation tools.
[0033] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0035] Figure 1 It is a computer hardware structure block diagram of a method for generating a data model in some embodiments of the present application;
[0036] Figure 2 is a flowchart of a method for generating a data model in some embodiments of the present application;
[0037] Figure 3 is a flowchart of generating field configuration information of an object model in some embodiments of the present application;
[0038] Figure 4 is a flow chart of a service interface for generating an object model in some embodiments of the present application;
[0039] Figure 5 is a flow chart of an operation page for generating an object model in some embodiments of the present application;
[0040] Figure 6 is a flow chart of a method for applying a data model in some embodiments of the present application;
[0041] Figure 7 is a flow chart of a method for applying a data model in some preferred embodiments of the present application;
[0042] Figure 8 is a structural block diagram of a device for generating a data model in some embodiments of the present application;
[0043] Fig. 9 It is a structural block diagram of an application device of a data model in some embodiments of the present application. DETAILED DESCRIPTION
[0044] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not represent quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether directly or indirectly. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Usually, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0046] The data model generation method provided in the embodiment of the present application can be executed in a terminal, a computer, a server or a similar computing device. Figure 1 FIG. 4 is a hardware structure diagram of a computer for the method of generating a data model of this embodiment. Figure 1 As shown, the computer may include one or more ( Figure 1 Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above computer may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0047] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for generating the data model in the present embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0048] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0049] In this embodiment, a method for generating a data model is provided. Figure 2 is a flow chart of a method for generating a data model in some embodiments of the present application, such as Figure 2 As shown, the process includes the following steps:
[0050] Step S201, obtaining a core model list, wherein the core model list includes a plurality of object models corresponding to a plurality of operation objects, the object model includes basic fields, and the plurality of operation objects are determined based on an application scenario of the core model list.
[0051] The core model list includes pre-defined standardized object models that correspond to common operation objects in the semiconductor manufacturing process, such as products, materials, recipes, workstations, etc. These object models not only follow national and international standards, but also combine the conventional data model requirements in the semiconductor industry to ensure that the Manufacturing Execution System (MES) can run the minimum viable product (MVP) version based on these models. Through the object model, enterprises can quickly start MES and ensure that basic production management and execution requirements are met.
[0052] The semiconductor manufacturing process includes different application scenarios, such as wafer manufacturing, wafer testing, packaging testing, etc. In different application scenarios, data of different operation objects can be managed, so the corresponding core model lists can also be different.
[0053] Specifically, in the crystal growth and preparation scenario, the common production process is "product establishment - production planning - raw material allocation - crystal growth and preparation - product inspection". Based on this process, it is necessary to manage product data, planning data, raw material data, workstation data, formula data and inspection data. Therefore, the core model list of MES usually includes: product model, planning model, raw material model, workstation model, formula model and inspection model.
[0054] In the silicon wafer production scenario, the common production process is "basic information maintenance - product establishment - production planning - raw material allocation - silicon wafer production and inspection - final packaging". Similarly, the object model of MES usually includes: equipment model, product model, planning model, raw material model, workstation model and inspection model.
[0055] Each object model may include multiple basic fields. In a specific embodiment, the basic fields of the product model include:
[0056] Part Number: Uniquely identifies the product
[0057] Product name: such as "6-inch P-type CZ single crystal ingot"
[0058] Product specifications: such as "6 inches, 8 inches, 12 inches"
[0059] Product type: such as "P type, N type"
[0060] Product model: such as "CZ drawing, MCZ drawing"
[0061] Users can pre-set different object models based on data management requirements and configure the basic fields contained in the object models. Before executing a production process, multiple object models are selected according to the production process to form a core model list, or core model lists corresponding to different production processes are pre-set.
[0062] Step S202: acquiring the extended fields of the object model, and generating field configuration information of the object model based on the extended fields, wherein the field configuration information includes configuration information of the basic fields in the object model and configuration information of the extended fields.
[0063] Although the object model is standardized, different semiconductor factories (even factories in the same application scenario) may have personalized requirements. For example, for the product model of the crystal growth preparation scenario, different companies may have different requirements for the same product model: Company A may require the addition of a "version" field in the product model to support the management of different versions of the same material number. Company B may need to add an "attribute" field to allow different attributes to be maintained for the product, and these attributes can store different types of data.
[0064] Extension fields are used to meet the different management requirements of different enterprises for the same object model. Users can pre-set extension fields of object models according to their needs and add extension fields to object models in the core model list.
[0065] The field configuration information includes the configuration information of the basic field and the configuration information of the extended field. The configuration information may include the name, type, precision, whether to extend the field, sorting, description and other information of the field to define the data attributes of the basic field and the extended field.
[0066] When the user completes the setting of the extended field, the system will generate the configuration information of the extended field according to the configuration information of the basic field of the object model, and complete the generation of the configuration content of the object model.
[0067] Step S203: Generate a storage table, service interface and operation page corresponding to the object model based on the field configuration information.
[0068] The system will construct the table structure of the persistently stored data model, the service interface and the operation page of the object model that meet the requirements of the object model based on the configuration content of the object model, thereby realizing the construction of the object model.
[0069] Through steps S201 to S203, by obtaining a list of core models, object models corresponding to different operation objects applied in different production scenarios are obtained, and the object model includes basic fields; by obtaining extended fields of the object model and generating field configuration information of the object model based on the extended fields, the extension of the object model is supported by customized extended fields; by generating storage tables, service interfaces and operation pages corresponding to the object model based on the field configuration information, different enterprises can expand their business models by themselves without additional design and coding, thereby significantly improving the flexibility and adaptability of the system, saving time and cost, and solving the problem of lack of flexibility and scalability of data model generation tools.
[0070] In some embodiments, Figure 3 is a flowchart of generating field configuration information of an object model in some embodiments of the present application, such as Figure 3 As shown, the process includes the following steps:
[0071] Step S301: construct a persistent storage table structure based on preset configuration information of basic fields in the object model, where the table structure includes an extended field structure of a preset storage type.
[0072] In this embodiment, the user can select the core model list based on his or her own business scenario. After completing the selection, the configuration information of the basic fields of each object model in the core model list can be obtained. The configuration information is preset. The table structure of persistent storage is constructed through the configuration information, and the current table structure will contain an extended field structure of a preset storage type by default. In a specific embodiment, the preset name of the field is extra.
[0073] Furthermore, the preset storage type of this field is JSON type.
[0074] In a specific embodiment, the configuration information of the basic fields of the product model is shown in Table 1 below, wherein the extra in the last row belongs to the basic field and serves as a carrier of the extended field.
[0075] Table 1
[0076]
[0077]
[0078] Based on the configuration information in the preceding table, the table structure for persistent storage is generated, as shown in Table 2 below. The last line is the extended field structure.
[0079] Table 2
[0080] Name Type Length NotNull Key Comment id bigint √ PRIMARY KEY name varchar 255 Product Name code varchar 255 Product code, part number create_user_id bigint Founder extra json Extended Field Carrier
[0081] Step S302: Generate configuration information of the extended field based on the extended field structure.
[0082] When the user determines the extended field, the configuration information of the extended field is generated based on the extended field structure. In a specific embodiment, the extended field is version, and the configuration information of the product model is shown in Table 3 below. The last line is the configuration information of the extended field, and the rest is the configuration information of the basic field. There can be one or more extended fields.
[0083] Table 3
[0084]
[0085]
[0086] Step S303: Generate field configuration information based on the preset configuration information of the basic field and the configuration information of the extended field.
[0087] Through steps S301 to S303, a persistent storage table structure is constructed based on preset configuration information of basic fields in the object model to achieve systematic management of production data and improve data accuracy and consistency; by generating configuration information of extended fields based on the extended field structure, the configuration and use of extended fields are completed, and the persistent table structure of the database will not be affected by changes in the table structure due to changes in the extended fields; by generating field configuration information based on preset configuration information of basic fields and configuration information of extended fields, enterprises can directly add new fields to the object model according to changes in their own business processes to achieve rapid expansion of business models without changing the original storage structure; the differentiated needs of enterprises are met, the flexibility of the data management system is improved, and the development cost is reduced.
[0088] In some embodiments, Figure 4 is a flowchart of a service interface for generating an object model in some embodiments of the present application, such as Figure 4 As shown, the process includes the following steps:
[0089] Step S401: Generate a data management service interface corresponding to a persistent storage table structure based on a general data management service interface.
[0090] Based on the configuration information of the basic fields and extended fields of the object model, the SQL statements for creating database tables are generated to create database table structures consistent with the configuration information. The service logic for adding, deleting, modifying, and checking the object model is generated through the common data adding, deleting, modifying, and checking logic, and the internal function methods corresponding to the adding, deleting, modifying, and checking logic are generated.
[0091] Step S402: Create a corresponding data management service interface based on the field configuration information.
[0092] Based on the field configuration information and the add, delete, modify and query service logic of the object model generated in step S401, a data management service interface required in the configuration information is created.
[0093] Through steps S401 to S402, a data management service interface corresponding to the table structure of persistent storage is generated based on a general data management service interface, and a data management service interface for adding, deleting, modifying and querying the object model is obtained; by creating a corresponding data management service interface based on the field configuration information, the data management service interface required for the field configuration information is obtained, thereby realizing the expansion of data models and business logic without redesigning the system architecture or developing code, and automatically supporting the application of newly added extended fields in various business processes, so that enterprises can flexibly adjust production processes and quickly respond to changes in business needs.
[0094] In some embodiments, Figure 5 is a flowchart of an operation page for generating an object model in some embodiments of the present application, such as Figure 5 As shown, the process includes the following steps:
[0095] Step S501: Generate an initial editing page of the object model based on basic fields and extended fields.
[0096] Generate the initial edit page of the object model based on the basic fields and extended fields of the object model, which can be all fields with <input> The page is initialized and configured in the form of.
[0097] Step S502: based on the field configuration information corresponding to the basic fields and the extended fields, an extended configuration page is added to the initial editing page.
[0098] According to the field configuration information, add extended configuration of the card control and input components of the model field corresponding to the configuration information on the initial editing page.
[0099] Similarly, the initial query page of the object model can be generated based on the basic fields and extended fields of the object model, for example, all existing fields can be displayed in a single-page list; then, based on the initial query page, the configuration of related queries or display forms can be added. In addition, the default function of data model deletion can be generated, and the "delete" function trigger can be added to the query page.
[0100] Through steps S501 to S502, the initial editing page of the object model is generated based on the basic fields and extended fields, and the extended configuration page is added to the initial editing page based on the field configuration information corresponding to the basic fields and the extended fields. The operation page of the object model is generated without the need to develop code to realize the addition, deletion, modification and query operations of data management, and provide the necessary operation interface for the application of the data model.
[0101] In this embodiment, a data model application method is provided. Figure 6 is a flowchart of a method for applying a data model in some embodiments of the present application, such as Figure 6 As shown, the process includes the following steps:
[0102] Step S601: Based on the data model generation method in the above embodiment, a storage table, a service interface and an operation page corresponding to the object model are generated.
[0103] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation modes, which will not be described in detail in this embodiment.
[0104] Step S602, based on the application scenario of the object model, execute the corresponding business process, the business process includes: based on the operation page and the service interface, execute any one or more operations of entering, modifying, deleting and querying the business data of the object model, and the storage table is used to store the business data.
[0105] When you need to enter business data for the object model, click the "Add" button to display the configured new page in a pop-up window. After filling in the data on the page, the production data will be persisted to the table structure of the data model. Specifically, taking JSON format as an example, the product data writing statement for adding the version extension field is as follows:
[0106]
[0107] The following is an example of storing data in a persistent storage table:
[0108] Table 4
[0109]
[0110] When the business data needs to be modified, click the "Edit" button to display the configured edit page in a pop-up window. After filling in the data on the page, the production data will be persisted to the table structure of the data model.
[0111] Similarly, operations such as deleting and querying business data can also be implemented.
[0112] Through steps S601 to S602, by generating storage tables, service interfaces and operation pages corresponding to the object model, and based on the application scenarios of the object model, the corresponding business processes are executed. The business processes include: based on the operation pages and service interfaces, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model. Without the need for additional design and coding, the extended fields are applied to the data management of the business processes, playing a role in the production processes and business logic, significantly shortening the development and implementation cycle, and reducing the operation and development costs.
[0113] The following is a flow chart describing and illustrating the application method of the data model of the present application through a preferred embodiment. Figure 7 is a flow chart of the application method of the data model of some preferred embodiments of the present application, such as Figure 7 As shown, the process includes the following steps:
[0114] Step S701, selecting a core model based on a business scenario, and obtaining preset configuration information of a basic field based on the selected core model;
[0115] Step S702, constructing a persistent storage table structure of the object model through the configuration information of the basic fields. The table structure contains a field named extra by default, and the storage type of the field is JSON;
[0116] Step S703, after adding the extended field of version to the object model, add the extended field configuration information of version;
[0117] Step S704, generating field configuration information of the object model based on the configuration information of the basic field and the configuration information of the extended field;
[0118] Step S705, based on the field configuration information of the object model, generate a database table creation SQL statement, and create a database table structure content consistent with the field configuration information;
[0119] Step S706, generating the service logic of adding, deleting, modifying and checking the object model through the general data adding, deleting, modifying and checking logic, and generating the internal function method corresponding to the adding, deleting, modifying and checking logic;
[0120] Step S707, based on the field configuration information and the add, delete, modify and query service logic of the object model, create the interface required in the field configuration information;
[0121] Step S708, based on the field configuration information of the object model, a default page for adding and editing the object model is generated, and based on the basic configuration of the default page, an extended configuration of the card control and input components for the specific model field is added;
[0122] Step S709, based on the field configuration information of the object model, a default page for data model query is generated, and on the basis of the basic configuration of the default page, a configuration of associated query or display form is added;
[0123] Step S710, based on the field configuration information of the object model, a default function of deleting the data model is generated, and a function trigger of "delete" is added to the query page;
[0124] Step S711, based on the application scenario of the object model, executing the corresponding business process, the business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model.
[0125] Through steps S701 to S711, through the data model structure of basic fields plus extended fields, enterprises can directly add new fields in the product model through JSON fields according to changes in their own business processes. By using persistently stored JSON type fields combined with extended field configuration, data of any structure can be flexibly stored without modifying the persistent storage structure of the database. Rapid expansion of business models is achieved, avoiding the complexity of upgrading traditional storage structures, thereby reducing development costs; by generating storage tables, service interfaces and operation pages corresponding to object models based on field configuration information, data models and business logic can be expanded without additional design and coding, and the application of newly added extended fields in various business processes can be automatically supported, allowing enterprises to flexibly adjust production processes and quickly respond to changes in business needs.
[0126] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0127] In some embodiments, the present application further provides a data model generation device, which is used to implement the above embodiments and preferred implementations, and will not be repeated for what has been described. The terms "module", "unit", "sub-unit", etc. used below may be a combination of software and / or hardware that implements a predetermined function. In some embodiments, Figure 8 is a structural block diagram of the data model generation device of this embodiment, such as Figure 8 As shown, the device comprises:
[0128] A first acquisition module 81 is used to acquire a core model list, wherein the core model list includes a plurality of object models corresponding to a plurality of operation objects, the object model includes basic fields, and the plurality of operation objects are determined based on an application scenario of the core model list;
[0129] A second acquisition module 82 is used to acquire an extended field of the object model, and generate field configuration information of the object model based on the extended field, wherein the field configuration information includes configuration information of the basic field in the object model and configuration information of the extended field;
[0130] The first generation module 83 is used to generate a storage table, a service interface and an operation page corresponding to the object model based on the field configuration information, so as to perform any one or more operations of entering, modifying, deleting and querying the business data corresponding to the operation object.
[0131] The data model generation device of this embodiment obtains a core model list through a first acquisition module 81 to obtain object models corresponding to different operation objects applied in different production scenarios, and the object model includes basic fields; obtains extended fields of the object model through a second acquisition module 82, and generates field configuration information of the object model based on the extended fields, and implements the extension of the object model by supporting customized extended fields; generates storage tables, service interfaces and operation pages corresponding to the object model based on the field configuration information through a first generation module 83, so that different enterprises can expand their business models by themselves without additional design and coding, thereby significantly improving the flexibility and adaptability of the system, saving time and cost, and solving the problem of lack of flexibility and scalability of data model generation tools.
[0132] In some embodiments, the present application also provides an application device of a data model. Fig. 9 is a structural block diagram of the application device of the data model of this embodiment, such as Fig. 9 As shown, the device comprises:
[0133] A second generating module 91, configured to generate a storage table, a service interface and an operation page corresponding to the object model based on the data model generating method described in any one of claims 1 to 5;
[0134] The process execution module 92 is used to execute the corresponding business process based on the application scenario of the object model. The business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model. The storage table is used to store the business data.
[0135] The application device of the data model of this embodiment generates storage tables, service interfaces and operation pages corresponding to the object model through the second generation module 91, and expands its business model by itself without additional design and coding; and executes the corresponding business process based on the application scenario of the object model through the process execution module 92. The business process includes: based on the operation page and service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model, and applying the extended fields to the data management of the business process without additional design and coding, playing a role in the production process and business logic, significantly shortening the development and implementation cycle, and reducing the operation and development costs.
[0136] In some embodiments, the present application also provides a semiconductor data management system, which includes an application device of the data model in the above embodiments, as well as a storage table, a service interface and an operation page for managing semiconductor data.
[0137] The semiconductor data management system of this embodiment supports customized extended fields to implement the expansion of the object model, and applies the extended fields to the data management of business processes without additional design and coding, playing a role in production processes and business logic, significantly shortening the development and implementation cycle and reducing operating and development costs.
[0138] In some embodiments, the present application also provides a readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the method for generating a data model in the above-mentioned embodiments.
[0139] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0140] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.
[0141] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
[0142] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0143] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A method for generating a data model, characterized in that: The method comprises: Acquire a core model list, the core model list including a plurality of object models corresponding to a plurality of operation objects, the object model including basic fields, the plurality of operation objects being determined based on an application scenario of the core model list; Acquire an extended field of the object model, and generate field configuration information of the object model based on the extended field, wherein the field configuration information includes configuration information of a basic field in the object model and configuration information of the extended field; Based on the field configuration information, a storage table, a service interface and an operation page corresponding to the object model are generated.
2. The method according to claim 1, characterized in that: The generating of the field configuration information of the object model based on the extended field includes: Based on the preset configuration information of the basic fields in the object model, a table structure for persistent storage is constructed, wherein the table structure includes an extended field structure of a preset storage type; Based on the extended field structure, generating configuration information of the extended field; The field configuration information is generated based on the preset configuration information of the basic field and the configuration information of the extended field.
3. The method according to claim 2, characterized in that The preset storage type is JSON type.
4. The method according to claim 2, characterized in that: The generating, based on the field configuration information, a storage table, a service interface, and an operation page corresponding to the object model comprises: Based on the general data management service interface, generate the data management service interface corresponding to the table structure of the persistent storage; Based on the field configuration information, a corresponding data management service interface is created.
5. The method according to claim 1, characterized in that The generating, based on the field configuration information, a storage table, a service interface, and an operation page corresponding to the object model comprises: Based on the basic fields and the extended fields, generating an initial editing page of the object model; Based on the field configuration information corresponding to the basic field and the extended field, an extended configuration page is added to the initial editing page.
6. A method for applying a data model, characterized in that: The method comprises: Based on the data model generation method described in any one of claims 1 to 5, generate a storage table, a service interface and an operation page corresponding to the object model; Based on the application scenario of the object model, the corresponding business process is executed, and the business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model, and the storage table is used to store the business data.
7. A data model generation device, characterized in that: The device comprises: A first acquisition module is used to acquire a core model list, wherein the core model list includes a plurality of object models corresponding to a plurality of operation objects, the object model includes a basic field, and the plurality of operation objects are determined based on an application scenario of the core model list; A second acquisition module, used to acquire an extended field of the object model, and generate field configuration information of the object model based on the extended field, wherein the field configuration information includes configuration information of a basic field in the object model and configuration information of the extended field; The first generation module is used to generate a storage table, a service interface and an operation page corresponding to the object model based on the field configuration information, so as to perform any one or more operations of entering, modifying, deleting and querying the business data corresponding to the operation object.
8. A data model application device, characterized in that: The device comprises: A second generation module, configured to generate a storage table, a service interface, and an operation page corresponding to the object model based on the data model generation method described in any one of claims 1 to 5; A process execution module is used to execute the corresponding business process based on the application scenario of the object model. The business process includes: based on the operation page and the service interface, executing any one or more operations of entering, modifying, deleting and querying the business data of the object model. The storage table is used to store the business data.
9. A semiconductor data management system, characterized in that: The system comprises an application device of the data model as claimed in claim 8, and a storage table, a service interface and an operation page for managing semiconductor data.
10. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for generating a data model according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Extension field processing method and device, electronic equipment and storage medium
CN114116712A
System extension method capable of customizing information
CN114490639A