CN106648647A - Integrated control system based on dynamical creating objects of Spring dependency injection - Google Patents

Integrated control system based on dynamical creating objects of Spring dependency injection Download PDF

Info

Publication number
CN106648647A
CN106648647A CN201611145772.XA CN201611145772A CN106648647A CN 106648647 A CN106648647 A CN 106648647A CN 201611145772 A CN201611145772 A CN 201611145772A CN 106648647 A CN106648647 A CN 106648647A
Authority
CN
China
Prior art keywords
spring
control system
module
data
relied
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
CN201611145772.XA
Other languages
Chinese (zh)
Other versions
CN106648647B (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.)
BEIJING SHIPBUILDING INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING SHIPBUILDING 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 BEIJING SHIPBUILDING INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING SHIPBUILDING INFORMATION TECHNOLOGY Co Ltd
Priority to CN201611145772.XA priority Critical patent/CN106648647B/en
Publication of CN106648647A publication Critical patent/CN106648647A/en
Application granted granted Critical
Publication of CN106648647B publication Critical patent/CN106648647B/en
Expired - Fee Related 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

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 an integrated control system based on dynamical creating objects of spring dependency injection. The integrated control system based on dynamical creating objects of spring dependency injection relates to application software creating technical field. The integrated control system comprises a status module, a business module, a configure module, and an operation module. Based on dynamical created objects of Spring dependency injection, by adoption of this system, uses are capable of customizing and developing software to meet processing needs of various services, and thus cost of enterprises purchasing a variety of software cab be reduced, work efficiency can also be improved.

Description

