CN105302625B - A kind of transplantable middle database system - Google Patents
A kind of transplantable middle database system Download PDFInfo
- Publication number
- CN105302625B CN105302625B CN201510715949.4A CN201510715949A CN105302625B CN 105302625 B CN105302625 B CN 105302625B CN 201510715949 A CN201510715949 A CN 201510715949A CN 105302625 B CN105302625 B CN 105302625B
- Authority
- CN
- China
- Prior art keywords
- middle database
- upper layer
- module
- interface
- function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006870 function Effects 0.000 claims description 55
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000012797 qualification Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 7
- 230000008859 change Effects 0.000 abstract description 4
- 230000001360 synchronised effect Effects 0.000 abstract description 4
- 238000000034 method Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 201000006549 dyspepsia Diseases 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 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
Transplantable middle database system provided by the invention,The system comprises middle database and upper layer applications,The middle database is for providing upper layer application required function,The upper layer application is used to realize required business according to the function that the middle database provides,Using bridge joint between the middle database and the upper layer application,The multi-platform only a set of middleware code of common service flow,When the exploitation and change of common service,It can reach theoretic minimum development cycle and superregulated property,Shorten market periods using middleware framework,Polymorphic client Unicode,Exploitation amount compared to the software for respectively developing a set of client will be much less,In the software issue on there is operation flow,Under a client it is successfully modified after,It can be synchronized to the client of all forms rapidly up,The convergence of operation flow relevant issues total amount is exceedingly fast,Corresponding code is readable strong,Convenient for the quick left-hand seat of laggard employee.
Description
Technical field
The present invention relates to software field, more particularly to a kind of portable obtains middle database system.
Background technology
Propelled at high velocity with the Internet protocols etc. of the trend thinking and " hardware Internet of Things " of " internet+" and development,
Outside the background server cluster and cloud platform of same stabilization, the form of client is more and more diversified, more and more abundant.Firmly
We have various mobile phones, various embedded devices, various pc etc. in part level;Operating system level
On, we have ios, andriod, windows, linux etc.;On application, but according to we towards different users
Group, there is expert user client, young man's subscription client, the elderly's subscription client etc..Although client enormous variety is numerous
It is miscellaneous, but be that there are common services between these clients.Such as under most schemes, no matter how huge client type is numerous
Miscellaneous, the exchange agreement between all clients and server is the same;Such as all clients all use Bluetooth function again, institute
Having client, you use http functions, and the process for using of these basic functions is the same.
Occasionally there are problems with for the exploitation of the operation flow of variform client under internet:
1. the operation flow of different clients is developed by different team, thin to the operation flow of scheme between different clients
Joint solution is inconsistent, and communication is of high cost, and overall development amount is larger, and operation flow problem is always swung between different clients,
Operation flow problem changes that efficiency is low, and convergence is slow, the amended problem in a kind of client, need larger communication cost and
On development cost ability synchronous vacations to other kind of client.
2. different clients respectively hold the multithreading reentry of operation flow, service concurrence, the data processing of details, business
The problems such as memory management.Different clients are done things in his own way, and are respectively got over to the understanding of business and to the realization code difference of business
Come bigger.The phase develops in the backward, and R&D costs, maintenance cost, human cost are bigger.
3. the unified business realizing frame of neither one, operation flow and data with and with basic function doping together with,
Code writes out later stage indigestion, maintenance and modification, though R&D cycle unobvious for the first time, business change, incremental development and
It will produce the cost of flood tide when safeguarding.
Invention content
In view of this, an embodiment of the present invention provides a kind of transplantable middle database systems.
A kind of transplantable middle database system, the system comprises middle database and upper layer application, the middle database is for carrying
For upper layer application required function, the upper layer application is used to realize required business according to the function that the middle database provides, described
Using bridge joint between middle database and the upper layer application.
Optionally, the upper layer application include for provide the application services module of business needed for user, with middle database into
The application bridge of row docking and the external function module that offer user's required function is provided with the application bridge.
Optionally, the middle database includes:
Related service module, the pure operation flow triggered for calling, adjusting back message event, the related service mould
Block includes multiple business submodules;
Service distribution module, for calling, callback information event to be distributed to different business submodules according to professional qualification
Block;
Message queue module, for calling, the message queue of callback information event;
Inner function module carries out transparent transmission for function realization that can be cross-platform between interface modular converter;
The interface modular converter, for the mutual conversion of C interface and C++ interfaces and for accessing the built-in function
The interface of module;
Business interface, for middle database and upper layer application service interfacing;
External Functionality Interface is docked for middle database with upper layer application bridge;
The related service module is called to the service distribution module transparent transmission or callback events, the service distribution module
By the calling or callback events via message queue module, interface modular converter, business interface and External Functionality Interface transparent transmission
To the upper layer application.
Optionally, the middle database is compiled by C language or C Plus Plus, and the upper layer application is that the language of residing platform is compiled
It translates.
Optionally, the residing platform includes apple ios platforms or Android andriod platforms.
Transplantable middle database system provided by the invention, the system comprises middle database and upper layer application, the centre
Library is used to realize required industry according to the function that the middle database provides for providing upper layer application required function, the upper layer application
Business, using bridge joint, multi-platform common service flow only a set of middleware generation between the middle database and the upper layer application
Code when the exploitation and change of common service, can reach theoretic minimum development cycle and superregulated property, utilize middleware frame
Frame shortens market periods, polymorphic client Unicode, and the exploitation amount compared to the software for respectively developing a set of client is wanted
It is much less, in the software issue on there is operation flow, after successfully modified under a client, can be synchronized to rapidly
The client of all forms gets on, and the convergence of operation flow relevant issues total amount is exceedingly fast, and corresponding code is readable strong, is convenient for laggard member
The quick left-hand seat of work.
Description of the drawings
Fig. 1 is a kind of structure chart of embodiment of transplantable middle database system provided by the invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
In conjunction with shown in Fig. 1, the present invention provides a kind of transplantable middle database systems, and the system comprises middle databases 100
And upper layer application 200, for providing upper layer application 200 required function, the upper layer application is used for according to institute the middle database 100
The function of stating the offer of middle database 100 realizes required business, and bridge joint is used between the middle database 100 and the upper layer application 200,
I.e. by the way of application bridge.
Specifically, the upper layer application include for provide the application services module of business needed for user, with middle database into
The application bridge of row docking and the external function module that offer user's required function is provided with the application bridge.
Application bridge is function module that can not be cross-platform, specifically, the compiler language of application bridge is on different platforms
It is different, such as the specific system calling of Bluetooth function on ios and the specific system calling of bluetooth on andriod are to differ
Sample, because the language that ios platforms use is objectC, and the language that Android platform uses is java language, and application bridge is realized
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 is only with the relevant industry of applied business
Business interface is associated, and can reach theoretic extremely letter and maintainable and stability.
Specifically, the middle database includes:
Related service module, the pure operation flow triggered for calling, adjusting back message event, the related service mould
Block includes multiple business submodules.
Related service module only states the message of the disengaging of pure void, by its each derived class business submodule business submodule
To realize.Each specific operation flow corresponds to a derived class business submodule, is touched by the message passed in and out inside business submodule
Hair, during which preserves the related data of the flow, to realize the traveling of specific operation flow.Related service module is pure business mould
Block, when business itself needs to set out certain function, directly sends out message and allows outside without any specific system capability and concrete function
Face help is handled, may be implemented business and function it is full decoupled and separation.
Service distribution module, for calling, callback information event to be distributed to different business submodules according to professional qualification
Block.
Transparent transmission passes in and out the message of all specific business, during which dominates the polymorphic construction of each business submodule and destructed letter
Number, and dispatch messages give each business submodule.
Message queue module, for calling, the message queue of callback information event.
Transparent transmission passes in and out the message of all specific business, to call the message of event to prepare a piece of news queue, to adjust back thing
The message of part prepares a piece of news queue, and message queue itself meets multithreading and reentries, non-obstruction, strictly successively sequentially transmits.
Inner function module carries out transparent transmission for function realization that can be cross-platform 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 (the i.e. tune of C
With function and call back function interface) mutually conversion, interface modular converter is exactly the interface of pure C upwards again, more generally applicable, is facilitated
The cross-platform transplanting of middleware library.Business and function are kept completely separate, and relative business correlation module, business submodule are pure business moulds
For block, inner function module is function module that can be cross-platform, and the function use of inner function module is by calling event
Or the message of callback events disengaging, these message are further through interface modular converter, the transparent transmission of message queue module, by related service
Module, business submodule are received and dispatched.
The interface modular converter, for the mutual conversion of C interface and C++ interfaces and for accessing the built-in function
The interface of module
Business interface, for middle database and upper layer application service interfacing.
External Functionality Interface is docked for middle database with upper layer application bridge;
Business interface and External Functionality Interface are the interfaces that profit is shown a C language.Business interface is application services module
Message transmission between middle database, External Functionality Interface are transmitted for the information between application bridge and middle database.
The related service module is called to the service distribution module transparent transmission or callback events, the service distribution module
By the calling or callback events via message queue module, interface modular converter, business interface and External Functionality Interface transparent transmission
To the upper layer application.
Specifically, the middle database is compiled by C language or C Plus Plus, and the upper layer application is that the language of residing platform is compiled
It translates.
Specifically, the residing platform includes apple ios platforms or Android andriod platforms.
The separation of the specific implementation of function and the interface of function may include this two parts, and a part is exactly that function is specific
The source code of realization, another part are exactly the functional interface provided for the user of function, i.e., above-mentioned calling, the message thing of readjustment
The mutual conversion of functional interface and business interface may be implemented in part, the interface based on function, is that the realization of business is only associated with specifically
The realization of business, function is only associated with concrete function.Function can be divided into function and the cross-platform functions of Fei Ke that can be cross-platform, can
Cross-platform function can be encapsulated into inside middleware library, and non-function that can be cross-platform can be carried out by bridge joint and middleware library
Contact, improves portability.
Transplantable middle database system provided by the invention, multi-platform common service flow only a set of middleware generation
Code when the exploitation and change of common service, can reach theoretic minimum development cycle and superregulated property, utilize middleware frame
Frame shortens market periods, polymorphic client Unicode, and the exploitation amount compared to the software for respectively developing a set of client is wanted
It is much less, in the software issue on there is operation flow, after successfully modified under a client, can be synchronized to rapidly
The client of all forms gets on, and the convergence of operation flow relevant issues total amount is exceedingly fast, and corresponding code is readable strong, is convenient for laggard member
The quick left-hand seat of work.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can be stored in a kind of computer readable storage medium, on
It can be read-only memory, disk or CD etc. to state the storage medium mentioned.
A kind of middle database system provided by the present invention is described in detail above, for the general technology of this field
Personnel, the thought of embodiment according to the present invention, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the content of the present specification should not be construed as limiting the invention.
Claims (3)
1. a kind of transplantable middle database system, which is characterized in that the system comprises middle database and upper layer application, the centre
Library is used to realize required industry according to the function that the middle database provides for providing upper layer application required function, the upper layer application
Business, using bridge joint between the middle database and the upper layer application;
The upper layer application includes for providing the application services module of business needed for user, being docked with the middle database
Application bridge and the external function module that offer user's required function is provided with the application bridge;
The middle database includes:
Related service module, the pure operation flow triggered for calling, adjusting back message event, the related service module packet
Include multiple business submodules;
Service distribution module, for the calling, readjustment message event to be distributed to the different business according to professional qualification
Submodule;
Message queue module, for preparing the message queue for calling, adjusting back message event;
Inner function module carries out transparent transmission for function realization that can be cross-platform between interface modular converter;
The interface modular converter, for the mutual conversion of C interface and C++ interfaces and for accessing the inner function module
Interface;
Business interface is docked for the middle database with the application services module;
External Functionality Interface is docked for the middle database with the application bridge;
The related service module is called to the service distribution module transparent transmission, adjusts back message event, the service distribution module
By the calling, readjustment message event via the message queue module, the interface modular converter, the business interface and institute
It states External Functionality Interface and is transparent to the upper layer application.
2. middle database system according to claim 1, which is characterized in that the middle database is compiled by C language or C Plus Plus
It translates, the upper layer application is the language compilation of residing platform.
3. middle database system according to claim 2, which is characterized in that the residing platform include apple ios platforms or
Android andriod platforms.
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 CN105302625A (en) | 2016-02-03 |
| CN105302625B true 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) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115292059B (en) * | 2022-07-01 | 2025-09-23 | 浙江大有实业有限公司杭州科技发展分公司 | An RPA platform migration method |
| CN115695342B (en) * | 2022-10-26 | 2025-04-08 | 中国建设银行股份有限公司 | 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 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105302625A (en) | 2016-02-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8443374B2 (en) | Business application integration adapters management system | |
| US20150355954A1 (en) | Trusted client-centric application architecture | |
| CA2511916A1 (en) | System and method of building wireless component applications | |
| CA2511912A1 (en) | System and method for building and execution of platform-neutral generic services' client applications | |
| US9354871B2 (en) | Multi-stage push notifications for software logistic tools | |
| US20080052664A1 (en) | e-ENABLER PRESCRIPTIVE ARCHITECTURE | |
| CN104126186A (en) | Systems and methods for developing multi-platform applications for computing devices | |
| EP1875373A4 (en) | SYSTEM AND METHOD FOR DETECTING DATA SOURCES | |
| CA2540361A1 (en) | System and method for extending capabilities and execution efficiency of script based applications | |
| CN105975351A (en) | User behavior message reporting method and apparatus | |
| CN113467972B (en) | Communication interface construction method and device, computer equipment and storage medium | |
| CN101976199A (en) | Object-oriented middleware distributed system development platform | |
| US20170223147A1 (en) | Communication method and system based on assembled communication protocol stack | |
| US20160048645A1 (en) | Systems and methods for maintaining and processing proprietary or sensitive data in a cloud-hybrid application environment | |
| CN106603583A (en) | Micro-service network building method | |
| CN111062682B (en) | Work order processing method and device | |
| CN105302625B (en) | A kind of transplantable middle database system | |
| WO2019043462A1 (en) | Systems and methods for creating automated interface transmission between heterogeneous systems in an enterprise ecosystem | |
| CN102722377B (en) | Network video application processing system based on adaptive communication environment (ACE) framework | |
| Miravet et al. | Framework for the declarative implementation of native mobile applications | |
| EP2810179B1 (en) | Method and system for implementing a common data interface to web services | |
| CN102385516B (en) | A Design Method of Reconfigurable RFID Middleware Based on Cloud Server | |
| CN106021270A (en) | Collaborative data intelligence between data warehouse models and big data stores | |
| CN114816343B (en) | A small program system within the EPRO software based on the medical clinical field | |
| US20220342742A1 (en) | Graphical management of big data pipelines |
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 |