CN105467984A - Acquisition device in X-ray radiography system and state transition control method and device thereof - Google Patents

Acquisition device in X-ray radiography system and state transition control method and device thereof Download PDF

Info

Publication number
CN105467984A
CN105467984A CN201410445574.XA CN201410445574A CN105467984A CN 105467984 A CN105467984 A CN 105467984A CN 201410445574 A CN201410445574 A CN 201410445574A CN 105467984 A CN105467984 A CN 105467984A
Authority
CN
China
Prior art keywords
state
collecting device
state transition
request
ray imaging
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.)
Pending
Application number
CN201410445574.XA
Other languages
Chinese (zh)
Inventor
高强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201410445574.XA priority Critical patent/CN105467984A/en
Publication of CN105467984A publication Critical patent/CN105467984A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an acquisition device in an X-ray radiography system and a state transition control method and device thereof. The method comprises the following steps: constructing a state machine comprising various states of an acquisition device; through driving of internal and external events, enabling the current state of the acquisition device in the state machine to transfer, wherein the internal and external events comprise function requests for the acquisition device, cancellation or finish of processing for the function requests, failure occurrence of the acquisition device, and trouble removal of the acquisition device; determining a state transition path of the acquisition device according to the type of the internal and external events, wherein the state transition path comprises an initial state of the acquisition device before state transition and a target state after the state transition; and positioning the current state of the acquisition device through the state machine. The technical scheme can realize state positioning of the acquisition device in the X-ray radiography system simply and efficiently.

Description

