CN103164200B - A kind of control method for application system development - Google Patents

A kind of control method for application system development Download PDF

Info

Publication number
CN103164200B
CN103164200B CN201110419433.7A CN201110419433A CN103164200B CN 103164200 B CN103164200 B CN 103164200B CN 201110419433 A CN201110419433 A CN 201110419433A CN 103164200 B CN103164200 B CN 103164200B
Authority
CN
China
Prior art keywords
service
data
request object
application
parameter
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
CN201110419433.7A
Other languages
Chinese (zh)
Other versions
CN103164200A (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.)
Huadi Computer Group Co Ltd
Original Assignee
Huadi Computer Group 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 Huadi Computer Group Co Ltd filed Critical Huadi Computer Group Co Ltd
Priority to CN201110419433.7A priority Critical patent/CN103164200B/en
Publication of CN103164200A publication Critical patent/CN103164200A/en
Application granted granted Critical
Publication of CN103164200B publication Critical patent/CN103164200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of control method for application system development, including: system initialization, Accreditation System resource, carry out data base's connection;Processing parameter is also transmitted in xml character string mode;The parameter of the xml character string after processing is encapsulated as Request object, by the Request object transfer after encapsulation to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, according to the service of registration, by data locking to the service of required application and process;Data after service processing are returned to foreground in xml character string mode, resolves through xml and obtain return data and show.The present invention solves in the exploitation of application function, and current application system architecture exists the problem that configuration is loaded down with trivial details and development process is longer.

Description

