CN109471834A - Synchronous ring structure, synchronous method, medical image system, equipment and storage medium - Google Patents
Synchronous ring structure, synchronous method, medical image system, equipment and storage medium Download PDFInfo
- Publication number
- CN109471834A CN109471834A CN201811371849.4A CN201811371849A CN109471834A CN 109471834 A CN109471834 A CN 109471834A CN 201811371849 A CN201811371849 A CN 201811371849A CN 109471834 A CN109471834 A CN 109471834A
- Authority
- CN
- China
- Prior art keywords
- node
- loop
- central
- loop node
- time
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
- G06F13/4273—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus using a clocked protocol
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of synchronous ring structure, synchronous method, medical image system, equipment and storage mediums.Wherein, synchronous ring structure includes: a central node and multiple loop nodes;Wherein, multiple loop nodes are composed in series loop structure, and establish connection with central node respectively, form a star ring topology;When each loop node transmitting signal flow in loop structure, while the next node in setting transmission path is sent by the count value of the clock of each loop node;Central node is used for: control loop structure and central node are according to setting transmission path signal stream;Determine that the initial runtime of each loop node completes the synchronization of loop node.The embodiment of the present invention solves the problems, such as time error caused by delay difference between each node, and realizing node all in system can be synchronous with the retention time, and the initial count moment is consistent, and each node is made not cause accumulated error because of the delay difference between node.
Description
Technical field
The present embodiments relate to synchronous ring structure more particularly to a kind of synchronous ring structure, synchronous method, medical imaging systems
System, equipment and storage medium.
Background technique
In medical imaging devices, needs to control working time and the sequence of each operational module, be with magnetic resonance system
Example, magnetic resonance system are mainly made of parts such as magnet system, coil reception, control cabinet and stations, and each part is one
A node is a distributed structure.In the operational process of magnetic resonance system, each node was needed according to the stringent time
Sequence executes specific instruction, therefore, it is necessary to carry out strict time control to each node, allow different nodes keep with
Remaining node time synchronisation.
It is realized there are two types of the synchronous schemes of system at present, including mononuclear type system synchronization scheme side synchronous with double ring type system
Case.Wherein, in mononuclear type scheme specific aim test macro then the relative time delay of each node passes through the side of system parameter calibration
Formula, which is realized, to be synchronized, and manual test is needed, once change environment or change connection cables, parameter just need to re-measure.It is bicyclic
Type scheme then requires the two-way delay between each node of annular that must be consistent, when system interior joint is more, time difference meeting
There is accumulated error.Both schemes all cannot achieve the self-test of each node delay in system.
Summary of the invention
The embodiment of the present invention provides a kind of synchronous ring structure, synchronous method, medical image system, equipment and storage medium,
Different initial runtimes of the node based on same reference time point are determined to realize, different nodes is same in realization synchronous ring structure
Walk timing.
In a first aspect, the embodiment of the invention provides a kind of synchronous ring structure, which includes:
One central node and multiple loop nodes;Wherein, the multiple loop node is composed in series loop structure, and divides
Connection is not established with the central node, forms a star ring topology;
When each loop node transmitting signal flow in the loop structure, while by the count value of the clock of each loop node
The next node being sent in setting transmission path;
The central node is used for: controlling the loop structure and the central node according to setting transmission path letter
Number stream;Receive the time count value of each loop node in the loop structure and record receive will be described by each loop node
Signal is streamed to the time of the central node, according to the time count value received and receives by each loop node
By the time that the signal is streamed to the central node calculate delay between each loop node and the central node and
Transmission delay between each loop node next loop node adjacent thereto;According to each loop node and the central node it
Between delay and each loop node next loop node adjacent thereto between transmission delay determine the initial of each loop node
Change the synchronization of moment completion loop node;
The setting transmission path of the signal stream includes:
Using the starting loop node in the loop structure as current loop node, by current loop node-node transmission to institute
Central node is stated, current loop node is transferred to by the central node, if current loop node is in the loop structure
Terminal node, the then transmission of end signal stream;If current loop node is not the terminal node in the loop structure, by working as
Preceding loop node is transferred to next loop node, and using next loop node of current loop node as new current loop section
Point, and return and operated by the transmission of current loop node-node transmission to the central node.
Further, the signal stream is transferred to the central node by any loop node in the loop structure and passes
Defeated delay by the transmission delay that the central node is transferred to the loop node is identical with the signal stream.
Further, the absolute zero moment of the synchronous ring structure is that the central node is received by the starting loop
At the time of the signal stream that node is sent.
Second aspect, the embodiment of the invention also provides a kind of synchronous method, are applied to described in any embodiment of the present invention
Synchronous ring structure, this method comprises:
As absolute zero moment at the time of the signal stream sent by starting loop node will be received;
Record receives at the time of the signal is streamed to the central node by each loop node, and described in receiving
The time count value of each loop node in loop structure;
The delay between each loop node and the central node is calculated according to the time count value received;
Received according to record at the time of the signal is streamed to the central node by each loop node with each ring
Delay between circuit node and the central node calculates the transmission between each loop node next loop node adjacent thereto
Delay;
According to adjacent thereto next of transmission delay and each loop node between each loop node and central node
Transmission delay between loop node calculates the initial runtime realization synchronization for respectively going back circuit node relative to the absolute zero moment.
Optionally, the time count value that the basis receives calculates between each loop node and the central node
Delay, comprising:
When the central node receives the time count value of the same loop node twice, will can receive for the second time
Count value and the difference of count value received for the first time half as the signal stream the loop node with it is described
Transmission delay between central node.
Optionally, it is received according to record at the time of the signal is streamed to the central node by each loop node
Delay between each loop node and the central node calculates between each loop node next loop node adjacent thereto
Transmission delay, comprising:
At the time of the signal stream is transferred to the central node from next loop node, the signal stream is subtracted from institute
The time that each loop node is transferred to the central node is stated, is subtracted between next loop node and the central node
Transmission delay subtracts the transmission delay between each loop node and the central node, and the obtained time is as described each
Transmission delay between loop node next loop node adjacent thereto.
Optionally, according between each loop node and central node transmission delay and each loop node it is adjacent thereto
Next loop node between transmission delay calculate that respectively to go back circuit node real relative to the initial runtime of the absolute zero moment
Now synchronize, comprising:
It is described starting loop node initial runtime be, from the absolute zero moment, the starting loop node and
At the time of corresponding to transmission delay between the central node;
The initial runtime of each loop node other than the starting loop node is, from the absolute zero moment
Rise, it is described starting loop node and the central node between transmission delay, from it is described starting loop node next node
To it is described in addition to it is described starting loop node other than each loop node in include each loop node and the central node it
Between twice of transmission delay and the starting loop node to it is described in addition to it is described originate loop node other than each loop section
At the time of corresponding to transmission delay in each loop node for including in point between the two adjacent loop nodes superimposed time.
The third aspect, the embodiment of the invention also provides a kind of medical image system, which includes: as the present invention is any
Synchronous ring structure as described in the examples makes each node of the system according to default sequential working.
Fourth aspect, the embodiment of the invention also provides a kind of computer equipment, which includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes any synchronous method in the embodiment of the present invention.
5th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes any synchronous method in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention is established by the way that multiple loop nodes are composed in series loop structure, and respectively with central node
Connection, forms a star ring topology as synchronous ring structure, and each node of central node control is according to setting in this configuration
Determine transmission path signal stream;The time count value and record for receiving each loop node in loop structure are received by each ring
Signal is streamed to the time of central node by circuit node, according to the time count value received and is received by each loop node
By the time that signal is streamed to central node calculate delay between each loop node and central node and each loop node with
Transmission delay between its adjacent next loop node;According between each loop node and central node delay and each loop
Transmission delay between node next loop node adjacent thereto determines that the initial runtime of each loop node completes loop section
The synchronization of point;It solves in multi-node system, signal transmission time difference has accumulated error between node, and cannot achieve system
In each node delay self-test the problem of, realize in multi-node system, different nodes can keep synchronous with remaining node
Timing, and the timing differences of remaining node in this node and system can be calculated when system is run.
Detailed description of the invention
Fig. 1 a is the structural schematic diagram of the synchronous ring structure in the embodiment of the present invention one;
Fig. 1 b be in the embodiment of the present invention one include 4 loop node synchronous ring structures structural schematic diagram;
Fig. 2 is the flow chart of the synchronous method in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the magnetic resonance imaging system in the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram of the computer equipment in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 a is the structural schematic diagram for the synchronous ring structure that the embodiment of the present invention one provides, and the present embodiment is applicable to system
The case where middle difference component synchronous working, which is for example configured in medical image system or other computer equipments.Such as
Shown in Fig. 1 a, which is specifically included:
One central node 150 and multiple loop nodes (loop node P0110, loop node P1120, loop node
P2130 ... loop node Pn140), multiple loop nodes are composed in series loop structure, and respectively with the central node 150
Connection is established, a star ring topology is formed.Wherein, the numerical value of n is more than or equal to 1.
Further, when each loop node transmitting signal flow in loop structure, while by the clock of each loop node
Count value is sent to the next node in setting transmission path.
Central node is used for: control loop structure and central node are according to setting transmission path signal stream;Receive ring
The time count value and record of each loop node in line structure, which are received, is streamed to centromere for signal by each loop node
The time of point, according to the time count value that receives and receive by each loop node by signal be streamed to central node when
Between calculate delay (being indicated respectively with trx, x is natural number) between each loop node and central node and each loop node and its
Transmission delay (being indicated respectively with tlx, x is natural number) between adjacent next loop node;According to each loop node in
Transmission delay between delay and each loop node between heart node next loop node adjacent thereto determines each loop section
The initial runtime of point completes the synchronization of loop node.
The setting transmission path of signal stream include: using the starting loop node in loop structure as current loop node,
By current loop node-node transmission to central node, current loop node is transferred to by central node, if current loop node is ring
Terminal node in line structure, the then transmission of end signal stream;If current loop node is not the terminal node in loop structure,
Then by current loop node-node transmission to next loop node, and using next loop node of current loop node as newly current
Loop node, and return and operated by the transmission of current loop node-node transmission to central node.
Further, signal stream is transferred to the central node transmission delay by any loop node in loop structure,
It by the transmission delay that the central node is transferred to the loop node is identical with signal stream.I.e. for a loop node and
The transmission delay of speech, the bi-directional signal flow transmission between the loop node and central node is identical, it is not required that each
Bi-directional signal flow transmission delay between loop node and central node is identical.
Further, the absolute zero moment of synchronous ring structure is that center node receives the letter sent by starting loop node
Number stream at the time of.The absolute zero moment is the reference time that each node starts timing in synchronous ring structure.
Now to be illustrated for including the synchronous ring structure of 4 loop nodes, Fig. 1 b be include 4 loop nodes
The structural schematic diagram of synchronous ring structure.Wherein, loop node P0101 is start node, loop node P1102 and loop node
P2103 is intermediate loop node, and loop node P3104 is terminal node.Firstly, start node P0101 is as present node, when
It include that start node P0101 starts to count in information flow when information flow is transmitted from start node P0101 to central node 105
When clock count value record the absolute zero moment of the synchronous ring structure when central node 105 receives signal stream, and
The count value of the beginning timing of start node P0101.Then, signal stream is transferred to start node P0101 by central node 105,
Start node P0101 completes initialization, and records clock count value when its initialization.Further, signal stream and 101
Completion initialization when clock count value be transferred to loop node P1102, i.e., 102 are used as present node.When 102 receptions
It is initialized to the timing by clock when the signal stream of 101 transmission, and then by the completion of the clock count value of its own and 101
When clock count value be sent to central node 105 with signal stream together.When signal stream is transferred to 102 by 105 again, 102 are completed
Initialization.Same as described above, loop node P2103 and loop node P3104 are successively performed initialization.
Specifically, central node 105 has received 101 clock count value twice, the difference of clock count value twice
Half is transmission delay tr0 of the signal stream between 101 and 105.Likewise, can calculate separately to obtain 102,103 and
Delay tr1, tr2 and tr3 that signal stream is transmitted between 104 and 105.Further, the letter for receiving 101 and 102 transmissions for 105
Number stream at the time of difference, subtract tr0 and tr1, the transmission delay tl0 between 101 and 102 can be obtained.Likewise, can be true
Determine tl1, tl2 and tl3.
So, the initial runtime of each loop node is respectively as follows:
The initial runtime of loop node P0 are as follows: Tp0=0+tr0=tr0, wherein signal stream is from loop node P0 arrival
It is that 0 (i.e. the absolute moment value that signal stream passes to loop node P0 is Tc0=0, loop section by central node at the time of heart node
Point P0 receives the central node relative time delay time as tr0=(tr0+tr0)/2).
The initial runtime of loop node P1 are as follows: Tp1=tr0+tl0+tr1+tr1=tr0+tl0+2*tr1, wherein signal
It is Tc1=tr0+tl0+tr1, delay of the loop node P1 with respect to central node at the time of reaching central node from loop node P1
Time is tr1=(tr1+tr1)/2.
The initial runtime of loop node P2 are as follows: Tp2=tr0+tl0+2*tr1+tl1+tr2+tr2, wherein signal is from P2
Node is Tc2=tr0+tl0+2*tr1+tl1+tr2 at the time of reaching central node, and P2 is with respect to the delay time of central node
Tr2=(tr2+tr2)/2.
The initial runtime of loop node P3 are as follows: Tp3=tr0+tl0+2*tr1+tl1+2*tr2+tl2+tr3+tr3,
Middle signal is Tc3=tr0+tl0+2*tr1+tl1+2*tr2+tl2+tr3, loop section at the time of reaching central node from P3 node
Point P3 is tr3=(tr3+tr3)/2 with respect to the delay time of central node;
And so on: the initial runtime of Pn node are as follows: Tpn=tr0+tl0+2*tr1+tl1+ ...+2*tr (n-1)+tl
(n-1) 2+trn+trn, (wherein n >=1, n is integer, and signal is Tcn=at the time of reaching central node from loop node Pn
Tr0+tl0+2*tr1+tl1+ ...+2*tr (n-1)+tl (n-1)+trn, loop node Pn be with respect to the delay time of central node
Trn=(trn+trn)/2).
The technical solution of the present embodiment, by the way that multiple loop nodes are composed in series loop structure, and respectively with centromere
Point establishes connection, forms a star ring topology as synchronous ring structure, central node controls each node in this configuration
According to setting transmission path signal stream;The time count value and record for receiving each loop node in loop structure receive
Signal is streamed to the time of central node by each loop node, according to the time count value received and is received by each ring
The time that signal is streamed to central node is calculated delay and each loop between each loop node and central node by circuit node
Transmission delay between node next loop node adjacent thereto;According between each loop node and central node delay and
Transmission delay between each loop node next loop node adjacent thereto determines that the initial runtime of each loop node is completed
The synchronization of loop node;It solves in multi-node system, signal transmission time difference has accumulated error between node, and can not be real
It in existing system the problem of the self-test of each node delay, realizes in multi-node system, different nodes can keep saving with remaining
Point time synchronisation, and the timing differences of remaining node in this node and system can be calculated when system is run.
Embodiment two
Fig. 2 is the flow chart of synchronous method provided by Embodiment 2 of the present invention, is mentioned applied to any embodiment of the present invention
The synchronous ring structure of confession.As shown in Fig. 2, synchronous method includes:
S210, at the time of the signal stream sent by starting loop node will be received as absolute zero moment.
Specifically, sending signal stream in synchronous ring structure by starting loop node first and reaching central node, centromere
Point is denoted as absolute zero moment at the time of receiving the signal stream, and the reference timing as other loop node initial runtimes rises
Point.
S220, record receive at the time of signal is streamed to central node by each loop node, and receive loop knot
The time count value of each loop node in structure.
When signal stream according to transmission path by a node-node transmission to next node when, can be by the clock count value of node
It is transferred to next node together, when signal is streamed to central node, central node then will record the signal stream received
The clock count value information of each node of the correspondence of middle carrying.Simultaneously record receive the signal stream sent by each loop node when
It carves.
The time count value that S230, basis receive calculates the delay between each loop node and central node.
When central node receives the time count value of the same loop node twice, the meter that will can receive for the second time
The half of the difference of numerical value and the count value received for the first time is as signal stream between the loop node and central node
Transmission delay.
S240, received according to record at the time of signal is streamed to central node by each loop node with each loop section
Delay between point and central node calculates the transmission delay between each loop node next loop node adjacent thereto.
Specifically, at the time of signal stream is transferred to central node from next loop node, subtraction signal stream is from each loop
Node-node transmission subtracts the transmission delay between next loop node and central node to the time of central node, subtracts each loop
Transmission delay between node and central node, the obtained time next loop node adjacent thereto as each loop node it
Between transmission delay.
S250, according to adjacent thereto next of transmission delay and each loop node between each loop node and central node
Transmission delay between loop node calculates the initial runtime realization synchronization for respectively going back circuit node relative to absolute zero moment.
Specifically, the initial runtime of starting loop node is, from absolute zero moment, loop node and centromere are originated
At the time of corresponding to transmission delay between point.The initial runtime of each loop node other than originating loop node is,
From absolute zero moment, transmission delay between loop node and central node is originated, from the next node of starting loop node
Transmission delay into each loop node other than originating loop node between each loop node for including and central node
Twice and starting loop node include into each loop node other than originating loop node each loop node in phase
At the time of corresponding to transmission delay between the two adjacent loop nodes superimposed time.
The technical solution of the present embodiment keeps central node control each by the synchronous ring structure using stelliform connection topology configuration
Node is according to setting transmission path signal stream;The time count value and record for receiving each loop node in loop structure connect
Receive the time that signal is streamed to central node by each loop node, according to the time count value that receives and receive by
The time that signal is streamed to central node is calculated delay between each loop node and central node and each by each loop node
Transmission delay between loop node next loop node adjacent thereto;According to prolonging between each loop node and central node
When and each loop node next loop node adjacent thereto between transmission delay determine the initial runtime of each loop node
Complete the synchronization of loop node;It solves in multi-node system, signal transmission time difference has accumulated error, and nothing between node
It in method realization system the problem of the self-test of each node delay, realizes in multi-node system, different nodes can be kept and it
Remaining node time synchronisation, and the timing differences of remaining node in this node and system can be calculated when system is run.
Embodiment three
The embodiment of the present invention three additionally provides a kind of medical image system, which includes any reality of the present invention
Synchronous ring structure described in example is applied, for making each node of the system according to default sequential working.
Specifically, medical image system can be CT imaging system, MRI magnetic resonance imaging system and Positron emission tomography
System etc. is illustrated by taking magnetic resonance imaging system as an example in the present embodiment.
Fig. 3 is a kind of structural schematic diagram for magnetic resonance imaging system that the embodiment of the present invention three provides, and Fig. 3, which is shown, to be suitable for
For realize embodiment of the present invention exemplary magnetic resonance imaging system block diagram, the MR imaging apparatus that Fig. 3 is shown is only
Only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 3, magnetic resonance system includes 4 units for needing chronologically to work, i.e., different loop nodes,
Specifically: gradient generate control unit 301, shimming unit 302, radio frequency control transmitting unit 303, RF acquisition unit 304 and
Monitoring unit 305.
Wherein, gradient generates control unit 301 for controlling x-ray circle gradient power amplifier, the amplification of Y coil gradient power
The output electric current and/or signal of device and Z-line circle gradient power amplifier drive x-ray circle, and Y coil and/or Z-line circle generate corresponding
Gradient pulse.In some embodiments, Z-line circle can be designed based on round (Maxwell) coil, and x-ray circle and Y coil can
It is designed with being configured based on saddle type (Golay) coil, this three groups of coils can emit gradient pulse, be used for position volume to be formed
Three different gradient fields of code.Shimming unit 302 is used to control the homogenieity of the main field generated by superconducting magnet.Radio frequency control
Transmitting unit 303 processed amplifies radiofrequency signal to control radio-frequency power amplifier.RF acquisition unit 304 is then for adopting
Collect radio frequency sequence signal.
Each unit of medical image system, as each node of the medical image system, each node are a star ring
The synchronous ring structure of type topological structure includes: a central node and multiple loop nodes in the synchronous ring structure;Wherein, more
A loop node is composed in series loop structure, and establishes connection with central node respectively, forms a star ring topology;Ring
When each loop node transmitting signal flow in line structure, while setting transmission is sent by the count value of the clock of each loop node
Next node on path.
Illustratively, 301,302,303,304 and 305 in Fig. 3 can respectively correspond in Fig. 1 b 101,102,103,
104 and 105.301,302,303 and 304 be loop node, and 305 be center node.
What needs to be explained here is that information is can to carry out two-way biography between 301,302,303 and 304 nodes in Fig. 3
Defeated, but in a synchronous ring structure, the transmission direction of signal stream is a determining transmission direction between loop node, by
301 to 302, then by 302 to 303,303 to 304, either, by 304 to 303, then by 303 to 302,302 to 301.
Central node is used for: control loop structure and central node are according to setting transmission path signal stream;Receive ring
The time count value and record of each loop node in line structure, which are received, is streamed to centromere for signal by each loop node
The time of point, according to the time count value that receives and receive by each loop node by signal be streamed to central node when
Between calculate between the delay between each loop node and central node and each loop node next loop node adjacent thereto
Transmission delay;According to the next loop node being delayed and each loop node is adjacent thereto between each loop node and central node
Between transmission delay determine each loop node initial runtime complete loop node synchronization;
The setting transmission path of signal stream includes:
Using the starting loop node in loop structure as current loop node, by current loop node-node transmission to centromere
Point is transferred to current loop node by central node, if current loop node is the terminal node in loop structure, terminates letter
Number stream transmission;If current loop node is not the terminal node in loop structure, by current loop node-node transmission to next
Loop node, and using next loop node of current loop node as new current loop node, and return by current loop
The transmission of node-node transmission to central node operates.301,302,303 and 304 successively it is used as current loop section in the present embodiment
Point.
The technical solution of the present embodiment, by by gradient generate control unit, shimming unit, radio frequency control transmitting unit,
RF acquisition unit and monitoring unit (central node) are set as the synchronous ring structure of star ring topology, keep central node control each
Node is according to setting transmission path signal stream;The time count value and record for receiving each loop node in loop structure connect
Receive the time that signal is streamed to central node by each loop node, according to the time count value that receives and receive by
The time that signal is streamed to central node is calculated delay between each loop node and central node and each by each loop node
Transmission delay between loop node next loop node adjacent thereto;According to prolonging between each loop node and central node
When and each loop node next loop node adjacent thereto between transmission delay determine the initial runtime of each loop node
Complete the synchronization of loop node;It solves in MRI magnetic resonance imaging system, signal transmission time difference has accumulation and misses between node
Difference, and the problem of cannot achieve the self-test of each node delay in system, it realizes in MRI magnetic resonance imaging system, difference section
Point can keep with remaining node time synchronisation, and remaining node in this node and system can be calculated when system is run
Timing differences.
Example IV
Fig. 4 is the structural schematic diagram of the computer equipment in the embodiment of the present invention four.Fig. 4, which is shown, to be suitable for being used to realizing this
The block diagram of the exemplary computer device 412 of invention embodiment.The computer equipment 412 that Fig. 4 is shown is only an example,
Should not function to the embodiment of the present invention and use scope bring any restrictions.Each module of the computer equipment 412 can be used
Synchronous ring structure provided by the embodiment of the present invention, to realize that each module is completed according to certain timing in the computer equipment
Corresponding work.
As shown in figure 4, computer equipment 412 is showed in the form of universal computing device.The component of computer equipment 412 can
To include but is not limited to: one or more processor or processing unit 416, system storage 428 connect not homologous ray group
The bus 418 of part (including system storage 428 and processing unit 416).
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 412 typically comprises a variety of computer system readable media.These media can be it is any can
The usable medium accessed by computer equipment 412, including volatile and non-volatile media, moveable and immovable Jie
Matter.
System storage 428 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 430 and/or cache memory 432.Computer equipment 412 may further include it is other it is removable/
Immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for reading
Write immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4,
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and non-easy to moving
The CD drive that the property lost CD (such as CD-ROM, DVD-ROM or other optical mediums) is read and write.In these cases, each
Driver can be connected by one or more data media interfaces with bus 418.Memory 428 may include at least one
Program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this
Invent the function of each embodiment.
Program/utility 440 with one group of (at least one) program module 442, can store in such as memory
In 428, such program module 442 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 442
Usually execute the function and/or method in embodiment described in the invention.
Computer equipment 412 can also be with one or more external equipments 414 (such as keyboard, sensing equipment, display
424 etc.) it communicates, the equipment interacted with the computer equipment 412 communication can be also enabled a user to one or more, and/or
(such as network interface card is adjusted with any equipment for enabling the computer equipment 412 to be communicated with one or more of the other calculating equipment
Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 422.Also, computer equipment
412 can also by network adapter 420 and one or more network (such as local area network (LAN), wide area network (WAN) and/or
Public network, such as internet) communication.As shown, network adapter 420 passes through its of bus 418 and computer equipment 412
The communication of its module.It should be understood that although not shown in fig 4, other hardware and/or soft can be used in conjunction with computer equipment 412
Part module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system,
Tape drive and data backup storage system etc..
Processing unit 416 by the program that is stored in system storage 428 of operation, thereby executing various function application with
And data processing, such as realize provided by the embodiment of the present invention applied to the synchronization ring knot any in the embodiment of the present invention
The synchronous method of structure, this method specifically include that
As absolute zero moment at the time of the signal stream sent by starting loop node will be received;
Record receives at the time of the signal is streamed to the central node by each loop node, and described in receiving
The time count value of each loop node in loop structure;
The delay between each loop node and the central node is calculated according to the time count value received;
Received according to record at the time of the signal is streamed to the central node by each loop node with each ring
Delay between circuit node and the central node calculates the transmission between each loop node next loop node adjacent thereto
Delay;
According to adjacent thereto next of transmission delay and each loop node between each loop node and central node
Transmission delay between loop node calculates the initial runtime realization synchronization for respectively going back circuit node relative to the absolute zero moment.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
It is realized when program is executed by processor such as the embodiment of the present invention provided by applied to same as described in any in the embodiment of the present invention
The synchronous method of ring structure is walked, this method specifically includes that
As absolute zero moment at the time of the signal stream sent by starting loop node will be received;
Record receives at the time of the signal is streamed to the central node by each loop node, and described in receiving
The time count value of each loop node in loop structure;
The delay between each loop node and the central node is calculated according to the time count value received;
Received according to record at the time of the signal is streamed to the central node by each loop node with each ring
Delay between circuit node and the central node calculates the transmission between each loop node next loop node adjacent thereto
Delay;
According to adjacent thereto next of transmission delay and each loop node between each loop node and central node
Transmission delay between loop node calculates the initial runtime realization synchronization for respectively going back circuit node relative to the absolute zero moment.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of synchronous ring structure characterized by comprising a central node and multiple loop nodes;Wherein, the multiple
Loop node is composed in series loop structure, and establishes connection with the central node respectively, forms a star ring topology;
When each loop node transmitting signal flow in the loop structure, while the count value of the clock of each loop node being sent
Next node onto setting transmission path;
The central node is used for: controlling the loop structure and the central node according to setting transmission path signal
Stream;It receives the time count value of each loop node in the loop structure and record is received the letter by each loop node
It number is streamed to the time of the central node, according to the time count value received and receive will by each loop node
The time that the signal is streamed to the central node calculates delay between each loop node and the central node and each
Transmission delay between loop node next loop node adjacent thereto;According between each loop node and the central node
Delay and each loop node next loop node adjacent thereto between transmission delay determine the initialization of each loop node
The synchronization of moment completion loop node;
The setting transmission path of the signal stream includes:
Using the starting loop node in the loop structure as current loop node, by current loop node-node transmission in described
Heart node is transferred to current loop node by the central node, if current loop node is the termination in the loop structure
Node, the then transmission of end signal stream;If current loop node is not the terminal node in the loop structure, by working as front ring
Circuit node is transferred to next loop node, and using next loop node of current loop node as new current loop node,
And it returns and is operated by the transmission of current loop node-node transmission to the central node.
2. synchronous ring structure according to claim 1, which is characterized in that the signal stream is by appointing in the loop structure
One loop node is transferred to the central node transmission delay, is transferred to the loop section by the central node with the signal stream
The transmission delay of point is identical.
3. synchronous ring structure according to claim 1 or 2, which is characterized in that the absolute zero moment of the synchronous ring structure
At the time of receiving the signal stream sent by the starting loop node for the central node.
4. a kind of synchronous method is applied to such as synchronous ring structure as claimed in any one of claims 1-3 characterized by comprising
As absolute zero moment at the time of the signal stream sent by starting loop node will be received;
Record receives at the time of the signal is streamed to the central node by each loop node, and receives the loop
The time count value of each loop node in structure;
The delay between each loop node and the central node is calculated according to the time count value received;
Received according to record at the time of the signal is streamed to the central node by each loop node with each loop section
Delay between point and the central node calculates the transmission delay between each loop node next loop node adjacent thereto;
According to the transmission delay and each loop node next loop adjacent thereto between each loop node and central node
Transmission delay between node calculates the initial runtime realization synchronization for respectively going back circuit node relative to the absolute zero moment.
5. synchronous method according to claim 4, which is characterized in that the time count value meter that the basis receives
Calculate the delay between each loop node and the central node, comprising:
When the central node receives the time count value of the same loop node twice, the meter that will can receive for the second time
The half of the difference of numerical value and the count value received for the first time is as the signal stream in the loop node and the center
Transmission delay between node.
6. synchronous method according to claim 4, which is characterized in that being received according to record will be described by each loop node
Delay at the time of signal is streamed to the central node and between each loop node and the central node calculates each loop
Transmission delay between node next loop node adjacent thereto, comprising:
At the time of the signal stream is transferred to the central node from next loop node, the signal stream is subtracted from described each
Loop node is transferred to the time of the central node, subtracts the transmission between next loop node and the central node
Delay, subtracts the transmission delay between each loop node and the central node, the obtained time is as each loop
Transmission delay between node next loop node adjacent thereto.
7. synchronous method according to claim 5, which is characterized in that according between each loop node and central node
Transmission delay and each loop node next loop node adjacent thereto between transmission delay calculating respectively to go back circuit node opposite
It realizes and synchronizes in the initial runtime of the absolute zero moment, comprising:
It is described starting loop node initial runtime be, from the absolute zero moment, the starting loop node with it is described
At the time of corresponding to transmission delay between central node;
The initial runtime of each loop node other than the starting loop node is, from the absolute zero moment, institute
State transmission delay between starting loop node and the central node, from the next node of the starting loop node to described
The biography between each loop node and the central node for including in each loop node other than the starting loop node
Twice of defeated delay and the starting loop node are wrapped into each loop node other than the starting loop node
At the time of corresponding to transmission delay in each loop node included between the two adjacent loop nodes superimposed time.
8. a kind of medical image system, which is characterized in that including synchronous ring structure such as claimed in any one of claims 1-3, make
Each node of the system is according to default sequential working.
9. a kind of computer equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now synchronous method as described in any in claim 4-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The synchronous method as described in any in claim 4-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811371849.4A CN109471834B (en) | 2018-11-15 | 2018-11-15 | Sync ring structure, synchronization method, medical imaging system, apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811371849.4A CN109471834B (en) | 2018-11-15 | 2018-11-15 | Sync ring structure, synchronization method, medical imaging system, apparatus, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109471834A true CN109471834A (en) | 2019-03-15 |
CN109471834B CN109471834B (en) | 2022-04-15 |
Family
ID=65673990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811371849.4A Active CN109471834B (en) | 2018-11-15 | 2018-11-15 | Sync ring structure, synchronization method, medical imaging system, apparatus, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109471834B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635918A (en) * | 2009-08-19 | 2010-01-27 | 西安电子科技大学 | Method for hierarchichal onion rings routing |
CN102065005A (en) * | 2010-11-16 | 2011-05-18 | 杭州初灵信息技术股份有限公司 | Method for realizing function of sharing Ethernet of reverse bi-directional 2M ring |
CN103501319A (en) * | 2013-09-18 | 2014-01-08 | 北京航空航天大学 | Low-delay distributed storage system for small files |
CN105356962A (en) * | 2015-11-20 | 2016-02-24 | 上海联影医疗科技有限公司 | Loop network structure and node time synchronization method thereof |
CN107248913A (en) * | 2017-07-28 | 2017-10-13 | 浙江九州量子信息技术股份有限公司 | A kind of quantum key synchronization system and method based on dynamic group net fault detect |
US20180248797A1 (en) * | 2017-02-28 | 2018-08-30 | ACTUSNETWORKS Co., LTD. | Method and system of protection in time sensitive networks of a ring topology of ring topology |
-
2018
- 2018-11-15 CN CN201811371849.4A patent/CN109471834B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635918A (en) * | 2009-08-19 | 2010-01-27 | 西安电子科技大学 | Method for hierarchichal onion rings routing |
CN102065005A (en) * | 2010-11-16 | 2011-05-18 | 杭州初灵信息技术股份有限公司 | Method for realizing function of sharing Ethernet of reverse bi-directional 2M ring |
CN103501319A (en) * | 2013-09-18 | 2014-01-08 | 北京航空航天大学 | Low-delay distributed storage system for small files |
CN105356962A (en) * | 2015-11-20 | 2016-02-24 | 上海联影医疗科技有限公司 | Loop network structure and node time synchronization method thereof |
US20180248797A1 (en) * | 2017-02-28 | 2018-08-30 | ACTUSNETWORKS Co., LTD. | Method and system of protection in time sensitive networks of a ring topology of ring topology |
CN107248913A (en) * | 2017-07-28 | 2017-10-13 | 浙江九州量子信息技术股份有限公司 | A kind of quantum key synchronization system and method based on dynamic group net fault detect |
Non-Patent Citations (2)
Title |
---|
ABDUL RAZAQUE等: ""Energy-Efficient Boarder Node Medium Access Control Protocol for Wireless Sensor Networks"", 《SENSOR》 * |
李贺: ""移动传感器网络拓扑重构和任务协同机制"", 《中国博士学位论文全文数据库 信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109471834B (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6647506B1 (en) | Universal synchronization clock signal derived using single forward and reverse direction clock signals even when phase delay between both signals is greater than one cycle | |
WO2017186068A1 (en) | Uwb high-precision positioning system, positioning method and apparatus, and computer readable medium | |
CN107182123B (en) | A kind of synchronous method and synchronization system of UWB positioning system | |
US11165866B2 (en) | Secure wireless communication platform | |
CN105933393A (en) | Intra-local area network data synchronization method, device and user terminal | |
US9497017B1 (en) | Signal processing apparatus and method of controlling clock according to analog to digital conversion thereof | |
KR20150114938A (en) | Synchronous signal processing method and device for stereoscopic display of spliced-screen body, and spliced-screen body | |
JP5456202B2 (en) | Master device, slave device, and time synchronization method | |
CN101556316A (en) | Magnetic resonance system and operating method therefor | |
US8755287B2 (en) | Network managing device and network managing method | |
CN106028272A (en) | Time synchronization method and device based on distributed BLE communication protocol wireless sensing system | |
CN110502572A (en) | A kind of method and server that data are synchronous | |
JP2009112809A (en) | Medical imaging system | |
US20200134431A1 (en) | Calculation unit, calculation system and control method for calculation unit | |
CN109471834A (en) | Synchronous ring structure, synchronous method, medical image system, equipment and storage medium | |
US9641268B2 (en) | Method, system and device for synchronizing clocks | |
US9733319B2 (en) | Device, method and system to control an imaging system | |
KR102255334B1 (en) | Apparatus and method for generating a network on chip in an electronic device | |
CN102104546B (en) | Synchronization method and system of forwarding table | |
CN109617817A (en) | A kind of generation method and device of the forwarding-table item of MLAG networking | |
KR102343069B1 (en) | 3d based indoor location estimation device and system | |
US20190347241A1 (en) | Distributed system | |
WO2022018844A1 (en) | Slave device, relay device, master-slave system, slave control method, slave control program, relay method, and relay program | |
US11239988B2 (en) | Methods and systems for synchronization of slave device with master device | |
US7249274B1 (en) | System and method for scalable clock gearing mechanism |
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 | ||
CB02 | Change of applicant information | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |