CN117492721A - General rapid development method applied to building digital information system - Google Patents

General rapid development method applied to building digital information system Download PDF

Info

Publication number
CN117492721A
CN117492721A CN202311850163.4A CN202311850163A CN117492721A CN 117492721 A CN117492721 A CN 117492721A CN 202311850163 A CN202311850163 A CN 202311850163A CN 117492721 A CN117492721 A CN 117492721A
Authority
CN
China
Prior art keywords
page
target
existing
metadata
digital information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311850163.4A
Other languages
Chinese (zh)
Other versions
CN117492721B (en
Inventor
葛进军
谭聪
胡鹏
熊高
邹磊
刘思佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Third Engineering Bureau Information Technology Co ltd
Original Assignee
China Construction Third Engineering Bureau Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Third Engineering Bureau Information Technology Co ltd filed Critical China Construction Third Engineering Bureau Information Technology Co ltd
Priority to CN202311850163.4A priority Critical patent/CN117492721B/en
Publication of CN117492721A publication Critical patent/CN117492721A/en
Application granted granted Critical
Publication of CN117492721B publication Critical patent/CN117492721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a general rapid development method applied to a building digital information system, which is characterized in that metadata of a target system is established according to a plurality of existing systems by referring to the existing entities in the plurality of existing systems, the metadata of the target system comprises at least one target entity, then a plurality of functional nodes and documents corresponding to each functional node are established, the documents corresponding to each functional node are bound with the target entity required by the functional node according to the functional meaning of the functional node, a plurality of application components are obtained, a page framework is generated based on the plurality of application components, finally page design information based on the page framework is obtained, and a system code is generated according to the page design information and the metadata, so that the target system is obtained. Compared with the prior art, the invention solves the problems of difficult development and construction of the building digital information system and poor maintainability and expandability caused by complex and various service data and high correlation in the building industry.

Description

General rapid development method applied to building digital information system
Technical Field
The invention relates to the technical field of development of building digital information systems, in particular to a universal rapid development method applied to a building digital information system.
Background
In today's business environment, the digital transformation of enterprises has become a necessary trend. However, conventional development has been struggled in the face of such transformation. First, conventional development requires a lot of manpower, material resources and financial investment, which is a heavy burden for many enterprises. Second, it is long in period, and cannot accommodate rapid changes in the market and increasing diversification of customer needs.
The advent of low code platforms can solve the above-mentioned problems. The low-code platform has a more efficient development mode, so that time and resources required by project development can be remarkably reduced, and the success rate and the overall quality of the project can be greatly improved. Compared with traditional development, the low-code platform is more convenient, reliable and flexible, and the abstract hierarchical structure of the low-code platform enables a developer to pay attention to the design and implementation of business logic only without paying attention to the details of underlying technologies too much. The low-code platform can help the enterprise to quickly realize the business target and obtain more business value whether the enterprise is an initial enterprise or a large-scale enterprise with digital transformation.
However, for the building industry, the existing low-code platform cannot well meet various service scenes in the building digital transformation, mainly because the service data in the building industry is complex, diverse and highly relevant, so that the building digital information system is difficult to develop and construct, and has poor maintainability and expandability. Therefore, a development method capable of solving the above-mentioned problems is demanded.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a general rapid development method applied to a building digital information system, so as to solve the problems of difficult development and construction of the building digital information system, and poor maintainability and expandability caused by complex and various and highly relevant service data in the building industry in the prior art.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a general rapid development method applied to a building digital information system, comprising:
establishing metadata of a target system according to a plurality of existing systems, wherein the metadata of the target system comprises at least one target entity, the target entity comprises an existing field, the existing field refers to the existing entities of the plurality of existing systems, the target system is a building digital information system to be developed, and the existing system is a building digital information system which is already developed;
establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with target entities required by the function nodes according to the function meaning of the function nodes to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components;
and acquiring page design information based on the page skeleton, and generating a system code according to the page design information and the metadata to obtain the target system.
Further, the establishing metadata of the target system according to a plurality of existing systems includes:
establishing a target entity of the target system according to the existing entities of a plurality of existing systems;
and generating front-end engineering codes and back-end engineering codes of the target system according to the target entity, and taking the target entity, the front-end engineering codes and the back-end engineering codes as metadata of the target system.
Further, the establishing a target entity of the target system according to the existing entities of the plurality of existing systems includes:
acquiring existing entities of a plurality of existing systems as reference entities;
establishing an existing field and defining a reference relation between the existing field and a field which is the same as the existing field in a plurality of reference entities;
and establishing a unique field, and establishing a target entity of the target system according to the unique field and the existing field.
Further, the establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with a target entity required by the function node according to the function meaning of the function node, to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components, including:
creating a user interface module, and creating a plurality of functional nodes and corresponding documents in the user interface module;
binding a bill corresponding to each functional node with a target entity required by the functional node according to the functional meaning of the functional node to obtain a plurality of application components;
a page function node is created in the user interface module, the page function node for generating the page skeleton based on a plurality of application components.
Further, the establishing a plurality of function nodes and documents corresponding to each function node binds the documents corresponding to each function node with a target entity required by the function node according to the function meaning of the function node to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components, and the method further includes:
establishing a custom file, setting a preset field value of a preset field in the custom file, and associating the preset field value to a field which is the same as the preset field in metadata.
Further, the obtaining page design information based on the page skeleton, generating a system code according to the page design information and the metadata, and obtaining the target system includes:
acquiring the page design information based on the page framework, wherein the page design information is obtained through secondary development according to an application component in the page framework;
generating a page template code according to the page design information;
combining the page template code and the front-end engineering code to obtain a system front-end code;
and generating the system code according to the system front-end code and the back-end engineering code, and obtaining the target system.
Further, the page design information includes field retention information, display information, and calculation information.
In a second aspect, the present invention also provides a universal fast development system for use in a building digital information system, comprising:
the system comprises a metadata modeling module, a target system and a target system, wherein the metadata modeling module is used for building metadata of the target system according to a plurality of existing systems, the metadata of the target system comprises at least one target entity, the target entity comprises an existing field, the existing field refers to the existing entities of the plurality of existing systems, the target system is a building digital information system to be developed, and the existing system is a building digital information system which is already developed;
the application component design module is used for establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with target entities required by the function node according to the function meaning of the function node to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components;
and the page design module is used for acquiring page design information based on the page skeleton, generating a system code according to the page design information and the metadata, and obtaining the target system.
In a third aspect, the invention also provides an electronic device comprising a memory and a processor, wherein,
a memory for storing a program;
and a processor coupled to the memory for executing the program stored in the memory to implement the steps of the general purpose rapid development method for use in the building digital information system in any one of the above implementations.
In a fourth aspect, the present invention further provides a computer readable storage medium storing a computer readable program or instructions, where the program or instructions, when executed by a processor, implement the steps of the general purpose rapid development method for building digital information systems in any of the above implementations.
The invention provides a general rapid development method applied to a building digital information system, which is characterized in that metadata of a target system is established according to a plurality of existing systems by referring to the existing entities in the plurality of existing systems, the metadata of the target system comprises at least one target entity, then a plurality of functional nodes and documents corresponding to each functional node are established, the documents corresponding to each functional node are bound with the target entity required by the functional node according to the functional meaning of the functional node, a plurality of application components are obtained, a page framework is generated based on the plurality of application components, finally page design information based on the page framework is obtained, and a system code is generated according to the page design information and the metadata, so that the target system is obtained. Compared with the prior art, the metadata modeling is performed by referring to the existing entity in the existing system, so that the data is highly correlated, meanwhile, the data of different systems are integrated to rapidly develop, the existing data are taken, the difficulty degree of system development is greatly reduced, and meanwhile, the system has the characteristics of modularization and componentization by adopting the mode of functional nodes and documents, and the maintainability and the expandability of the system are improved.
Drawings
FIG. 1 is a flow chart of a method for providing one embodiment of a general fast development method for a building digital information system according to the present invention;
FIG. 2 is a system diagram of an embodiment of a general purpose rapid development system for use in a building digital information system according to the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and together with the description serve to explain the principles of the invention, and are not intended to limit the scope of the invention.
It is to be understood that other technical terms, acronyms, etc. appearing hereinafter are prior art and those skilled in the art can understand the meaning based on context and are not described here too much for reasons of brevity.
In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Referring to fig. 1, in one embodiment of the present invention, a general rapid development method for a building digital information system is disclosed, comprising:
s101, establishing metadata of a target system according to a plurality of existing systems, wherein the metadata of the target system comprises at least one target entity, the target entity comprises an existing field, the existing field refers to the existing entities of the plurality of existing systems, the target system is a building digital information system to be developed, and the existing system is a building digital information system already developed;
s102, establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with target entities required by the function node according to the function meaning of the function node to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components;
and S103, acquiring page design information based on the page skeleton, and generating a system code according to the page design information and the metadata to obtain the target system.
Compared with the prior art, the metadata modeling is performed by referring to the existing entity in the existing system, so that the data is highly correlated, meanwhile, the data of different systems are integrated to rapidly develop, the existing data are taken, the difficulty degree of system development is greatly reduced, and meanwhile, the system has the characteristics of modularization and componentization by adopting the mode of functional nodes and documents, and the maintainability and the expandability of the system are improved.
It is understood that the present invention may be implemented by an existing low-code platform, and terms such as metadata, entities, functional nodes, etc. are words in the low-code platform, and those skilled in the art can understand the meaning of the terms.
Specifically, in a preferred embodiment, step S101, building metadata of a target system according to a plurality of existing systems specifically includes:
establishing a target entity of the target system according to the existing entities of a plurality of existing systems;
and generating front-end engineering codes and back-end engineering codes of the target system according to the target entity, and taking the target entity, the front-end engineering codes and the back-end engineering codes as metadata of the target system.
The above process establishes the target entity by referring to the existing entity, then generates the preliminary front-end engineering code (for displaying the page for the user to operate), the back-end engineering code (connecting the database and other frameworks as the background of the target system), and completes the realization of the preliminary framework of the target system. In this embodiment, the manner of referencing the existing entity can improve the reusability of the data, save repeated development steps, improve the development speed, and ensure the association between the data.
Metadata refers to data describing the structure, behavior, and characteristics of an application. It contains definition information for various objects, fields, relationships, rules, etc. of the application. Metadata provides the basis for developers and systems to automate the construction, deployment, and management of applications. By metadata, a developer can define data models, user interfaces, business rules, etc. for an application without having to write a large amount of code. The low code platform utilizes metadata to generate and execute specific implementations of the application. Using a metadata-driven low code platform, a developer can implement rapid application development through simple drag-and-drop, configuration, and setup operations. By the method, non-technicians can participate in the development of the application program, and development efficiency and flexibility are improved. Meanwhile, through an abstraction layer of metadata, the low-code platform can also support the expandability and maintainability of the application program. In this embodiment, the metadata includes a target entity, a front-end engineering code, and a back-end engineering code.
Specifically, the establishing a target entity of the target system according to the existing entities of the plurality of existing systems in the above process specifically includes:
acquiring existing entities of a plurality of existing systems as reference entities;
establishing an existing field and defining a reference relation between the existing field and a field which is the same as the existing field in a plurality of reference entities;
and establishing a unique field, and establishing a target entity of the target system according to the unique field and the existing field.
An Entity (Entity) refers to a data object or business Entity in an application. It represents a specific concept or an actual existence in the system such as a user, order, product, etc. Each entity has a set of attributes or fields to describe its features and attributes. A Field (Field) is a specific attribute in an entity that stores and represents information of the entity. The fields define various characteristics of the entity, such as name, type, length, constraints, etc. They may include different data types such as strings, numbers, dates, boolean values, etc. By defining entities and fields, in a low code platform, developers can create and manage database tables, data models, and relationships between entities. By configuring the attributes and behaviors of the fields, a developer can define functions such as data input, verification rules, interface display and the like. The embodiment improves the efficiency of establishing the entity and establishes the connection between different data by establishing the two fields of the existing field and the unique field for the reference entity.
The present invention also provides a more detailed embodiment for more clearly describing the above step S101:
by using a common cost management system in the building industry as a target system and communicating data of three existing systems, namely a purchasing and supply chain system, a construction management system and a document management system, the method can realize function multiplexing so as to achieve the aim of rapidly developing the informationized system.
The entities are first collected from the existing system as reference entities in the cost management system. The entity A1, the payment bill entity A2, the settlement bill entity A3, the construction management system designer information entity B, and the document management system design construction plan entity C1 and the contract management entity C2 in the purchasing and supply chain system design provider need to be cited.
The target entity D of the cost management system is designed, and its fields are divided into unique fields and existing fields. Existing fields may be completed by introducing fields in the reference entities A1, A2, A3, B, C1, C2 before introduction. Cost-related fields such as estimated cost, days, etc. are added as unique fields of the cost management system, only those fields need to be created by the developer alone.
After the target entity is designed, corresponding front and back end engineering codes are automatically generated through the entity, the entity is analyzed through a self-research analyzer of the low code platform, an intermediate language describing the relation between the entities is generated, the code generator generates the corresponding front and back end codes according to the intermediate language, and the sql codes contained in the engineering can automatically generate a database table corresponding to the entity designed before. All metadata related to the service can be successfully constructed through the steps, and the metadata is convenient for a developer to maintain and develop by taking the entity model as a carrier.
Compared with the traditional metadata modeling, the method multiplexes the entities in the existing system in a reference way, thereby greatly reducing the workload of metadata modeling. In addition, front-end and back-end engineering codes are automatically generated through the self-grinding analyzer and the code generator, so that the environment construction of developers and the writing of template codes are omitted. And the metadata modeling is completed, and meanwhile, the whole construction of the back-end service of the cost management system is completed.
Further, in a preferred embodiment, step S102 specifically includes:
creating a user interface module, and creating a plurality of functional nodes and corresponding documents in the user interface module;
binding a bill corresponding to each functional node with a target entity required by the functional node according to the functional meaning of the functional node to obtain a plurality of application components;
a page function node is created in the user interface module, the page function node for generating the page skeleton based on a plurality of application components.
In this embodiment, the module is an independent functional unit of the application program, and is used to implement a specific service requirement, and typically includes a set of related pages, components, logic, and data. Modules are one of the main ways to organize application structures in a low code platform. In this embodiment, only one user interface module for displaying the page is built, and the module includes a plurality of functional nodes, so that the system architecture is greatly simplified, and the simplicity of building the target system is improved.
Functional nodes refer to specific functions or operations in an application program, such as adding, deleting, modifying, looking up, importing, exporting, and the like. In low code platforms, functional nodes are typically associated with documents and entities for implementing various operations in the business process. Documents refer to documents or forms in business systems. In low code platforms, documents are typically used to describe business objects, business data, and business processes, including metadata and data fields that describe the data interactions and state changes of the various steps in the business process.
A module typically contains a plurality of documents and a plurality of functional nodes for implementing specific business functions. The module provides an organization structure which can organize the bill and the functional node together to form a complete business process. The bill is a core data object in the business process, and the functional nodes are various operations and processes on the bill, which are closely related and mutually influenced. In the embodiment, by defining the bill and configuring the function node, a developer can rapidly develop an application program which meets the service requirement and is easy to maintain.
The page skeleton is a template or foundation in the low code platform for laying out and organizing page structures. It defines the overall structure and layout of the page, including navigation bars, sidebars, content areas, etc., providing a unified page layout style and specification. In the embodiment, the page skeleton for organizing the pages is also realized through the functional nodes, so that the complexity of the system architecture is further reduced, and the development efficiency is improved.
The present invention also provides a more detailed embodiment for more clearly describing the above step S102:
in the development application component design phase, module management is used to create a user interface module as a user interface for a cost management system (i.e., a target system).
A document is then created and bound to entity D. After the operations are completed, the bill is automatically stored in a development platform management library, so that the operation of the business entity can be traced later, and development management can be conveniently carried out. In this way, it is ensured that all operations are recorded and can be traced back to the source. This not only helps the user to better understand the operation of the system, but also helps the user to find the root of the problem when it occurs.
A functional node is then created and the document is bound. This functional node is a critical part of the system and its role is to associate this specific document with a specific function. In this way, it is ensured that when a user performs an operation related to this document, the system will automatically invoke the function associated with this function node. By creating multiple functional nodes and corresponding documents in the module, the application component design of the entire system can be completed.
The user interface is mainly a browser page, so the method also uses a page function node as a page skeleton and binds the function node to a bill which is created before. Then the skeleton creator of the method can automatically generate the page skeleton meeting the current service requirement according to the data structure of the entity D bound by the bill.
Further, in a preferred embodiment, the step S102 further includes:
establishing a custom file, setting a preset field value of a preset field in the custom file, and associating the preset field value to a field which is the same as the preset field in metadata.
The above-mentioned custom archive may limit the values in the preset fields, for example, in a preferred embodiment, in order to improve the user experience, reduce the selection cost of the user, and reduce the range of the user input content by separately managing specific data. Such as gender (a preset field), a user can set a male value and a female value (preset field values) through a custom file and then associate the gender field in the metadata, so that the user can finally enter information only through selection instead of text input.
After the application component is designed, based on general addition, deletion and modification, a back-end java code with good expandability is written according to industry standards, wherein parts of the code, which represent bill types, modules, functions, custom files and references, are changed along with different application component designs so as to adapt to various business scenes.
Further, in a preferred embodiment, step S103, obtaining page design information based on the page skeleton, and generating a system code according to the page design information and the metadata, to obtain the target system, specifically includes:
acquiring the page design information based on the page framework, wherein the page design information is obtained through secondary development according to an application component in the page framework;
generating a page template code according to the page design information;
combining the page template code and the front-end engineering code to obtain a system front-end code;
and generating the system code according to the system front-end code and the back-end engineering code, and obtaining the target system.
Through the page firmware, the target system is built, and the target system has basic functions, but in the embodiment, secondary development is performed on the basis of the page framework so as to meet more special requirements of users, and the further requirements are realized through page design information. According to the invention, a page template code is generated according to page design information, and then the page template code and a front-end engineering code are combined to obtain a final system front-end code for the front end.
Specifically, in a preferred embodiment, the page design information includes field retention information, display information, and calculation information.
The present invention also provides a more detailed embodiment for more clearly describing the above step S103:
in this embodiment, a user page can be created through the page skeleton, and the page basically has the functions of information input, viewing, modification and the like, so that the basic service requirement is met. Aiming at the limitation of the existing low-code platform on the support of subsequent expansion development, the embodiment provides page design, and visual operation is provided for subsequent expansion development through page design information, so that the workload of development is reduced.
The page design information in this embodiment is based on the development component of the previous design, and the newly created page already has a relatively perfect function. The purpose of page design is mainly to facilitate the developer to expand secondary development through visual operation.
For example, in this embodiment, two pages need to be created again on the basis of the previous page skeleton, page a is used for previewing the cost list of each project, and page B is used for viewing the cost detail page of a specific project and maintaining the cost detail information of the project. Since pages a and B both depend on business entity D, some fields need to be deleted. The page design information of the two pages includes:
first, for page a, it copies entity D, only retains (i.e., field retention information and display information) the project name, works for a period, predicts several fields of cost, and deletes other fields in the copy.
Secondly, copying the entity D for the page B; the unique fields are reserved completely, and entities A2 and A3 in the purchasing and supply management system are reserved; reserving an entity B of the construction management system; the entities C1, C2 in the document management system are reserved.
Thirdly, calculating the construction period through two entities, namely a contractor entity C1 and a construction planning entity C2, then calculating the wages of workers through a personnel information entity B, and acquiring the material purchase cost (namely calculation information) through a payment bill entity A2 and a settlement bill entity A3.
After the page design information is designed, the page design information can be managed by a middle server, and the middle server can generate page template codes for each page. And (5) putting the page template codes corresponding to the two pages into the front-end engineering codes before obtaining the final system front-end codes. The method can ensure that the codes generated by page design are not exposed to developers, the generated codes are concise, and the maintenance cost is reduced.
And finally, generating the system code according to the system front-end code and the back-end engineering code, and obtaining the target system, thereby completing the construction of the target system. The above procedure can easily build a cost management system commonly used in the construction industry. User interface design is performed through data driving, so that the aim of quickly constructing and building a system is fulfilled.
In order to better implement the general rapid development method applied to the building digital information system in the embodiment of the present invention, on the basis of the general rapid development method applied to the building digital information system, referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of the general rapid development system applied to the building digital information system, and the general rapid development system 200 applied to the building digital information system provided in the embodiment of the present invention includes:
the metadata modeling module 210 is configured to establish metadata of a target system according to a plurality of existing systems, where the metadata of the target system includes at least one target entity, and the target entity includes an existing field, where the existing field refers to an existing entity of the plurality of existing systems, and the target system is a building digital information system to be developed, and the existing system is a building digital information system that has been developed;
the application component design module 220 is configured to establish a plurality of function nodes and documents corresponding to each function node, bind the documents corresponding to each function node with a target entity required by the function node according to the function meaning of the function node, obtain a plurality of application components, and generate a page skeleton based on the plurality of application components;
and the page design module 230 is configured to obtain page design information based on the page skeleton, and generate a system code according to the page design information and the metadata, so as to obtain the target system.
What needs to be explained here is: the corresponding system 200 provided in the foregoing embodiments may implement the technical solutions described in the foregoing method embodiments, and the specific implementation principles of the foregoing modules or units may be referred to the corresponding content in the foregoing method embodiments, which is not repeated herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention. Based on the above-mentioned general rapid development method applied to the building digital information system, the present invention also correspondingly provides a general rapid development device 300 applied to the building digital information system, namely the above-mentioned electronic device, and the general rapid development device 300 applied to the building digital information system can be a mobile terminal, a desktop computer, a notebook computer, a palm computer, a server and other computing devices. The universal fast developing device 300 for use in a building digital information system includes a processor 310, a memory 320, and a display 330. Fig. 3 shows only some of the components of a general purpose rapid development device applied to a building digital information system, but it should be understood that not all of the illustrated components need be implemented, and more or fewer components may alternatively be implemented.
Memory 320 may in some embodiments be an internal storage unit of the universal fast developing device 300 applied to the building digital information system, such as a hard disk or a memory of the universal fast developing device 300 applied to the building digital information system. The memory 320 may also be an external storage device applied to the universal fast developing device 300 of the building Digital information system in other embodiments, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the universal fast developing device 300 of the building Digital information system. Further, the memory 320 may also include both internal storage units and external storage devices of the general purpose rapid development device 300 applied to the building digital information system. The memory 320 is used for storing application software and various data installed in the general-purpose rapid development device 300 applied to the building digital information system, for example, program codes installed in the general-purpose rapid development device 300 applied to the building digital information system, and the like. The memory 320 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 320 stores a general purpose rapid development program 340 applied to the building digital information system, and the general purpose rapid development program 340 applied to the building digital information system can be executed by the processor 310, thereby implementing the general purpose rapid development method applied to the building digital information system according to the embodiments of the present application.
The processor 310 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 320, such as for performing general purpose fast development methods for use in building digital information systems, etc.
The display 330 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. Display 330 is used to display information on the universal fast developing device 300 for application to a building digital information system and to display a visual user interface. The components 310-330 of the universal fast developing device 300, which are applied to the building digital information system, communicate with each other through a system bus.
In one embodiment, the steps in the general purpose rapid development method applied to the building digital information system as described above are implemented when the processor 310 executes the general purpose rapid development program 340 applied to the building digital information system in the memory 320.
The present embodiment also provides a computer-readable storage medium having stored thereon a general-purpose rapid development program applied to a building digital information system, which when executed by a processor, can implement the steps of the above embodiments.
The beneficial effects of the invention are as follows:
1. emphasis is placed on metadata modeling, which defines business data models by designing entities and fields. The method designs the data-driven user interface, and makes the interface highly relevant to the business data, thereby reducing the complexity of the user interface development.
2. In the application of cost management systems common in the construction industry, the system is rapidly initialized by integrating data of different systems. This capability is very beneficial for supervision and cost control of building projects.
3. The invention adopts the mode of module management and document type associated metadata, so that the system has the characteristics of modularization and componentization. This allows developers to more easily build and reuse various business components, improving maintainability and scalability of the system.
The invention provides a general rapid development method applied to a building digital information system, which is characterized in that metadata of a target system is established according to a plurality of existing systems by referring to the existing entities in the plurality of existing systems, the metadata of the target system comprises at least one target entity, then a plurality of functional nodes and documents corresponding to each functional node are established, the documents corresponding to each functional node are bound with the target entity required by the functional node according to the functional meaning of the functional node, a plurality of application components are obtained, a page framework is generated based on the plurality of application components, finally page design information based on the page framework is obtained, and a system code is generated according to the page design information and the metadata, so that the target system is obtained. Compared with the prior art, the metadata modeling is performed by referring to the existing entity in the existing system, so that the data is highly correlated, meanwhile, the data of different systems are integrated to rapidly develop, the existing data are taken, the difficulty degree of system development is greatly reduced, and meanwhile, the system has the characteristics of modularization and componentization by adopting the mode of functional nodes and documents, and the maintainability and the expandability of the system are improved.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention.

Claims (10)

1. A universal fast development method for a building digital information system, comprising:
establishing metadata of a target system according to a plurality of existing systems, wherein the metadata of the target system comprises at least one target entity, the target entity comprises an existing field, the existing field refers to the existing entities of the plurality of existing systems, the target system is a building digital information system to be developed, and the existing system is a building digital information system which is already developed;
establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with target entities required by the function nodes according to the function meaning of the function nodes to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components;
and acquiring page design information based on the page skeleton, and generating a system code according to the page design information and the metadata to obtain the target system.
2. The universal fast developing method applied to a building digital information system according to claim 1, wherein the establishing metadata of a target system according to a plurality of existing systems comprises:
establishing a target entity of the target system according to the existing entities of a plurality of existing systems;
and generating front-end engineering codes and back-end engineering codes of the target system according to the target entity, and taking the target entity, the front-end engineering codes and the back-end engineering codes as metadata of the target system.
3. The universal fast developing method applied to a building digital information system according to claim 2, wherein the establishing a target entity of the target system according to existing entities of a plurality of existing systems comprises:
acquiring existing entities of a plurality of existing systems as reference entities;
establishing an existing field and defining a reference relation between the existing field and a field which is the same as the existing field in a plurality of reference entities;
and establishing a unique field, and establishing a target entity of the target system according to the unique field and the existing field.
4. The universal quick development method applied to a building digital information system according to claim 2, wherein the establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with a target entity required by the function node according to the function meaning of the function node, obtaining a plurality of application components, and generating a page skeleton based on the plurality of application components, comprises:
creating a user interface module, and creating a plurality of functional nodes and corresponding documents in the user interface module;
binding a bill corresponding to each functional node with a target entity required by the functional node according to the functional meaning of the functional node to obtain a plurality of application components;
a page function node is created in the user interface module, the page function node for generating the page skeleton based on a plurality of application components.
5. The universal quick development method applied to a building digital information system according to claim 4, wherein the establishing a plurality of function nodes and documents corresponding to each function node binds the documents corresponding to each function node with a target entity required by the function node according to the function meaning of the function node to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components, and further comprising:
establishing a custom file, setting a preset field value of a preset field in the custom file, and associating the preset field value to a field which is the same as the preset field in metadata.
6. The universal fast developing method applied to a building digital information system according to claim 4, wherein the obtaining the page design information based on the page skeleton, generating a system code according to the page design information and the metadata, and obtaining the target system comprises:
acquiring the page design information based on the page framework, wherein the page design information is obtained through secondary development according to an application component in the page framework;
generating a page template code according to the page design information;
combining the page template code and the front-end engineering code to obtain a system front-end code;
and generating the system code according to the system front-end code and the back-end engineering code, and obtaining the target system.
7. The universal fast development method for use in a building digital information system according to claim 6, wherein the page design information includes field retention information, display information, and calculation information.
8. A universal fast developing system for use in a building digital information system, comprising:
the system comprises a metadata modeling module, a target system and a target system, wherein the metadata modeling module is used for building metadata of the target system according to a plurality of existing systems, the metadata of the target system comprises at least one target entity, the target entity comprises an existing field, the existing field refers to the existing entities of the plurality of existing systems, the target system is a building digital information system to be developed, and the existing system is a building digital information system which is already developed;
the application component design module is used for establishing a plurality of function nodes and documents corresponding to each function node, binding the documents corresponding to each function node with target entities required by the function node according to the function meaning of the function node to obtain a plurality of application components, and generating a page skeleton based on the plurality of application components;
and the page design module is used for acquiring page design information based on the page skeleton, generating a system code according to the page design information and the metadata, and obtaining the target system.
9. An electronic device comprising a memory and a processor, wherein,
the memory is used for storing programs;
the processor, coupled to the memory, is configured to execute the program stored in the memory to implement the steps of the general purpose rapid development method applied to a building digital information system as claimed in any one of the preceding claims 1 to 7.
10. A computer readable storage medium storing a computer readable program or instructions which, when executed by a processor, is capable of carrying out the steps of any one of the preceding claims 1 to 7 applied to a general purpose rapid development method for a building digital information system.
CN202311850163.4A 2023-12-29 2023-12-29 General rapid development method applied to building digital information system Active CN117492721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311850163.4A CN117492721B (en) 2023-12-29 2023-12-29 General rapid development method applied to building digital information system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311850163.4A CN117492721B (en) 2023-12-29 2023-12-29 General rapid development method applied to building digital information system

Publications (2)

Publication Number Publication Date
CN117492721A true CN117492721A (en) 2024-02-02
CN117492721B CN117492721B (en) 2024-04-16

Family

ID=89685343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311850163.4A Active CN117492721B (en) 2023-12-29 2023-12-29 General rapid development method applied to building digital information system

Country Status (1)

Country Link
CN (1) CN117492721B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008147616A1 (en) * 2007-05-25 2008-12-04 Zoot Enterprises, Inc. System and method for rapid development of software applications
US20090006446A1 (en) * 2007-06-28 2009-01-01 Microsoft Corporation Ddex (data designer extensibility) default object implementations
US20090204596A1 (en) * 2008-02-08 2009-08-13 Xerox Corporation Semantic compatibility checking for automatic correction and discovery of named entities
US20100023547A1 (en) * 2008-07-28 2010-01-28 Microsoft Corporation Automatic user interface generation for entity interaction
US20130325882A1 (en) * 2012-05-29 2013-12-05 International Business Machines Corporation Supplementing structured information about entities with information from unstructured data sources
CN104182226A (en) * 2014-08-21 2014-12-03 北京勤哲软件技术有限责任公司 General mobile information system adaptation method and device
US20160043868A1 (en) * 2014-08-05 2016-02-11 Frank Oliver Hoffmann End-to-end tamper protection in presence of cloud integration
US20160259767A1 (en) * 2015-03-08 2016-09-08 Speaktoit, Inc. Annotations in software applications for invoking dialog system functions
CN109933311A (en) * 2019-03-20 2019-06-25 青岛叁壹信息科技有限公司 A kind of information system creation method and relevant apparatus
CN111240679A (en) * 2020-01-15 2020-06-05 深圳市中农易讯信息技术有限公司 Page development method and system
CN111488145A (en) * 2020-04-30 2020-08-04 国网河北省电力有限公司信息通信分公司 Micro-service code generation system and method based on service domain data model base
CN112540991A (en) * 2020-12-08 2021-03-23 杭州讯酷科技有限公司 System logic construction method based on data table relation
US20210382861A1 (en) * 2020-06-08 2021-12-09 Johnson Controls Technology Company Building system with naming schema encoding entity type and entity relationships
CN114115844A (en) * 2021-11-16 2022-03-01 招联消费金融有限公司 Page generation method and device, computer equipment and storage medium
CN114625353A (en) * 2020-12-14 2022-06-14 电科云(北京)科技有限公司 Model framework code generation system and method
CN115421827A (en) * 2022-07-27 2022-12-02 华建数创(上海)科技有限公司 Building information system page establishing method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008147616A1 (en) * 2007-05-25 2008-12-04 Zoot Enterprises, Inc. System and method for rapid development of software applications
US20090006446A1 (en) * 2007-06-28 2009-01-01 Microsoft Corporation Ddex (data designer extensibility) default object implementations
US20090204596A1 (en) * 2008-02-08 2009-08-13 Xerox Corporation Semantic compatibility checking for automatic correction and discovery of named entities
US20100023547A1 (en) * 2008-07-28 2010-01-28 Microsoft Corporation Automatic user interface generation for entity interaction
US20130325882A1 (en) * 2012-05-29 2013-12-05 International Business Machines Corporation Supplementing structured information about entities with information from unstructured data sources
US20160043868A1 (en) * 2014-08-05 2016-02-11 Frank Oliver Hoffmann End-to-end tamper protection in presence of cloud integration
CN104182226A (en) * 2014-08-21 2014-12-03 北京勤哲软件技术有限责任公司 General mobile information system adaptation method and device
US20160259767A1 (en) * 2015-03-08 2016-09-08 Speaktoit, Inc. Annotations in software applications for invoking dialog system functions
CN109933311A (en) * 2019-03-20 2019-06-25 青岛叁壹信息科技有限公司 A kind of information system creation method and relevant apparatus
CN111240679A (en) * 2020-01-15 2020-06-05 深圳市中农易讯信息技术有限公司 Page development method and system
CN111488145A (en) * 2020-04-30 2020-08-04 国网河北省电力有限公司信息通信分公司 Micro-service code generation system and method based on service domain data model base
US20210382861A1 (en) * 2020-06-08 2021-12-09 Johnson Controls Technology Company Building system with naming schema encoding entity type and entity relationships
CN112540991A (en) * 2020-12-08 2021-03-23 杭州讯酷科技有限公司 System logic construction method based on data table relation
CN114625353A (en) * 2020-12-14 2022-06-14 电科云(北京)科技有限公司 Model framework code generation system and method
CN114115844A (en) * 2021-11-16 2022-03-01 招联消费金融有限公司 Page generation method and device, computer equipment and storage medium
CN115421827A (en) * 2022-07-27 2022-12-02 华建数创(上海)科技有限公司 Building information system page establishing method

Also Published As

Publication number Publication date
CN117492721B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
Cook et al. Domain-specific development with visual studio dsl tools
Brambilla et al. Interaction flow modeling language: Model-driven UI engineering of web and mobile apps with IFML
van de Weerd et al. Meta-modeling for situational analysis and design methods
Graham et al. The OPEN process specification
US8516435B2 (en) System and method for generating implementation artifacts for contextually-aware business applications
US8370400B2 (en) Solution-specific business object view
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
Barnett et al. Bootstrapping mobile app development
Wang et al. An automatic model-to-model mapping and transformation methodology to serve model-based systems engineering
Oliveira et al. BPMN patterns for ETL conceptual modelling and validation
US20150081744A1 (en) Metadata model repository
US20120060141A1 (en) Integrated environment for software design and implementation
US20170168860A1 (en) Dynamically binding data in an application
Reschenhofer et al. Lessons learned in aligning data and model evolution in collaborative information systems
Wimmer et al. On using inplace transformations for model co-evolution
Kulkarni Model driven development of business applications: a practitioner's perspective
Mäder et al. Ready-to-use traceability on evolving projects
CN117492721B (en) General rapid development method applied to building digital information system
Kulkarni Model driven software development: a practitioner takes stock and looks into future
US11526895B2 (en) Method and system for implementing a CRM quote and order capture context service
US20120084224A1 (en) Automatically created report generator for managing information technology service projects
Bézivin et al. Model driven tool interoperability in practice
Hertiš et al. Ideas on improving the Business-IT alignment in BPM enabled by SOA
Predoaia et al. Streamlining the Development of Hybrid Graphical-Textual Model Editors for Domain-Specific Languages
Rowlett The object-oriented development process: developing and managing a robust process for object-oriented development

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant