CN105302625A - Transplantable middle database system - Google Patents
Transplantable middle database system Download PDFInfo
- Publication number
- CN105302625A CN105302625A CN201510715949.4A CN201510715949A CN105302625A CN 105302625 A CN105302625 A CN 105302625A CN 201510715949 A CN201510715949 A CN 201510715949A CN 105302625 A CN105302625 A CN 105302625A
- Authority
- CN
- China
- Prior art keywords
- middle database
- interface
- module
- upper layer
- business
- 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
- 230000006870 function Effects 0.000 claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000012797 qualification Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 14
- 230000008569 process Effects 0.000 abstract description 10
- 238000011161 development Methods 0.000 abstract description 9
- 230000008859 change Effects 0.000 abstract description 5
- 230000001360 synchronised effect Effects 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 4
- 230000007306 turnover Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 201000006549 dyspepsia Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a transplantable middle database system. The system comprises a middle database and an upper application, wherein the middle database is used for providing functions required for the upper application; the upper application is used for realizing required businesses according to the functions provided by the middle database; and the middle database is in bridge connection with the upper application. A public business process of multiple platforms has only one set of middleware codes; during development and change of public business, extremely short development cycle and extremely high stability in theory can be achieved; the cycle of coming into the market is shortened by utilizing a middleware framework; codes are unified for clients in multiple modes, so that compared with the development amount of separately developed client software, the development amount is greatly reduced; when software problems in the business process occur, the software is modified successfully in one client and then can be quickly synchronized to the clients in all modes; and the convergence of the total amount of related problems in the business process is extremely rapid, and corresponding codes are high in readability, so that new employees can rapidly start working.
Description
Technical field
The present invention relates to software field, particularly a kind of portable obtains middle database system.
Background technology
Along with propelled at high velocity and the development of the trend thinking of " internet+" and the Internet protocols of " hardware thing connection " etc., outside same stable background server cluster and cloud platform, the form of client is more and more diversified, more and more abundanter.On hardware view, we have various mobile phone, various embedded device, various pc etc.; In operating system aspect, we have ios, andriod, windows, linux etc.; On application, again according to we towards different customer groups, have expert user client, young man's subscription client, the elderly's subscription client etc.Although client enormous variety is numerous and diverse, between these clients, have common service.Such as, under most scheme, no matter how huge client kind is numerous and diverse, the interchange agreement between all client and servers is the same; Such as all clients all use Bluetooth function again, all clients you all use http function, the use flow process of these basic functions is the same.
Under internet there is following problem in the exploitation of the operation flow of variform client sometimes:
1. the operation flow of different clients is developed by different team, between different clients, the operation flow details of scheme is understood differently and cause, communication cost is high, overall development amount is larger, operation flow problem always swings between different clients, and operation flow problem amendment efficiency is low, and convergence is slow, amended problem in a kind of client, needs larger communication cost and cost of development ability synchronous vacations in other kind of client.
2. different clients holds the problem such as data processing, business memory management of the multithreading reentry of operation flow, service concurrence, details separately.Different clients is done things in his own way, separately to the understanding of business and increasing to the code difference of business.More toward Later development, R&D costs, maintenance cost, human cost are larger.
3. the business realizing framework that neither one is unified, together with operation flow is entrained in data and with basic function, code writes out later stage indigestion, maintenance and amendment, though first the R&D cycle not obvious, business change, incremental development and the cost of flood tide when safeguarding, can be produced.
Summary of the invention
In view of this, a kind of transplantable middle database system is embodiments provided.
A kind of transplantable middle database system, described system comprises middle database and upper layer application, described middle database is used for providing upper layer application required function, and described upper layer application is used for business needed for the functional realiey that provides according to described middle database, adopts bridge joint between described middle database and described upper layer application.
Alternatively, described upper layer application comprises for providing the application services module of business needed for user, carrying out the application bridge that docks and dock with described application bridge the external function module providing user's required function with middle database.
Alternatively, described middle database comprises:
Related service module, for calling, adjusting back the pure operation flow that message event carries out triggering, described related service module comprises multiple business submodule;
Service distribution module, for calling, callback information event is distributed to different business submodules according to professional qualification;
Message queue module, for calling, the message queue of callback information event;
Inner function module, for functional realiey that can be cross-platform, and carries out transparent transmission between interface modular converter;
Described interface modular converter, the mutual conversion and being used for for C interface and C++ interface accesses the interface of described inner function module;
Business interface, for middle database and upper layer application service interfacing;
External Functionality Interface, docks with upper layer application bridge for middle database;
Described related service module is called or callback events to described service distribution module transparent transmission, and described service distribution module to be called described or callback events is transparent to described upper layer application via message queue module, interface modular converter, business interface and External Functionality Interface.
Alternatively, described middle database is compiled by C language or C Plus Plus, and described upper layer application is the language compilation of residing platform.
Alternatively, described residing platform comprises apple ios platform or Android andriod platform.
Transplantable middle database system provided by the invention, described system comprises middle database and upper layer application, described middle database is used for providing upper layer application required function, described upper layer application is used for business needed for the functional realiey that provides according to described middle database, bridge joint is adopted between described middle database and described upper layer application, common service flow process only a set of middleware code of multi-platform, when the exploitation of common service and change, theoretic minimum construction cycle and superregulated property can be reached, middleware framework is utilized to shorten market periods, polymorphic client Unicode, the exploitation amount comparing the software of a set of client of exploitation separately will reduce a lot, when there is the software issue in operation flow, after successfully modified under a client, the client that can be synchronized to rapidly all forms gets on, the convergence of operation flow relevant issues total amount is exceedingly fast, corresponding code is readable strong, be convenient to the quick left-hand seat of laggard employee.
Accompanying drawing explanation
Fig. 1 is the structural drawing of a kind of embodiment of transplantable middle database system provided by the invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Shown in composition graphs 1, the invention provides a kind of transplantable middle database system, described system comprises middle database 100 and upper layer application 200, described middle database 100 is for providing upper layer application 200 required function, described upper layer application is used for business needed for the functional realiey that provides according to described middle database 100, adopt bridge joint between described middle database 100 and described upper layer application 200, namely adopt the mode of application bridge.
Particularly, described upper layer application comprises for providing the application services module of business needed for user, carrying out the application bridge that docks and dock with described application bridge the external function module providing user's required function with middle database.
Application bridge is functional module that can not be cross-platform, specifically, on different platforms, the compiler language of application bridge is not identical, the concrete system call of bluetooth on the concrete system call of such as, Bluetooth function on ios and andriod is different, because the language that ios platform adopts is objectC, and the language that Android platform adopts is java language, application bridge realizes the message conversion between external function module and External Functionality Interface.
Application services module is the applied business logic on each platform, and application services module only associates with the business interface that applied business is relevant, can reach theoretic extremely letter and maintainable and stability.
Particularly, described middle database comprises:
Related service module, for calling, adjusting back the pure operation flow that message event carries out triggering, described related service module comprises multiple business submodule.
Related service module only states the message of the turnover of pure void, is realized by its each derived class business submodule business submodule.The corresponding derived class business submodule of each concrete operation flow, business submodule is inner by the message trigger passed in and out, and period preserves the related data of this flow process, thus realizes advancing of concrete operation flow.Related service module is pure business module, without any concrete system capability and concrete function, when business itself needs to set out certain function, directly initiates a message and allows outside help process, can achieve business and function full decoupled be separated.
Service distribution module, for calling, callback information event is distributed to different business submodules according to professional qualification.
The message of all concrete business of transparent transmission turnover, period dominates polymorphic structure and the destructor function of each business submodule, and dispatch messages gives each business submodule.
Message queue module, for calling, the message queue of callback information event.
The message of all concrete business of transparent transmission turnover, for the message calling event prepares a piece of news queue, for the message of callback events prepares a piece of news queue, message queue itself meets multithreading reentry, unblock, strictly successively transmits in turn.
Inner function module, for functional realiey that can be cross-platform, and carries out transparent transmission between interface modular converter.
Interface modular converter realizes C++ message (i.e. the call function of C++ and call back function interface) and C message (i.e. the call function of C and call back function interface) and mutually changes, interface modular converter is exactly upwards the interface of pure C again, more general, facilitate the cross-platform transplanting of middleware library.Business is separated completely with function, relative business correlation module, business submodule are pure business modules, inner function module is functional module that can be cross-platform, the function use of inner function module is the message by calling event or callback events turnover, these message by the transparent transmission of interface modular converter, message queue module, are received and dispatched by related service module, business submodule again.
Described interface modular converter, the mutual conversion and being used for for C interface and C++ interface accesses the interface of described inner function module
Business interface, for middle database and upper layer application service interfacing.
External Functionality Interface, docks with upper layer application bridge for middle database;
Business interface and External Functionality Interface are all the interfaces utilizing C language to write.Business interface is the Message Transmission between application services module and middle database, and External Functionality Interface is for the information transmission between application bridge and middle database.
Described related service module is called or callback events to described service distribution module transparent transmission, and described service distribution module to be called described or callback events is transparent to described upper layer application via message queue module, interface modular converter, business interface and External Functionality Interface.
Particularly, described middle database is compiled by C language or C Plus Plus, and described upper layer application is the language compilation of residing platform.
Particularly, described residing platform comprises apple ios platform or Android andriod platform.
The specific implementation of function is separated with the interface of function, these two parts can be comprised, a part is exactly the source code of function specific implementation, another part is exactly the functional interface for the user of function provides, namely the above-mentioned message event called, adjust back, based on the interface of function, can the mutual conversion of practical function interface and business interface, be that the realization of business only associates concrete business, the realization of function only associates concrete function.Function can be divided into function and the cross-platform function of Fei Ke that can be cross-platform, and function that can be cross-platform can be encapsulated into middleware library inside, and non-function that can be cross-platform can be contacted by bridge joint and middleware library, improves portability.
Transplantable middle database system provided by the invention, common service flow process only a set of middleware code of multi-platform, when the exploitation of common service and change, theoretic minimum construction cycle and superregulated property can be reached, middleware framework is utilized to shorten market periods, polymorphic client Unicode, the exploitation amount comparing the software of a set of client of exploitation separately will reduce a lot, when there is the software issue in operation flow, after successfully modified under a client, the client that can be synchronized to rapidly all forms gets on, the convergence of operation flow relevant issues total amount is exceedingly fast, corresponding code is readable strong, be convenient to the quick left-hand seat of laggard employee.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD etc.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
Above a kind of middle database system provided by the present invention is described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (5)
1. a transplantable middle database system, it is characterized in that, described system comprises middle database and upper layer application, described middle database is used for providing upper layer application required function, described upper layer application is used for business needed for the functional realiey that provides according to described middle database, adopts bridge joint between described middle database and described upper layer application.
2. middle database system according to claim 1, it is characterized in that, described upper layer application comprises for providing the application services module of business needed for user, carrying out the application bridge that docks and dock with described application bridge the external function module providing user's required function with middle database.
3. middle database system according to claim 2, is characterized in that, described middle database comprises:
Related service module, for calling, adjusting back the pure operation flow that message event carries out triggering, described related service module comprises multiple business submodule;
Service distribution module, for calling, callback information event is distributed to different business submodules according to professional qualification;
Message queue module, for calling, the message queue of callback information event;
Inner function module, for functional realiey that can be cross-platform, and carries out transparent transmission between interface modular converter;
Described interface modular converter, the mutual conversion and being used for for C interface and C++ interface accesses the interface of described inner function module;
Business interface, for middle database and upper layer application service interfacing;
External Functionality Interface, docks with upper layer application bridge for middle database;
Described related service module is called or callback events to described service distribution module transparent transmission, and described service distribution module to be called described or callback events is transparent to described upper layer application via message queue module, interface modular converter, business interface and External Functionality Interface.
4. middle database system according to claim 1, is characterized in that, described middle database is compiled by C language or C Plus Plus, and described upper layer application is the language compilation of residing platform.
5. middle database system according to claim 4, is characterized in that, described residing platform comprises apple ios platform or Android andriod platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510715949.4A CN105302625B (en) | 2015-10-28 | 2015-10-28 | A kind of transplantable middle database system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510715949.4A CN105302625B (en) | 2015-10-28 | 2015-10-28 | A kind of transplantable middle database system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105302625A true CN105302625A (en) | 2016-02-03 |
CN105302625B CN105302625B (en) | 2018-10-23 |
Family
ID=55199919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510715949.4A Active CN105302625B (en) | 2015-10-28 | 2015-10-28 | A kind of transplantable middle database system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302625B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115292059A (en) * | 2022-07-01 | 2022-11-04 | 浙江大有实业有限公司杭州科技发展分公司 | RPA platform migration method |
CN115695342A (en) * | 2022-10-26 | 2023-02-03 | 中国建设银行股份有限公司 | Message processing method, device, equipment, medium and program product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8266591B2 (en) * | 2006-08-31 | 2012-09-11 | Serena Software, Inc. | Method and system for identifying suspect links between objects |
CN102866925A (en) * | 2012-09-06 | 2013-01-09 | 深圳市九洲电器有限公司 | Communication method and system for middleware and user interface |
CN104572042A (en) * | 2013-10-15 | 2015-04-29 | 航天信息股份有限公司 | Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment |
-
2015
- 2015-10-28 CN CN201510715949.4A patent/CN105302625B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8266591B2 (en) * | 2006-08-31 | 2012-09-11 | Serena Software, Inc. | Method and system for identifying suspect links between objects |
CN102866925A (en) * | 2012-09-06 | 2013-01-09 | 深圳市九洲电器有限公司 | Communication method and system for middleware and user interface |
CN104572042A (en) * | 2013-10-15 | 2015-04-29 | 航天信息股份有限公司 | Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115292059A (en) * | 2022-07-01 | 2022-11-04 | 浙江大有实业有限公司杭州科技发展分公司 | RPA platform migration method |
CN115695342A (en) * | 2022-10-26 | 2023-02-03 | 中国建设银行股份有限公司 | Message processing method, device, equipment, medium and program product |
CN115695342B (en) * | 2022-10-26 | 2025-04-08 | 中国建设银行股份有限公司 | Message processing method, device, equipment, medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN105302625B (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11520825B2 (en) | Method and system for converting one type of data schema to another type of data schema | |
CN101976199A (en) | Object-oriented middleware distributed system development platform | |
CN111240686B (en) | Cloud compiling method and system, terminal device, cloud server and storage medium | |
CN102135885A (en) | Modularized software development architecture | |
CN113505302A (en) | Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment | |
CN109840267B (en) | Data ETL system and method | |
CN103530097B (en) | The implementation method and device of a kind of component across middleware platform | |
US20150066788A1 (en) | Social media integration platform | |
EP3157222A1 (en) | Communication method and system based on assembled communication protocol stack | |
US20130167112A1 (en) | Cross-platform virtual machine and method | |
CN103345386A (en) | Software production method, device and operation system | |
CN113467972A (en) | Communication interface construction method, communication interface construction device, computer equipment and storage medium | |
US20160314107A1 (en) | Collating and intelligently sequencing installation documentation | |
Singh et al. | Innovative ICT Through Cloud Computing. | |
CN102722377B (en) | Network video application processing system based on adaptive communication environment (ACE) framework | |
CN105302625A (en) | Transplantable middle database system | |
KR20130140508A (en) | Apparatus for collecting log information | |
US20130212146A1 (en) | Increased interoperability between web-based applications and hardware functions | |
CN112328184A (en) | Cluster capacity expansion method, device, equipment and storage medium | |
CN110795135A (en) | A method and apparatus for realizing annotated configuration | |
US20110321022A1 (en) | Code generation through metadata programming for mobile devices and web platforms to ease access to web services | |
CN106021270A (en) | Collaborative data intelligence between data warehouse models and big data stores | |
CN113360825A (en) | WebUI automatic test method and device, electronic equipment and storage medium | |
CN111061259A (en) | Incident driving method, system, device and storage medium for walking robot | |
CN116431137A (en) | Cross-development-framework component conversion method, processing system and component conversion device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |