CN108984160B - Informationized rapid development framework system based on componentization - Google Patents

Informationized rapid development framework system based on componentization Download PDF

Info

Publication number
CN108984160B
CN108984160B CN201810642021.1A CN201810642021A CN108984160B CN 108984160 B CN108984160 B CN 108984160B CN 201810642021 A CN201810642021 A CN 201810642021A CN 108984160 B CN108984160 B CN 108984160B
Authority
CN
China
Prior art keywords
component
components
library
rapid development
configuration file
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.)
Active
Application number
CN201810642021.1A
Other languages
Chinese (zh)
Other versions
CN108984160A (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.)
CNPC Research Institute of Safety and Environmental Technology Co Ltd
Original Assignee
CNPC Research Institute of Safety and Environmental 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 CNPC Research Institute of Safety and Environmental Technology Co Ltd filed Critical CNPC Research Institute of Safety and Environmental Technology Co Ltd
Priority to CN201810642021.1A priority Critical patent/CN108984160B/en
Publication of CN108984160A publication Critical patent/CN108984160A/en
Application granted granted Critical
Publication of CN108984160B publication Critical patent/CN108984160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

The invention discloses an information rapid development framework system based on componentization, which comprises a front-end framework/library, a component pool, a configuration file, an intelligent component service, a component loader, a component interpreter and a data server, wherein the front-end framework/library is used for storing a plurality of component pools; the front-end framework/library set is used for constructing different components, including mainstream and non-mainstream front-end frameworks in the market, and can be integrated and expanded according to specific needs; the component pool is used for uniformly maintaining components constructed by using a front-end framework/library, and each component has attribute information which comprises rule numbers, types, version numbers, sources, application ranges and compatibility; the intelligent component service is used for receiving one or one type of components requested in the configuration file; the component loader is mainly used for loading components. The invention can solve the problems of coarse componentization granularity, low reuse rate, difficult maintenance, single operation mode, lack of unified standard in a heterogeneous componentization framework/library and resource conflict in the existing informatization development system.

Description

