The content of the invention
It is of the invention to solve the problems, such as to be to provide a kind of heterogeneous system integration method and apparatus of facing area medical treatment, no
Only simplify Integrated Solution, the integrated efficiency of lifting, reduce integrated cost, also achieve the decoupling of actual information system in medical institutions
Problem.
To solve the above-mentioned problems, the present invention provides a kind of heterogeneous system integration method of facing area medical treatment,
Including:
One integrated platform is built according to service and flow, the integrated platform includes Enterprise Service Bus, workflow is drawn
Hold up, workflow management module, service management module and access template management module;Pass through stream described in the Developing Workflow Engine
Thread management mould flow in the block, the flow are made of the service in the service management module;According to access way and described
Enterprise Service Bus, develops the access template in the access template management module;By the access template, by Legacy System
Connected with the service, i.e., integrated Legacy System.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, the integrated platform also wraps
Include system management module.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, with the workflow engine
Flow described in layout.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, pass through service-oriented point
The flowsheet simulation is obtained the service by analysis method.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, the access way is
The web service access ways of SOAP modes, web service access ways, the database direct read/write of RESTful modes
Access way, file direct read/write access way, DICOM access ways or HL7 access ways.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, the integrated Legacy System
Process be:
Step 1) analyzes the Legacy System, and determines the Legacy System and the correspondence of the service;
Step 2) is judged in AM access module template library with the presence or absence of the access template for being adapted to the Legacy System;
If step 3) is not present, new access template is developed, and uploads to the integrated platform, then performs the step
2);If in the presence of configure the step 2) selection suitably accesses template, generates AM access module and simultaneously issues the access mould
Block;
Step 4) judges whether that also Legacy System needs to access, if so, then returning to the step 2);If no, open
The dynamic all services for having accessed Legacy System.
A kind of heterogeneous system integration method of facing area medical treatment described above, wherein, the AM access module is derived from
The access template of Cheng Xin.
To solve the above problems, present invention also offers a kind of heterogeneous system integration device of facing area medical treatment,
Including:
Construction platform unit, suitable for building an integrated platform according to service and flow, the integrated platform includes enterprise
Service bus, workflow engine, workflow management module, service management module and access template management module;
Development process unit, suitable for by workflow management mould flow in the block described in the Developing Workflow Engine, wherein,
The flow is made of the service in the service management module;
Exploitation access modular unit, suitable for according to access way and the Enterprise Service Bus, developing the access template
Access template in management module;
Integrated Legacy System unit, suitable for by the access template, Legacy System and the service are connected.
Compared with prior art, the process module in integrated platform and AM access module modularization are realized Gao Shui by the present invention
Flat reuse, reduces the complexity of integrated approach, while integrated deployment scheme agility is ensured, can also Optimal Development into
This;
Further, hierarchy is introduced, reduces the complexity of module coupled relation;
Further, using top-down service discovery method, and rely on service interface with reference to bottom and do not depend on tool
The flow structure principle that body is realized, realizes the decoupling with actual information system in medical institutions, ensures the practicality of integrated platform
Property.
Embodiment
Many details are elaborated in the following description in order to fully understand the present invention.But the present invention can be with
Much implement different from other manner described here, those skilled in the art can be in the situation without prejudice to intension of the present invention
Under do similar popularization, therefore the present invention is not limited to the specific embodiments disclosed below.
Secondly, the present invention is described in detail using schematic diagram, when the embodiment of the present invention is described in detail, for purposes of illustration only, institute
It is example to state schematic diagram, it should not limit the scope of protection of the invention herein.
The present invention is described in detail with reference to the accompanying drawings and examples.The present invention provides a kind of facing area doctor
The integrated approach of the Heterogeneous Information System for the treatment of is as shown in Figure 1, first, perform step S101, according to service and flow structure one
Integrated platform.Specifically, in the present embodiment, collect and arrange medical industry information norm and operation flow, define and meet
The general service cooperation flow of industry standard, i.e., described flow.The general collaboration is flowed by service-oriented analysis method
Journey (flow) is decomposed, and to obtain a business activity collection, and analyzes business activity collection to determine the service.In this implementation
In example, used service-oriented analysis method is SOMA (Service Oriented Modeling Architecture)
Method.According to flow defined above and service, Service-oriented Architecture (SOA, a service-oriented are built
Architecture) integrated platform, the integrated platform include Enterprise Service Bus, workflow engine, workflow management module, clothes
Management module of being engaged in and access template management module, further include system management module, in addition, defining service interaction in integrated platform
Messaging protocol and specification.Wherein, workflow management module includes importing/deletion flow, checks flow and startup/stopping flow etc.
Function;Service management module is included to functions such as the access of service configuration Legacy System and startup/stopping services;Access Template Manager
Module includes that access template uploads, loading access template, unloading access template, generation AM access module, AM access module are derived from into new
Access the functions such as template;System management module includes authority, daily record, audit and statistics etc..
Then, step S102 is performed, passes through workflow management mould flow in the block described in Developing Workflow Engine.Wherein, institute
Flow is stated to be made of the service in the service management module.Specifically, in order to operation flow is changed to being in technological layer
Influence to be preferably minimized caused by system, the service and flow in integrated platform use hierarchy.In the present embodiment, hierarchical structure
As shown in Fig. 2, service is divided into infrastructure service 24 and composite services 23.According to the complexity of workflow engine layout flow,
Flow is divided into basic flow 22 and Complicated Flow 21.Wherein, infrastructure service 24 is service unit most basic in whole platform,
Provide some basic service functions of business scope;Composite services 23 are made of some infrastructure services;Basic flow 22 be by
Basic flow in the business scope that basic service 24 and 23 layout of composite services form;Complicated Flow 21 is by infrastructure service
24th, the flow that composite services 23 and basic 22 layout of flow form.According to the step S101 contracts of service defined and platform institute
The specific Enterprise Service Bus used, (i.e. service interface, does not access Legacy System 26, and service can't open for exploitation service
Move, it is necessary to the connection of AM access module 25), and the service developed is published in the service management module.Used work
It is Java Business Process Management (JBPM, Java Business Process Management) to make stream engine, with it to service
(infrastructure service and complex services) carry out layout, develop the flow defined in step S101.The flow developed is issued
Into the workflow management module.
Since the service that flow is relied on is not docked also with real system, i.e., the service that flow is relied on is one at present
A contract, can't also circulate without concrete implementation, flow, therefore, it is necessary to an access template, by service and real system
Connect.
Then, step S103 is performed, according to specific Enterprise Service Bus used by access way and platform, design connects
Enter template.Wherein, configuration interface, access profile template when the access template includes access Legacy System, access are matched somebody with somebody
Put the program library file relied on when file generator and AM access module operation.Specifically, in the present embodiment, according to medical information
Change field common system integrated approach (web service are called or other interface method of calling) and the read-write of immediate data storehouse are integrated
Classify etc. mode and summarize access way, access way has the web service access ways of SOAP modes, RESTful side
The web service access ways of formula, database direct read/write access way, file direct read/write access way, DICOM accesses
Mode or HL7 access ways etc..In the present embodiment, using the web service access ways of SOAP modes.
It should be noted that the access configuration page that difference ESB and different access ways are used when accessing and configuring also may be used
Can be different.Exemplified by web service access templates in a manner of SOAP, as shown in figure 3, in the configuration that access template may include
Have:(1) agreement, such as http, tcp, udp, jms used by access protocol, i.e. Legacy System exposed interface, and for
Agreement then follows platform service interaction specifications (such as soap over used by the interacting message of service defined in S101
Jms), therefore need not do configuration again in AM access module and specify.(2) chained address (wsdl of service definition file is obtained
url).It should be noted that the configuration is that SOAP web service accesses template is distinctive, other types access template then not
Need.(3) inbound message is changed, i.e., carries out conversion process to inbound messages, can be met and Legacy System interaction
Message format requirement, message conversion regime can have it is a variety of, can use xstl, message transformer chain conversion, based on xml templates
Conversion regime or other conversion regimes.(4) outbound message is changed, i.e., carries out conversion process to outbound message, can
It is enough meet with step S101 defined in service interaction requirement, message conversion regime can have a variety of, can use xstl, disappear
Cease converter chain conversion, the conversion regime based on xml templates or other conversion regimes.
Then, designed access template is developed.Realize after filling in relevant configuration item on the access configuration page,
Fills will be configured to access profile template by accessing configuration file generator, form access profile instance --- access mould
Block.Additionally, it is possible to also need to write program (program library file relied on when i.e. AM access module is run) to handle the logic of complexity.
After the completion of exploitation, by template all the elements, (configuration file, access profile template during access Legacy System, access configure
The program library file that file generator and AM access module rely on when running) packing.Integrated platform is uploaded to after access template packing.
It should be noted that into AM access module, AM access module can also derive from into access template and be used to make for issue after access template configuration
To access the access template of identical Legacy System later.
Followed by, perform step S104, by accessing template, Legacy System and the service are connected, i.e., it is integrated
Legacy System.Specifically, as shown in figure 4, first, performing step S401, the Legacy System is analyzed, and determines that described leave is
System and the correspondence of the service.Determine that service should be provided by which Legacy System defined in step S101.Then, hold
Row step S402, judges to whether there is the access template for being adapted to the Legacy System in AM access module template library, if being not present,
Step S403 is performed, develops new AM access module, the process of exploitation is as described in step S103;Then, step S404 is performed, is uploaded
New access template in the step S403 is to integrated platform, and loading enables the new access template in the form of plug-in unit, then returns
Return step S402.If in the presence of execution step S405, configures selected suitable access template, according to access template configuration
Page configuration accesses Legacy System;Then, step S406 is performed, AM access module is generated and issues the AM access module, is integrated flat
The AM access module generated after the completion of configuration is packaged into ESB engineerings and is published on ESB by platform console, then corresponding service can open
It is dynamic, as shown in Fig. 2, Legacy System 26 is connected by AM access module 25 and infrastructure service 24;Then, step S407 is performed,
Judge whether that also Legacy System needs to access, if so, then return to step S402;If nothing, step S408 is performed, described in startup
All services of Legacy System are accessed.And so on, until all services that flow is relied on all are completed to configure, and at this time, stream
Journey also just starts and circulation is got up.
Corresponding to the heterogeneous system integration method of above-mentioned facing area medical treatment, the embodiment of the present invention additionally provides one kind
The heterogeneous system integration device of facing area, as shown in figure 5, including construction platform unit 1, development process unit 2, exploitation
Access modular unit 3 and integrated Legacy System unit 4.
The construction platform unit 1 is suitable for building an integrated platform according to service and flow.Wherein, the integrated platform
Including Enterprise Service Bus, workflow engine, workflow management module, service management module and access template management module, go back
Including system management module.
The development process unit 2 is suitable for passing through workflow management mould flow in the block described in the Developing Workflow Engine.
Wherein, the flow is made of the service in the service management module, and the workflow engine is Business Process Management.
Exploitation access modular unit 3 is suitable for according to access way and the Enterprise Service Bus, develops the access template
Access template in management module.Wherein, the access way is the web service access ways of SOAP modes, RESTful
The web service access ways of mode, database direct read/write access way, file direct read/write access way, DICOM connect
Enter mode or HL7 access ways.
Integrated Legacy System unit 4 is suitable for by the access template, and Legacy System and the service are connected.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair
Bright technical solution makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention
Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention
Protection domain.