The comprehensive managing and control system of injection dynamic creation object is relied on based on Spring
Technical field
The present invention relates to application software creates technical field, more particularly to a kind of dependence based on Spring injects dynamic creation The comprehensive managing and control system of object.
Background technology
Growing stronger day by day and constantly develop with enterprises and institutions, the affairs that daily need is processed are continuously increased, substantial amounts of Various types of routine office work softwares for processing different event arise at the historic moment.
But, affairs are active developments, and office software is developed due to the affairs for being both for a certain type, institute With, the affairs of the relative development of application software are then in static state, then, even if with the presence of substantial amounts of various types of office softwares, The all of affairs of continuous development can not be covered, so, according to the office software that prior art is created, it is impossible to adapt at present constantly The process demand of the changeable affairs of development, causes to occur in that problems with:Enterprise have purchased numerous office softwares, but, still So some stubborn problems always occur, it is impossible to assisted to complete office with office software, it is various not so as to be caused by purchase Same application software, increased cost, and self-demand cannot be fully met again, and office efficiency is low.
The content of the invention
It is an object of the invention to provide a kind of comprehensive managing and control system that injection dynamic creation object is relied on based on Spring, So as to solve foregoing problems present in prior art.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of comprehensive managing and control system that injection dynamic creation object is relied on based on Spring, including:
Data model module:For creating visualization tables of data using data base;
Business model module:For using the visualization tables of data of the data model module creation, dynamic to be generated Run-time library is simultaneously stored in local;
Configuration module:The run-time library for will generate in the business model module holds by the ioc of spring Device creates object;
Operation module:The run-time library for will generate in the business model module holds by the ioc of spring Device carries out D ynamic instantiation.
Preferably, in the data model module, visualization tables of data is created using data base, adopts and enter with the following method Row is implemented:Type of database is chosen first, is then created specific data table name, is filled in field type, field name and ensure Major key uniqueness, generating tables of data is used for data storage;Wherein, the type of the data base includes, sqlserver, oracle, mySql。
Preferably, in the business model module, storehouse during dynamic generating run is adopted and is implemented with the following method:It is first The tables of data of dependence is first chosen, then selects the functional method for needing to realize, the method recompiled by code to generate specific Run-time library, wherein it is desired to the functional method realized includes:Newly-increased, modification, derivation, printing, statistical analysiss and/or list exhibition It is existing.
Preferably, in the configuration module, the establishment object is adopted and implemented with the following method:Institute is chosen first The run-time library of business model module generation is stated, spring containers are then chosen, creates right by the ioc containers of spring As.
Preferably, in the operation module, the D ynamic instantiation is adopted and implemented with the following method:User clicks on ' generation button ', application server is restarted, and dynamic instance is reloaded automatically, specifically, and if development platform is .net, can The relevant information of iis is configured;If development platform is java, tomcat application servers will be restarted.
Preferably, also including authority management module, for the page for having configured to be distributed to into specified user.
Preferably, also including the Print auditing management module that self-defined exploitation can be carried out according to user's request, for printing The management of audit category information and access.
Preferably, also including the workflow management platform that self-defined exploitation can be carried out according to user's request, for operation flow Assign, permit business.
Preferably, also including the tax administration platform that self-defined exploitation can be carried out according to user's request, for tax class letter Breath management and access.
The invention has the beneficial effects as follows:It is provided in an embodiment of the present invention that injection dynamic creation object is relied on based on Spring Comprehensive managing and control system, including:Data model module, business model module, configuration module and operation module, using the system, base The technology of injection dynamic creation object is relied in Spring so that user can be according to self-demand, self-defined exploitation software, it is full The process demand of the various affairs of foot, so as to the cost that enterprises and institutions buy various software can not only be reduced, it is also possible to improve Work efficiency.
Description of the drawings
Fig. 1 is the process schematic that system dynamics provided in an embodiment of the present invention create object.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing, the present invention is entered Row is further described.It should be appreciated that specific embodiment described herein is not used to only to explain the present invention Limit the present invention.
For the problem that existing application software is present, if a platform can be developed, on the platform, user can be with According to self-demand, corresponding software is developed, then user can realize really meeting oneself requirement from the angle of itself Software.By many problems of real solution user in this aspect.Therefore, using such platform, it is possible to meet A variety of demands of different user, and a variety of application softwaries are bought without the need for user, cost had both been increased, again cannot Self-demand is fully met, causes office efficiency low.
In order to achieve the above object, embodiments provide a kind of dependence based on Spring and inject dynamic creation object Comprehensive managing and control system, including:
Data model module:For creating visualization tables of data using data base;
Business model module:For using the visualization tables of data of the data model module creation, dynamic to be generated Run-time library is simultaneously stored in local;
Configuration module:The run-time library for will generate in the business model module holds by the ioc of spring Device creates object;
Operation module:The run-time library for will generate in the business model module holds by the ioc of spring Device carries out D ynamic instantiation.
In in order to solve prior art, various types of application softwaries can not meet lacking for the process demand of all affairs Fall into, the said system that the present invention is provided relies on the technology of injection dynamic creation object so that user can basis based on Spring Self-demand, self-defined exploitation software, meets the process demand of various affairs in said system.
Wherein, rely on injection just to refer to:In the runtime, object will dynamically be relied on by external container and is injected in component, After spring containers start, the initialization of spring containers, create and manage bean objects and destroy its (and bean object Whole life cycle, bean objects can be for class, method etc.), and only need to from container direct access bean object, and Without the need for creating example as usual.The mode of this dynamic creation object also referred to as controls reversion, using itself it is not responsible according to The establishment and maintenance of bad object, the establishment and maintenance for relying on object is responsible for by external container, consequently, it is possible to for application program Speech is achieved that pluggable functional module.Also by using itself being transferred to external container, control turns this control Shifting is exactly so-called reversion.
The process of said system dynamic creation object is as shown in Figure 1.
The dependence injection that the embodiment of the present invention is adopted has following advantage:
1st, the degree of coupling between component, the decoupling realized between each layer of software are reduced;
2nd, to the good control of affairs, when using container-managed transactions, developer avoid the need for controlling manually affairs, Propagate also without complicated affairs;
3rd, container provides singleton pattern support, developer and need not write and realize code;
4th, container provides AOP technologies, and using aop technologies the programming and authority interception, operation towards tangent plane can be realized The functions such as period monitoring.
In the embodiment of the present invention, in the data model module, visualization tables of data is created using data base, can be adopted Implemented with the following method:Type of database is chosen first, is then created specific data table name, is filled in field type, word Name section simultaneously ensures major key uniqueness, and generating tables of data is used for data storage;Wherein, the type of the data base includes, sqlserver、oracle、mySql。
In the business model module, storehouse during dynamic generating run can adopt and be implemented with the following method:Select first The tables of data of dependence is taken, then selects the functional method for needing to realize, the method recompiled by code to generate specific operation Shi Ku, wherein it is desired to the functional method realized includes:Newly-increased, modification, derivation, printing, statistical analysiss and/or list represent.
In the configuration module, the establishment object can be adopted and implemented with the following method:The industry is chosen first The run-time library that business model module is generated, then chooses spring containers, and by the ioc containers of spring object is created.
In the operation module, the D ynamic instantiation can be adopted and implemented with the following method:User clicks on ' raw Into button ', application server is restarted, if development platform is .net, can configure the relevant information of iis;If exploitation is flat Platform is java, then will restart tomcat application servers.
The comprehensive managing and control system that injection dynamic creation object is relied on based on Spring provided in an embodiment of the present invention, can be with Including authority management module, for the page for having configured to be distributed to into specified user.
The comprehensive managing and control system that injection dynamic creation object is relied on based on Spring provided in an embodiment of the present invention, can be with Including the Print auditing management module that self-defined exploitation can be carried out according to user's request, manage and look into for Print auditing category information Read.
The comprehensive managing and control system that injection dynamic creation object is relied on based on Spring provided in an embodiment of the present invention, can be with Including the workflow management platform that self-defined exploitation can be carried out according to user's request, the business such as assign, examine for operation flow.
For example:The workflow management platform in this technology is employed in purchase of goods and materials platform, to business flow processing, to adopt The mode printed with management and control processes printing examination & approval etc..
The comprehensive managing and control system that injection dynamic creation object is relied on based on Spring provided in an embodiment of the present invention, can be with Including the tax administration platform that self-defined exploitation can be carried out according to user's request, manage and consult for tax category information.
By using above-mentioned technical proposal disclosed by the invention, having obtained following beneficial effect:The embodiment of the present invention is carried For based on Spring rely on injection dynamic creation object comprehensive managing and control system, including:Data model module, business model mould Block, configuration module and operation module, using the system, based on Spring the technology of injection dynamic creation object are relied on so that use Family can be according to self-demand, and self-defined exploitation software meets the process demand of various affairs, so as to reduce looking forward to thing Industry unit buys the cost of various software, it is also possible to improve work efficiency.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art should be understood that the sequential of the method and step that above-described embodiment is provided can be entered according to practical situation Row accommodation, is concurrently carried out also dependent on practical situation.
All or part of step in the method that above-described embodiment is related to can be instructed by program correlation hardware come Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side All or part of step described in method.The computer equipment, for example:Personal computer, server, the network equipment, intelligent sliding Dynamic terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.;Described storage medium, for example:RAM、 ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, webserver storage, network cloud storage Deng.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that a series of process, method, commodity or equipment including key elements not only includes that A little key elements, but also including other key elements being not expressly set out, or also include for this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange Except also there is other identical element in including the process of the key element, method, commodity or equipment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (9)