Informationized rapid development framework system based on componentization
Technical Field
The invention relates to an informatization rapid development framework and a method thereof, in particular to a componentization-based informatization rapid development framework system and a method thereof.
Background
At present, the development efficiency and the development quality of the informatization project become important indexes and influence factors for enterprise development, and various informatization enterprises put forward strong demands on the aspects of rapidly realizing personalized business requirements, rapidly getting online, protecting investment and the like. How to adjust in time according to the constantly changing business of the enterprise, accomplish quick response, let the informationization constantly promote the management and become the important problem that the enterprise pays close attention to. The information-based project development framework plays a very important role in realizing enterprise informatization. The componentization development mode becomes one of the mainstream quick development implementation modes in the information project development framework, but the componentization degree is not enough, the granularity is coarse, the reuse rate is low, the special requirements cannot be met, the scale is uneven, and a complete system is not formed in the current market. In addition, the components are difficult to maintain, the whole body is moved by pulling, an expansion mechanism is lacked, the upgrading is difficult, the maintenance is time-consuming and labor-consuming, the cost is higher, the progress and the quality of the whole modified information project are greatly influenced, the operation mode of the components is single, the components are often used in a single matching mode, manual intervention is needed in the face of complex scenes, and the time consumption, the cost and the quality are high. At present, informationized projects are complex, and multiple heterogeneous frames are often used at the same time, so that resource conflict often occurs, developers consume a lot of time to search, correct and correct, progress of informationized development is seriously affected, differences among the frames are processed by lacking of a uniform standard, combination difficulty of the frames is high, combination of the frames is difficult to realize, large-scale landing implementation cannot be achieved, and use of part of front-end frames is limited.
Disclosure of Invention
The invention provides a componentization-based informatization rapid development framework system and a componentization-based informatization rapid development framework method, which are used for at least solving the problems of coarse componentization granularity, low reuse rate, difficult maintenance, single operation mode, lack of unified standard in a heterogeneous componentization framework/library and resource conflict in the existing informatization development system.
The invention provides an information rapid development framework system based on componentization, which comprises a front-end framework/library, a component pool, a configuration file, an intelligent component service, a component loader, a component interpreter and a data server, wherein the front-end framework/library is used for storing a plurality of component pools;
the front-end framework/library set is used for constructing different components, including mainstream and non-mainstream front-end frameworks in the market, and can be integrated and expanded according to specific needs;
the component pool is used for uniformly maintaining components constructed by using a front-end framework/library, each component has attribute information, and the attribute information comprises rule numbers, types, version numbers, sources, application ranges and compatibility;
the configuration file is configured in actual development, and the configuration file describes one or a class of components which need to be used, and can be embodied to a certain component number or a descriptive use scene;
the intelligent component service is used for receiving one or one type of components requested in the configuration file and realizing specific operation on the components according to attribute information of the components required in the configuration file, wherein the operation comprises intelligent selection, combination and encapsulation;
the component loader is mainly used for loading components, comprises various resources required by different components, and automatically checks the resource conflict problem among the components, wherein the resource conflict problem comprises JS and CSS; if the conflict exists, the component loader identifies the component and outputs the conflict;
the component interpreter is used for processing the components into scripts which can be executed by the browser;
the data server is used for processing the front-end request and providing service data.
Further, the front-end framework/library set includes native JavaScript, AngularJS, vue.js, boottrap.
Further, the componentization-based informatization rapid development framework system further comprises a presentation module, and the presentation module is used for presenting the interpreted components.
Still further, the presentation module is selected from one or more of a PC and a mobile terminal.
Furthermore, the intelligent component service also comprises a function of processing an interactive command between the client and the component, and business data is obtained from the data server for binding.
Further, the data server is a service server.
Furthermore, a compiler of a front-end framework is integrated in the component interpreter, and the component interpreter adopts a unified standard for interpretation.
The invention also discloses a using method of the informatization rapid development framework, which comprises the following steps:
step 1: when the information rapid development framework receives an operation request, loading and acquiring a configuration file;
step 2: selecting the components in the component pool by the intelligent component service according to the specific configuration file content or constructing the appropriate components by the front-end framework/library;
and step 3: after the component is taken, the intelligent component service pushes the component to a component loader;
and 4, step 4: and if the conflict does not exist, the component is directly pushed to the component interpreter, and the component interpreter translates the component into an execution script and returns the execution script to complete development.
Further, if there is a service request requirement in step 3, the intelligent component service also needs to request data from the data server at the same time, and when both the component and the data are taken, the intelligent component service will bind the component and the data and push the component and the data to the component loader together
Compared with the prior art, the invention adopts the combination of the front-end framework/library, the component pool, the configuration file, the intelligent component service, the component loader, the component interpreter and the data server, thereby greatly improving the informatization development efficiency and quality, reducing the maintenance cost of the components, reducing the risk of upgrading and transforming the system and improving the reuse rate of the components. Meanwhile, the invention breaks the limitation of single operation of the components by adopting the configuration file, the intelligent component service and the component loader, so that the development is more intelligent, the intelligence of the system is increased, and the burden of developers is lightened. In addition, the invention adopts the component loader and the component interpreter, so that the development under the heterogeneous componentized framework/library becomes simpler, the componentized development among the frameworks can be implemented on a large scale, the difference among the frameworks is processed by a uniform standard, and the combination of the heterogeneous componentized framework is realized.
Drawings
FIG. 1 is an overall architecture diagram of a frame of an embodiment of the present invention;
FIG. 2 is a block diagram of a process flow of an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments.
The method for establishing the rapid development framework comprises the following steps:
step 1, deploying and installing intelligent component service, a component loader and a component interpreter.
And 2, maintaining a component pool, wherein the component pool comprises different components under a heterogeneous framework/library, and defining characteristic attributes of each component, such as the number, the version number, the name, the function description, the source, the compatibility, the combination number (if the component is a combined component) and the like.
And 3, writing a standard configuration file, wherein the content format of the configuration file can be identified by the component service, and the unqualified configuration file is detected and prompted.
And 4, compiling a routing rule, and binding the service application with the configuration file.
And 5, testing and using.
The following is a frame overall architecture diagram provided by the embodiment of the invention as shown in fig. 1, which comprises a front-end frame/library set (r), a component pool (r), a component service (r), a configuration file (r), a component loader (r), a component interpreter (c), a data server (c) and a presentation module (r).
The functions of each part are as follows:
(1) the front-end framework/library set is used for constructing different components, can be mainstream and non-mainstream front-end frameworks in the current market, such as native JavaScript, AngularJS, VUE.JS, Bootstrap and the like, and can be integrated and expanded according to specific needs;
(2) the component pool II is used for uniformly maintaining and using the components constructed by the first step, each component has the attributes of rule number, type, version number, source, application range, compatibility and the like, and the component pool is maintained by professional personnel;
(3) the configuration file is configured in actual development, and describes one or a class of components which need to be used, and can be embodied to a certain component number or a descriptive use scene;
(4) the intelligent component service (IV) is used for receiving one or one type of components requested in the configuration file and realizing the operations of intelligent selection, combination, encapsulation and the like of the components according to the number, the type, the description and the like of the components required in the configuration file; the component service function also comprises the steps of processing an interactive command between the client and the component, and acquiring business data from the data server for binding;
(5) the component loader is mainly used for loading various components, including various resources required by different components, automatically checking the resource conflict problems of JS, CSS and the like among the components, and identifying the components and outputting the conflicts if the conflicts exist;
(6) the component interpreter is used for processing the components into scripts which can be executed by the browser, various compilers of front-end frames are integrated in the interpreter, the compilers are interpreted by adopting a unified standard, and the interpreted scripts are displayed at a client;
(7) the data server is mainly used for processing a front-end request and providing service data;
(8) the presentation module (b) is used to present the interpreted components, mainly for PC, mobile and other devices.
The processing flow of each module in the embodiment of the invention is shown in fig. 2, when a terminal has an operation request, a configuration file (c) is loaded and obtained at first, and an assembly service (c) is informed to select assemblies or perform other operations (different operations according to different configuration files) according to the content of the corresponding configuration file (c); taking component selection as an example, selecting components in a component pool, selecting components in the component pool, performing component service, requesting data to a data server at the same time (if a service request exists) in the component pool, binding the components and the data after the components and the data are all taken, pushing the components to a component loader, loading resources required by the components by the component loader after the component loader receives the pushed components, verifying the resource conflict problem with other components, marking the components with conflicts if the resources conflict exists, directly pushing the components to a component interpreter if the components do not conflict, and translating the components into scripts which can be executed by a terminal by the interpreter and returning the scripts to the terminal for displaying to complete development.
The invention aims to solve the problems of insufficient componentization degree, coarse granularity, low reuse rate, difficult component maintenance, lack of unified processing standard of a heterogeneous framework/library and the like of the conventional configuration development platform so as to improve the configuration efficiency of the informatization development platform and quickly realize the aim of enterprise standard informatization.
The embodiment of the invention adopts the combination of the front-end framework/library, the component pool, the configuration file, the intelligent component service, the component loader, the component interpreter and the data server, thereby greatly improving the development efficiency and the development quality of informatization, reducing the maintenance cost of the components, reducing the risk of upgrading and transforming the system and improving the reuse rate of the components. Meanwhile, the embodiment of the invention breaks the limitation of single operation of the components by adopting the configuration file, the intelligent component service and the component loader, so that the development is more intelligent, the intelligence of the system is increased, and the burden of developers is lightened. In addition, the embodiment of the invention adopts the component loader and the component interpreter, so that the development under the heterogeneous componentized framework/library becomes simpler, the componentized development among the frameworks can be implemented on a large scale, the difference among the frameworks is processed by a uniform standard, and the combination of the heterogeneous componentized framework is realized.
Finally, it should be noted that the above-mentioned embodiments are only used for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the modifications and equivalents of the specific embodiments of the present invention can be made by those skilled in the art after reading the present specification, but these modifications and variations do not depart from the scope of the claims of the present application.