Collecting device and state transition control method thereof and device in x-ray imaging system
Technical field
The present invention relates to x-ray imaging technical field, particularly collecting device and state transition control method thereof and device in a kind of x-ray imaging system.
Background technology
In recent years, due to the development of microelectronics and computer technology and material science, x-ray imaging technology achieves significant progress.Formation method and device category get more and more, and application is more and more wide, and especially in medical field, x-ray imaging system is widely used, and the Diagnosis and Treat for disease is significant.
In actual applications, the x-ray imaging equipment of conventional and universal radiodiagnosis numeral mainly uses two kinds of technology, to store the X-ray imaging system of computer (CR based on screen, ComputedRadiography) with flat panel detector (FPD, FlatPanelDetector) the direct digitization x-ray imaging system (DR, Direct-digitalRadiography) based on.
In x-ray imaging system, comprise a kind of reception X ray, and X-ray energy is converted into electric signal, produce the detecting device of radioscopic image, this detecting device also can be called the collecting device in x-ray imaging system, flat panel detector is then comparatively typical a kind of collecting device, is usually applied among DR system.
There is a lot of states in flat panel detector, broadly comprise: acquisition state, align mode, holding state, error status etc.But the upper layer application control software design of existing flat panel detector, the software development kit (SDK, SoftwareDevelopmentKit) itself that even comprising supplier provides does not have overall annotation for relevant status mechanism.Therefore when flat panel detector goes wrong time, often need to be positioned by the mode of more complicated, such as: write a lot of daily records to the rreturn value of the function recording current flat panel detector and provide to investigate the state of current flat panel detector.
Therefore, prior art cannot realize the location of collecting device state in x-ray imaging system simply, efficiently.
Summary of the invention
The problem to be solved in the present invention is that prior art locates complexity and inefficiency for the state of collecting device in x-ray imaging system.
For solving the problem, technical solution of the present invention provides the state transition control method of collecting device in a kind of x-ray imaging system, comprising:
Build the state machine comprising the various states of described collecting device;
By the driving of inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device;
Determine the state transition path of described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state;
The current state of described collecting device is located with described state machine.
Optionally, in described x-ray imaging system, the state transition control method of collecting device also comprises:
After receiving the function request to described collecting device, whether the current state of described collecting device is supported that described function request verifies;
The current state of the described described collecting device made in described state machine produces migration, is perform after the current state verifying out described collecting device supports described function request.
Optionally, in described x-ray imaging system, the state transition control method of collecting device also comprises: according to the described state transition path determined, locate duty residing when described collecting device breaks down.
Optionally, in described x-ray imaging system, the state transition control method of collecting device also comprises: when described collecting device breaks down, according to the current state of described collecting device of location to user report error message, described error message comprise described collecting device current state lower produce the type of fault.
Optionally, the state of described collecting device comprises: starting state, off-mode, rebooting status, contextual processing state, acquisition state, align mode, holding state and malfunction.
Optionally, the described function request for described collecting device comprises the request of collection, calibration request, control request, Restart Request and shutdown request, described in complete or cancel the process carried out for described function request and comprise cancellation or complete collection, cancel or complete calibration, complete contextual processing and complete and restart.
Optionally, the described type according to described inside and outside event determines that the state transition path of described collecting device comprises:
Set up the corresponding relation between the inside and outside event of every type and its various state transition paths supported in advance;
According to described corresponding relation, determine the dbjective state corresponding with the type of current inside and outside event and the current state of described collecting device.
Optionally, the described type according to described inside and outside event determines that the state transition path of described collecting device also comprises:
If the type of described inside and outside event is for gathering request, calibration request or controlling request, the initial state in the described state transition path then supported is holding state, and the dbjective state in described state transition path corresponds to acquisition state, align mode or contextual processing state respectively;
If the type of described inside and outside event is shutdown request, then the initial state in the described state transition path supported is malfunction or holding state, then the dbjective state in described state transition path is off-mode;
If the type of described inside and outside event is Restart Request, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is rebooting status;
If the type of described inside and outside event is for completing or cancelling the process carried out for described function request, the initial state in the described state transition path then supported is carry out for described function request the state that processes, and the dbjective state in described state transition path is holding state;
If the fault that the type of described inside and outside event is described collecting device occurs, the initial state in the described state transition path then supported is the state that holding state or carry out for described function request processes, and the dbjective state in described state transition path is malfunction;
If the type of described inside and outside event is the failture evacuation of described collecting device, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is holding state.
Optionally, described corresponding relation stores with the form of event and state mapping map.
Optionally, described collecting device is flat panel detector.
For solving the problem, technical solution of the present invention also provides the state transition control device of collecting device in a kind of x-ray imaging system, comprising:
Construction unit, is suitable for building the state machine comprising the various state of described collecting device;
State transition unit, be suitable for the driving by inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device;
Determining unit, is suitable for the state transition path determining described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state;
First positioning unit, is suitable for the current state of locating described collecting device with described state machine.
For solving the problem, technical solution of the present invention also provides the collecting device in a kind of x-ray imaging system, comprising:
Above-mentioned state transition control device;
Service unit, is suitable for receiving described function request, and feeds back the current state of the described collecting device of described state transition control device location;
Processing and control element (PCE), be suitable for after the current state generation migration making described collecting device, control to process accordingly for described function request, and to described state transition control device feedback processing result, the fault that described result comprises in the process and processing procedure cancelled or complete and carry out for described function request occurs.
Compared with prior art, technical scheme of the present invention at least has the following advantages:
By building the state machine comprising the various states of collecting device in x-ray imaging system, within external event as driving, the current state of the described collecting device in described state machine is made to produce migration, and the state transition path of described collecting device is determined according to the type of described inside and outside event, adopt described state machine to locate the current state of described collecting device, the location of collecting device state in x-ray imaging system can be realized thus simply, efficiently.
Further, by the controlling mechanism of state machine, whether the current state of collecting device is supported that the function request received verifies, can the illegal function request of filtering external, thus the possibility of makeing mistakes when reducing collecting device work, reliability is improved.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the state transition control method of collecting device in the x-ray imaging system that provides of technical solution of the present invention;
Fig. 2 is the schematic diagram of the flat panel detector state transition of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet verified the request of flat panel detector function of the embodiment of the present invention;
Fig. 4 is the structural representation of the flat panel detector of the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the flat panel detector function request of the embodiment of the present invention.
Embodiment
In prior art, when the collecting devices such as such as flat panel detector in x-ray imaging system go wrong time, usually the rreturn value of the function that current flat panel detector provides is recorded to investigate the state of current flat panel detector by writing a lot of daily records, but mode like this locates complexity and inefficiency for the state of collecting device.
For solving the problem, technical solution of the present invention provides the state transition control method of collecting device in a kind of x-ray imaging system, by building the state machine comprising the various states of collecting device, under the driving of inside and outside event, the current state of collecting device in described state machine is made to produce migration, and adopt the current state of described state machine positioning acquisition equipment, thus the state location of collecting device can be realized simply, efficiently.
As shown in Figure 1, in the x-ray imaging system that provides of technical solution of the present invention, the state transition control method of collecting device comprises:
Step S101, builds the state machine comprising the various states of described collecting device;
Step S102, by the driving of inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device;
Step S103, determines the state transition path of described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state;
Step S104, locates the current state of described collecting device with described state machine.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
In the present embodiment, with described x-ray imaging system specifically DR system, and described collecting device is flat panel detector (can referred to as " flat board ") for example is described.In other embodiments, described x-ray imaging system can be the other system beyond DR system, and described collecting device also can be other equipment with described flat panel detector with similar functions.
Because technical solution of the present invention carrys out positioning acquisition equipment current state by the state machine comprising the various state of collecting device of structure, therefore, in the present embodiment, first all kinds of states of flat panel detector are simply introduced.
In the present embodiment, the state of flat panel detector comprises: starting state, off-mode, rebooting status, contextual processing state, acquisition state, align mode, holding state and malfunction.Wherein:
Starting state: initial state during flat panel detector initialization, after initialization completes, can automatically switch to holding state;
Off-mode: time flat panel detector exits, can be switched to this state;
Rebooting status: time flat panel detector re-starts initialized, can be switched to this state;
Contextual processing state: when flat panel detector receives control command request, this state can be switched to; Such as: the multi-mode of flat panel detector switches;
Acquisition state: when flat panel detector starts to carry out image acquisition time, this state can be switched to;
Align mode: when flat panel detector starts to calibrate time, this state can be switched to;
Holding state: when flat panel detector completes processing in above-mentioned state of task time, this state can be switched to;
Malfunction: when in above-mentioned a certain state, if there is mistake in the process of Processing tasks, this state can be switched to.
In the present embodiment, the above-mentioned all kinds of state based on flat panel detector can construct corresponding state machine, the construction method due to state machine dawn known to those skilled in the art, is not described in detail herein.
It should be noted that, above-mentioned every state of flat panel detector is that present inventor obtains result according to practical experience summary, although there is different conditions dawn known to those skilled in the art in flat panel detector, but in the Systematical control of flat panel detector, overall annotation is made to the status mechanism of flat panel detector, and systematically construct the state machine of flat panel detector, for realizing the location of flat panel detector current state, to be but not that those skilled in the art are easy to just thinkable.
In the state machine constructed, the state transition of flat panel detector is driven by outer/inner event (flat panel detector process various functions request also can automatically switch state), often kind of event type determines different state transition paths, and the dbjective state that described state transition path is undertaken after the initial state before state transition and completion status migration by flat panel detector formed.
It should be noted that, differentiation between external event from internal event is different based on the source of event, external event such as flat panel detector function request, cancel the process etc. that this function request is carried out, mainly derive from the request that user sends, internal event such as completes the process, the flat panel detector that carry out for described function request and breaks down and failture evacuation etc., then the Processing tasks or the task that are mainly derived from flat panel detector inside complete.
In the present embodiment, under the driving of inside and outside event, the overall process of flat panel detector state transition can reference diagram 2.In fig. 2, the direction of arrow represents that migration or perhaps the transition of flat panel detector state, the associated description corresponding with arrow represent the event that concrete driving condition moves.For example: if the initial state of flat panel detector is " holding state ", so under the driving receiving " gathering request " this external event, the state of flat panel detector will be moved, its dbjective state is " acquisition state ", therefore, " gather and ask " the wherein bar state migration path that " holding state-acquisition state " under driving is flat panel detector; If the initial state of flat panel detector is " align mode ", so under the driving occurring " calibration makes mistakes " this internal event, the state of flat panel detector also will be moved, its dbjective state is " malfunction ", therefore, " align mode-malfunction " under " calibration makes mistakes " driving is another bar state migration path of flat panel detector.
In the present embodiment, the state transition path according to the type determination flat panel detector of often kind of event specifically can comprise: set up the corresponding relation between the inside and outside event of every type and its various state transition paths supported in advance; According to described corresponding relation, determine the dbjective state corresponding with the type of current inside and outside event and the current state of flat panel detector.In the specific implementation, described corresponding relation can adopt the form of event and state mapping map to store, and the mapping table of described event and state is specifically as shown in table 1:
Table 1
Event source Initial state Dbjective state
Gather request Holding state Acquisition state
Cancel and gathering Acquisition state Holding state
Collection completes Acquisition state Holding state
Break down in gatherer process Acquisition state Malfunction
Calibration request Holding state Align mode
Elimination of calibrations Align mode Holding state
Calibration completes Align mode Holding state
Break down in calibration process Align mode Malfunction
Flat condition abnormal failure Holding state Malfunction
Fault has been repaired automatically Malfunction Holding state
Dull and stereotyped control is asked Holding state Contextual processing state
Dull and stereotyped processing controls request failure Contextual processing state Malfunction
Start completes Starting state Holding state
Turn-off request Holding state Closed condition
Turn-off request Malfunction Closed condition
Flat board is restarted Malfunction Rebooting status
Restart Rebooting status Holding state
In Table 1, " event source " refers to the type of inside and outside event, and such as " collection request " is the event of a type, and " breaking down in calibration process " (or being called " calibration makes mistakes ") is the event of another kind of type.
When reality is implemented, described event and state transition mapping table exist usually in a software form, and its configuration structure can with reference to following example:
<Nodeid='0'name='AcquisitionReuest'isCollection="0">
<Valueindex='0'description="PrepareEvent">3</Value>
<Valueindex='1'description="IDLEState">0</Value>
<Valueindex='2'description="AcquisitionState">1</Value>
</Node>
Wherein, PrepareEvent represents the event source that driving condition moves; IDLEState represents the state before state transition; AcquisitionState represents the state after state transition.
It is to be noted, when reality is implemented, the state transition path that dissimilar event can be supported is different, by analyzing the initial state and dbjective state that form state transition path, just can judge that can the current state of flat panel detector support the event of current appearance.For example, if the initial state of flat panel detector is " malfunction ", the state transition path now formed obviously is that the event of " gathering request " this type can not be supported, event for " fault has been repaired automatically " (or being called " failture evacuation "), " turn-off request " and " flat board is restarted " these types then all can be supported, and occur that once current the type of event can be clear and definite, then the dbjective state of flat panel detector is also can be well-determined.
As shown in Table 1, determine that the state transition path of described collecting device can comprise according to the type of described inside and outside event described in step S103 shown in Fig. 1:
If the type of described inside and outside event is for gathering request, calibration request or controlling request, the initial state in the described state transition path then supported is holding state, and the dbjective state in described state transition path corresponds to acquisition state, align mode or contextual processing state respectively;
If the type of described inside and outside event is shutdown request, then the initial state in the described state transition path supported is malfunction or holding state, then the dbjective state in described state transition path is off-mode;
If the type of described inside and outside event is Restart Request, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is rebooting status;
If the type of described inside and outside event is for completing or cancelling the process carried out for described function request, the initial state in the described state transition path then supported is carry out for described function request the state that processes, and the dbjective state in described state transition path is holding state;
If the fault that the type of described inside and outside event is described collecting device occurs, the initial state in the described state transition path then supported is the state that holding state or carry out for described function request processes, and the dbjective state in described state transition path is malfunction;
If the type of described inside and outside event is the failture evacuation of described collecting device, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is holding state.
As previously mentioned, due to when reality is implemented, the event that may produce current appearance does not support the situation in described state transition path, therefore in the present embodiment, after receiving the function request to flat panel detector, also whether can support that described function request verifies to the current state of flat panel detector, if the current state verifying out flat panel detector supports described function request, the current state of the flat panel detector in described state machine is then made to produce migration, if the current state verifying out flat panel detector does not support described function request, the current state then maintaining the flat panel detector in described state machine is constant, and this function request of user can be pointed out to perform.
That is, in the present embodiment, making the current state of the described collecting device in described state machine produce migration shown in Fig. 1 described in step S102, is perform after the current state verifying out described collecting device supports described function request.
The specific implementation process verified the request of flat panel detector function is as shown in Figure 3:
First perform step S301, receive the function request to flat panel detector.Described function request is generally initiated by user, can be specifically to gather request, calibration request, control request, Restart Request or shutdown request.
After receiving this function request, perform step S302, judge whether the current state of flat panel detector supports this function request, is perform step S303, otherwise terminate checking process.
About judging in step S302 that can the current state of flat panel detector support the specific implementation means of the event of current appearance, illustrating before this, repeating no more herein.
Perform step S303, make the current state of the flat panel detector in state machine produce migration.
Current state due to flat panel detector is confirmable, so when the current state of flat panel detector can support the event of current appearance, type according to this event just can determine corresponding state transition path, determines which kind of dbjective state flat panel detector should migrate to from current state thus.Such as: if the current state of flat panel detector is " holding state ", the function request now received is " calibration request ", the state transition path then determined should be " holding state-align mode ", and so flat panel detector should migrate to dbjective state " align mode " from initial state " holding state ".
Perform step S304, process this function request.Except making except the current state in state machine moves, also need to respond to function request, such as: if this function request is " calibration request ", then need the calibration process of carrying out flat panel detector, if this function request is " gathering request ", then need the image acquisition of carrying out flat panel detector.
In the present embodiment, by the controlling mechanism of state machine, whether the current state of collecting device is supported that the function request received verifies, can the illegal function request of filtering external, thus the possibility of makeing mistakes when reducing collecting device work, reliability is improved.
Because the current state of described state machine middle plateform detector is constantly moved along with inside and outside event-driven, the location of x-ray imaging system middle plateform detector current state so can be realized simply, efficiently by described state machine.
In the present embodiment, when flat panel detector breaks down, can also according to the current state of the flat panel detector of location to user report error message, described error message comprise flat panel detector under current state produce the type of fault, such as the fault occurred in the fault or gatherer process occurred in calibration process, again or flat panel detector is standby time produce fault.During by making a mistake when the request of flat panel detector processing capacity time, according to current state at once accurately reporting errors information to user, the related software modules of flat panel detector can be made thus to have stronger adjustable.
It can thus be appreciated that, in the present embodiment, for the state transition control procedure of flat panel detector, except the current state of location panel detector, can also comprise: according to the described state transition path determined, duty residing when location panel detector breaks down.Such as: if the state transition path determined specifically " align mode-malfunction ", then except the current state orienting flat panel detector is " malfunction ", can also orient residing duty when flat panel detector breaks down is " align mode ", so just can carry out failture evacuation process targetedly.
Owing to introducing the mechanism of malfunction in the control of flat panel detector, when so working under other state, there occurs fault, so flat panel detector is had an opportunity the fault that produces for current state, do specific aim process, if mistake can reset, flat panel detector so can be allowed to automatically restore to normal condition, so make the unification of flat panel detector fault be treated as possibility.
In addition, due to above-mentioned state transition control model for the supplier of flat panel detector or model all without any restrictions, different supplier or the flat panel detector of different model can be unified to use this state transition control model, therefore adopt the corresponding software module of this state transition control model to have stronger reusability in flat panel detector.
Based on the state transition control method of collecting device in above-mentioned x-ray imaging system, the embodiment of the present invention also provides the state transition control device of collecting device in a kind of x-ray imaging system, comprise: construction unit, be suitable for building the state machine comprising the various state of described collecting device; State transition unit, be suitable for the driving by inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device; Determining unit, is suitable for the state transition path determining described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state; First positioning unit, is suitable for the current state of locating described collecting device with described state machine.
In the present embodiment, in described x-ray imaging system, the state transition control device of collecting device also comprises: verification unit, be suitable for after receiving the function request to described collecting device, whether the current state of described collecting device is supported that described function request verifies; Described state transition unit makes the current state of the described collecting device in described state machine produce migration, is to perform after the current state verifying out described collecting device in described verification unit supports described function request.
In the present embodiment, in described x-ray imaging system, the state transition control device of collecting device also comprises: the second positioning unit, is suitable for, according to the described state transition path determined, locating duty residing when described collecting device breaks down.
During concrete enforcement, in described x-ray imaging system, the state transition control device of collecting device can also comprise: report an error unit, be suitable for when described collecting device breaks down, according to the current state of described collecting device of location to user report error message, described error message comprise described collecting device current state lower produce the type of fault.
In described x-ray imaging system, the concrete enforcement of the state transition control device of collecting device with reference to the enforcement of the state transition control method of collecting device in above-mentioned x-ray imaging system, can repeat no more herein.
Based on the state transition control device of collecting device in above-mentioned x-ray imaging system, the embodiment of the present invention also provides the collecting device in a kind of x-ray imaging system.Still for described collecting device specifically flat panel detector be described, as shown in Figure 4, the flat panel detector that the present embodiment provides comprises: above-mentioned state transition control device 402; Service unit 401, is suitable for receiving described function request, and feeds back the current state of the described collecting device of described state transition control device location; Processing and control element (PCE) 403, be suitable for after the current state generation migration making described collecting device, control to process accordingly for described function request, and to described state transition control device feedback processing result, the fault that described result comprises in the process and processing procedure cancelled or complete and carry out for described function request occurs.
Those skilled in the art it is understood that, when reality is implemented, above-mentioned service unit 401, state transition control device 402 and processing and control element (PCE) 403 exist usually used as software module in flat panel detector, form software model as shown in Figure 4 thus, wherein service unit 401 and state transition control device 402 belong to abstract logic key-course, they can receive and filter the process request of client codes, and the panel function module abstracts interface in processing and control element (PCE) 403 inherit by the SDK of lower floor (SDK (Software Development Kit) of the flat panel detector that supplier provides).Therefore, the flat panel detector that the present embodiment provides also comprises SDK (Software Development Kit) 404.
During concrete enforcement, the flow process of the flat panel detector function request of the present embodiment as shown in Figure 5:
First by the request of user's Trigger Function, this function request is sent to service unit 401 with the form of client codes.
After service unit 401 receives this function request, state transition control device 402 can be committed to whether effective to verify this function request, namely whether the current state of flat panel detector be supported that this function request verifies.
State transition control device 402, when verifying, needs the current state first obtaining flat panel detector from processing and control element (PCE) 403, and performs checking procedure based on the current state of the flat panel detector of processing and control element (PCE) 403 feedback.
According to the current state that processing and control element (PCE) 403 feeds back, the verification of state transition control device 402 likely produces two kinds of different results.Identify the different treatment scheme of two kinds of being formed because check results is different with bold box in Fig. 5, distinguish with the dot-and-dash line in bold box the treatment scheme that treatment scheme that check results is " function request is effective " and check results are " function request is invalid ".
When according to the current state that processing and control element (PCE) 403 feeds back, state transition control device 402 judges that function request is effective, then on the one hand this judged result is fed back to service unit 401, and by the information of service unit 401 to user feedback " current state supports this function request "; Processing and control element (PCE) 403 is transferred to process this function request on the other hand.
Processing and control element (PCE) 403, after the current state generation migration making flat panel detector, controls to process accordingly for this function request, and to state transition control device 402 feedback processing result.
When according to the current state that processing and control element (PCE) 403 feeds back, state transition control device 402 judges that function request is invalid, then this judged result is fed back to service unit 401, and by the information of service unit 401 to user feedback " current state does not support this function request ".
The concrete checking procedure of state transition control device 402 with reference to the associated description in the state transition control method of collecting device in above-mentioned x-ray imaging system, can also repeat no more herein.
It will be appreciated by those skilled in the art that, realizing in above-described embodiment collecting device and all or part of of state transition control device thereof in x-ray imaging system is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer-readable recording medium, and described storage medium can be ROM, RAM, magnetic disc, CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (16)

