CN106227545A - The method for designing of development platform and device - Google Patents
The method for designing of development platform and device Download PDFInfo
- Publication number
- CN106227545A CN106227545A CN201610607297.7A CN201610607297A CN106227545A CN 106227545 A CN106227545 A CN 106227545A CN 201610607297 A CN201610607297 A CN 201610607297A CN 106227545 A CN106227545 A CN 106227545A
- Authority
- CN
- China
- Prior art keywords
- development
- development platform
- serviced component
- operational order
- platform
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
- G06F9/449—Object-oriented method invocation or resolution
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses the method for designing of a kind of development platform, the method for designing of described development platform includes: configure development kit corresponding to development language and the communications adapter of correspondence;Calling the development kit that the described development language of configuration is corresponding, exploitation realizes front end applications and the back-end server that in development platform, various development languages are corresponding;Call the described communications adapter of configuration, described development platform carries out between front end applications and back-end server communication.The invention also discloses the design device of a kind of development platform.The present invention improves the suitability of development platform.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to method for designing and the device of a kind of development platform.
Background technology
Along with various development language quilts such as the development of computer technology, Java language .NET language, ObjectiveC language
It is widely used in the realization of various development platform.Generally, a development platform is created by single a kind of development language, due to respectively
Individual development language has respective merits and demerits, and such as, Java language has feature safe and stable, efficient, is especially suitable for
The backend application of development platform, but low for front end applications then development efficiency, and the exploitation using each development language to realize is put down
Platform is difficult to cover different application scene, and in prior art, the suitability of development platform is relatively low.
Summary of the invention
Present invention is primarily targeted at a kind of method for designing and the method proposing development platform, it is intended to solve existing exploitation
The technical problem that the suitability of platform is relatively low.
For achieving the above object, the method for designing of a kind of development platform that the present invention provides, the design of described development platform
Method includes:
Configure development kit corresponding to development language and the communications adapter of correspondence;
Calling the development kit that the described development language of configuration is corresponding, exploitation realizes various development languages in development platform
Corresponding front end applications and back-end server;
Call the described communications adapter of configuration, carry out between front end applications and back-end server in described development platform
Communication.
Preferably, described in call the described communications adapter of configuration, in described development platform, front end applications takes with rear end
Before carrying out the step of communication between business device, also include:
Configure the serviced component that described development platform is corresponding;
Generate the instruction name that operational order is corresponding, and described instruction name is saved in the association of corresponding operational order
In described serviced component;
The described described communications adapter calling configuration, in described development platform between front end applications and back-end server
The step carrying out communication includes:
When front end applications call operation instructs, by described communications adapter, described operational order is converted to correspondence
Instruction name, and described instruction name is sent to described serviced component;
When described serviced component receives described instruction name, inquire about the instruction name associating preservation in described serviced component
Claim and operational order, obtain the operational order that the described instruction name received is corresponding, and the described operational order obtained is sent out
Deliver to described back-end server, perform corresponding operating for described back-end server according to described operational order.
Preferably, the step of the serviced component that the described development platform of described configuration is corresponding includes:
Java Object-Oriented Programming Language is used to configure the serviced component that described development platform is corresponding, wherein, described service
Assembly includes standard data services assembly, function services assembly and the serviced component that branches out.
Preferably, the method for designing of described development platform also includes:
Configure multiple data bases that described development platform is corresponding, receive described service group for described back-end server
During the database operating instruction that part sends, from multiple data bases, access the data base that described database operating instruction is corresponding.
Preferably, the method for designing of described development platform also includes:
Configure multiple operating systems that described development platform is corresponding, so that described development platform is in multiple described operating systems
In all can run.
Additionally, for achieving the above object, the present invention also proposes the design device of a kind of development platform, described development platform
Design device includes:
Configuration module, for configuring development kit corresponding to development language and the communications adapter of correspondence;
Development module, for calling the development kit that the described development language of configuration is corresponding, exploitation realizes development platform
In front end applications corresponding to various development languages and back-end server;
Processing module, for calling the described communications adapter of configuration, front end applications and rear end in described development platform
Communication is carried out between server.
Preferably, described configuration module, it is additionally operable to configure the serviced component that described development platform is corresponding;And generate operation
The instruction name that instruction is corresponding, and described instruction name is saved in described serviced component with the association of corresponding operational order;
Described processing module, for when front end applications call operation instructs, by described communications adapter by described behaviour
Make instruction and be converted to the instruction name of correspondence, and described instruction name is sent to described serviced component;And in described service
When assembly receives described instruction name, inquire about instruction name and the operational order associating preservation in described serviced component, obtain
The operational order that the described instruction name that receives is corresponding, and the described operational order that will obtain sends to described back-end services
Device, performs corresponding operating for described back-end server according to described operational order.
Preferably, described configuration module is used for:
Java Object-Oriented Programming Language is used to configure the serviced component that described development platform is corresponding, wherein, described service
Assembly includes standard data services assembly, function services assembly and the serviced component that branches out.
Preferably, described configuration module is additionally operable to:
Configure multiple data bases that described development platform is corresponding, receive described service group for described back-end server
During the database operating instruction that part sends, from multiple data bases, access the data base that described database operating instruction is corresponding.
Preferably, described configuration module is additionally operable to:
Configure multiple operating systems that described development platform is corresponding, so that described development platform is in multiple described operating systems
In all can run.
The method for designing of the development platform that the present invention proposes and device, when developing Platform Designing, first configure various
Development kit that development language is corresponding and the communications adapter of correspondence, the various development languages then calling configuration are corresponding
Development kit, exploitation realizes front end applications and the back-end server that in development platform, various development languages are corresponding, by adjusting
Realize the communication between front end applications and back-end server with the communications adapter of configuration, thus realize each of this development platform
Kind of application function, namely the present invention can need to use different development language to realize various different application according to difference, therefore,
Improve the suitability of development platform.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for designing first embodiment of development platform of the present invention;
Fig. 2 is the schematic flow sheet of method for designing second embodiment of development platform of the present invention;
Fig. 3 is the high-level schematic functional block diagram of the design device first embodiment of development platform of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides the method for designing of a kind of development platform.With reference to the design side that Fig. 1, Fig. 1 are development platform of the present invention
The schematic flow sheet of method first embodiment.In the present embodiment, the method for designing of described development platform comprises the following steps:
Step S10, configures development kit corresponding to development language and the communications adapter of correspondence;
At present, various development platforms are the most all the development platforms created by single development language, but different development language
Having respective pluses and minuses, such as, Java language has feature safe and stable, efficient, is especially suitable for the backend application of platform, but
Low for front end applications then development efficiency, the most just it is not suitable for desktop application..NET language development aboundresources, learning cost
Low, quick, efficient, attractive in appearance, flexible, it is suitable for front end applications exploitation, desktop application degree of integration is high, but is not suitable for rear end exploitation.
PB language is wlan database application development tool, and efficiency is high, and performance is remarkable, low to exploitation personnel requirement, but is not suitable for mutually
Application and development under networked environment.ObjC (ObjectiveC) language is the mobile terminal such as smart mobile phone, PAD (panel computer)
Proprietary developing instrument, high for front end efficiency, but poor with rear end large database binding ability, need special rear end to develop
Personnel coordinate.
In order to make full use of the exploitation advantages of various development language, and avoid its inferior position, in the present embodiment, design
A kind of development platform, the front end development language of this development platform and rear end development language can be different.Specifically, first configuration should
For the development kit that various development languages are corresponding in development platform.Such as, the service layer JDK in development platform configures Java
JDK development kit, Android JDK development kit, C#JDK development kit, WP JDK development kit, ObjC JDK
The various SDKs such as development kit, Python JDK development kit, PB JDK development kit.
Further, can be different, in this development platform due to front end development language and the rear end development language of this development platform
Front end development language different with rear end development language time, in order to realize the communication between the front-end and back-end of this development platform,
Also configure that communications adapter corresponding for various development languages in this development platform.Such as, configuration Java to Java communication
Adapter .NET to Java communications adapter, ObjC to Java communications adapter, Python to Java communications adapter
Deng.
Step S20, calls the development kit that the described development language of configuration is corresponding, and exploitation realizes in development platform various
Front end applications that development language is corresponding and back-end server;
According to the development kit that the various development languages configured before are corresponding, call these development kits, exploitation
Realize front end applications and back-end server that in this development platform, various development languages are corresponding.Such as, non-due to Java language
Often it is suitable for the backend application of platform, it is therefore preferred that use Java language to develop the back-end server of this development platform.And for
In this development platform front end applications, corresponding development language can be selected flexibly according to different applicable cases, for example, it is possible to select
Java language .NET language, ObjC language, Python etc. carry out front end applications exploitation, it is achieved different development language is corresponding
Front end applications and back-end server.
Further, in the present embodiment, also configure that the front end corresponding for various development languages of this development platform represents
Layer framework, represents that layer framework includes the Development Framework such as Java WebFrame .NET WebFrame .NET WinFrame.This is opened
Send out platform multiple development language mixed characteristic the front end that each development language is corresponding is represented layer framework can share backstage
Logic.Front end represents that layer framework has comprised user's management, Role Management, menu management, resource management, system journal etc., exploitation
Person this front end can be used to represent layer framework directly develops oneself required front end applications, namely facilitate front end applications exploitation.
Step S30, calls the described communications adapter of configuration, front end applications and back-end server in described development platform
Between carry out communication.
Owing to front end applications and back-end server are to use different development language to realize, therefore, front end applications and rear end
Cannot directly carry out communication before server, in the present embodiment, call the corresponding communications adapter configured and realize
Communication between front end applications and the back-end server of this development platform.Such as, if front end applications uses .NET language development real
Existing, back-end server uses Java language exploitation to realize, then by calling the .NET to Java communications adapter realization of configuration
Communication between front end applications and back-end server in this development platform.
Owing to different development languages can be used to realize front end applications and the back-end server of this development platform, this exploitation
The separable realization in front-end and back-end of platform and can perfect cooperation, the developer being good at various different development language is permissible
Carry out front-end and back-end to share out the work and help one another, close fit, form a novel team with unified goal and different task, from former
The same technology come is wrapped entirely, and the division of labor of different technologies till now is conducive to improving the work efficiency of each developer, thus
Make a perfect novel team.
The scheme that the present embodiment proposes, when developing Platform Designing, first configures the exploitation that various development language is corresponding
Tool kit and the communications adapter of correspondence, then call the development kit that the various development languages of configuration are corresponding, and exploitation is real
Show front end applications and back-end server that in development platform, various development languages are corresponding, by calling the communications adapter of configuration
Realize the communication between front end applications and back-end server, thus realize the various application functions of this development platform, due to can
To need to use different development language to realize various different front end applications according to difference, improve the suitability of development platform.
Further, as in figure 2 it is shown, method for designing second based on first embodiment proposition development platform of the present invention is implemented
Example.In a second embodiment, before described step S30, also include:
Step S40, configures the serviced component that described development platform is corresponding;
Step S50, generates the instruction name that operational order is corresponding, and is closed with corresponding operational order by described instruction name
UNPROFOR exists in described serviced component;
Described step S30 includes:
Step S31, when front end applications call operation instructs, is changed described operational order by described communications adapter
For corresponding instruction name, and described instruction name is sent to described serviced component;
Step S32, when described serviced component receives described instruction name, inquires about association in described serviced component and preserves
Instruction name and operational order, obtain the operational order that the described instruction name that receives is corresponding, and the described behaviour that will obtain
Make instruction to send to described back-end server, perform corresponding operating for described back-end server according to described operational order.
On the basis of first embodiment, in the present embodiment, also configure that the serviced component that this development platform is corresponding.Specifically
Ground, described step S40 includes:
Step a, uses Java Object-Oriented Programming Language to configure the serviced component that described development platform is corresponding, wherein, institute
State serviced component and include standard data services assembly, function services assembly and the serviced component that branches out.
Owing to Java language is especially suitable for the backend application of platform, it is therefore preferred that use Java language to develop this exploitation
The back-end server of platform and configure the serviced component that this development platform is corresponding, serviced component docking back-end server.Wherein,
Serviced component includes standard data services assembly, function services assembly and the assembly etc. that branches out.Specifically, standard data services
Assembly includes providing application system service, sql command service, storing process service, data window service, single database transaction clothes
Business, multiple database Transaction Service etc., standard data services assembly is contained at the backstage of more than the 90% of conversational traffic application system
Reason demand and back-end component need not be developed.Function services assembly includes again optional function serviced component and systemic-function service group
Part, optional function serviced component has SMS (Short Message Service, short message service), E-Mail (Email),
The expanded functions such as JSM (Java Message Service, Java Message Service), use for special occasions.Message is for different
The intercommunication of construction system, data exchange, and when using JMS to send message, client need not wait for the arrival of news processed, even
It is to be delivered.Client has only to message is issued message broker, it is possible to be sure of that message can be delivered to suitable target.Cause
For waiting, client just can perform other tasks, owing to this method can be the most time-consuming, and the property of client
Can be able to be greatly enhanced.SMS is based on database purchase short message receiving-transmitting, gateway support, note cat two ways, and supports
Window, Linux platform.E-Mail, based on database purchase mail transmission/reception, supports pop3, stmp mail transmission/reception, and supports
Window, Linux platform.Systemic-function serviced component provides the parametrization maintenance of development platform system itself, caching, qualification etc.
Basic system services.The serviced component that branches out provides extension element system, only needs easy configuration or encapsulation, can be by Java
Bean, WebService or COM/COM+ become the extension element of development platform, and this also embodies the motility of development platform, height
Autgmentability and high availability.
Further, in the present embodiment, various operational orders are carried out correspondingly alias identifications, such as, generates various operation
Each instruction name that instruction is corresponding.And operational order association corresponding for each instruction name is saved in the service of configuration
In assembly, namely serviced component is preserved the corresponding relation of operational order and instruction name.
When front end applications call operation instructs, the most directly transmit this operational order and relevant parameter, but by adjusting
This operational order is converted to corresponding instruction name, by this instruction name with corresponding by the communications adapter corresponding by front end applications
Parameter sends to serviced component.Namely when call operation instructs, it is only necessary to send instruction name corresponding to operational order and phase
Answer parameter, without sending execution command statement corresponding to operational order and relevant parameter.Thus improve operational order
Transmission speed, and, also it is effectively prevented from the relevant informations such as execution command statement are exposed to network and outer end, improves safety
Property.
When serviced component receives instruction name, the instruction name associating preservation in inquiry serviced component is corresponding
Operational order, obtains the operational order that this instruction name of receiving of serviced component is corresponding, and the operational order that will obtain sends
To back-end server.Back-end server, when receiving this operational order, performs corresponding operating according to this operational order.
Further, in the present embodiment, the method for designing of described development platform also includes:
Step b, configures multiple data bases that described development platform is corresponding, for described back-end server receive described
During the database operating instruction that serviced component sends, from multiple data bases, access the data that described database operating instruction is corresponding
Storehouse.
Owing to needing to access data base under many circumstances, therefore, in the present embodiment, also configure that this development platform
Corresponding multiple data bases, such as, configure oracle database, sybase database, DB2 data base, SQL Server data
Multiple data bases such as storehouse, informix database, MySQL database.Preferably, can create to use dynamic connection to database mode
Build multiple data bases of this development platform.Each data base has each self-corresponding Relational database operational order, is calling certain
During one database operating instruction, database operating instruction is sent to back-end server by serviced component, when back-end server connects
When receiving this database operating instruction, back-end server determines the data base that this database operating instruction is corresponding, and accesses this number
According to the data base that storehouse operational order is corresponding, in the data base accessed, perform corresponding operating according to this database operating instruction, enter
The relevant issues of row data base process.Owing to being configured with multiple data base, therefore, this development platform achieves multiple data base's
Handover access, and achieve the issued transaction of integration across database.
Further, in the present embodiment, the method for designing of described development platform also includes:
Step c, configures multiple operating systems that described development platform is corresponding, so that described development platform is multiple described behaviour
Make system all can be run.
In the present embodiment, multiple operating systems corresponding to this development platform, such as configuration Windows operation system are also configured that
Multiple main conventional operating system such as system, (SuSE) Linux OS, Unix operating system.This development platform can be in configuration
Multiple operating systems are run, it is achieved that the application of cross operating system, thus further improve being suitable for of this development platform
Property.
The scheme that the present embodiment proposes, each instruction name corresponding by generating various operational orders, and each is referred to
Title is made to be saved in serviced component, when front end applications call operation instructs, the most directly with the association of corresponding operational order
Transmit this operational order and relevant parameter, but by calling communications adapter corresponding to front end applications, this operational order is changed
For corresponding instruction name, this instruction name and relevant parameter are sent to serviced component, namely when call operation instructs, only
Need to send instruction name corresponding to operational order and relevant parameter, the execution order language corresponding without sending operational order
Sentence and relevant parameter, thus improve the transmission speed of operational order.
The present invention further provides the design device of a kind of development platform.
With reference to the high-level schematic functional block diagram of the design device first embodiment that Fig. 3, Fig. 3 are development platform of the present invention, the
In one embodiment, the design device of this development platform includes:
Configuration module 10, for configuring development kit corresponding to development language and the communications adapter of correspondence;
At present, various development platforms are the most all the development platforms created by single development language, but different development language
Having respective pluses and minuses, such as, Java language has feature safe and stable, efficient, is especially suitable for the backend application of platform, but
Low for front end applications then development efficiency, the most just it is not suitable for desktop application..NET language development aboundresources, learning cost
Low, quick, efficient, attractive in appearance, flexible, it is suitable for front end applications exploitation, desktop application degree of integration is high, but is not suitable for rear end exploitation.
PB language is wlan database application development tool, and efficiency is high, and performance is remarkable, low to exploitation personnel requirement, but is not suitable for mutually
Application and development under networked environment.ObjC (ObjectiveC) language is the mobile terminal such as smart mobile phone, PAD (panel computer)
Proprietary developing instrument, high for front end efficiency, but poor with rear end large database binding ability, need special rear end to develop
Personnel coordinate.
In order to make full use of the exploitation advantages of various development language, and avoid its inferior position, in the present embodiment, design
A kind of development platform, the front end development language of this development platform and rear end development language can be different.Specifically, configuration module 10
First development kit corresponding for various development languages in this development platform is configured.Such as, in the service layer of development platform
JDK configuration Java JDK development kit, Android JDK development kit, C#JDK development kit, WP JDK develop work
The various software development works such as tool bag, ObjC JDK development kit, Python JDK development kit, PB JDK development kit
Tool bag.
Further, can be different, in this development platform due to front end development language and the rear end development language of this development platform
Front end development language different with rear end development language time, in order to realize the communication between the front-end and back-end of this development platform,
Configuration module 10 also configures that communications adapter corresponding for various development languages in this development platform.Such as, configuration Java to
Java communications adapter .NET to Java communications adapter, ObjC to Java communications adapter, Python to Java are logical
News adapter etc..
Development module 20, for calling the development kit that the described development language of configuration is corresponding, it is flat that exploitation realizes exploitation
Front end applications that in platform, various development languages are corresponding and back-end server;
The development kit corresponding according to configuring various development languages that module 10 configured before, development module 20 is called
These development kits, exploitation realizes front end applications and the back-end server that in this development platform, various development languages are corresponding.
Such as, owing to Java language is especially suitable for the backend application of platform, it is therefore preferred that development module 20 uses Java language to develop
The back-end server of this development platform.And it being directed to this development platform front end applications, development module 20 can be according to different application
Situation selects corresponding development language flexibly, for example, it is possible to select Java language .NET language, ObjC language, Python
Etc. carrying out front end applications exploitation, it is achieved front end applications that different development language is corresponding and back-end server.
Further, in the present embodiment, configuration module 10 also configures that the corresponding for various development languages of this development platform
Front end represent a layer framework, represent that layer framework includes that Java WebFrame .NET WebFrame .NET WinFrame etc. open
Send out framework.The multiple development language mixed characteristic of this development platform makes the front end that each development language is corresponding represent, and a layer framework can
With shared background logic.Front end represents that layer framework has comprised user's management, Role Management, menu management, resource management, system day
Will etc., developer this front end can be used to represent layer framework directly develops oneself required front end applications, namely facilitate front end should
With exploitation.
Processing module 30, for calling the described communications adapter of configuration, in described development platform front end applications with after
Communication is carried out between end server.
Owing to front end applications and back-end server are to use different development language to realize, therefore, front end applications and rear end
Cannot directly carry out communication before server, in the present embodiment, processing module 30 is called the corresponding communication configured and is fitted
Orchestration realizes the communication between the front end applications of this development platform and back-end server.Such as, if front end applications uses .NET
Language development realizes, and back-end server uses Java language exploitation to realize, then processing module 30 is by calling the .NET to of configuration
Java communications adapter realizes the communication in this development platform between front end applications and back-end server.
Owing to different development languages can be used to realize front end applications and the back-end server of this development platform, this exploitation
The separable realization in front-end and back-end of platform and can perfect cooperation, the developer being good at various different development language is permissible
Carry out front-end and back-end to share out the work and help one another, close fit, form a novel team with unified goal and different task, from former
The same technology come is wrapped entirely, and the division of labor of different technologies till now is conducive to improving the work efficiency of each developer, thus
Make a perfect novel team.
The scheme that the present embodiment proposes, when developing Platform Designing, configuration module 10 first configures various development language
Corresponding development kit and the communications adapter of correspondence, development module 20 calls corresponding the opening of various development languages of configuration
Sending out tool kit, exploitation realizes front end applications and the back-end server that in development platform, various development languages are corresponding, processing module
30 by calling the communication that the communications adapter of configuration realizes between front end applications and back-end server, thus realizes this exploitation
The various application functions of platform, owing to needing to use different development language to realize various different front end applications according to difference,
Improve the suitability of development platform.
Further, design device second embodiment of development platform of the present invention is proposed, second based on first embodiment
In embodiment, described configuration module 10, it is additionally operable to configure the serviced component that described development platform is corresponding;And generation operational order
Corresponding instruction name, and described instruction name is saved in described serviced component with the association of corresponding operational order;
Described processing module 30, for when front end applications call operation instructs, by described communications adapter by described
Operational order is converted to the instruction name of correspondence, and sends described instruction name to described serviced component;And at described clothes
When business assembly receives described instruction name, inquire about instruction name and the operational order associating preservation in described serviced component, obtain
Take the operational order that the described instruction name received is corresponding, and the described operational order obtained is sent to described back-end services
Device, performs corresponding operating for described back-end server according to described operational order.
On the basis of first embodiment, in the present embodiment, configuration module 10 also configures that the service that this development platform is corresponding
Assembly.Specifically, described configuration module 10 is used for:
Java Object-Oriented Programming Language is used to configure the serviced component that described development platform is corresponding, wherein, described service
Assembly includes standard data services assembly, function services assembly and the serviced component that branches out.
Owing to Java language is especially suitable for the backend application of platform, it is therefore preferred that configuration module 10 use Java towards
Object programming language configures the serviced component that this development platform is corresponding, serviced component docking back-end server.Wherein, serviced component
Including standard data services assembly, function services assembly and the assembly etc. that branches out.Specifically, standard data services assembly includes
Application system service, sql command service, storing process service, data window service, single database transaction service, majority are provided
According to storehouse Transaction Service etc., standard data services assembly contain more than the 90% of conversational traffic application system background process demand and
Back-end component need not be developed.Function services assembly includes again optional function serviced component and systemic-function serviced component, optional merit
Can have SMS (Short Message Service, short message service), E-Mail (Email), JSM (Java by serviced component
Message Service, Java Message Service) etc. expanded function, use for special occasions.Message is between heterogeneous system
Being in communication with each other, data exchange, and when using JMS to send message, client need not wait for the arrival of news processed, even be delivered.
Client has only to message is issued message broker, it is possible to be sure of that message can be delivered to suitable target.Because need not wait
Treating, client just can perform other tasks, and owing to this method can be the most time-consuming, the performance of client can pole
The earth improves.SMS based on database purchase short message receiving-transmitting, gateway support, note cat two ways, and support window,
Linux platform.E-Mail based on database purchase mail transmission/reception, supports pop3, stmp mail transmission/reception, and support window,
Linux platform.Systemic-function serviced component provides the basis systems such as the parametrization maintenance of development platform system itself, caching, qualification
System service.The serviced component that branches out provide extension element system, only need easy configuration or encapsulation, can by Java Bean,
WebService or COM/COM+ becomes the extension element of development platform, and this also embodies the motility of development platform, high extension
Property and high availability.
Further, in the present embodiment, various operational orders are carried out correspondingly alias identifications by configuration module 10, such as, raw
Become each instruction name that various operational order is corresponding.And operational order association corresponding for each instruction name is saved in
In the serviced component of configuration, namely serviced component is preserved the corresponding relation of operational order and instruction name.
When front end applications call operation instructs, processing module 30 the most directly transmits this operational order and relevant parameter,
But by calling communications adapter corresponding to front end applications, this operational order is converted to the instruction name of correspondence, by this instruction
Title and relevant parameter send to serviced component.Namely when call operation instructs, it is only necessary to send the finger that operational order is corresponding
Make title and relevant parameter, without sending execution command statement corresponding to operational order and relevant parameter.Thus improve
The transmission speed of operational order, and, also it is effectively prevented from the relevant informations such as execution command statement are exposed to network and outer end,
Improve safety.
When serviced component receives instruction name, the instruction name associating preservation in inquiry serviced component is corresponding
Operational order, obtains the operational order that this instruction name of receiving of serviced component is corresponding, and the operational order that will obtain sends
To back-end server.Back-end server, when receiving this operational order, performs corresponding operating according to this operational order.
Further, in the present embodiment, described configuration module 10 is additionally operable to:
Configure multiple data bases that described development platform is corresponding, receive described service group for described back-end server
During the database operating instruction that part sends, from multiple data bases, access the data base that described database operating instruction is corresponding.
Owing to needing to access data base under many circumstances, therefore, in the present embodiment, configuration module 10 also configures that
Multiple data bases that this development platform is corresponding, such as, configure oracle database, sybase database, DB2 data base, SQL
Multiple data bases such as Server data base, informix database, MySQL database.Preferably, dynamic data base can be used
Connected mode creates multiple data bases of this development platform.Each data base has the operation of each self-corresponding Relational database to refer to
Order, when calling some database operating instruction, database operating instruction is sent to back-end server by serviced component, when after
When end server receives this database operating instruction, back-end server determines the data base that this database operating instruction is corresponding,
And access the data base that this database operating instruction is corresponding, in the data base accessed, perform phase according to this database operating instruction
Should operate, the relevant issues carrying out data base process.Owing to being configured with multiple data base, therefore, this development platform achieves many
The handover access of individual data base, and achieve the issued transaction of integration across database.
Further, in the present embodiment, described configuration module 10 is additionally operable to:
Configure multiple operating systems that described development platform is corresponding, so that described development platform is in multiple described operating systems
In all can run.
In the present embodiment, configuration module 10 also configures that multiple operating systems corresponding to this development platform, such as configures
Multiple main conventional operating system such as Windows operating system, (SuSE) Linux OS, Unix operating system.This development platform
Can run in multiple operating systems of configuration, it is achieved that the application of cross operating system, thus further improve this and open
Send out the suitability of platform.
The scheme that the present embodiment proposes, generates, by configuring module 10, each instruction name that various operational order is corresponding,
And each instruction name is saved in serviced component with the association of corresponding operational order, instruct in front end applications call operation
Time, processing module 30 the most directly transmits this operational order and relevant parameter, but the communication corresponding by calling front end applications
This operational order is converted to the instruction name of correspondence by adapter, sends this instruction name and relevant parameter to serviced component,
Namely when call operation instructs, it is only necessary to send instruction name corresponding to operational order and relevant parameter, without transmission
Execution command statement that operational order is corresponding and relevant parameter, thus improve the transmission speed of operational order.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. the method for designing of a development platform, it is characterised in that the method for designing of described development platform includes:
Configure development kit corresponding to development language and the communications adapter of correspondence;
Calling the development kit that the described development language of configuration is corresponding, it is corresponding that exploitation realizes various development languages in development platform
Front end applications and back-end server;
Call the described communications adapter of configuration, lead between front end applications and back-end server in described development platform
News.
2. the method for designing of development platform as claimed in claim 1, it is characterised in that described in call the described communication of configuration and fit
Orchestration, before carrying out the step of communication, also includes in described development platform between front end applications and back-end server:
Configure the serviced component that described development platform is corresponding;
Generate the instruction name that operational order is corresponding, and described instruction name is saved in described with the association of corresponding operational order
In serviced component;
The described described communications adapter calling configuration, is carried out between front end applications and back-end server in described development platform
The step of communication includes:
When front end applications call operation instructs, by described communications adapter, described operational order is converted to the instruction of correspondence
Title, and described instruction name is sent to described serviced component;
When described serviced component receives described instruction name, inquire about described serviced component associates the instruction name of preservation with
Operational order, obtains the operational order that the described instruction name received is corresponding, and is sent extremely by the described operational order obtained
Described back-end server, performs corresponding operating for described back-end server according to described operational order.
3. the method for designing of development platform as claimed in claim 2, it is characterised in that the described development platform of described configuration is corresponding
The step of serviced component include:
Java Object-Oriented Programming Language is used to configure the serviced component that described development platform is corresponding, wherein, described serviced component
Including standard data services assembly, function services assembly and the serviced component that branches out.
4. the method for designing of development platform as claimed in claim 1, it is characterised in that the method for designing of described development platform is also
Including:
Configure multiple data bases that described development platform is corresponding, send out receiving described serviced component for described back-end server
During the database operating instruction sent, from multiple data bases, access the data base that described database operating instruction is corresponding.
5. the method for designing of the development platform as described in any one of claim 1-4, it is characterised in that setting of described development platform
Meter method also includes:
Configure multiple operating systems that described development platform is corresponding, so that described development platform is equal in multiple described operating systems
Can run.
6. the design device of a development platform, it is characterised in that the design device of described development platform includes:
Configuration module, for configuring development kit corresponding to development language and the communications adapter of correspondence;
Development module, for calling the development kit that the described development language of configuration is corresponding, exploitation realizes in development platform each
Plant front end applications corresponding to development language and back-end server;
Processing module, for calling the described communications adapter of configuration, front end applications and back-end services in described development platform
Communication is carried out between device.
7. the design device of development platform as claimed in claim 6, it is characterised in that described configuration module, is additionally operable to configuration
The serviced component that described development platform is corresponding;And generate instruction name corresponding to operational order, and by described instruction name with
Corresponding operational order association is saved in described serviced component;
Described processing module, for when front end applications call operation instructs, is referred to described operation by described communications adapter
Order is converted to the instruction name of correspondence, and sends described instruction name to described serviced component;And at described serviced component
When receiving described instruction name, inquire about instruction name and the operational order associating preservation in described serviced component, obtain and receive
The operational order that the described instruction name that arrives is corresponding, and the described operational order that will obtain sends to described back-end server, with
Corresponding operating is performed according to described operational order for described back-end server.
8. the design device of development platform as claimed in claim 7, it is characterised in that described configuration module is used for:
Java Object-Oriented Programming Language is used to configure the serviced component that described development platform is corresponding, wherein, described serviced component
Including standard data services assembly, function services assembly and the serviced component that branches out.
9. the design device of development platform as claimed in claim 6, it is characterised in that described configuration module is additionally operable to:
Configure multiple data bases that described development platform is corresponding, send out receiving described serviced component for described back-end server
During the database operating instruction sent, from multiple data bases, access the data base that described database operating instruction is corresponding.
10. the design device of the development platform as described in any one of claim 6-9, it is characterised in that described configuration module is also
For:
Configure multiple operating systems that described development platform is corresponding, so that described development platform is equal in multiple described operating systems
Can run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610607297.7A CN106227545B (en) | 2016-07-28 | 2016-07-28 | The design method and device of development platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610607297.7A CN106227545B (en) | 2016-07-28 | 2016-07-28 | The design method and device of development platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106227545A true CN106227545A (en) | 2016-12-14 |
CN106227545B CN106227545B (en) | 2019-09-10 |
Family
ID=57534117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610607297.7A Active CN106227545B (en) | 2016-07-28 | 2016-07-28 | The design method and device of development platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227545B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107634996A (en) * | 2017-09-08 | 2018-01-26 | 苏州数睿云信息技术有限公司 | A kind of framework of unified data and business operation service development platform |
CN109471797A (en) * | 2018-10-23 | 2019-03-15 | 深圳市佰仟金融服务有限公司 | A kind of environment configurations management method, system and terminal device |
CN110471649A (en) * | 2019-07-11 | 2019-11-19 | 广州向导信息科技有限公司 | A kind of development platform and method for writing WEB service end program |
CN113094028A (en) * | 2021-04-29 | 2021-07-09 | 成都星云智联科技有限公司 | Windows desktop program development framework, method and related components |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080097746A1 (en) * | 2006-10-24 | 2008-04-24 | Seiko Epson Corporation | Server device, method used in server device, and computer program |
CN103179133A (en) * | 2013-04-12 | 2013-06-26 | 北京工业大学 | Communication method between client side and server based on entity class |
CN105549982A (en) * | 2016-01-14 | 2016-05-04 | 国网山东省电力公司物资公司 | Automated development platform based on model configuration |
CN105786522A (en) * | 2016-03-17 | 2016-07-20 | 无锡威泰迅电力科技有限公司 | WEB (World Wide Web) front-end universal component unit based on Node. js platform |
-
2016
- 2016-07-28 CN CN201610607297.7A patent/CN106227545B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080097746A1 (en) * | 2006-10-24 | 2008-04-24 | Seiko Epson Corporation | Server device, method used in server device, and computer program |
CN103179133A (en) * | 2013-04-12 | 2013-06-26 | 北京工业大学 | Communication method between client side and server based on entity class |
CN105549982A (en) * | 2016-01-14 | 2016-05-04 | 国网山东省电力公司物资公司 | Automated development platform based on model configuration |
CN105786522A (en) * | 2016-03-17 | 2016-07-20 | 无锡威泰迅电力科技有限公司 | WEB (World Wide Web) front-end universal component unit based on Node. js platform |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107634996A (en) * | 2017-09-08 | 2018-01-26 | 苏州数睿云信息技术有限公司 | A kind of framework of unified data and business operation service development platform |
CN109471797A (en) * | 2018-10-23 | 2019-03-15 | 深圳市佰仟金融服务有限公司 | A kind of environment configurations management method, system and terminal device |
CN110471649A (en) * | 2019-07-11 | 2019-11-19 | 广州向导信息科技有限公司 | A kind of development platform and method for writing WEB service end program |
CN113094028A (en) * | 2021-04-29 | 2021-07-09 | 成都星云智联科技有限公司 | Windows desktop program development framework, method and related components |
CN113094028B (en) * | 2021-04-29 | 2023-11-28 | 成都星云智联科技有限公司 | Windows desktop program development system, method and related components |
Also Published As
Publication number | Publication date |
---|---|
CN106227545B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227545A (en) | The method for designing of development platform and device | |
CN101924798B (en) | Transparent Android component loading method and system based on file types | |
US6816902B1 (en) | Method and system for improving workflow performance in workflow application systems | |
CN102752369B (en) | The supplying method of TV applications service and virtual content service platform | |
CN102348004B (en) | Configuration method of service assembly, system and equipment thereof | |
CN101576978A (en) | Formulating method, implementing method and implementing system of distribution type workflow | |
CN101853152A (en) | Method and system for generating graphical user interface | |
JP6026992B2 (en) | Services and management layer for various data connections | |
CN102520927A (en) | Method, device and terminal for generation logic business of embedded terminal | |
CN113467972A (en) | Communication interface construction method, communication interface construction device, computer equipment and storage medium | |
CN109871221A (en) | A kind of system for deployment mobile application software of quickly installing for mobile terminal device | |
CN104335614A (en) | Mechanism for facilitating dynamic real-time customization of messaging for computing systems | |
CN112202744A (en) | Multi-system data communication method and device | |
CN111045652B (en) | Power distribution network development and service system | |
CN103617021A (en) | Communication system and method of hardware abstraction layer of universal processor in software communication system structure | |
CN108154341A (en) | United Dispatching platform and method of work based on data flow and workflow | |
KR102483313B1 (en) | Service providing system and method supporting batch processing for API service | |
CN104113468A (en) | Session system and session method based on Internet service | |
CN101551758B (en) | System and method for implementing paralleling work of device management and tasks | |
KR102483310B1 (en) | Gateway device for API integration processing and operation method thereof | |
CN112214236A (en) | Method for building management system of application architecture of software rapid development platform | |
CN110908669A (en) | Service additional dependency management method for large-scale micro-service deployment | |
CN109254758A (en) | Software radio system for kylin system and development method thereof | |
CN109214775B (en) | A kind of information system based on cell phone client | |
CN102404290A (en) | System and method for realizing business layer association of virtual switchboard by extending XMPP (extensible messaging and presence protocol) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |