CN106874225A - A kind of means of communication and equipment for being applied to MRI system - Google Patents

A kind of means of communication and equipment for being applied to MRI system Download PDF

Info

Publication number
CN106874225A
CN106874225A CN201710053969.9A CN201710053969A CN106874225A CN 106874225 A CN106874225 A CN 106874225A CN 201710053969 A CN201710053969 A CN 201710053969A CN 106874225 A CN106874225 A CN 106874225A
Authority
CN
China
Prior art keywords
sub
data
main frame
device data
equipment
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
CN201710053969.9A
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 Neusoft Medical Technology Co Ltd
Original Assignee
Shanghai Neusoft Medical Technology 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 Neusoft Medical Technology Co Ltd filed Critical Shanghai Neusoft Medical Technology Co Ltd
Priority to CN201710053969.9A priority Critical patent/CN106874225A/en
Publication of CN106874225A publication Critical patent/CN106874225A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Magnetic Resonance Imaging Apparatus (AREA)

Abstract

The invention discloses a kind of communication apparatus and method for being applied to MRI system.The communication apparatus includes first port, second port and processor.Wherein, first port is used to realize the communication between console main frame and the processor that second port to be used to realize the communication between sub- equipment and the processor.The processor can be received and forward the data between console main frame and the processor, and can substitute the console main frame corresponding data processing task of execution.So, the task of console main frame can be mitigated by the communication apparatus, the console host resource that data communication and data handling procedure take is reduced, be conducive to improving the efficiency and picture quality of console main frame.Additionally, by the communication apparatus without setting the port communicated with sub- equipment on console main frame, so can solve the problem that console host port extends the problem of limitation by the communication apparatus.

Description

