CN106648647B - Comprehensive management and control system for dynamically creating object based on Spring dependence injection - Google Patents
Comprehensive management and control system for dynamically creating object based on Spring dependence injection Download PDFInfo
- Publication number
- CN106648647B CN106648647B CN201611145772.XA CN201611145772A CN106648647B CN 106648647 B CN106648647 B CN 106648647B CN 201611145772 A CN201611145772 A CN 201611145772A CN 106648647 B CN106648647 B CN 106648647B
- Authority
- CN
- China
- Prior art keywords
- spring
- control system
- dynamically
- module
- data table
- 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.)
- Expired - Fee Related
Links
- 238000002347 injection Methods 0.000 title claims abstract description 24
- 239000007924 injection Substances 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims description 45
- 238000007726 management method Methods 0.000 claims description 30
- 230000001419 dependent effect Effects 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 15
- 230000000007 visual effect Effects 0.000 claims description 11
- 238000011161 development Methods 0.000 claims description 10
- 238000013499 data model Methods 0.000 claims description 9
- 238000012550 audit Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 abstract description 7
- 238000007639 printing Methods 0.000 description 6
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 5
- 244000046052 Phaseolus vulgaris Species 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002513 implantation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a comprehensive management and control system for dynamically creating an object based on Spring dependence injection, and relates to the technical field of application software creation. This synthesize management and control system includes: the system is adopted, and based on the technology of dynamically creating objects by Spring dependence injection, a user can develop software in a user-defined mode according to the self requirement, the processing requirements of various transactions are met, the cost of purchasing various software by enterprises and public institutions can be reduced, and the working efficiency can be improved.
Description
Technical Field
The invention relates to the technical field of application software creation, in particular to a comprehensive management and control system for dynamically creating an object based on Spring dependence injection.
Background
With the growing and developing of enterprises and public institutions, daily affairs needing to be processed are increasing, and a large amount of various types of daily office software for processing different events are produced.
However, since the business is developed dynamically, the office software is developed for a certain type of business, so the business with application software relatively developed is static, and even if there are a lot of office software of various types, all the business that is developed continuously cannot be covered, so the office software created according to the prior art cannot meet the processing requirements of the business that is developed continuously and changeably at present, resulting in the following problems: enterprises purchase numerous office software, but still have some troublesome problems, and can not finish the office with the assistance of the office software, thereby causing the problems that the cost is increased due to the purchase of various different application software, the requirements of the enterprises can not be completely met, and the office efficiency is low.
Disclosure of Invention
The invention aims to provide a comprehensive management and control system for dynamically creating an object based on Spring dependent injection, so that the problems in the prior art are solved.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a comprehensive management and control system for dynamically creating objects based on Spring dependent injection comprises the following steps:
the data model module is used for creating a visual data table by utilizing a database;
a service model module: the visual data table is used for dynamically generating a runtime library and storing the runtime library locally by utilizing the visual data table created by the data model module;
a configuration module: the ioc container is used for creating an object by relying on spring for the runtime library generated in the business model module;
an operation module: and the system is used for dynamically instantiating the runtime library generated in the business model module by means of spring ioc container.
Preferably, in the data model module, the visualized data table is created by using a database, and the method is implemented by adopting the following method: firstly, selecting a database type, then creating a specific data table name, a filling field type and a field name, ensuring the uniqueness of a main key, and generating a data table for storing data; the types of the database comprise sqlserver, oracle and mySql.
Preferably, in the service model module, a runtime library is dynamically generated, and the method is implemented as follows: firstly, selecting a dependent data table, then selecting a functional method to be realized, and generating a specific runtime library by a code recompilation method, wherein the functional method to be realized comprises the following steps: add, modify, export, print, statistically analyze, and/or list reveal.
Preferably, in the configuration module, the creating an object is implemented by the following method: firstly, selecting the runtime library generated by the service model module, then selecting a spring container, and creating an object by means of the spring ioc container.
Preferably, in the running module, the dynamic instantiation is implemented by the following method: the user clicks a 'generation button', the application server is restarted, the dynamic instance is automatically reloaded, and specifically, if the development platform is net, the related information of the iis is configured; if the development platform is java, the tomcat application server will be restarted.
Preferably, the system further comprises a right management module for allocating the configured page to a specified user.
Preferably, the system also comprises a printing audit management module which can be customized and developed according to the user requirements and is used for managing and consulting the printing audit information.
Preferably, the system also comprises a process management platform which can be customized and developed according to the user requirements and is used for issuing and approving the business process.
Preferably, the tax administration platform capable of performing customized development according to user requirements is further included, and is used for managing and consulting tax information.
The invention has the beneficial effects that: the comprehensive management and control system for dynamically creating the object based on Spring dependent injection provided by the embodiment of the invention comprises the following steps: the system is adopted, and based on the technology of dynamically creating objects by Spring dependence injection, a user can develop software in a user-defined mode according to the self requirement, the processing requirements of various transactions are met, the cost of purchasing various software by enterprises and public institutions can be reduced, and the working efficiency can be improved.
Drawings
Fig. 1 is a schematic diagram of a process for dynamically creating an object by a system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Aiming at the problems of the existing application software, if a platform can be developed, and on the platform, a user can develop corresponding software according to the self requirement, the user can realize the software which really meets the self requirement from the self angle. Many problems of users are really solved at this level. Therefore, by using one platform, various different requirements of different users can be met, and the users do not need to purchase various different application software, so that the cost is increased, the requirements of the users cannot be completely met, and the office efficiency is low.
In order to achieve the above object, an embodiment of the present invention provides a comprehensive management and control system for dynamically creating an object based on Spring dependent injection, including:
the data model module is used for creating a visual data table by utilizing a database;
a service model module: the visual data table is used for dynamically generating a runtime library and storing the runtime library locally by utilizing the visual data table created by the data model module;
a configuration module: the ioc container is used for creating an object by relying on spring for the runtime library generated in the business model module;
an operation module: and the system is used for dynamically instantiating the runtime library generated in the business model module by means of spring ioc container.
In order to solve the defect that various types of application software cannot meet the processing requirements of all transactions in the prior art, the system provided by the invention is based on the technology of dynamically creating objects by Spring dependence injection, so that a user can develop software in a self-defined manner in the system according to the self-requirement, and the processing requirements of various transactions are met.
The dependent injection means that a dependent object is dynamically injected into a component by an external container in a running period, after the spring container is started, the spring container initializes, creates and manages the bean object and destroys the bean object (and the whole life cycle of the bean object, the bean object can be a class, a method and the like), and only the bean object needs to be directly acquired from the container without creating an instance as usual. This way of dynamically creating objects, also called control reversal, the application itself is not responsible for the creation and maintenance of dependent objects, which are handled by external containers, so that pluggable function modules are implemented for the application. This transfer of control is also transferred from the application itself to the outer container, the transfer of control being so-called reversal.
The process of the system dynamically creating objects is shown in fig. 1.
The dependent implantation adopted by the embodiment of the invention has the following advantages:
1. the coupling degree between the components is reduced, and decoupling between each layer of software is realized;
2. the system has good control over the affairs, and when the affairs are managed by using the container, developers do not need to manually control the affairs and complicated affair propagation;
3. the container provides support for a singleton mode, and developers do not need to write implementation codes;
4. the container provides the AOP technology, and the AOP technology can be used for realizing functions of section-oriented programming, authority interception, runtime monitoring and the like.
In the embodiment of the present invention, in the data model module, the database is used to create the visual data table, and the following method may be adopted to implement: firstly, selecting a database type, then creating a specific data table name, a filling field type and a field name, ensuring the uniqueness of a main key, and generating a data table for storing data; the types of the database comprise sqlserver, oracle and mySql.
In the service model module, the runtime library is dynamically generated, which can be implemented by the following method: firstly, selecting a dependent data table, then selecting a functional method to be realized, and generating a specific runtime library by a code recompilation method, wherein the functional method to be realized comprises the following steps: add, modify, export, print, statistically analyze, and/or list reveal.
In the configuration module, the creating of the object may be implemented by the following method: firstly, selecting the runtime library generated by the service model module, then selecting a spring container, and creating an object by means of the spring ioc container.
In the running module, the dynamic instantiation can be implemented by adopting the following method: the user clicks a 'generation button', the application server is restarted, and if the development platform is net, the related information of the iis can be configured; if the development platform is java, the tomcat application server will be restarted.
The comprehensive management and control system for dynamically creating the object based on Spring dependency injection provided by the embodiment of the invention further comprises an authority management module for allocating the configured page to the specified user.
The comprehensive management and control system based on the Spring dependence injection dynamic creation object provided by the embodiment of the invention can also comprise a printing audit management module which can be self-defined and developed according to the user requirement and is used for printing audit type information management and reference.
The comprehensive management and control system based on the Spring dependency injection dynamic creation object provided by the embodiment of the invention can also comprise a process management platform which can be customized and developed according to the user requirements and is used for services such as issuing, examining and approving of the service process.
For example: the process management platform in the technology is adopted in the material purchasing platform to process the business process, and the printing examination and approval and the like are processed in a control printing mode.
The comprehensive management and control system based on the Spring dependency injection dynamic creation object provided by the embodiment of the invention can also comprise a tax management platform which can be self-defined and developed according to the user requirements and is used for managing and consulting tax information.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained: the comprehensive management and control system for dynamically creating the object based on Spring dependent injection provided by the embodiment of the invention comprises the following steps: the system is adopted, and based on the technology of dynamically creating objects by Spring dependence injection, a user can develop software in a user-defined mode according to the self requirement, the processing requirements of various transactions are met, the cost of purchasing various software by enterprises and public institutions can be reduced, and the working efficiency can be improved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
It should be understood by those skilled in the art that the timing sequence of the method steps provided in the above embodiments may be adaptively adjusted according to actual situations, or may be concurrently performed according to actual situations.
All or part of the steps in the methods according to the above embodiments may be implemented by a program instructing related hardware, where the program may be stored in a storage medium readable by a computer device and used to execute all or part of the steps in the methods according to the above embodiments. The computer device, for example: personal computer, server, network equipment, intelligent mobile terminal, intelligent home equipment, wearable intelligent equipment, vehicle-mounted intelligent equipment and the like; the storage medium, for example: RAM, ROM, magnetic disk, magnetic tape, optical disk, flash memory, U disk, removable hard disk, memory card, memory stick, network server storage, network cloud storage, etc.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.
Claims (9)
1. A comprehensive management and control system for dynamically creating objects based on Spring dependent injection is characterized by comprising the following steps:
the data model module is used for creating a visual data table by utilizing a database;
a service model module: the visual data table is used for dynamically generating a runtime library and storing the runtime library locally by utilizing the visual data table created by the data model module;
a configuration module: the ioc container is used for creating an object by relying on spring for the runtime library generated in the business model module;
an operation module: and the system is used for dynamically instantiating the runtime library generated in the business model module by means of spring ioc container.
2. The comprehensive management and control system for dynamically creating objects based on Spring dependent injection according to claim 1, wherein a visual data table is created in the data model module by using a database, and the method is implemented by adopting the following method: firstly, selecting a database type, then creating a specific data table name, filling a field type and a field name, ensuring the uniqueness of a main key, and generating a data table for storing data, wherein the database type comprises: sqlserver, oracle, mySql.
3. The comprehensive management and control system for dynamically creating objects based on Spring dependency injection according to claim 1, wherein the runtime library is dynamically generated in the service model module, and the method is implemented as follows: firstly, selecting a dependent data table, then selecting a functional method to be realized, and generating a specific runtime library by a code recompilation method, wherein the functional method to be realized comprises the following steps: add, modify, export, print, statistically analyze, and/or list reveal.
4. The system according to claim 1, wherein in the configuration module, the created object is implemented by a method including: firstly, selecting the runtime library generated by the service model module, then selecting a spring container, and creating an object by means of the spring ioc container.
5. The comprehensive management and control system for dynamically creating objects based on Spring dependent injection according to claim 1, wherein in the running module, the dynamic instantiation is implemented by adopting a method as follows: the user clicks a 'generation button', the application server is restarted, the dynamic instance is automatically reloaded, and specifically, if the development platform is net, the related information of the iis is configured; if the development platform is java, the tomcat application server will be restarted.
6. The system according to claim 1, further comprising a rights management module for allocating configured pages to specific users.
7. The comprehensive management and control system for dynamically creating objects based on Spring dependency injection as claimed in claim 1, further comprising a print audit management module capable of performing custom development according to user requirements, and configured to manage and refer to print audit class information.
8. The comprehensive management and control system for dynamically creating objects based on Spring dependency injection as claimed in claim 1, further comprising a process management platform capable of performing custom development according to user requirements, wherein the process management platform is used for issuing and approving business processes.
9. The system according to claim 1, further comprising a tax administration platform capable of performing customized development according to user requirements, for managing and consulting tax information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145772.XA CN106648647B (en) | 2016-12-13 | 2016-12-13 | Comprehensive management and control system for dynamically creating object based on Spring dependence injection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145772.XA CN106648647B (en) | 2016-12-13 | 2016-12-13 | Comprehensive management and control system for dynamically creating object based on Spring dependence injection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648647A CN106648647A (en) | 2017-05-10 |
CN106648647B true CN106648647B (en) | 2020-03-24 |
Family
ID=58825220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611145772.XA Expired - Fee Related CN106648647B (en) | 2016-12-13 | 2016-12-13 | Comprehensive management and control system for dynamically creating object based on Spring dependence injection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648647B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109086034B (en) * | 2018-07-13 | 2021-07-02 | 山东恒云信息科技有限公司 | Method for realizing automatic backup of application data by AOP and Spring dependent injection |
CN111104108B (en) * | 2018-10-29 | 2021-07-23 | 大唐移动通信设备有限公司 | Display interface WPF generation method and device |
CN110221820B (en) * | 2019-04-23 | 2024-05-28 | 平安科技(深圳)有限公司 | Spring framework generalized dependency injection method and device, computer equipment and storage medium |
CN113885873B (en) * | 2021-09-29 | 2022-09-16 | 中国科学院软件研究所 | Lightweight OpenHarmony operating system application development object management system and application method thereof |
CN116414390B (en) * | 2023-03-29 | 2024-04-05 | 南京审计大学 | Dynamic operation case development system for big data audit |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101446897A (en) * | 2008-11-26 | 2009-06-03 | 重庆邮电大学 | Resource management system based on net system business structure platform |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
CN102566992A (en) * | 2010-12-17 | 2012-07-11 | 卓望数码技术(深圳)有限公司 | Dependency injection method and dependency injection device based on system running |
CN105549982A (en) * | 2016-01-14 | 2016-05-04 | 国网山东省电力公司物资公司 | Automated development platform based on model configuration |
US9397905B1 (en) * | 2014-01-24 | 2016-07-19 | Amazon Technologies, Inc. | Aggregated health check of a multi-tenant service container |
-
2016
- 2016-12-13 CN CN201611145772.XA patent/CN106648647B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101446897A (en) * | 2008-11-26 | 2009-06-03 | 重庆邮电大学 | Resource management system based on net system business structure platform |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
CN102566992A (en) * | 2010-12-17 | 2012-07-11 | 卓望数码技术(深圳)有限公司 | Dependency injection method and dependency injection device based on system running |
US9397905B1 (en) * | 2014-01-24 | 2016-07-19 | Amazon Technologies, Inc. | Aggregated health check of a multi-tenant service container |
CN105549982A (en) * | 2016-01-14 | 2016-05-04 | 国网山东省电力公司物资公司 | Automated development platform based on model configuration |
Non-Patent Citations (1)
Title |
---|
一种轻量级J2EE架构的改进与实践;吴永强;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130131(第1期);I138-325 * |
Also Published As
Publication number | Publication date |
---|---|
CN106648647A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106648647B (en) | Comprehensive management and control system for dynamically creating object based on Spring dependence injection | |
US9128996B2 (en) | Uniform data model and API for representation and processing of semantic data | |
US20230057335A1 (en) | Deployment of self-contained decision logic | |
CN103559118B (en) | A kind of method for auditing safely based on AOP and annotating information system | |
US10348565B2 (en) | System and method for rule-based elasticity in a multitenant application server environment | |
US20200082302A1 (en) | Blockchain for Data and Model Governance | |
US20110270711A1 (en) | Managing application interactions with enterprise systems | |
US9529933B2 (en) | Dynamic assignment of business logic based on schema mapping metadata | |
US10474506B1 (en) | Finite state machine driven workflows | |
US9063995B2 (en) | Access control list (ACL) generation for replicated data | |
US8428989B2 (en) | Cross functional area service identification | |
CN109344173B (en) | Data management method and device and data structure | |
CN116974581B (en) | Code generation method, device, electronic equipment and storage medium | |
Huang et al. | A process mining based service composition approach for mobile information systems | |
AU2017276243A1 (en) | System And Method For Generating Service Operation Implementation | |
CN114416530A (en) | Byte code modification method and device, computer equipment and storage medium | |
CN114201157A (en) | Method and system for customizing target service module by low code | |
CN113590358A (en) | Service concurrency control method and device based on RPA | |
Pathak et al. | Experimental analysis of SPF based secure web application | |
CN117492808A (en) | Method and device for processing items, storage medium and electronic equipment | |
Harper | A hybrid systems approach using real-time data and computer simulation: a research framework and its implementation in the context of urgent and emergency care | |
CN116383138A (en) | Document changing method, device, computer equipment and storage medium | |
Pierce | Methods, modelers and fisheries scientists: building bridges | |
Garton | Temperature and Precipitation Projections Model user’s guide | |
Εμμανουήλ | IoT platform and data management using microservices |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200324 |
|
CF01 | Termination of patent right due to non-payment of annual fee |