Claims (7)

1. An informationized rapid development framework system based on componentization is characterized in that the development framework system comprises a front-end framework/library, a component pool, a configuration file, an intelligent component service, a component loader, a component interpreter and a data server;
the front-end framework/library is used for constructing different components, including mainstream and non-mainstream front-end frameworks in the market, and can be integrated and expanded;
the component pool is used for uniformly maintaining components constructed by using a front-end framework/library, each component has attribute information, and the attribute information comprises rule numbers, types, version numbers, sources, application ranges and compatibility;
the configuration file is configured in actual development, and the configuration file describes components required to be used and comprises a certain component number or a descriptive use scene;
the intelligent component service is used for receiving the components requested in the configuration file and realizing specific operation on the components according to the attribute information of the components required in the configuration file, wherein the operation comprises intelligent selection, combination and encapsulation;
the component loader is used for loading components, including various resources required by different components, and automatically checking resource conflict problems among the components, wherein the resource conflict problems include JS and CSS; if the conflict exists, the component loader identifies the component and outputs the conflict;
the component interpreter is used for processing the components into scripts which can be executed by the browser;
the data server is used for processing the front-end request and providing service data;
the use method of the componentization-based informatization rapid development framework system comprises the following steps:
step 1: when the information rapid development framework system receives an operation request, loading and acquiring a configuration file;
step 2: selecting the components in the component pool by the intelligent component service according to the specific configuration file content or constructing the appropriate components by the front-end framework/library;
and step 3: after the component is taken, the intelligent component service pushes the component to a component loader;
and 4, step 4: the component loader loads the resources required by the components after receiving the pushed components, verifies the problem of resource conflict with other components, marks the components with conflict if the resources conflict, directly pushes the components to the component interpreter if the resources conflict, and translates the components into execution scripts and returns the execution scripts by the component interpreter to complete development;
if the service request needs to exist in the step 3, the intelligent component service also needs to request data from the data server at the same time, and after the components and the data are all taken, the intelligent component service binds the components and the data and pushes the components and the data to the component loader.
2. The informational rapid development framework system of claim 1, wherein the front-end framework/library comprises native JavaScript, AngularJS, vue.js, boottrap.
3. The informatization rapid development framework system according to claim 1, wherein the componentization-based informatization rapid development framework system further comprises a presentation module, and the presentation module is used for presenting the interpreted components.
4. The informatization rapid development framework system according to claim 3, wherein the presentation module is selected from one or more of a PC and a mobile terminal.
5. The information-based rapid development framework system according to claim 1, wherein the intelligent component service further comprises a function of processing an interactive command between a client and a component, and business data is obtained from the data server for binding.
6. The informatization rapid development framework system of claim 1, wherein the data server is a business server.
7. The informatization rapid development framework system of claim 1, wherein the component interpreter integrates a compiler of a front-end framework and employs a unified standard for interpretation.
CN201810642021.1A 2018-06-21 2018-06-21 Informationized rapid development framework system based on componentization Active CN108984160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810642021.1A CN108984160B (en) 2018-06-21 2018-06-21 Informationized rapid development framework system based on componentization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810642021.1A CN108984160B (en) 2018-06-21 2018-06-21 Informationized rapid development framework system based on componentization