1. the state transition control method of collecting device in x-ray imaging system, is characterized in that, comprising:
Build the state machine comprising the various states of described collecting device;
By the driving of inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device;
Determine the state transition path of described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state;
The current state of described collecting device is located with described state machine.
2. the state transition control method of collecting device in x-ray imaging system according to claim 1, is characterized in that, also comprise:
After receiving the function request to described collecting device, whether the current state of described collecting device is supported that described function request verifies;
The current state of the described described collecting device made in described state machine produces migration, is perform after the current state verifying out described collecting device supports described function request.
3. the state transition control method of collecting device in x-ray imaging system according to claim 1, is characterized in that, also comprise: according to the described state transition path determined, locate duty residing when described collecting device breaks down.
4. the state transition control method of collecting device in x-ray imaging system according to claim 3, it is characterized in that, also comprise: when described collecting device breaks down, according to the current state of described collecting device of location to user report error message, described error message comprise described collecting device current state lower produce the type of fault.
5. the state transition control method of collecting device in x-ray imaging system according to claim 1, it is characterized in that, the state of described collecting device comprises: starting state, off-mode, rebooting status, contextual processing state, acquisition state, align mode, holding state and malfunction.
6. the state transition control method of collecting device in x-ray imaging system according to claim 1, it is characterized in that, the described function request for described collecting device comprises the request of collection, calibration request, control request, Restart Request and shutdown request, described in complete or cancel the process carried out for described function request and comprise cancellation or complete collection, cancel or complete calibration, complete contextual processing and complete and restart.
7. the state transition control method of collecting device in x-ray imaging system according to claim 1, it is characterized in that, the described type according to described inside and outside event determines that the state transition path of described collecting device comprises:
Set up the corresponding relation between the inside and outside event of every type and its various state transition paths supported in advance;
According to described corresponding relation, determine the dbjective state corresponding with the type of current inside and outside event and the current state of described collecting device.
8. the state transition control method of collecting device in x-ray imaging system according to claim 7, it is characterized in that, the described type according to described inside and outside event determines that the state transition path of described collecting device also comprises:
If the type of described inside and outside event is for gathering request, calibration request or controlling request, the initial state in the described state transition path then supported is holding state, and the dbjective state in described state transition path corresponds to acquisition state, align mode or contextual processing state respectively;
If the type of described inside and outside event is shutdown request, then the initial state in the described state transition path supported is malfunction or holding state, then the dbjective state in described state transition path is off-mode;
If the type of described inside and outside event is Restart Request, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is rebooting status;
If the type of described inside and outside event is for completing or cancelling the process carried out for described function request, the initial state in the described state transition path then supported is carry out for described function request the state that processes, and the dbjective state in described state transition path is holding state;
If the fault that the type of described inside and outside event is described collecting device occurs, the initial state in the described state transition path then supported is the state that holding state or carry out for described function request processes, and the dbjective state in described state transition path is malfunction;
If the type of described inside and outside event is the failture evacuation of described collecting device, then the initial state in the described state transition path supported is malfunction, and the dbjective state in described state transition path is holding state.
9. the state transition control method of collecting device in x-ray imaging system according to claim 7, it is characterized in that, described corresponding relation stores with the form of event and state mapping map.
10. the state transition control method of collecting device in x-ray imaging system according to claim 1, it is characterized in that, described collecting device is flat panel detector.
The state transition control device of collecting device in 11. 1 kinds of x-ray imaging systems, is characterized in that, comprising:
Construction unit, is suitable for building the state machine comprising the various state of described collecting device;
State transition unit, be suitable for the driving by inside and outside event, make the current state of the described collecting device in described state machine produce migration, described inside and outside event comprise for described collecting device function request, cancel or complete the process carried out for described function request, the fault of described collecting device occurs and the failture evacuation of described collecting device;
Determining unit, is suitable for the state transition path determining described collecting device according to the type of described inside and outside event, described state transition path comprise described collecting device carry out the initial state before state transition and completion status migration after dbjective state;
First positioning unit, is suitable for the current state of locating described collecting device with described state machine.
The state transition control device of collecting device in 12. x-ray imaging systems according to claim 11, it is characterized in that, also comprise: verification unit, be suitable for after receiving the function request to described collecting device, whether the current state of described collecting device is supported that described function request verifies; Described state transition unit makes the current state of the described collecting device in described state machine produce migration, is to perform after the current state verifying out described collecting device in described verification unit supports described function request.
The state transition control device of collecting device in 13. x-ray imaging systems according to claim 11, it is characterized in that, also comprise: the second positioning unit, be suitable for, according to the described state transition path determined, locating duty residing when described collecting device breaks down.
The state transition control device of collecting device in 14. x-ray imaging systems according to claim 13, it is characterized in that, also comprise: report an error unit, be suitable for when described collecting device breaks down, according to the current state of described collecting device of location to user report error message, described error message comprise described collecting device current state lower produce the type of fault.
In 15. x-ray imaging systems according to claim 11, the state transition control device of collecting device, is characterized in that, described collecting device is flat panel detector.
Collecting device in 16. 1 kinds of x-ray imaging systems, is characterized in that, comprising:
State transition control device described in any one of claim 11 to 15;
Service unit, is suitable for receiving described function request, and feeds back the current state of the described collecting device of described state transition control device location;
Processing and control element (PCE), be suitable for after the current state generation migration making described collecting device, control to process accordingly for described function request, and to described state transition control device feedback processing result, the fault that described result comprises in the process and processing procedure cancelled or complete and carry out for described function request occurs.
CN201410445574.XA 2014-09-03 2014-09-03 Acquisition device in X-ray radiography system and state transition control method and device thereof Pending CN105467984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410445574.XA CN105467984A (en) 2014-09-03 2014-09-03 Acquisition device in X-ray radiography system and state transition control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410445574.XA CN105467984A (en) 2014-09-03 2014-09-03 Acquisition device in X-ray radiography system and state transition control method and device thereof

