A kind of general X-ray acquisition system
Technical field
The present invention relates to acquisition systems more particularly to a kind of general X-ray acquisition system that one kind can integrate multiple collector.
Background technique
General X-ray acquisition system mainly includes two big core functions: Image chain and kinematic chain;Image chain function is mainly
In order to realize image acquisition and display function;Kinematic chain requires primarily to meeting patient and putting position and allows rack can
Facilitate the function of realizing Image chain in some position, it is also assumed that kinematic chain is the miscellaneous function of Image chain.They
Purpose be provided to that the image for facilitating diagnosis can be obtained.
Either Image chain or kinematic chain are all made of several core components, wherein mainly include in Image chain:
High pressure generator, beam-defining clipper, grid, ionisation chamber, image collecting device (such as: flat panel detector), bulb and timing control
Unit processed;Kinematic chain mainly includes: motion control unit, rack etc..
Due to the difference of product category, slightly has difference on core component and selectable unit (SU) on kinematic chain and Image chain, cause
They are on function logic and system parameter is also different;In addition, different product types, user is when checking, workflow
It is also difference.Actually X-ray product category is various, and same class product can also be derived perhaps due to modal difference
More products, such as: suspention DR system is just divided into for digital X-ray photography (Digital Radiography, DR) product,
Level bed DR system, U-shaped arm DR system etc..But existing x-ray system do not account for these problems presence and intelligence it is right
It is customized in a certain a specific amount of product body, then bring maintenance cost and exploitation when doing other class products or derived product again
Workload brought by new function is conceivable;The issuing time and exploitation needed when in addition, modifying for old product is new
The issuing time of product is substantially on the same order of magnitude.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of general X-ray acquisition systems, make physical assemblies and business
Logic module is mutually indepedent, to realize modular system architecture, allows each physical assemblies according to different product class
Type or form being replaced or being reduced.
The present invention to solve above-mentioned technical problem and the technical solution adopted is that provide a kind of general X-ray acquisition system,
Including imaging device and motion control unit, wherein include at least one in the imaging device and motion control unit
Physical assemblies, the physical assemblies are equipped with a corresponding service logic unit, and the service logic unit passes through the first communication
Unit and corresponding physical assemblies exchange data, and the service logic unit is handed over by the second communication unit and graphical user interface
Change data.
Above-mentioned general X-ray acquisition system, wherein the physical assemblies in the imaging device include beam-defining clipper, high pressure
Generator, grid, timing control unit or/and image acquisition units, the service logic unit include that beam-defining clipper business is patrolled
Collect module, high pressure generator business logic modules, grid business logic modules, timing control unit business logic modules, figure
Image source management business logic module or/and motion control unit business logic modules.
Above-mentioned general X-ray acquisition system, wherein the high pressure generator and ionisation chamber, bulb combine shape
At a physical assemblies.
Above-mentioned general X-ray acquisition system, wherein described image acquisition unit is flat panel detector.
Above-mentioned general X-ray acquisition system, wherein carried out between the service logic unit by session management module
State notifying.
Above-mentioned general X-ray acquisition system, wherein the service logic unit and session management module pass through plug-in unit side
Formula realizes that the service logic unit exchanges data, the industry with graphical user interface by Web broadcast event or order
Business logic unit exchanges data with physical assemblies by device broadcasts event and device command, each service logic unit it
Between by session management event carry out state notifying.
Above-mentioned general X-ray acquisition system, wherein a global session example, institute is arranged in the session management module
Global session example is stated for handling the initialization and release of each service conversation, each service conversation, which receives, comes from corresponding industry
Patient information, device broadcasts event and the device command for logic unit of being engaged in, and to the forwarding of corresponding service logic unit from figure
As the Web broadcast event of user interface or order.
Above-mentioned general X-ray acquisition system, wherein the session management module carries out state by Observer Pattern and leads to
Know.
Above-mentioned general X-ray acquisition system, wherein the session management module preserves patient information.
Above-mentioned general X-ray acquisition system, wherein the patient information derives from service logic unit, and is stored in
In the data field of the session management module overall situation.
Above-mentioned general X-ray acquisition system, wherein first communication unit and the second communication unit pass through local mistake
Journey calling, remote procedure call, shared drive or function call complete data exchange.
The present invention compare the prior art have it is following the utility model has the advantages that general X-ray acquisition system provided by the invention, will be at
As a corresponding service logic unit, each service logic list is arranged in each physical assemblies in device and motion control unit
Member carries out data exchange by communication unit and corresponding physical assemblies and graphical user interface;Have the advantage that 1, responsibility
Clearly, logical partitioning is carried out according to physical assemblies, user job stream and system parameter, reduces logic complexity;2, level
Clearly, four layers are divided by x-ray system by software modeling: physical assemblies layer, Communication Layer, Business Logic and expression layer,
Each layer of component only focuses on the work with oneself related fields;3, scalability is strong, can be to business according to the needs of product
Logic unit is cut, the service logic without influencing whether other components;On Communication Layer can also for performance and
Need of work is adjusted the variation without influencing whether other levels;4, reusability is strong, although X-ray product category is numerous
It is more, but very multipart service logic is the same, so when redevelopment new product, it can be directly by the industry of specific component
Business logic unit takes back use;If technically control rationally, can accomplish the multiplexing of binary level;5, integrated
By force, application software and service software can be multiplexed same set of system architecture and complete each autocorrelative function.
Detailed description of the invention
Fig. 1 is the configuration diagram of the general X-ray acquisition system of the present invention;
Fig. 2 is the general X-ray acquisition system configuration diagram with conversation management functional in the embodiment of the present invention;
Fig. 3 is the general X-ray acquisition system correspondence schematic diagram of the present invention;
Fig. 4 is service logic unit and session data relation schematic diagram in the general X-ray acquisition system framework of the present invention.
Specific embodiment
The invention will be further described with reference to the accompanying drawings and examples.
Fig. 1 is the configuration diagram of the general X-ray acquisition system of the present invention.
Referring to Figure 1, general X-ray acquisition system provided by the invention includes imaging device and motion control unit, institute
Stating includes at least one physical assemblies in imaging device and motion control unit, and the physical assemblies are equipped with one accordingly
Service logic unit, each service logic unit exchange data, institute by the first communication unit and corresponding physical assemblies
It states each service logic unit and data is exchanged by the second communication unit and graphical user interface.First communication unit and
Two communication units can complete data exchange by local procedure call, remote procedure call, shared drive or function call etc..Cause
This, general X-ray acquisition system provided by the invention is divided into four layers by software modeling, by entire acquisition system: physical set
Part layer, Communication Layer, Business Logic and expression layer, each layer of component only focus on the work with oneself related fields;Responsibility is non-
It is often clear, logical partitioning is carried out according to physical assemblies, user job stream and system parameter, reduces logic complexity.
Physical assemblies in the imaging device include beam-defining clipper, high pressure generator, grid, timing control unit or/
With image acquisition units etc., described image acquisition unit can be flat panel detector, the high pressure generator can also and ionization
Room, bulb combine to form a physical assemblies;The service logic unit includes beam-defining clipper business logic modules, high pressure
Generator business logic modules, grid business logic modules, timing control unit business logic modules, image source management business
Logic module or/and motion control unit business logic modules etc..
State notifying connection can also be carried out between each service logic unit, state occurs in certain service logic units
Variation can also drive the state of other service logic units to change or need to be implemented certain movements, such as: Image chain
Middle image, which receives source, to be changed, and influences whether the switching of image acquisition units service logic, and this part is timing
What control unit was initiated, image source control is received.It is thus preferable to need additionally to increase a component this to take charge of
The work of state notifying refers to Fig. 2, passes through session management mould between each service logic unit in the present embodiment
Block carries out state notifying.
Fig. 3 is referred to, in X-ray acquisition system, there are two kinds of orders and three kinds of events, the order includes network
Communications command and equipment communications command;The event includes Web broadcast event, session management event and device broadcasts thing
Part.The characteristics of each service logic unit and session management module can be realized by plug-in mode, plug-in unit mode is all
The component for meeting a certain agreement or interface can be loaded into automatically in defined software systems;The service logic unit
Data are exchanged with graphical user interface by Web broadcast event or order, the service logic unit passes through device broadcasts thing
Part and device command exchange data with physical assemblies;Shape is carried out by session management event between each service logic unit
State notifies that the session management event between each service logic unit is unified to be managed notice by session management module.
Since the variation of data type is very violent in different product type in entire X-ray acquisition system, it will
Session management (Session) module be designed in the form of plug-in unit it is very necessary, in order in X-ray acquisition system for industry
General interface, which is able to use, when business logic layer assembly load comes load to session management (Session) module, the present embodiment
In, the session management module is provided with a global session example, that is, taken out a virtual interface (can guarantee only in this way
Have a Session example), the global session example is used to handle the initialization and release of each service conversation, Mei Geye
Session of being engaged in receives patient information, device broadcasts event and device command from corresponding service logic unit, and to corresponding
Service logic unit forwards Web broadcast event or order from graphical user interface.Therefore, global session example is only born
The initialization and release of Session are blamed, and the part of specific data access is divided according to service logic unit, it is each in this way
A service logic unit only focus on oneself that a part can, the relationship between Session and service logic unit is asked
It is shown in Figure 4.
The responsibility of session management module is mainly that state notifying and patient information save: for state notifying in Session
Realization, can be completed by Observer Pattern;Observer Pattern, it is software that be otherwise known as publish/subscribe mode sometimes
One kind of design pattern defines a kind of one-to-many dependence, allows multiple observer's objects while listening for some theme
Object, this subject are notified that all observer's objects when changing in state, they can automatically update certainly
Oneself;The business logic components for needing to pay close attention to a certain state change all in this way do not need the generating source of concern event.Session
In service logic layer assembly, these data are stored in global data field middle patient data sources by it, in this way can be with
When the information of user is passed it in image pre-processing unit according to collecting flowchart.
To sum up, general X-ray acquisition system clear layer provided by the invention, responsibility is clear, can according to the needs of product
Service logic to be cut to service logic unit, without influencing whether other components;It can also be directed on Communication Layer
Performance and need of work are adjusted the variation without influencing whether other levels;Redevelop new product when, can directly by
The service logic unit of specific component takes back use;If technically control rationally, can accomplish binary level
Multiplexing;And application software and service software can be multiplexed same set of system architecture and complete each autocorrelative function.
Although the present invention is disclosed as above with preferred embodiment, however, it is not to limit the invention, any this field skill
Art personnel, without departing from the spirit and scope of the present invention, when can make a little modification and perfect therefore of the invention protection model
It encloses to work as and subject to the definition of the claims.