1. it is a kind of that the comprehensive managing and control system for injecting dynamic creation object is relied on based on Spring, it is characterised in that to include:
Data model module:For creating visualization tables of data using data base;
Business model module:For using the visualization tables of data of the data model module creation, dynamic generating run When storehouse and be stored in local;
Configuration module:The run-time library for will generate in the business model module is created by the ioc containers of spring Build object;
Operation module:For the run-time library generated in the business model module to be entered by the ioc containers of spring Mobile state instantiation.
2. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is in the data model module, using data base visualization tables of data to be created, adopts and implemented with the following method:It is first Type of database is first chosen, specific data table name is then created, is filled in field type, field name and ensure that major key is unique Property, generating tables of data is used for data storage;Wherein, the type of the data base includes, sqlserver, oracle, mySql.
3. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is that in the business model module, storehouse during dynamic generating run is adopted and implemented with the following method:Choose first and rely on Tables of data, then select the functional method for needing to realize, the method recompiled by code to generate specific run-time library, its In, need the functional method realized to include:Newly-increased, modification, derivation, printing, statistical analysiss and/or list represent.
4. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is that in the configuration module, the establishment object is adopted and implemented with the following method:The business model is chosen first The run-time library that module is generated, then chooses spring containers, and by the ioc containers of spring object is created.
5. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is that in the operation module, the D ynamic instantiation is adopted and implemented with the following method:User clicks on ' generation button ', Application server is restarted, and dynamic instance is reloaded automatically, specifically, if development platform is .net, can configure iis Relevant information;If development platform is java, tomcat application servers will be restarted.
6. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is, also including authority management module, for the page for having configured to be distributed to into specified user.
7. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is, also including the Print auditing management module that self-defined exploitation can be carried out according to user's request, for Print auditing category information Management and access.
8. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is, also including the workflow management platform that self-defined exploitation can be carried out according to user's request, assigning, examining for operation flow Business.
9. it is according to claim 1 that the comprehensive managing and control system for injecting dynamic creation object, its feature are relied on based on Spring It is, also including the tax administration platform that self-defined exploitation can be carried out according to user's request, to manage and look into for tax category information Read.
CN201611145772.XA 2016-12-13 2016-12-13 Comprehensive management and control system for dynamically creating object based on Spring dependence injection Expired - Fee Related CN106648647B (en)

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 true CN106648647A (en) 2017-05-10
CN106648647B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086034A (en) * 2018-07-13 2018-12-25 山东恒云信息科技有限公司 Injection, which is relied on, using AOP and Spring realizes the method for applying automatic duplicating of data
CN110221820A (en) * 2019-04-23 2019-09-10 平安科技(深圳)有限公司 The general type of spring frame relies on method for implanting, device and computer equipment, storage medium
CN111104108A (en) * 2018-10-29 2020-05-05 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN113885873A (en) * 2021-09-29 2022-01-04 中国科学院软件研究所 Lightweight OpenHarmony operating system application development object management system and application method thereof
CN116414390A (en) * 2023-03-29 2023-07-11 南京审计大学 Dynamic operation case development system for big data audit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446897B (en) * 2008-11-26 2012-04-18 重庆邮电大学 Resource management system based on net system business structure platform
CN101539855A (en) * 2008-12-25 2009-09-23 厦门亿力吉奥信息科技有限公司 Service basic software platform
CN102566992B (en) * 2010-12-17 2015-04-22 卓望数码技术(深圳)有限公司 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
CN105549982B (en) * 2016-01-14 2018-08-10 国网山东省电力公司物资公司 A kind of development of automation platform based on model configuration

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086034A (en) * 2018-07-13 2018-12-25 山东恒云信息科技有限公司 Injection, which is relied on, using AOP and Spring realizes the method for applying automatic duplicating of data
CN111104108A (en) * 2018-10-29 2020-05-05 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN111104108B (en) * 2018-10-29 2021-07-23 大唐移动通信设备有限公司 Display interface WPF generation method and device
CN110221820A (en) * 2019-04-23 2019-09-10 平安科技(深圳)有限公司 The general type of spring frame relies on method for implanting, device and computer equipment, storage medium
CN110221820B (en) * 2019-04-23 2024-05-28 平安科技(深圳)有限公司 Spring framework generalized dependency injection method and device, computer equipment and storage medium
CN113885873A (en) * 2021-09-29 2022-01-04 中国科学院软件研究所 Lightweight OpenHarmony operating system application development object management system and application method thereof
CN113885873B (en) * 2021-09-29 2022-09-16 中国科学院软件研究所 Lightweight OpenHarmony operating system application development object management system and application method thereof
CN116414390A (en) * 2023-03-29 2023-07-11 南京审计大学 Dynamic operation case development system for big data audit
CN116414390B (en) * 2023-03-29 2024-04-05 南京审计大学 Dynamic operation case development system for big data audit