Publications (2)

Publication Number Publication Date
CN108984160A CN108984160A (en) 2018-12-11
CN108984160B true CN108984160B (en) 2022-04-22

Family

ID=64541573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810642021.1A Active CN108984160B (en) 2018-06-21 2018-06-21 Informationized rapid development framework system based on componentization

Country Status (1)

Country Link
CN (1) CN108984160B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871208B (en) * 2019-01-04 2023-10-17 平安科技(深圳)有限公司 Software system generation method, device, computer readable storage medium and server
CN110109712A (en) * 2019-04-04 2019-08-09 平安科技(深圳)有限公司 Service Component loading method, device, computer equipment and storage medium
CN110175020B (en) * 2019-04-10 2023-08-22 创新先进技术有限公司 Frame attribute information expansion method and device, and frame loading method and device
CN110308904B (en) * 2019-05-30 2024-02-02 杭州微时信息技术有限公司 Aggregation method and device for multi-type front-end frames and computer equipment
CN110362312A (en) * 2019-06-27 2019-10-22 绿漫科技有限公司 A kind of syntax conversion compiling system and method suitable for a variety of frames
CN110633077B (en) * 2019-08-27 2023-05-12 北京国联视讯信息技术股份有限公司 Quick development system and method based on modularization
CN112597226B (en) * 2020-12-24 2022-08-16 卡斯柯信号有限公司 Data unified generation processing method for signal comprehensive operation and maintenance system
CN112882764B (en) * 2021-01-20 2022-07-22 网易(杭州)网络有限公司 Component loading method and device, computer equipment and storage medium
CN113590213B (en) * 2021-06-24 2023-04-25 深圳开源互联网安全技术有限公司 Component maintenance method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639777A (en) * 2009-09-07 2010-02-03 李元 Plug and play method of member, application and system thereof
US8015547B2 (en) * 2006-06-29 2011-09-06 Augusta Systems, Inc. Reconfigurable, hierarchical component-based architecture and framework and methods for rapidly developing sensor device-enabling software applications
CN104536737A (en) * 2014-12-16 2015-04-22 深圳市金证科技股份有限公司 Program development framework based on assemblies
CN105607904A (en) * 2015-12-18 2016-05-25 南京熊猫电子股份有限公司 Linux platform-based rapid development framework of communication software and using method thereof
CN105956830A (en) * 2016-05-11 2016-09-21 中煤电气有限公司 J2EE framework based enterprise-level visualization application development platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015547B2 (en) * 2006-06-29 2011-09-06 Augusta Systems, Inc. Reconfigurable, hierarchical component-based architecture and framework and methods for rapidly developing sensor device-enabling software applications
CN101639777A (en) * 2009-09-07 2010-02-03 李元 Plug and play method of member, application and system thereof
CN104536737A (en) * 2014-12-16 2015-04-22 深圳市金证科技股份有限公司 Program development framework based on assemblies
CN105607904A (en) * 2015-12-18 2016-05-25 南京熊猫电子股份有限公司 Linux platform-based rapid development framework of communication software and using method thereof
CN105956830A (en) * 2016-05-11 2016-09-21 中煤电气有限公司 J2EE framework based enterprise-level visualization application development platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WEB开发框架的研究;杨毅;《无线互联科技》;20150731;第26-28页 *