A kind of means of communication and equipment for being applied to MRI system
Technical field
The present invention relates to Magnetic resonance imaging (MRI) technical field, more particularly to a kind of communication side for being applied to MRI system Method and equipment.
Background technology
In MRI system, console main frame need every now and then with MRI system in each sub- equipment for example Refrigeration machine and scanner etc. carry out data communication.
At present, in MRI system it is many using in realizing console main frame and system by console Host Extensions port each Data communication between sub- equipment.However, the controlled limitation of hosting space volume, existing console main frame and sub- equipment Between communication modes there is following its shortcoming:Field wiring is not convenient, and because the extension of console host port is limited, It cannot set up independent data path for each sub- equipment.
Additionally, in existing MRI system, all of data processing is required for being carried out on console main frame.In this way, causing Console main frame will also carry out data processing in addition to carrying out data communication, and the data communication and data handling procedure can be accounted for With substantial amounts of console host resource, cause console engine efficiency to decline, picture quality can be influenceed when serious.
The content of the invention
In view of this, the invention provides a kind of means of communication and equipment for being applied to MRI system.
In order to solve the above-mentioned technical problem, present invention employs following technical scheme:
A kind of communication apparatus for being applied to MRI system, the MRI system includes console main frame and at least an estrade sets It is standby, it is characterised in that the communication apparatus includes:
First port, at least one second port and processor;
The communication connection that the first port is used to realize between the console main frame and the processor;
The communication connection that the second port is used to realize between the sub- equipment and the processor;
The processor is used to receive the host data of console main frame transmission;The host data is parsed, with Analyze the information content of the host data;The information content according to the host data carries out subsequent treatment to host data;
And/or, the processor is used to receive the sub- device data that sub- equipment sends;According to the letter of the sub- device data Breath content carries out subsequent treatment to the sub- device data.
Optionally, the information content according to the host data carries out subsequent treatment to host data, specifically includes:
When the host data is instructed for poll, by host data storage in the memory cell of processor;
When the host data be not poll instruction, and the host data destination address be sub- equipment when, by host number According to being forwarded to corresponding sub- equipment.
Optionally, the information content according to the sub- device data carries out subsequent treatment to the sub- device data, tool Body includes:
Judge whether the sub- device data is the poll response instructed to poll;
When the sub- device data be to poll instruction poll response when, judge the sub- device data whether with advance Judgement in the poll instruction of storage is identified whether unanimously;
When the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, by the sub- equipment Data are uploaded to console main frame;
When the sub- device data is not the poll response to poll instruction, the sub- device data is forwarded to control Platform main frame.
Optionally, the communication apparatus also includes:Serial ports transceiving chip, the serial ports transceiving chip be used for serial port drive with And the level conversion of input signal.
Optionally, communicated according to default communications protocol between the console main frame and the communication apparatus, it is described The data frame format of default communications protocol includes:Frame length, destination address, frame information content and and verification.
Optionally, the communication apparatus is integrated on the rack of the MRI system.
A kind of means of communication for being applied to MRI system, the MRI system includes console main frame and at least an estrade sets It is standby, it is characterised in that the means of communication include:
Receive the host data that console main frame sends;
The host data is parsed, to analyze the information content of the host data;
The information content according to the host data carries out subsequent treatment to host data;
And/or,
The means of communication include:
Receive the sub- device data that sub- equipment sends;The information content according to the sub- device data is to the sub- device data Carry out subsequent treatment.
Optionally, the information content according to the host data carries out subsequent treatment to host data, specifically includes:
When the host data is instructed for poll, by host data storage in the memory cell of processor;
When the host data be not poll instruction, and the host data destination address be sub- equipment when, by host number According to being forwarded to corresponding sub- equipment.
Optionally, the information content according to the sub- device data carries out subsequent treatment to the sub- device data, specific bag Include:
Judge whether the sub- device data is the poll response instructed to poll;
When the sub- device data be to poll instruction poll response when, judge the sub- device data whether with advance Judgement in the poll instruction of storage is identified whether unanimously;
When the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, by the sub- equipment Data are uploaded to console main frame;
When the sub- device data is not the poll response to poll instruction, the sub- device data is forwarded to control Platform main frame.
Optionally, before the host data for receiving the transmission of console main frame, also include:
Judge whether to receive the interruption that console main frame sends;
The host data for receiving the transmission of console main frame is specifically included:
After the interruption of console main frame transmission is received, the host data that console main frame sends is received.
Optionally, before the sub- device data for receiving sub- equipment transmission, also include:
Judge whether to receive the interruption that sub- equipment sends;
It is described to receive the sub- device data that sub- equipment sends, specifically include:
After the interruption that sub- equipment sends is received, the sub- device data that sub- equipment sends is received.
A kind of communication apparatus for being applied to MRI system, the MRI system includes console main frame and at least an estrade sets It is standby, it is characterised in that the communication apparatus includes:
First receiving unit, the host data for receiving the transmission of console main frame;
Resolution unit, for being parsed to the host data, to analyze the information content of the host data;
First post-processing unit, subsequent treatment is carried out for the information content according to the host data to host data;
And/or,
The communication apparatus includes:
Second receiving unit, for receiving the sub- device data that sub- equipment sends;
Second post-processing unit, is carried out subsequently for the information content according to the sub- device data to the sub- device data Treatment.
Optionally, first post-processing unit, including:
Storing sub-units, for when the host data is instructed for poll, by host data storage in processor Memory cell in;
Forwarding subelement, for not being poll instruction when the host data, and the destination address of the host data is son During equipment, host data is forwarded to corresponding sub- equipment.
Optionally, second post-processing unit, including:
First judging unit, for judge the sub- device data whether be to poll instruction poll response;
Second judging unit, during for being the poll response to poll instruction when the sub- device data, judges the son It is consistent whether device data identifies whether with the judgement in the poll instruction for prestoring;
Uploading unit, for when the sub- device data with prestore poll instruction in judgement mark it is inconsistent When, the sub- device data is uploaded to console main frame;
Retransmission unit, during for not being the poll response to poll instruction when the sub- device data, by the sub- equipment Data forwarding is to console main frame.
Optionally, the communication apparatus also includes:
3rd judging unit, for judging whether to receive the interruption that console main frame sends;
First receiving unit is specially after the interruption of console main frame transmission is received, and receives console main frame hair The unit of the host data for sending.
Optionally, the communication apparatus also includes:
4th judging unit, for judging whether to receive the interruption that sub- equipment sends;
Second receiving unit is specially after the interruption that sub- equipment sends is received, and the son for receiving sub- equipment transmission sets The unit of standby data.
Compared to prior art, the invention has the advantages that:
As seen through the above technical solutions, what the present invention was provided is applied in the communication apparatus of MRI system, the communication apparatus Including first port, second port and processor, wherein, first port is used to realize logical between console main frame and processor News, second port is used to realize the communication between sub- equipment and processor.And, processor can be received and forward console master Data between machine and processor, and the console main frame corresponding data processing task of execution can be substituted.So, by this Communication apparatus can mitigate the task of console main frame, reduce the console master that data communication and data handling procedure take Machine resource, is conducive to improving console engine efficiency and picture quality.
Further, since console data and communication apparatus are two separate equipment, and led to sub- equipment The port for interrogating connection is arranged on communication apparatus, so, can according to demand set multiple with each height on the communication apparatus The second port that equipment is communicated, in this way, can be that every estrade equipment sets up independent data path by the communication apparatus. Therefore, by the communication apparatus without setting the port communicated with sub- equipment on console main frame, so logical by this News equipment can solve the problem that the problem of console host port extension limitation.
Brief description of the drawings
In order to be expressly understood specific embodiment of the invention, used when the specific embodiment of the invention is described below Accompanying drawing do a brief description.It should be evident that these accompanying drawings are only section Examples of the invention, those skilled in the art exist On the premise of not paying creative work, other accompanying drawings can also be obtained.
Fig. 1 is MRI system structural representation provided in an embodiment of the present invention;
Fig. 2 is the communication apparatus structural representation for being applied to MRI system provided in an embodiment of the present invention;
Fig. 3 is a kind of means of communication schematic flow sheet for being applied to MRI system provided in an embodiment of the present invention;
Fig. 4 is another means of communication schematic flow sheet for being applied to MRI system provided in an embodiment of the present invention;
Fig. 5 is a kind of communication apparatus structural representation for being applied to MRI system provided in an embodiment of the present invention;
Fig. 6 is another communication apparatus structural representation for being applied to MRI system provided in an embodiment of the present invention;
Fig. 7 is the control device structural representation for being applied to MRI system provided in an embodiment of the present invention.
Specific embodiment
To make the purpose of the present invention, technical scheme and technique effect clearer, complete, below in conjunction with accompanying drawing to this hair Bright specific embodiment is described in detail.
MRI system structure provided in an embodiment of the present invention is introduced first.Fig. 1 is MRI system provided in an embodiment of the present invention Structural representation.As shown in figure 1, the MRI system includes:Console main frame 10, communication apparatus 20 and many sub- equipment 30 (1) To 30 (n), wherein, n is positive integer.As an example, sub- equipment 30 (1) can include that radio frequency amplifier, gradient are amplified to 30 (n) Device and physiology gate etc..In practical application, console main frame 10 is located at operation room, sub- equipment 30 (1) to 30 (n) is located at and sets Between standby.Used as an example, communication apparatus 20 can be with integrated installation on the rack of MRI system.
In embodiments of the present invention, communication apparatus 20 can both be communicated with console main frame 10, can be set with each height again Standby 30 (1) communicate to 30 (n).Also, multiple PORT COMs can be provided with communication apparatus 20, one of PORT COM is used It is connected in communication is set up with console main frame, other PORT COMs are used to set up to communicate with each sub- equipment to be connected.
In order to be expressly understood the structure of communication apparatus provided in an embodiment of the present invention 20, Fig. 2 shows implementation of the present invention The structure of the communication apparatus 20 that example is provided.As shown in Fig. 2 the communication apparatus 20 includes first port 21, multiple second ports 22 (1) to 22 (n) and processor 23.
Wherein, the communication connection that first port 21 is used to realize between console main frame 10 and processor 23;
Second port 22 (1) is used to realize each sub- equipment 30 (1) to leading between 30 (n) and processor 23 to 22 (n) News connection.
In embodiments of the present invention, the processor 23 on the communication apparatus 20 can have one of following two functions, Can also simultaneously have following two functions.
The first function:The host data that console main frame sends is processed
Specifically, the processor 23 is used to receive the host data of console main frame transmission;The host data is entered Row parsing, to analyze the information content of the host data;The information content according to the host data is carried out to host data Subsequent treatment;
Used as a specific embodiment of the invention, the information content according to the host data is carried out subsequently to host data Treatment, potentially includes:
When the poll instruction that the information content of the host data sends for console main frame, by the host data The information content is stored in the memory cell of processor 23, in this way, the processor 23 can subsequently directly invoke the storage Poll is instructed, and controls corresponding sub- equipment 30 (1) to perform corresponding operation to 30 (n) to substitute console main frame 10.Therefore, base In this function of processor 23, the communication apparatus 20 that the present invention is provided can substitute console main frame 10 and realize to each sub- equipment Poll, so, according to scheme disclosed in the present application, the work that the communication apparatus 20 can mitigate console main frame 10 is appointed Business, reduces the resource of the console main frame 10 that data communication and data handling procedure take, and is conducive to improving console main frame 10 Efficiency and picture quality.
Specifically, in embodiments of the present invention, poll instruction is issued to processor 23 in advance, and deposit by console main frame 10 The process stored up in the memory cell of processor 23 potentially includes following steps:A, processor 23 are initialized;B, processor 23 are sentenced It is disconnected whether to receive the interruption that console main frame 10 sends, if it is, performing step c, c, processor 23 receives console main frame The 10 poll instructions for sending;D, processor 23 are by poll instruction storage in the memory cell of processor 23.
It should be noted that generally, poll instruction is only issued once.It is general when console main frame 10 is started shooting to Communication apparatus 20 is issued once.
When the information content of the host data is not poll instruction, and the destination address of the host data is sub- equipment When, host data is forwarded to corresponding sub- equipment 30 (1) to 30 (n) by processor 23.In this process, the work(of communication apparatus 20 Can be equivalent to console main frame 10 and each sub- equipment 30 (1) to the bridge communicated between 30 (n).
In simple terms, the first function of the processor 23 be for receive and forward console main frame and sub- equipment it Between data.Specially:On the one hand, processor 23 receives console main frame 10 to each sub- equipment 30 by first port 21 (1) to the data that 30 (n) is issued, and the data forwarding that this is issued is to corresponding sub- equipment 30 (1) to 30 (n);The opposing party Face, processor 23 receives the data that each sub- equipment 30 (1) is uploaded to 30 (n) to console main frame 10, and the number of the upload According to being forwarded to console main frame 10.In this process, the function of communication apparatus 20 sets equivalent to console main frame 10 with each height For 30 (1) to the bridge communicated between 30 (n).
Because the communication apparatus 20 and console main frame 10 are two separate equipment, and can be according to actual need Ask and multiple PORT COMs are set on the communication apparatus 20.In this way, can be just that every estrade equipment is built by the communication apparatus 20 Vertical independent data path, and using the communication apparatus 20 without being set and sub- equipment 30 (1) on console main frame 10 again To the port that 30 (n) is communicated, so, do not exist by the communication apparatus 20 and connect up not convenient asking on console main frame 10 Topic, thus, can solve the problem that console host port extends the problem of limitation by the communication apparatus 20.
Second function:The sub- device data that sub- equipment sends is processed
Specifically, the processor 23 is used to receive the sub- device data that sub- equipment sends;According to the sub- device data The information content subsequent treatment is carried out to the sub- device data.
Used as a specific embodiment of the invention, the information content according to the sub- device data is entered to the sub- device data Row subsequent treatment, potentially includes:
Judge whether the sub- device data is the poll response instructed to poll;When the sub- device data is to poll During the poll response of instruction, judge whether the sub- device data identifies whether one with the judgement in the poll instruction for prestoring Cause;When the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, by the sub- device data It is uploaded to console main frame 10;When the sub- device data is not the poll response to poll instruction, by the sub- number of devices According to being uploaded to console main frame 10.
Second function of being performed by the processor 23, communication apparatus 20 can substitute existing console main frame and hold The following processing procedure of row:The information content according to the sub- device data carries out subsequent treatment to the sub- device data.More specifically Ground, potentially includes:Judge whether the sub- device data is the poll response instructed to poll;When the sub- device data is right Poll instruction poll response when, judge the sub- device data whether with prestore poll instruction in judgement identify be It is no consistent, so, the function based on the processor 23, the communication apparatus 20 that the present invention is provided can substitute console main frame 10 The poll of sub- equipment is realized, mitigates the task of console main frame, reduced data communication and data handling procedure takes Console host resource, be conducive to improve console engine efficiency and picture quality.
As a specific embodiment of the invention, in order to realize the level conversion and first port 21 and of input signal The driving of Two-port netwerk 22, can also include serial ports transceiving chip 24, serial ports transmitting-receiving in the communication apparatus 20 shown in above-mentioned Fig. 2 Chip 24 is used to drive the level conversion of serial ports and input signal.The serial ports transceiving chip 24 can be arranged on first port 21 And processor 23 between, for the level conversion of signal that drives first port 21 and will be issued from console main frame to The corresponding level of signal that processor 23 can be processed, additionally, serial ports transceiving chip 24 is additionally arranged at second port 22 (1) to 22 Between (n) and processor 23, for driving second port 22 (1) to 22 (n) and the electricity by the signal from each sub- equipment The corresponding level of flat turn is shifted to processor 23 can be processed signal.
For example, generally, the signal level that console main frame 10 and sub- equipment 30 send is generally 5V, and works as When processor is fpga chip, the corresponding level of signal that it can be processed is 3.3V, and now, the user of serial ports transceiving chip 24 will 5V level conversions are 3.3V.
In embodiments of the present invention, processor 23 can be fpga chip.When processor 23 is fpga chip, communication sets Standby 20 are also possible that crystal oscillator 25, JTAC ports 26 and power supply 27.
The effect of crystal oscillator 25 is for system provides basic clock signal.A usual system shares a crystal oscillator, is easy to Each several part keeps synchronous.The fundamental frequency and radio frequency of some communication systems use different crystal oscillators, and the side of frequency is adjusted by electronics Method keeps synchronous.
Initially for testing chip, the general principle of JTAG is to define one in device inside to jtag port 26 Individual TAP (Test Access Port;Test accesses mouth), internal node is tested by special jtag test instrument. Jtag test allows multiple devices to be cascaded by jtag port, forms a JTAG chain, can realize to each device point Do not test.Nowadays, jtag port is also commonly used for realizing ISP (In-System Programmer, in-system programming), to FLASH It is programmed Deng device.
In embodiments of the present invention, communication apparatus 20 can also be integrated in the side of console main frame 10, as an example, lead to News equipment 20 may be mounted on the rack of MRI system.Used as a specific embodiment, communication apparatus 20 can be pcb board card.This When, pcb board card is assigned on the rack of MRI system.
In order to realize being communicated between communication apparatus 20 and console main frame 10, the console main frame 10 is logical with described Communicated according to default communications protocol between news equipment 20, the data frame format of the default communications protocol includes:Frame length, Destination address, frame information content and and verification.
The data frame format form is expressed as follows table 1:
Table 1
Length Address Content CheckSum
Wherein, Length:Frame length, hexadecimal number 0x0009~0x0200, step-by-step carries out ASCII codings, accounts for 4 and leads to News byte, high-order preceding, low level is rear.
Address:Destination address, the different equipment of different addr correspondences, hexadecimal number 0x00 to 0xFF, step-by-step is entered Row ASCII is encoded, and accounts for 2 communication bytes, and high-order preceding, low level is rear.
Content:Content frame, host computer descends into message or other equipment the passback host computer of board or other equipment Message, length depend on specific message.
CheckSum:And verification, frame in all bytes summation, two hexadecimals, step-by-step carries out ASCII codings, accounts for 2 Communication byte, high-order preceding, low level is rear.
Further, in embodiments of the present invention, the agreement of the relevant content frame in default communications protocol is according to target ground The difference of location is divided into two kinds of situations.Wherein, destination address is the address included in the instruction that console host PC is issued, this Address can be communication apparatus 20 can also be MRI system sub- equipment.
The first situation, when destination address is communication apparatus 20, content frame agreement is decomposed as shown in table 2 below:
In table 2, ID is identified for demand, and ASCII character accounts for 2 bytes;
Addr is the device address in system;
Content (Content) is encoded using ASCII.
Second situation, when destination address is sub- equipment, communication apparatus 20 directly forwards content frame partial data to the Two-port netwerk 22.
Additionally, when the communication between console main frame 10 and communication apparatus 20 uses interrupt mechanism, the processor 23 It is additionally operable to judge whether to receive the interruption that console main frame 10 sends.After the interruption that console main frame 10 sends is received, Communication apparatus 20 interrupts the communication link with other threads, and communication link is set up by first port 21 and console main frame 10, Data communication is carried out between the two.In this application, it is a kind of special electric signal to interrupt essence, and treatment is sent to by hardware device Device.After processor receives interruption, the arrival of this signal can be reflected to operating system (os) at once, treatment is just then responsible for by os The data of these new arrivals.It is not intended that synchronous with the clock of processor when hardware device generation interruption --- in other words Exactly interrupting can produce at any time.Therefore, kernel at any time probably due to the new interruption for arriving and be interrupted.Specific to of the invention real Example is applied, so-called interruption is specially:Console main frame 10 is sent after interrupting to communication apparatus 20, and communication apparatus 20 is interrupted and other lines The communication link of journey, then set up communication link with console main frame 10 so that between console main frame 10 and communication apparatus 20 Carry out data communication.
Similarly, when the communication between communication apparatus 20 and sub- equipment 30 is also adopted by interrupt mechanism, the processor 23 is also For judging whether to receive the interruption that sub- equipment 30 sends.After the interruption that sub- equipment 30 sends is received, communication apparatus 20 The sub- equipment 30 for sending interruption with this by corresponding second port 22 sets up communication link, and both can be with by the communication link Carry out data communication.
For MRI system provided in an embodiment of the present invention and it is applied to the communication apparatus of MRI system above.
The communication apparatus and MRI system provided based on above-described embodiment, the invention provides a kind of MRI system of being applied to The specific embodiment of the means of communication.
The corresponding means of communication specific embodiment of interruption of the response control platform main frame 10 of processor 23 is introduced first.Fig. 3 It is a kind of a kind of means of communication schematic flow sheet for being applied to MRI system provided in an embodiment of the present invention.As shown in figure 3, this is logical Communication method is comprised the following steps:
S301, processor 23 are initialized;
S302, processor 23 judge whether to receive the interruption that console main frame 10 sends, if it is, performing step S303:
S303, processor 23 receive the host data that console main frame 10 sends;
Specially:Processor receives the host data that console main frame 10 sends by first port 21.
As an example, the step S303 specifically includes following steps:
S3031, processor 23 receive the host data that console main frame 10 sends;
S3032, judge whether a frame data frame finishes receiving, if it is, step S304 is performed, if not, return performing Step S3031.
S304, host data is parsed, to analyze the information content of host data;
It is to be appreciated that being parsed to host data, specially parsed according to default communications protocol.It is described default logical News agreement is default communications protocol described above.It is not described in detail herein.
S305, subsequent treatment is carried out to host data according to the information content of host data:
Specially:When the information content of host data is instructed for poll, the S305 is specially:
S3051, by poll instruction storage in the memory cell of processor so that processor can directly invoke the storage Poll instruction, substitute console main frame 10 and indicate corresponding sub- equipment to perform corresponding operation according to poll instruction;
When the content of host data be not poll instruction, and the host data destination address be sub- equipment when, the step Rapid S305 is specially:
S3052, host data is forwarded to corresponding sub- equipment.Step S3052 is specially:Processor passes through second port Host data is forwarded to corresponding sub- equipment.
Corresponding means of communication specific embodiment when processor 23 responds the interruption that sub- equipment 30 sends is described below.Figure 4 schematic flow sheets for showing the means of communication.As shown in figure 4, the means of communication are comprised the following steps:
S401, processor 23 judge whether to receive the interruption that sub- equipment 30 sends, if it is, step S402 is performed, such as It is really no, perform step S407:
S402, processor 23 receive the sub- device data of the transmission of sub- equipment 30:
This step is specially:Processor receives the sub- device data that sub- equipment 30 sends by second port 22.
As an example, the step S402 specifically includes following steps:
S4021, processor 23 receive the host data of the transmission of sub- equipment 30;
S4022, judge whether a frame data frame finishes receiving, if it is, step S403 is performed, if not, return performing Step S4021.
S403, processor 23 judge whether the sub- device data is the poll response instructed to poll, if it is, performing Step S404, if not, performing step S406;
The taking turn instruction is issued to processor 23 by control machine host 10 in advance, and stores the storage list in processor 23 In unit, after the poll instruction includes that the instruction for indicating sub- equipment 30 to perform operation and sub- equipment 30 have performed corresponding operation It is corresponding to judge mark.
S404, processor 23 judge whether the sub- device data is consistent with the judgement mark in poll instruction, such as Fruit is to terminate flow, if not, performing step S405:
It is to be appreciated that when the judgement mark in the sub- device data with poll instruction is inconsistent, illustrating that son sets It is standby to break down, now need the fault information reporting to console main frame, send fault cues with console main frame Information.So, now, perform step S405.Therefore, can be realized to the real-time of sub- equipment state or fixed by the communication apparatus When monitor.
The sub- device data that S405, processor 23 will be received is uploaded to console main frame 10, so that console main frame 10 Send sub- equipment fault prompt message:
It is to be appreciated that console main frame 10 sends fault cues information can be specially:The fault message of sub- equipment 30 is shown Show on the display interface of console main frame 10, or console main frame 10 sends warning sound to remind the sub- equipment of user 30 break down, further, it is also possible to be that console main frame 10 sends warning light to point out the sub- equipment 30 of user to break down.
The sub- device data that S406, processor 23 will be received is uploaded to console main frame 10.
S407, processor 23 judge whether to receive the interruption that poll timer sends, if it is, step S408 is performed, If not, terminating flow:
It is to be appreciated that taking turn timer is a timer inside processor, it is based on realizing taking turn time span When.
S408, processor indicate corresponding sub- equipment to perform operation according to poll instruction, so that corresponding sub- equipment is performed After corresponding operating, and sub- device data is sent to processor, return and perform step S402, if not, terminating flow.
It is to be appreciated that step S403 to step S408 is that the sub- device data is entered according to the information content of sub- device data The specific implementation of row subsequent treatment.
Fig. 3 and Fig. 4 respectively example to go out the response control platform main frame 10 of communication apparatus 20 corresponding with the interruption that sub- equipment 30 sends The means of communication.It is to be appreciated that in MRI system, communication apparatus 20 had both needed the interruption of response control platform main frame 10, need again The interruption of sub- equipment 30 is responded, so, the means of communication based on MRI system of the present invention can be included shown in Fig. 3 and Fig. 4 The means of communication.
It is above the specific embodiment of the means of communication for being applied to MRI system provided in an embodiment of the present invention.In the tool In body implementation method, as an example, between console main frame 10 and communication apparatus 20, between communication apparatus 20 and sub- equipment 30 with And communicated using interrupt mechanism between communication apparatus 20 and poll timer, i.e., communication apparatus 20 receives console master After the interruption that machine 10 or sub- equipment 30 or poll timer send, just there is communication with it and carry out data transmission.Therefore, in the tool In body implementation method, before carrying out data transmission with console main frame 10, sub- equipment 30 and poll timer, to judge be It is no receive console main frame 10, the interruption that sub- equipment 30 and poll timer send.The off line in not used between them When system is communicated, then need not perform step and judge whether to receive console main frame 10, sub- equipment 30 and poll timer The step of interruption for sending.
Based on the means of communication that above-described embodiment is provided, present invention also offers the communication apparatus for being applied to MRI system, tool Body is referring to following examples.
Fig. 5 is a kind of structure of the communication apparatus inner function module for being applied to MRI system provided in an embodiment of the present invention Schematic diagram.It is to be appreciated that the corresponding communication apparatus of interruption that the communication apparatus shown in Fig. 5 is initiated for response control platform main frame 10 20。
As shown in figure 5, the communication apparatus includes:
First receiving unit 51, the host data for receiving the transmission of console main frame 10;
Resolution unit 52, for being parsed to the host data, to analyze the content of the host data;
First post-processing unit 53, subsequent treatment is carried out for the content according to the host data to host data;
Used as a specific embodiment of the invention, first post-processing unit 53 can also include:
Storing sub-units 531, for when the host data is instructed for poll, by host data storage in treatment In the memory cell of device 23;
Forwarding subelement 532, for not being that poll is instructed when the host data, and the destination address of the host data is During sub- equipment, host data is forwarded to corresponding sub- equipment 30.
As one embodiment of the invention, when being entered using serial ports interrupt mechanism between communication apparatus 20 and console main frame 10 During row communication, the communication apparatus 20 can also include:
3rd judging unit 54, for judging whether to receive the interruption that console main frame 10 sends.
In this specific embodiment, first receiving unit 51 is specially in the transmission of console main frame 10 is received Have no progeny, receive the unit of the host data that console main frame 10 sends.
Used as another specific embodiment of the invention, in response to the interruption that sub- equipment 30 is initiated, the present invention is also carried The structural representation of the functional module of another communication apparatus for being applied to MRI system is supplied.It is specific as shown in Figure 6.It includes With lower unit:
Second receiving unit 61, the sub- device data for receiving the transmission of sub- equipment 30;
Second post-processing unit 62, after being carried out to the sub- device data for the information content according to the sub- device data Continuous treatment.
Used as a specific embodiment of the invention, second post-processing unit 62 can also include:
First judging unit 621, for judge the sub- device data whether be to poll instruction poll response;
Second judging unit 622, during for being the poll response to poll instruction when the sub- device data, judges described It is consistent whether sub- device data identifies whether with the judgement in the poll instruction for prestoring;
Uploading unit 623, for differing with the judgement mark in the poll instruction for prestoring when the sub- device data During cause, the sub- device data is uploaded to console main frame 10;
Retransmission unit 624, during for not being the poll response to poll instruction when the sub- device data, the son is set For data forwarding to console main frame 10.
As a specific embodiment of the invention, when being entered using serial ports interrupt mechanism between communication apparatus 20 and sub- equipment 30 During row communication, the communication apparatus 20 can also include:
4th judging unit 63, for judging whether to receive the interruption that sub- equipment sends.
In this specific embodiment, second receiving unit 61 is specially when the interruption for receiving the transmission of sub- equipment 30 Afterwards, the unit of the sub- device data that sub- equipment 30 sends is received.
The means of communication for being applied to MRI system described in above-described embodiment can be as shown in Figure 7 control device perform.Figure Control device shown in 7 includes processor (processor) 710, communication interface (Communications Interface) 720, memory (memory) 730, bus 740.Processor 710, communication interface 720, memory 730 is completed by bus 740 Mutual communication.
Wherein, the logical order of the communication of the MRI system that can be stored with memory 730, the memory for example can be Nonvolatile memory (non-volatile memory).Processor 710 can call the MRI system performed in memory 730 Communication logical order, to perform the above-mentioned means of communication for being applied to MRI system.Used as embodiment, this is applied to MRI systems The logical order of the communication of system can be the corresponding program of control software, and in the computing device instruction, control device can be with The corresponding function interface of the instruction is accordingly shown on display interface.
If be applied to the function of the logical order of the communication of MRI system using realize in the form of SFU software functional unit and as Independent production marketing or when using, can store in a computer read/write memory medium.Based on such understanding, this Part that disclosed technical scheme substantially contributes to prior art in other words or the part of the technical scheme can be with The form of software product is embodied, and the computer software product is stored in a storage medium, including some instructions are used to So that a computer equipment (can be personal computer, server, or network equipment etc.) performs each implementation of the present invention The all or part of step of example methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
The logical order of the above-mentioned communication for being applied to MRI system, is properly termed as that " communication for being applied to MRI system sets It is standby ", the communication apparatus can be divided into each functional module.The particular content of each functional module may refer to above-described embodiment And the correspondence description of Fig. 5 and Fig. 6.
Embodiments herein is these are only, the application is not limited to.To those skilled in the art, The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent, Improve etc., within the scope of should be included in claims hereof.

Claims (16)

1. a kind of communication apparatus for being applied to MRI system, the MRI system includes console main frame and an at least estrade equipment, Characterized in that, the communication apparatus includes:
First port, at least one second port and processor;
The communication connection that the first port is used to realize between the console main frame and the processor;
The communication connection that the second port is used to realize between the sub- equipment and the processor;
The processor is used to receive the host data of console main frame transmission;The host data is parsed, to analyze The information content of the host data;The information content according to the host data carries out subsequent treatment to host data;
And/or, the processor is used to receive the sub- device data that sub- equipment sends;In information according to the sub- device data Appearance carries out subsequent treatment to the sub- device data.
2. communication apparatus according to claim 1, it is characterised in that the information content according to the host data is to main frame Data carry out subsequent treatment, specifically include:
When the host data is instructed for poll, by host data storage in the memory cell of processor;
When the host data be not poll instruction, and the host data destination address be sub- equipment when, by host data turn It is sent to corresponding sub- equipment.
3. communication apparatus according to claim 1, it is characterised in that the information content according to the sub- device data Subsequent treatment is carried out to the sub- device data, is specifically included:
Judge whether the sub- device data is the poll response instructed to poll;
When the sub- device data be to poll instruction poll response when, judge the sub- device data whether with prestore Poll instruction in judgement identify whether unanimously;
When the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, by the sub- device data It is uploaded to console main frame;
When the sub- device data is not the poll response to poll instruction, the sub- device data is forwarded to console master Machine.
4. the communication apparatus according to claim any one of 1-3, it is characterised in that the communication apparatus also includes:Serial ports Transceiving chip, the serial ports transceiving chip is used for the level conversion of serial port drive and input signal.
5. the communication apparatus according to claim any one of 1-3, it is characterised in that the console main frame and the communication Communicated according to default communications protocol between equipment, the data frame format of the default communications protocol includes:Frame length, target Address, frame information content and and verification.
6. the communication apparatus according to claim any one of 1-3, it is characterised in that the communication apparatus is integrated in described On the rack of MRI system.
7. a kind of means of communication for being applied to MRI system, the MRI system includes console main frame and an at least estrade equipment, Characterized in that, the means of communication include:
Receive the host data that console main frame sends;
The host data is parsed, to analyze the information content of the host data;
The information content according to the host data carries out subsequent treatment to host data;
And/or,
The means of communication include:
Receive the sub- device data that sub- equipment sends;The information content according to the sub- device data is carried out to the sub- device data Subsequent treatment.
8. the means of communication according to claim 7, it is characterised in that the information content pair according to the host data Host data carries out subsequent treatment, specifically includes:
When the host data is instructed for poll, by host data storage in the memory cell of processor;
When the host data be not poll instruction, and the host data destination address be sub- equipment when, by host data turn It is sent to corresponding sub- equipment.
9. the means of communication according to claim 7, it is characterised in that the information content according to the sub- device data is to this Sub- device data carries out subsequent treatment, specifically includes:
Judge whether the sub- device data is the poll response instructed to poll;
When the sub- device data be to poll instruction poll response when, judge the sub- device data whether with prestore Poll instruction in judgement identify whether unanimously;
When the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, by the sub- device data It is uploaded to console main frame;
When the sub- device data is not the poll response to poll instruction, the sub- device data is forwarded to console master Machine.
10. the means of communication according to claim any one of 7-9, it is characterised in that the reception console main frame sends Host data before, also include:
Judge whether to receive the interruption that console main frame sends;
The host data for receiving the transmission of console main frame is specifically included:
After the interruption of console main frame transmission is received, the host data that console main frame sends is received.
11. means of communication according to claim any one of 7-9, it is characterised in that the son that the sub- equipment of reception sends Before device data, also include:
Judge whether to receive the interruption that sub- equipment sends;
It is described to receive the sub- device data that sub- equipment sends, specifically include:
After the interruption that sub- equipment sends is received, the sub- device data that sub- equipment sends is received.
A kind of 12. communication apparatus for being applied to MRI system, the MRI system includes console main frame and an at least estrade equipment, Characterized in that, the communication apparatus includes:
First receiving unit, the host data for receiving the transmission of console main frame;
Resolution unit, for being parsed to the host data, to analyze the information content of the host data;
First post-processing unit, subsequent treatment is carried out for the information content according to the host data to host data;
And/or,
The communication apparatus includes:
Second receiving unit, for receiving the sub- device data that sub- equipment sends;
Second post-processing unit, is subsequently located for the information content according to the sub- device data to the sub- device data Reason.
13. communication apparatus according to claim 12, it is characterised in that first post-processing unit, including:
Storing sub-units, for when the host data is instructed for poll, the host data being stored into depositing in processor In storage unit;
Forwarding subelement, for not being poll instruction when the host data, and the destination address of the host data is sub- equipment When, host data is forwarded to corresponding sub- equipment.
14. communication apparatus according to claim 13, it is characterised in that second post-processing unit, including:
First judging unit, for judge the sub- device data whether be to poll instruction poll response;
Second judging unit, during for being the poll response to poll instruction when the sub- device data, judges the sub- equipment It is consistent whether data identify whether with the judgement in the poll instruction for prestoring;
Uploading unit, for when the judgement mark in the sub- device data with the poll instruction for prestoring is inconsistent, inciting somebody to action The sub- device data is uploaded to console main frame;
Retransmission unit, during for not being the poll response to poll instruction when the sub- device data, by the sub- device data It is forwarded to console main frame.
15. communication apparatus according to any one of claim 12 to 14, it is characterised in that the communication apparatus also includes:
3rd judging unit, for judging whether to receive the interruption that console main frame sends;
First receiving unit is specially after the interruption of console main frame transmission is received, and receives what console main frame sent The unit of host data.
16. communication apparatus according to any one of claim 12 to 14, it is characterised in that the communication apparatus also includes:
4th judging unit, for judging whether to receive the interruption that sub- equipment sends;
Second receiving unit is specially after the interruption that sub- equipment sends is received, and receives the sub- number of devices that sub- equipment sends According to unit.
CN201710053969.9A 2017-01-22 2017-01-22 A kind of means of communication and equipment for being applied to MRI system Pending CN106874225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710053969.9A CN106874225A (en) 2017-01-22 2017-01-22 A kind of means of communication and equipment for being applied to MRI system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710053969.9A CN106874225A (en) 2017-01-22 2017-01-22 A kind of means of communication and equipment for being applied to MRI system

Publications (1)

Publication Number Publication Date
CN106874225A true CN106874225A (en) 2017-06-20

Family

ID=59159070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710053969.9A Pending CN106874225A (en) 2017-01-22 2017-01-22 A kind of means of communication and equipment for being applied to MRI system

Country Status (1)

Country Link
CN (1) CN106874225A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708079A (en) * 2012-05-15 2012-10-03 钜泉光电科技(上海)股份有限公司 Data transmission controlling method and system applied to microcontroller
CN105718403A (en) * 2016-01-18 2016-06-29 沈阳东软医疗系统有限公司 Expansion interface and method for data communication through same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708079A (en) * 2012-05-15 2012-10-03 钜泉光电科技(上海)股份有限公司 Data transmission controlling method and system applied to microcontroller
CN105718403A (en) * 2016-01-18 2016-06-29 沈阳东软医疗系统有限公司 Expansion interface and method for data communication through same

Similar Documents

Publication Publication Date Title
CN105302612A (en) Method for quick upgrading of software program of single-chip microcomputer in electronic system case
CN101957808B (en) Communication method among various CPUs (Central Processing Units), system and CPU
CN106951388A (en) A kind of DMA data transfer method and system based on PCIe
WO2018223513A1 (en) Bluetooth testing method, terminal device, and computer readable storage medium
CN104298579B (en) A kind of logic chip and comprise the board card device of this logic chip
CN105243044B (en) Management system and management method based on serial ports
CN111901164B (en) Adaptive control method, device, equipment and system of OCP NIC network card
CN106598903A (en) Method and device for adjusting Redriver chip parameters
CN110209399A (en) FPGA service system, data processing method and storage medium
CN108255776A (en) A kind of I3C main equipments, master-slave system and the communication means of compatible APB buses
CN106487549A (en) With the method communicated nothing central processing unit veneer and communication apparatus
CN104050133A (en) Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA
CN110290187A (en) Transmission method and device, storage medium, the electronic device of data information
CN101453356A (en) Computer switch and method thereof for matching with multiple servers
CN107943732A (en) One kind realizes 1553B bus modules based on production domesticization FPGA device
CN105579952B (en) The EMI on high-speed channel to be paused using puppet is inhibited
CN101909310A (en) Electronic device testing method
CN102884515B (en) Serial ports re-orientation processes method, apparatus and system
CN104331350B (en) A kind of method and device of IC-card electronic equipment AccessPort
CN106657115A (en) Frequency converter control system and protocol conversion card thereof
CN104484260B (en) Simulation monitoring circuit based on GJB289 bus interface SoC (system on a chip)
CN104572515B (en) Tracking module, method, system and on-chip system chip
CN106789449A (en) A kind of CAN exploitation and method of testing and system
CN106874225A (en) A kind of means of communication and equipment for being applied to MRI system
CN217085747U (en) Multi-interface communication device based on VPX bus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620