Publications (1)

Publication Number Publication Date
CN105467984A true CN105467984A (en) 2016-04-06

Family

ID=55605793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410445574.XA Pending CN105467984A (en) 2014-09-03 2014-09-03 Acquisition device in X-ray radiography system and state transition control method and device thereof

Country Status (1)

Country Link
CN (1) CN105467984A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109688A (en) * 2017-12-18 2018-06-01 上海联影医疗科技有限公司 A kind of imaging system and its scan method
CN108819884A (en) * 2018-05-30 2018-11-16 江铃汽车股份有限公司 A kind of car networking terminal supplying power control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595291A (en) * 2003-09-12 2005-03-16 佳能株式会社 Image reading apparatus and X-ray imaging apparatus
CN1744512A (en) * 2004-08-30 2006-03-08 华为技术有限公司 Network resource management method
US20080172217A1 (en) * 2007-01-15 2008-07-17 Fujitsu Limited Medium storing model creation program, model creation apparatus and model creation method
CN101957751A (en) * 2010-06-04 2011-01-26 福建星网锐捷网络有限公司 Method and device for realizing state machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595291A (en) * 2003-09-12 2005-03-16 佳能株式会社 Image reading apparatus and X-ray imaging apparatus
CN1744512A (en) * 2004-08-30 2006-03-08 华为技术有限公司 Network resource management method
US20080172217A1 (en) * 2007-01-15 2008-07-17 Fujitsu Limited Medium storing model creation program, model creation apparatus and model creation method
CN101957751A (en) * 2010-06-04 2011-01-26 福建星网锐捷网络有限公司 Method and device for realizing state machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
包健 等: "基于有限状态机的电梯控制系统故障诊断方法", 《计算机应用》 *
程向前 等: "《可视化计算》", 31 January 2013, 清华大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109688A (en) * 2017-12-18 2018-06-01 上海联影医疗科技有限公司 A kind of imaging system and its scan method
CN108819884A (en) * 2018-05-30 2018-11-16 江铃汽车股份有限公司 A kind of car networking terminal supplying power control method
CN108819884B (en) * 2018-05-30 2022-01-25 江铃汽车股份有限公司 Terminal power supply control method for Internet of vehicles