Also Published As

Publication number Publication date
CN108984160A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108984160B (en) Informationized rapid development framework system based on componentization
US11789715B2 (en) Systems and methods for transformation of reporting schema
US11620117B2 (en) Systems and methods for code clustering analysis and transformation
US10540335B2 (en) Solution to generate a scriptset for an automated database migration
US11188319B2 (en) Systems and methods for entry point-based code analysis and transformation
US11436006B2 (en) Systems and methods for code analysis heat map interfaces
US11429365B2 (en) Systems and methods for automated retrofitting of customized code objects
US10481884B2 (en) Systems and methods for dynamically replacing code objects for code pushdown
US20240045850A1 (en) Systems and methods for database orientation transformation
US20160170719A1 (en) Software database system and process of building and operating the same
CN106775744B (en) Method and device for generating static library
US11651272B2 (en) Machine-learning-facilitated conversion of database systems
US10338915B2 (en) Automated identification of code dependency
US10275234B2 (en) Selective bypass of code flows in software program
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
CN111142848A (en) Software program compiling method, software program executing method and software program compiling device
US20080022258A1 (en) Custom database system and method of building and operating the same
US8631393B2 (en) Custom database system and method of building and operating the same
CN109960498B (en) C + + based HTML editor editing and upgrading method and device
CN116339755A (en) Database object installation method, device, equipment and medium
CN115599350A (en) Intelligent packaging method, system and storage medium for customized software

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Hongtai

Inventor after: Ya Ming Fei

Inventor after: Wu Shuncheng

Inventor after: Zhao Gang

Inventor after: Xue Yanyu

Inventor after: Wu Tongxin

Inventor before: Liu Hongtai

Inventor before: Ya Ming Fei

Inventor before: Wu Shuncheng

Inventor before: Zhao Gang

Inventor before: Xue Yanyu

Inventor before: Wu Tongxin

GR01 Patent grant
GR01 Patent grant