Also Published As

Publication number Publication date
CN106648647B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN106648647A (en) Integrated control system based on dynamical creating objects of Spring dependency injection
Burke et al. Enterprise JavaBeans 3.0
Frankel Model driven architecture applying MDA
Dayal et al. Organizing long-running activities with triggers and transactions
CA2504082C (en) Method and apparatus for generating user interfaces based upon automation with full flexibility
US7584416B2 (en) Logical representation of a user interface form
US20120174064A1 (en) Management of objects within a meta-data repository
US20030221165A1 (en) System and method for metadata-driven user interface
US20070156740A1 (en) Generating a separable query design object and database schema through visual view editing
JP2006190279A (en) Method and apparatus for metadata driven business logic processing
CN1704937A (en) Method and apparatus for generating forms using form types
US20200065313A1 (en) Extensible content object metadata
MX2012014165A (en) Integrated workflow and database transactions.
US20080263509A1 (en) Method and apparatus for application patterns and applications genearation
US20120005519A1 (en) System and method for providing collaborative master data processes
Carey et al. SanFrancisco design patterns: blueprints for business software
US20080004998A1 (en) Systems and methods for generating an accounting document
US20070061355A1 (en) Computer- implemented method, system, and program product for managing data for an information technology (IT) migration
JP6911217B1 (en) Writer Promote System
AU2022293332A1 (en) Data governance systems and methods
Hulse et al. Evolution in clinical knowledge management strategy at Intermountain Healthcare
CN104318476B (en) A kind of information processing method and device
Yue A Blockchain-Inspired, Multi-Layered Transaction Model for Business Process Modeling.
EP1625534A1 (en) Analytical task invocation
Shah et al. Transforming UML class diagrams into relational data models

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