Similar Documents

Publication Publication Date Title
EP3528118A1 (en) Software update device, software update method, and software update system
US11093351B2 (en) Method and apparatus for backup communication
EP1550036B1 (en) Method of solving a split-brain condition in a cluster computer system
JP2007042082A (en) Diagnostic system
CN108847879B (en) Double-machine fault detection and recovery method based on bus controller
CN107729038A (en) The baseboard management controller of firmware update and renewable firmware
CN105467984A (en) Acquisition device in X-ray radiography system and state transition control method and device thereof
CN110471790B (en) Computer equipment, product and processing method and device of data task of product
JP2016181055A (en) Information processing apparatus
US11087869B2 (en) Monitoring operating actions for a dialysis apparatus
CN105843336B (en) Cabinet and its firmware updating method with more cabinet management modules
EP3280170A1 (en) Diagnosis apparatus and method for failure node and portable terminal
CN110968456A (en) Method and device for processing fault disk in distributed storage system
EP2988476A1 (en) Method and apparatus for processing operation on endpoint peripheral
US20210152514A1 (en) Information processing device, address duplication managing method, and non-transitory computer readable storage medium
CN102630087A (en) Heterogeneous processing method and apparatus thereof
JP2009262884A (en) Facility operation system having redundant system and facility operation method
CN105718325A (en) Virtual machine cluster-based rollback method, system and server
JP6291436B2 (en) Field equipment maintenance system
US7640456B2 (en) Information processor and data communication control method capable of preventing problems in data communication caused by breakdowns
JP6330607B2 (en) Information processing system, logging control program, and logging control method
CN110460478B (en) Alarm test method, alarm test system, alarm manufacturing equipment and network management system
CN112540884B (en) Hot backup effect detection method, device, system and computer readable medium
CN102866763A (en) Control method and control system for controlling equipment states and medical equipment
DE102016103451A1 (en) Method for a computer system and computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co., Ltd

Address before: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20160406

RJ01 Rejection of invention patent application after publication