A kind of control method for application system development
Technical field
The present invention relates to application system functional development field, be specifically related to a kind of control method for application system development.
Background technology
The exploitation of current application system, mainly includes interface, foreground, the application process on backstage and the configuration of some configuration files.
For the exploitation of an application function, it is usually and is encoded to backstage code from interface, foreground by a developer.Foreground interface prototype is designed by mutual personnel, then is revised as the interface, foreground that can run by developer, likely affects the layout at interface during amendment, causes needing mutual personnel to coordinate and remodifies, affects development efficiency;Backstage exploitation mainly includes the process of parameter, encapsulates, transmits, process apoplexy due to endogenous wind in application and carry out application operating, calling DAO (DAO) during processing application to interact with data base, such development mode makes development process comparatively laborious, is susceptible to mistake.
As can be seen here, in the exploitation of application function, for existing application system framework, there is the problem that configuration is loaded down with trivial details and development process is longer.Therefore, the technical scheme of a kind of control for application system development it is currently needed for solve the problems referred to above.
Summary of the invention
The technical problem to be solved is to provide a kind of control method for application system development, and to solve in the exploitation of application function, current application system architecture exists the problem that configuration is loaded down with trivial details and development process is longer.
In order to solve the problems referred to above, the invention provides a kind of control method for application system development, including:
System initialization, Accreditation System resource, carry out data base's connection;
Processing parameter, wherein parameter includes systematic parameter and form parameters, transmits in xml character string mode;
The parameter of the xml character string after processing processes, and it is encapsulated as Request object, by the Request object transfer after encapsulation to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, according to the service of registration, by data locking to the service of required application and process;
Data after service processing are returned to foreground in xml character string mode, resolves through xml and obtain return data and show result, complete the control of application system development.
Further, said method may also include that systematic name, subsystem title, Apply Names and the form parameters that described xml character string includes that current form needs call.
Further, said method may also include that described system initialization, the step of Accreditation System resource include: resolves about the data base configuration file connected, the registration of data base's connection, system registry, subsystem register, service registry;Loading system configuration parameter also loads context relation Context.
Further, said method may also include that described Request object transfer after encapsulating is to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, service according to registration, by in data locking to the service of required application and carry out the step processed, including:
By packaged Request object transfer to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, first looks at the system currently called the most registered, if unregistered, then send error message prompting, terminate flow process;If registered, then judging that system configuration method of calling is long-range or local, if far call, then system is according to the remote access call by location remote service of configuration, by data locking to the service of required application and process;
If this locality is called, then enter into management subsystem, manage subsystem by management subsystem class, it is judged that if subsystem is registered, then begin look for the service currently called, according to the service of registration, by data locking to the service of required application and process.
Further, said method may also include that described service includes infrastructure service, and for calling of required application, infrastructure service comprises the function of the process to data and data manipulation.
Further, said method may also include that described Request object for data in the transmission represented between layer, service layer and data persistence layer.
Further, said method may also include that described in represent layer, for carrying out interaction with user, be controlled by B/S client and/or C/S client both of which.
Further, said method may also include that described system is to connect data base by JNDI mode, and data base is Oracle, DB2 or SQLServer data base.
Further, said method may also include that the service in reusing of described system support service, i.e. same system carries out repeating to call.
Further, said method may also include that described system also supports that different system interface calls, i.e. far call is the service call between different system.
Compared with prior art, applying the present invention, solve in the exploitation of application function, there is the problem that configuration is loaded down with trivial details and development process is longer in current application system architecture.
Accompanying drawing explanation
Fig. 1 is the flow chart that the control method for application system development of the present invention implements.
Fig. 2 is the schematic diagram of the system hierarchy of the present invention.
Fig. 3 is the flow chart of the control method for application system development of the present invention.
Detailed description of the invention
The invention will be further described with detailed description of the invention below in conjunction with the accompanying drawings.
The method of the present invention a part of can complete the amendment at interface, foreground, and another part realizes application and processes, AM/BAM separately exploitation, test, carries out the integrated of two parts the most again.
Foreground interface prototype is designed by mutual personnel, makes interface assembly ID keep certain rule during design, and developer has only to form data parameter composition xml character string when submitting to pass to framework as parameter.Which reduce the workload of developer, the most well avoid the impact on interface layout simultaneously.
The exploitation on backstage, the process of parameter encapsulation has been carried out, for DAO (DAO), owing to framework provides substantial amounts of public basic function, so need not develop unless there are special circumstances data persistence layer in framework.As long as that is developer carries out application process, not spending the exploitation of pipe encapsulation parameter and data persistence layer, which enhance the work efficiency of developer.
The system of the present invention is also required to configuration file, but configuration file is disposably to have configured after design terminates, and the difference being not required to according to application in the development phase configures again.And in current application system framework each application complete to also need to substantial amounts of configuration file support, this system with the present invention also has the difference of essence, the system of the present invention decreases the setup time of configuration file, and the most disposable configuration also substantially reduces development process.
The system support of the present invention is reused, and can mutually call between service, calls and is divided into this locality to call and far call, and this locality is called and referred to that service between same system mutually calls, and far call refers to the service call between different system.
The system of the present invention also supports the interface interchange between system, the process of the far call namely serviced.
The system architecture of the present invention, based on java language, can not rely on operating system.This framework is designed according to hierarchical structure, is divided into and represents layer, service layer, data persistence layer, wherein,
Represent layer: to realizing technology not requirement, by technology such as JSP, Flex, EXT, C/S, as long as the xml character string that form data is constituted compliant by foreground passes to framework.
Service layer: a corresponding service of application function, can call mutually between service.
Data persistence layer: be man-to-man relation for a database object (database table or view etc.) and a Java object, the encapsulation to basic database operation JDBC is achieved based on this relation, provide a large amount of bases public function, major part operation requirement can be met, additionally provide operation interface simultaneously, support the secondary development to database manipulation.
Data base: support the Sybases such as Oracle, DB2, SQLServer.
Due to the hierarchical structure of native system framework, make the development process of system can use various modes: the exploitation of an application function is completed, from foreground interface to background service by a developer;
Interface, foreground is completed by a group of people, and service is completed by a group of people;
System configuration is operated in after design completes and has disposably configured;
Support reusing of application, i.e. service call in same system;
Support intersystem interface calls, i.e. service call between different system.
The input parameter of system, output result are the xml character strings meeting certain format specification.
Wherein, represent the foreground[background of layer based on jsp, the corresponding data object Form of each list, the form item in jsp is according to certain rule configuration, form item parameter is packaged into data object Form, transferring to backstage Action process after submitting to by list by Struts;
Data persistence layer can be the Object Relation Mapping framework of an open source code, and it has carried out object encapsulation to JDBC.Object Relation Mapping refers to, for a database object (database table or view etc.) and a man-to-man relation of Java object, achieve the encapsulation to basic database operation JDBC based on this object;
Calling between service can be a kind of new weblication branch, can issue, positions, be called by web.The technology of main application is to issue one by web to apply as service end, comprises some services in application, can be called the service of this application by client.
The most as shown in Figure 1, realize flow process: when client sends request to application system, application system framework (the namely framework of native system) receives request, according to required parameter calling system, subsystem, service, in service, carry out concrete application operating, after completing, feed back to client.
Wherein as in figure 2 it is shown, the hierarchical structure of native system:
Application system is usually by client (representing layer), server end (application system) and data base's composition.
Client namely represents layer, for carrying out interaction with user, shows intuitively to user.Typically having B/S and C/S both of which, the client of B/S generally uses browser, and C/S client needs to install.This framework development technique not requirement to client, it is only necessary to parameter when list is submitted to meets certain specification.
Application system framework can regard the system (System disposed by some distributions as, with deployment server as unit) composition, one system can be disposed some subsystem (Subsystem, corresponding to document, product structure, plan etc.), a sub-system external can provide some services (Service).
As it is shown on figure 3, a kind of control method for application system development of the present invention, including:
Step 310, system initialization, Accreditation System resource, carry out data base's connection;
Described system initialization, the step of Accreditation System resource includes: resolve about the data base configuration file connected, the registration of data base's connection, system registry, subsystem register, service registry;Loading system configuration parameter also loads context relation Context.
Described system is to connect data base by JNDI mode, and data base is Oracle, DB2 or SQLServer data base.
Step 320, processing parameter, wherein parameter includes systematic parameter and form parameters, transmits in xml character string mode, and xml character string includes systematic name, subsystem title, Apply Names and the form parameters that current form needs call;
Wherein, list is submitted to the unified entrance of framework.
Step 330, will process after the parameter of xml character string carry out refinement process, and it is encapsulated as Request object, by the Request object transfer after encapsulation to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, according to the service of registration, by data locking to the service of required application and process;
Described service includes infrastructure service, and for calling of concrete application, infrastructure service comprises the function of the process to data and data manipulation.
Wherein, service exploitation is to be write according to concrete business by developer, develops for convenience, and framework provides some infrastructure services, can be to call writing concrete business.Infrastructure service mainly comprises two parts, and one is the process to data, and two there is provided some functions to data manipulation.The exploitation of general service has several step, and one, process to data, two, call the operation of infrastructure service finishing service, three, result, result is encapsulated as Response object, returns to system entry, then the xml character string that Response object tissue is specific format is returned to foreground.
Described Request object is used for data in the transmission represented between layer, service layer and data persistence layer.
Described represent layer, for carrying out interaction with user, be controlled by B/S client and/or C/S client both of which.
Described will encapsulation after Request object transfer to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, searches the service currently called, according to the service of registration, by in data locking to the service of required application and carry out the step processed, including:
By packaged Request object transfer to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, first looks at the system currently called the most registered, if unregistered, then send error message prompting, terminate flow process;If registered, then judging that system configuration method of calling is long-range or local, if far call, then system is according to the remote access call by location remote service of configuration, by data locking to the service of required application and process;
If this locality is called, then enter into management subsystem, manage subsystem by management subsystem class, if first judging, subsystem is registered, then begin look for the service currently called, according to the service of registration, by data locking to concrete required service and process.
Step 340, the data after service processing are returned to foreground in xml character string mode, resolve to obtain through xml and return data and show result, complete the control of application system development.
Also include: the service in reusing of described system support service, i.e. same system carries out repeating to call.
Farther include: described system also supports that different system interface calls, i.e. far call is the service call between different system.
The method of the present invention has the advantage that
1, for the exploitation of system, it is provided that two kinds of development modes, one is to be encoded to backstage code from interface, foreground by a developer, and this is also the development mode that major part system is used.Two is that foreground is developed by some people, and application is developed by some people, then by carrying out integrated pattern.The benefit of this pattern is exactly that foreground and backstage separate, and both sides can individually be developed, test.Such as one PROJECT TIME is relatively tighter, and personnel are fewer, it is possible to foreground outsourcing.
2, interface meets some specifications that framework sets in the design process of mutual personnel, developer has only to that form data is integrated into xml character string and submits to as parameter, this avoid developer and directly revise interface, cause the problem affecting interface layout to occur, also improve development efficiency simultaneously.Owing to form parameters is xml character string, framework is not affected by the technology that foreground uses.
3, the encapsulation to parameter is achieved, data after encapsulation have two kinds of forms of expression, one is Hash table, one and database object Java data object one to one, for the data of these 2 kinds of forms, framework provides the basic function the most mutual with data base and the process of the dialect to disparate databases.As long as the process processing application for developer is the most permissible, so can largely improve the efficiency of exploitation.For the function mutual with data base, if can not meet requirement, framework additionally provides expansion interface, supports secondary development.
4, DSN uses JNDI mode, supports the data base of the main flows such as Oracle, DB2, SqlServer.
5, configuration file is disposable after having designed configures and has tested, and development process is to need not be reconfigured at, and thus avoids mistake produced by configuration file, decreases workload during exploitation, improves development efficiency.
6, can mutually call between service, some public services can facilitate other service calls as sub-services.Calling between service includes that this locality is called and far call, this locality call be between same system service call, far call be between different system service mutually call, it is simply that the interface between system.
In sum, the framework of native system provides multiple development mode, support to reuse and the calling of intersystem interface, reduce the workload of development process, it is to avoid produced problem during exploitation, improves development efficiency.Any foreground[background can be used, support the Sybases such as Oracle, DB2, SqlServer, support the secondary development to database manipulation.
The above; being only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, and any is familiar with the people of this technology in the technical scope that disclosed herein; the change that can readily occur in or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (9)

1. the control method for application system development, it is characterised in that including:
System initialization, Accreditation System resource, carry out data base's connection;
Processing parameter, wherein parameter includes systematic parameter and form parameters, transmits in xml character string mode;
The parameter of the xml character string after processing processes, and it is encapsulated as Request object, by the Request object transfer after encapsulation to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, according to the service of registration, by data locking to the service of required application and process;
Data after service processing are returned to foreground in xml character string mode, resolves through xml and obtain return data and show result, complete the control of application system development;
Wherein, described will encapsulation after Request object transfer to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, search the service currently called, service according to registration, by in data locking to the service of required application and carry out the step processed, including:
By packaged Request object transfer to system administration class, information about system in Request object is processed by system administration apoplexy due to endogenous wind, first looks at the system currently called the most registered, if unregistered, then send error message prompting, terminate flow process;If registered, then judging that system configuration method of calling is long-range or local, if far call, then system is according to the remote access call by location remote service of configuration, by data locking to the service of required application and process;
If this locality is called, then enter into management subsystem, manage subsystem by management subsystem class, it is judged that if subsystem is registered, then begin look for the service currently called, according to the service of registration, by data locking to the service of required application and process.
2. the method for claim 1, it is characterised in that
Described xml character string includes systematic name, subsystem title, Apply Names and the form parameters that current form needs call.
3. the method for claim 1, it is characterised in that
Described system initialization, the step of Accreditation System resource includes: resolve about the data base configuration file connected, the registration of data base's connection, system registry, subsystem register, service registry;Loading system configuration parameter also loads context relation Context.
4. the method for claim 1, it is characterised in that
Described service includes infrastructure service, and for calling of required application, infrastructure service comprises the function of the process to data and data manipulation.
5. the method for claim 1, it is characterised in that
Described Request object is used for data in the transmission represented between layer, service layer and data persistence layer.
6. method as claimed in claim 5, it is characterised in that
Described represent layer, for carrying out interaction with user, be controlled by B/S client and/or C/S client.
7. the method for claim 1, it is characterised in that
Described system is to connect data base by JNDI mode, and data base is Oracle, DB2 or SQLServer data base.
8. the method for claim 1, it is characterised in that
Also include: the service in reusing of described system support service, i.e. same system carries out repeating to call.
9. method as claimed in claim 8, it is characterised in that
Farther include: described system also supports that different system interface calls, i.e. far call is the service call between different system.
CN201110419433.7A 2011-12-15 2011-12-15 A kind of control method for application system development Active CN103164200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110419433.7A CN103164200B (en) 2011-12-15 2011-12-15 A kind of control method for application system development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110419433.7A CN103164200B (en) 2011-12-15 2011-12-15 A kind of control method for application system development

Publications (2)

Publication Number Publication Date
CN103164200A CN103164200A (en) 2013-06-19
CN103164200B true CN103164200B (en) 2016-08-03

Family

ID=48587325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110419433.7A Active CN103164200B (en) 2011-12-15 2011-12-15 A kind of control method for application system development

Country Status (1)

Country Link
CN (1) CN103164200B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682123B (en) * 2016-02-18 2019-02-26 浪潮天元通信信息系统有限公司 A kind of method of mobile communication displaying configuration system model upgrading and verification
CN106844030A (en) * 2017-01-23 2017-06-13 郑州云海信息技术有限公司 A kind of cli order lines processing method and processing device
CN107943983B (en) * 2017-11-30 2022-04-15 北京酷我科技有限公司 Method for managing operation of multiple databases on Android
CN109725901B (en) * 2018-05-31 2024-03-29 中国平安人寿保险股份有限公司 Front-end code development method, device, equipment and computer storage medium
CN113722115A (en) * 2020-05-26 2021-11-30 北京沃东天骏信息技术有限公司 Method, device, equipment and computer readable medium for calling interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109993A (en) * 2010-12-23 2011-06-29 东莞市高明企业服务有限公司 SOA-based patent agency collaborative management system development method and system
EP2388701A1 (en) * 2010-05-17 2011-11-23 Siemens Aktiengesellschaft Method and apparatus for providing a service implementation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2388701A1 (en) * 2010-05-17 2011-11-23 Siemens Aktiengesellschaft Method and apparatus for providing a service implementation
CN102109993A (en) * 2010-12-23 2011-06-29 东莞市高明企业服务有限公司 SOA-based patent agency collaborative management system development method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
动态表单系统设计与实现;郭永辉;《万方学位论文数据库》;20070814;正文第2.3.1-2.3.2, 2.4.3.2, 4.3.1节 *
基于SaaS模式的智能表单管理平台的研究与实现;魏萌;《万方学位论文数据库》;20101231;正文第4.2.1节 *

Also Published As

Publication number Publication date
CN103164200A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN109087004B (en) Public workflow engine system based on domain model
CN101408899B (en) Method and apparatus for switching website multiple data sources
CN103164200B (en) A kind of control method for application system development
US10496053B2 (en) Method for integrated data handling for engineering and operating a plant
CN102541996B (en) JDBC (java database connectivity) based data access layer building method and device utilizing same
CN105740411B (en) A kind of data migration method based on SOA and WebService
US20070061304A1 (en) Middleware and a method for implementing business logic using it
CN105893055B (en) Flow engine hardware and software platform triggering method
CN101256492A (en) Software development method and system for executing model drive structure
CN101976199A (en) Object-oriented middleware distributed system development platform
US20040172637A1 (en) Code morphing manager
US20080163266A1 (en) Mechanism for transparently interfacing with a third party version control system
CN102222278A (en) Operation process customizing method and device
US11277303B1 (en) Declarative specification based override mechanism for customizing data centers deployed on cloud platforms
Hou Design and implementation of the framework for Spring+ SpringMVC+ MyBatis in the development of web application
CN110109893A (en) The method and apparatus of data modeling and operation
CN1314225C (en) System for realizing open telecommunication business based on XML file and thereof
El-Khoury et al. Supporting the linked data approach to maintain coherence across rich EMF models
CN111813836A (en) Method for improving Ethereum block chain system expansibility
JP2011159275A (en) Computer method and system for providing access to data of target system
CN113110920B (en) Operation method, device, equipment and storage medium of block chain system
Biehl et al. Model-based service discovery and orchestration for OSLC services in tool chains
Deng et al. Addressing domain evolution challenges in software product lines
CN100442721C (en) A method and system for reuse of OCL-based configuration
CN102467504A (en) Design method of relational database-based workflow engine system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant