CN108964844A - Data transmission method, device, electronic equipment and CT rack - Google Patents

Data transmission method, device, electronic equipment and CT rack Download PDF

Info

Publication number
CN108964844A
CN108964844A CN201810713119.1A CN201810713119A CN108964844A CN 108964844 A CN108964844 A CN 108964844A CN 201810713119 A CN201810713119 A CN 201810713119A CN 108964844 A CN108964844 A CN 108964844A
Authority
CN
China
Prior art keywords
data packet
image data
rack
master station
buffer area
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
Application number
CN201810713119.1A
Other languages
Chinese (zh)
Other versions
CN108964844B (en
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.)
Neusoft Medical Systems Co Ltd
Original Assignee
Neusoft Medical Systems 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 Neusoft Medical Systems Co Ltd filed Critical Neusoft Medical Systems Co Ltd
Priority to CN201810713119.1A priority Critical patent/CN108964844B/en
Publication of CN108964844A publication Critical patent/CN108964844A/en
Application granted granted Critical
Publication of CN108964844B publication Critical patent/CN108964844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1861Physical mapping arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • H04N1/00209Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax
    • H04N1/00214Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa

Abstract

The application provides a kind of data transmission method, device, electronic equipment and CT rack, the method is applied to CT system, it include CT master station and CT rack in the CT system, which comprises the image data that scanning obtains is encapsulated as multiple images data packet by the CT rack;After the CT rack transfers i-th of image data packet to the CT master station, i+1 image data packet is transmitted;Wherein, i is the natural number greater than 0, initial value 1;If the CT rack does not receive the response of i-th of image data packet before transferring the i+1 image data packet, i-th of image data packet and the i+1 image data packet are retransmitted to the CT master station.Technical scheme can satisfy the variable requirement of the message transmission rate in practical application between CT rack and CT master station, it can the data transmission suitable for CT system.

Description

Data transmission method, device, electronic equipment and CT rack
Technical field
This application involves field of communication technology more particularly to a kind of data transmission method, device, electronic equipment and CT machines Frame.
Background technique
In CT (Computed Tomography, computed tomography) system, the image data scanned is usual Need to be transmitted to CT master station from CT rack to be further processed.In the related technology, CT rack and CT master station are as number According to transmitting terminal and receiving end, the data transmission mechanism that can be used include: transmitting terminal will scanning obtain image data encapsulation For multiple data packets, and transmit these data packets one by one to receiving end.It, can be to if receiving end receives a certain data packet Transmitting terminal returns to ACK (Acknowledgement confirms character).Correspondingly, transmitting terminal can be examined within the preset time cycle The ACK for whether receiving the data packet is surveyed, if receiving, transmitting terminal continues to transmit next data packet;Otherwise, transmitting terminal retransmits The data packet.
However, the message transmission rate between CT rack and CT master station depends on the revolving speed of CT rack.Therefore, CT rack Revolving speed it is slower, then message transmission rate is smaller, and CT rack returns to ACK from a certain data packet is sent, to CT master station is received Time interval it is longer.In this case, using retransmission mechanism in the related technology, may when CT rack revolving speed is slower, There is the erroneous judgement to ACK, lead to non-essential data packet retransmission, and cause the inessential occupancy of transfer resource, reduces data and pass Defeated speed.
Summary of the invention
In view of this, the application provides a kind of data transmission method, device, electronic equipment and CT rack, to solve correlation Retransmission mechanism in technology is not suitable for the problem of transmission of the data in CT system.
Specifically, the application is achieved by the following technical solution:
In a first aspect, the application provides a kind of data transmission method, the method is applied to CT system, in the CT system Including CT master station and CT rack, which comprises
The image data that scanning obtains is encapsulated as multiple images data packet by the CT rack;
After the CT rack transfers i-th of image data packet to the CT master station, i+1 image data is transmitted Packet;Wherein, i is the natural number greater than 0, initial value 1;
If the CT rack does not receive i-th of image before transferring the i+1 image data packet The response of data packet then retransmits i-th of image data packet and the i+1 image data packet to the CT master station.
Second aspect, the application provide a kind of data transmission device, and described device is applied to the CT rack in CT system, institute Stating in CT system further includes CT master station, and described device includes:
Encapsulation unit, the image data for obtaining scanning are encapsulated as multiple images data packet;
First transmission unit, after transferring i-th of image data packet to the CT master station, transmission i+1 figure As data packet;Wherein, i is the natural number greater than 0, initial value 1;
First transmission unit is also used to not receive described before transferring the i+1 image data packet When the response of i image data packet, i-th of image data packet and the i+1 image are retransmitted to the CT master station Data packet.
The third aspect, the application provide a kind of electronic equipment, are stored with executable instruction, the electricity in the electronic equipment Sub- equipment is realized when executing described instruction such as the step of the above method;
First data buffer area and second data buffer area are located at the dual port random access of the electronic equipment In memory RAM.
Fourth aspect, the application provide a kind of CT rack, and the CT rack includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the executable instruction that the processor is stored by reading and executing the memory, realizes such as above-mentioned side The step of method;
First data buffer area and second data buffer area are located in the memory.
Above-mentioned technical proposal is analyzed it is found that carrying out data biography between CT rack and CT master station in technical scheme When defeated, CT rack can continue to transmit i+1 image data packet after transferring i-th of image data packet to CT master station; Meanwhile CT rack can detect whether to receive i-th of image data before transferring the i+1 image data packet The response of packet.Compared with the relevant technologies, in this manner, CT rack, which is not necessarily to the detection in fixed preset period of time, is The no response for receiving i-th of image data packet, and can voluntarily be adjusted according to its message transmission rate between CT master station The whole time cycle, so as to reduce to whether receive image data packet response generate erroneous judgement probability, improve CT rack The reliability of data transmission between CT master station.Therefore, technical scheme can satisfy CT rack in practical application The requirement that message transmission rate between CT master station can be changed, it can the data transmission suitable for CT system.
Detailed description of the invention
Fig. 1 is a kind of system architecture diagram of CT system;
Fig. 2 is a kind of flow chart of data transmission method shown in one exemplary embodiment of the application;
Fig. 3 is the flow chart of another data transmission method shown in one exemplary embodiment of the application;
Fig. 4 is the flow chart of another data transmission method shown in one exemplary embodiment of the application;
Fig. 5 is a kind of hardware structure diagram of data transmission device place equipment shown in one exemplary embodiment of the application;
Fig. 6 is a kind of block diagram of data transmission device shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Referring to FIG. 1, being a kind of system architecture diagram of CT system.As shown in Figure 1, including CT rack and CT in the CT system Master station.In the related technology, the image data that CT rack can be scanned is encapsulated as multiple images data packet, and to CT Master station transmits these image data packets one by one.CT master station can return after receiving a certain image data packet to CT rack Return the image data packet response (such as: ACK etc.).Correspondingly, CT rack can detect whether within the preset time cycle Receive the response of the image data packet.If receiving, CT rack can continue to transmit next image data to CT master station Packet;Otherwise, CT rack can retransmit the image data packet to CT master station.Using such retransmission mechanism, CT machine can be improved The reliability of data transmission between frame and CT master station avoids the occurrence of to improve the stability of CT system operation due to number According to error or lose the problem for causing CT system out of service.
However, the message transmission rate between CT rack and CT master station depends on the revolving speed of CT rack.Specifically, CT machine The revolving speed of frame is faster, then the speed for requiring CT master station to obtain data is also faster, i.e., the data between CT rack and CT master station Transmission rate is bigger, and CT rack sends a certain image data packet to CT master station, to the figure for receiving the return of CT master station As the time interval of the response of data packet is shorter;The revolving speed of CT rack is slower, then the speed of CT master station acquisition data is also slower, Message transmission rate i.e. between CT rack and CT master station is smaller, and CT rack sends a certain image data to CT master station Packet, the time interval to the response for the image data packet for receiving the return of CT master station are longer.In this case, using phase Retransmission mechanism in the technology of pass may be longer due to the time cycle of setting when CT rack revolving speed is very fast, cause CT rack without Method judges whether to receive the response of image data packet in time, to influence the data transmission between CT rack and CT master station Reliability;And when CT rack revolving speed is slower, then it may be shorter due to the time cycle of setting, cause CT rack receiving figure As data packet response before the image data packet has been retransmitted, to also will affect between CT rack and CT master station Data transmission reliability.
On the other hand, in the related technology, the image data that scanning obtains usually is encapsulated as multiple equal in magnitude by CT rack Image data packet, and transmit these image data packets one by one to CT master station.In this case, if the picture number of encapsulation It is excessive according to the size of packet, then data transmission blocking may result in using above-mentioned retransmission mechanism;If the image data packet of encapsulation Size it is too small, then data transmission period can be extended using above-mentioned retransmission mechanism.It can be seen that the image data packet of encapsulation is excessive Or the too small message transmission rate that can all influence between CT rack and CT master station,
In summary as it can be seen that retransmission mechanism in the related technology is not particularly suited for the transmission of the data in CT system.Therefore, originally Application provides transmission method, device, electronic equipment and the CT rack of a kind of data packet, to solve retransmission mechanism in the related technology The problem of data transmission not being suitable in CT system.
Referring to FIG. 2, for a kind of flow chart of data transmission method shown in one exemplary embodiment of the application.This method It can be applied to CT system shown in FIG. 1, include the following steps:
Step 201: the image data that scanning obtains is encapsulated as multiple images data packet by the CT rack.
Step 202: after the CT rack transfers i-th of image data packet to the CT master station, transmission i+1 figure As data packet;Wherein, i is the natural number greater than 0, initial value 1.
Step 203: if the CT rack does not receive described before transferring the i+1 image data packet The response of i image data packet then retransmits i-th of image data packet and the i+1 image to the CT master station Data packet.
In the present embodiment, similar with the relevant technologies, CT rack can also be first by image data obtained in present scan It is encapsulated as multiple images data packet.
Subsequent, CT rack can also transmit these image data packets one by one to CT master station.Specifically, CT rack can be first I-th of image data packet is transmitted to CT master station, and in the transmission for completing i-th image data packet and then to CT master station Transmit i+1 image data packet.Wherein, i is the natural number greater than 0, and initial value 1, i.e. CT rack can be from the 1st images Data packet starts, and transmits the image data packet that its in present scan encapsulates one by one to CT master station.
CT rack can detecte before the transmission for completing i+1 image data packet and whether receive i-th of picture number According to packet response (such as: ACK etc.).
Based on above-mentioned testing result, if CT rack does not receive before the transmission for completing i+1 image data packet The response of i-th of image data packet then illustrates that CT master station may not receive i-th of image data packet.In such case Under, in order to guarantee that the reliability of the transmission of the data between CT rack and CT master station, CT rack can retransmit i-th to CT master station A image data packet, on the other hand, in order to avoid data transmit random ordering, no matter whether CT rack has completed i+1 at this time The transmission of image data packet, or the response of i+1 image data packet whether has been received, it can complete i-th After the re-transmission of image data packet, then to CT master station retransmit i+1 image data packet;It should be noted that CT rack can be with Before the re-transmission for completing i+1 image data packet, i-th of image data packet of re-transmission before detecting whether to receive again Response;And so on.
On the other hand, referring to FIG. 3, above-mentioned data transmission method can also include the following steps:
Step 204: if the CT rack receives described i-th before transferring the i+1 image data packet The response of a image data packet detects whether the i+1 image data packet is the last one image data packet.
In the present embodiment, if CT rack receives i-th before the transmission for completing i+1 image data packet The response of image data packet then illustrates that CT master station has received i-th of image data packet.At this point, CT rack can be further Detect whether i+1 image data packet is the last one the image data packet encapsulated in present scan.
Step 205: if the i+1 image data packet is the last one image data packet, the CT rack exists Detect whether to receive the response of the i+1 image data packet in preset period first time.
Based on above-mentioned testing result, if i+1 image data packet is not the last one figure encapsulated in present scan As data packet, then illustrate that CT rack still needs to continue to transmit image data packet to CT master station, i.e. CT rack can transfer i-th After+1 image data packet, continue to transmit the i-th+2 image data packets to CT master station.
On the other hand, if i+1 image data packet is the last one the image data packet encapsulated in present scan, Illustrate that CT rack transmits image data packet to CT master station without continuing.At this point, CT rack can be in preset week first time In phase, the response for receiving i+1 image data packet is detected whether.Wherein, period first time can be set in advance by user It sets, the initial value of system default can also be used.
Step 206: if the CT rack receives the i+1 image data packet within period first time Response, then stop to the CT master station transmit image data packet.
Step 207: if the CT rack does not receive the i+1 image data within period first time The response of packet then retransmits the i+1 image data packet to the CT master station.
Based on above-mentioned testing result, if CT rack receives i+1 image data packet within period first time Response then illustrates that CT master station has received i+1 image data packet.It is subsequent, since i+1 image data packet has been most The latter image data packet illustrates that the data transmission in present scan between CT rack and CT master station has been completed, therefore CT Rack can stop transmitting image data packet to CT master station.
On the other hand, if CT rack does not receive the response of i+1 image data packet within period first time, Illustrate that CT master station may not receive i+1 image data packet.In this case, CT rack can be to CT master station Retransmit i+1 image data packet;In addition, CT rack can be after the re-transmission for completing i+1 image data packet, again the Detect whether to receive the response of i+1 image data packet in a period of time.
As seen from the above-described embodiment, in technical scheme, when carrying out data transmission between CT rack and CT master station, CT rack can continue to transmit i+1 image data packet after transferring i-th of image data packet to CT master station;Meanwhile CT rack can detect whether to receive answering for i-th of image data packet before transferring the i+1 image data packet It answers.Compared with the relevant technologies, in this manner, CT rack in fixed preset period of time without detecting whether to receive To the response of i-th of image data packet, and can be according to its message transmission rate between CT master station voluntarily adjustment time Period improves CT rack and CT so as to reduce it to whether receiving the response of image data packet and generating the probability of erroneous judgement The reliability of data transmission between master station.Therefore, technical scheme can satisfy CT rack and CT in practical application The requirement that message transmission rate between master station can be changed, it can the data transmission suitable for CT system.
In order to further increase the data transmission efficiency between CT rack and CT master station, 2 data buffer storages can be set Area, for caching the image data of current transmission.In this case, CT rack is when transmitting i-th of image data packet, can be with I-th of image data packet is saved to the first data buffer area;It, then can will be former and when transmitting i+1 image data packet I-th of image data packet being first stored in the first data buffer area is saved into the second data buffer area, and i+1 is schemed As data packet is saved into the first data buffer area.
It is subsequent, if CT rack does not receive i-th of image data packet before transferring i+1 image data packet Response then can directly read i-th of image data packet from the second data buffer area, to retransmit i-th of figure to CT master station As data packet;And after the re-transmission for completing i-th of image data packet, then it can read i-th directly from the first data buffer area+ 1 image data packet, to retransmit i+1 image data packet to CT master station.
Using aforesaid way, CT rack when needing retransmitting images data packet, without again from raw storage section (i.e. For saving the data storage area of all image data packets encapsulated in present scan) in read and need the image data that retransmits Packet, and the image data packet for needing to retransmit can be read directly from 2 data buffer areas of setting.In this manner, Can accelerate the reading speed of image data packet for needing to retransmit, to reduce the time required for re-transmission, improve CT rack with Message transmission rate between CT master station.
It should be noted that above-mentioned data transmission method can be by CPU (central processing unit, the Central in CT rack Processing Unit) it realizes, above-mentioned 2 data buffer areas can be RAM (the random access in CT rack at this time Memory, random access memory) a part.In order to further increase the transmission speed of the data between CT rack and CT master station Rate, above-mentioned data transmission method can also be by FPGA (the Field-Programmable Gate that are mounted in CT rack Array, field programmable gate array) chip or application-specific integrated circuit (integrated circuit, integrated circuit) realize, it is above-mentioned at this time 2 data buffer areas can be a part of the RAM (such as: dual port RAM etc.) in fpga chip or application-specific integrated circuit.
On the other hand, excessive for the size of the image data packet of encapsulation or too small can all influence CT rack and CT master station Between message transmission rate the problem of, CT rack will the obtained image data of scanning be encapsulated as multiple images data packet when, The width CT package images that multi-Slice CT image data can be formed are an image data packet, i.e., have in each image data packet And an only width CT image, such as: abdomen scanning may need 128 layers of CT image data to form a width CT image, then at this time It include the width CT image that 128 layers of CT image data is formed in each image data packet;Head scanning may only need 8 layers of CT Image data forms a width CT image, then at this time includes the width CT figure that 8 layers of CT image data are formed in each image data packet Picture.In addition, the size of above-mentioned 2 data buffer areas needs the width CT image that the CT image data not less than the maximum number of plies is formed Size, to guarantee that any one image data packet can be saved completely into this 2 data buffer areas.
It should be noted that when saving image data packet into above-mentioned 2 data buffer areas, it can be to the write-in figure As the last one data address (being assumed to be end_addr) of data packet is recorded.In this way, from the first data buffer area or When reading the image data packet in the second data buffer area and being retransmitted, it is only necessary to reading address end_addr can stop, from And the re-transmission of different size of image data packet may be implemented, meet and is transmitted between CT rack and CT master station in practical application The variable requirement of the size of image data packet, i.e., the data transmission suitable for CT system.
If not receiving answering for i-th of image data packet before CT rack completes the transmission of i+1 image data packet It answers, then illustrates that CT master station may not receive i-th of image data packet.In this case, if directly to CT master control Platform retransmits i-th of image data packet and i+1 image data packet, due to including that a width CT schemes in each image data packet Picture, therefore the volume of transmitted data that will lead between CT rack and CT master station is larger.
In order to reduce the volume of transmitted data between CT rack and CT master station, mitigate the number between CT rack and CT master station According to the load of transmission link, referring to FIG. 4, above-mentioned data transmission method can also include the following steps:
Step 208: retransmitting i-th of image data packet and the i+1 image data to the CT master station Before packet, the CT rack transmits at least one detection data packet to the CT master station.
Step 209: the CT rack detects the detection data packet received in preset second time period Whether the quantity of response reaches preset detection threshold value.
Step 210: if the detection data packet that the CT rack in the second time period, receives is answered The quantity answered reaches the detection threshold value, then retransmits i-th of image data packet and the i+1 to the CT master station Image data packet.
Step 211: if the detection data packet that the CT rack in the second time period, receives is answered The quantity answered is not up to the detection threshold value, then retransmits the detection data packet to the CT master station.
In the present embodiment, if do not received i-th before the transmission of CT rack completion i+1 image data packet The response of image data packet, then CT rack can first stop transmitting image data packet to the CT master station, i.e., no longer to CT master It controls platform and retransmits i-th of image data packet and i+1 image data packet, and at least one testing number can be transmitted to CT master station According to packet.It wherein, can only include necessary data needed for communication in detection data packet, particular content depends on CT rack and CT Used communication protocol between master station (such as: the network transmission protocols such as PCIE agreement, TCP/IP), i.e. detection data packet Size is usually smaller.
Subsequent, CT rack can detect answering for the detection data packet received in preset second time period Whether the quantity answered reaches preset detection threshold value.Wherein, second time period and detection threshold value can be set in advance by user It sets, the initial value of system default can also be used.
Based on above-mentioned testing result, if CT rack in second time period, the response of the detection data packet received Quantity reach detection threshold value, that is, be greater than or equal to detection threshold value, it can be said that between the bright rack of CT at this time and CT master station Data transmission link is normal, it may be possible to since data-bag lost causes CT master station not receive i-th of image data packet.Cause This, CT rack can retransmit i-th of image data packet and i+1 image data packet to CT master station, with improve CT rack and The reliability of data transmission between CT master station.
On the other hand, if CT rack is in second time period, the quantity of the response of the detection data packet received is not Reach detection threshold value, that is, is less than detection threshold value, it can be said that the data transmission link between the bright rack of CT at this time and CT master station It is likely to occur exception.In this case, CT system can be alerted to user, to remind between user CT rack and CT master station Data transmission link occur it is abnormal.In addition, CT rack can continue to transmit detection data packet to CT master station, and next the In two time cycles, whether the quantity for detecting the response of the detection data packet received again reaches detection threshold value.In this way, with Complete the data between the reparation or CT rack and CT master station of the data transmission link between CT rack and CT master station in family After the success of transmission link self-healing, CT rack can find that its data transmission link between CT master station restores just in time Often, and to CT master station i-th of image data packet and i+1 image data packet are retransmitted, to improve CT rack and CT master station Between data transmission reliability.
As an example it is assumed that the second time period of user setting be 5 seconds, detection threshold value 3, then CT rack can to After CT master station transmits 3 or more detection data packets, in 5 seconds detection receive the transmission of CT master station for these testing numbers According to packet response quantity whether less than 3.If in 5 second, the response for these detection data packets that CT rack receives Quantity be greater than or equal to 3, then can determine that the data transmission link between CT rack and CT master station is normal, therefore CT rack I-th of image data packet and i+1 image data packet can be retransmitted to CT master station.However, if in 5 seconds, CT rack The quantity of the response for these detection data packets received can then determine between CT rack and CT master station less than 3 Data transmission link is abnormal, and CT rack can alert to user at this time, to remind user link exception, or can continue to CT master station transmits detection data packet, and in next 5 seconds, the quantity for detecting the response of the detection data packet received again is It is no to reach detection threshold value.
Corresponding with the embodiment of aforementioned data transmission method, present invention also provides the embodiments of data transmission device.
The embodiment of the application data transmission device can be applied in CT rack.Installation practice can pass through software reality It is existing, it can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as on a logical meaning Device is in being read computer program instructions corresponding in nonvolatile memory by the processor of CT rack where it Deposit what middle operation was formed.For hardware view, as shown in figure 5, for one kind of the application data transmission device place CT rack Hardware structure diagram, other than processor shown in fig. 5, memory, network interface and nonvolatile memory, in embodiment The actual functional capability that CT rack where device is transmitted generally according to the data can also include other hardware, repeat no more to this.
Referring to FIG. 6, for a kind of block diagram of data transmission device shown in one exemplary embodiment of the application.The device 600 can be applied to CT rack shown in fig. 5, and it further includes CT master control in the CT system that the CT rack, which is located in CT system, Platform.The device 600 may include:
Encapsulation unit 601, the image data for obtaining scanning are encapsulated as multiple images data packet;
First transmission unit 602, after transferring i-th of image data packet to the CT master station, transmission i+1 Image data packet;Wherein, i is the natural number greater than 0, initial value 1;
First transmission unit 602 can be also used for not receiving before transferring the i+1 image data packet To i-th of image data packet response when, to the CT master station retransmit i-th of image data packet and described i-th+ 1 image data packet.
In an alternative embodiment, described device 600 can also include:
Storage unit 603, for when transmitting i-th of image data packet, i-th of image data packet to be saved To the first data buffer area;
The storage unit 603 can be also used for when transmitting the i+1 image data packet, by first data I-th of image data packet in buffer area is saved to the second data buffer area, and the i+1 image data packet is protected It deposits to the first data buffer area;
First transmission unit 602 may include:
Subelement 6021 is retransmitted, for retransmitting to the CT master station described i-th in second data buffer area Image data packet, and retransmit to the CT master station i+1 image data packet in first data buffer area.
It in another alternative embodiment, include a width CT of multi-Slice CT image data formation in described image data packet Image;
The size of first data buffer area and second data buffer area is not less than the CT picture number of the maximum number of plies According to the size of a width CT image of formation.
In another alternative embodiment, described device 600 can also include:
First detection unit 604, for being received described i-th before transferring the i+1 image data packet When the response of image data packet, detect whether the i+1 image data packet is the last one image data packet;
Second detection unit 605, for when the i+1 image data packet is the last one image data packet, Detect whether to receive the response of the i+1 image data packet in preset period first time;
Stop unit 606, for receiving the response of the i+1 image data packet within period first time When, stop transmitting image data packet to the CT master station;
Second transmission unit 607, for not receiving the i+1 image data packet within period first time Response when, retransmit the i+1 image data packet to the CT master station.
In another alternative embodiment, described device 600 can also include:
Third transmission unit 608, for the CT master station retransmit i-th of image data packet and described i-th+ Before 1 image data packet, at least one detection data packet is transmitted to the CT master station;
Third detection unit 609, for detecting the detection data packet received in preset second time period The quantity of response whether reach preset detection threshold value;
First transmission unit 602 can be also used for the testing number in the second time period, received When reaching the detection threshold value according to the quantity of the response of packet, i-th of image data packet and institute are retransmitted to the CT master station State i+1 image data packet;
The third transmission unit 608 can be also used for the testing number in the second time period, received When being not up to the detection threshold value according to the quantity of the response of packet, the detection data packet is retransmitted to the CT master station.
In one exemplary embodiment of the application, a kind of electronic equipment is provided, the electronic equipment can be in CT rack CPU, the fpga chip or application-specific integrated circuit that are mounted in CT rack, be stored with executable instruction, the electricity in the electronic equipment The step of sub- equipment realizes either method provided by the present application when executing described instruction.
In an alternative embodiment, first data buffer area and second data buffer area can be located at institute It states in the dual port random access memory RAM of electronic equipment.
In one exemplary embodiment of the application, a kind of CT rack is provided, which is characterized in that the CT rack includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the executable instruction that the processor is stored by reading and executing the memory realizes that the application mentions For either method the step of.
In an alternative embodiment, first data buffer area and second data buffer area can be located at institute It states in memory.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (14)

1. a kind of data transmission method, which is characterized in that the method is applied to computer tomography CT system, the CT system It include CT master station and CT rack in system, which comprises
The image data that scanning obtains is encapsulated as multiple images data packet by the CT rack;
After the CT rack transfers i-th of image data packet to the CT master station, i+1 image data packet is transmitted;Its In, i is the natural number greater than 0, initial value 1;
If the CT rack does not receive i-th of image data before transferring the i+1 image data packet The response of packet then retransmits i-th of image data packet and the i+1 image data packet to the CT master station.
2. the method according to claim 1, wherein the method also includes:
The CT rack saves i-th of image data packet to the first data when transmitting i-th of image data packet Buffer area;
The CT rack is when transmitting the i+1 image data packet, by described i-th in first data buffer area Image data packet is saved to the second data buffer area, and the i+1 image data packet is saved to the first data buffer area;
It is described to retransmit i-th of image data packet and the i+1 image data packet to the CT master station, comprising:
I-th of image data packet in second data buffer area is retransmitted to the CT master station, and to the CT master Control platform retransmits the i+1 image data packet in first data buffer area.
3. according to the method described in claim 2, it is characterized in that,
It include the width CT image that multi-Slice CT image data is formed in described image data packet;
The size of first data buffer area and second data buffer area is not less than the CT image data shape of the maximum number of plies At a width CT image size.
4. the method according to claim 1, wherein the method also includes:
If the CT rack receives i-th of image data packet before transferring the i+1 image data packet Response, detect whether the i+1 image data packet is the last one image data packet;
If the i+1 image data packet is the last one image data packet, the CT rack is at preset first Between detect whether to receive the response of the i+1 image data packet in the period;
If the CT rack receives the response of the i+1 image data packet within period first time, stop Only image data packet is transmitted to the CT master station;
If the CT rack does not receive the response of the i+1 image data packet within period first time, The i+1 image data packet is retransmitted to the CT master station.
5. the method according to claim 1, wherein retransmitting i-th of picture number to the CT master station Before packet and the i+1 image data packet, the method also includes:
The CT rack transmits at least one detection data packet to the CT master station;
In preset second time period, the quantity for detecting the response of the detection data packet received is the CT rack It is no to reach preset detection threshold value;
If the CT rack, in the second time period, the quantity of the response of the detection data packet received reaches The detection threshold value then retransmits i-th of image data packet and the i+1 image data packet to the CT master station;
If the CT rack, in the second time period, the quantity of the response of the detection data packet received does not reach To the detection threshold value, then the detection data packet is retransmitted to the CT master station.
6. a kind of data transmission device, which is characterized in that described device is applied to the CT rack in CT system, in the CT system It further include CT master station, described device includes:
Encapsulation unit, the image data for obtaining scanning are encapsulated as multiple images data packet;
First transmission unit transmits i+1 picture number after transferring i-th of image data packet to the CT master station According to packet;Wherein, i is the natural number greater than 0, initial value 1;
First transmission unit is also used to not receive described i-th before transferring the i+1 image data packet When the response of image data packet, i-th of image data packet and the i+1 image data are retransmitted to the CT master station Packet.
7. device according to claim 6, which is characterized in that described device further include:
Storage unit, for when transmitting i-th of image data packet, i-th of image data packet to be saved to first Data buffer area;
The storage unit is also used to when transmitting the i+1 image data packet, will be in first data buffer area I-th of image data packet is saved to the second data buffer area, and the i+1 image data packet is saved to the first number According to buffer area;
First transmission unit includes:
Subelement is retransmitted, for retransmitting i-th of image data in second data buffer area to the CT master station It wraps, and retransmits the i+1 image data packet in first data buffer area to the CT master station.
8. device according to claim 7, which is characterized in that
It include the width CT image that multi-Slice CT image data is formed in described image data packet;
The size of first data buffer area and second data buffer area is not less than the CT image data shape of the maximum number of plies At a width CT image size.
9. device according to claim 6, which is characterized in that described device further include:
First detection unit, for receiving i-th of image data before transferring the i+1 image data packet When the response of packet, detect whether the i+1 image data packet is the last one image data packet;
Second detection unit, for when the i+1 image data packet is the last one image data packet, preset Detect whether to receive the response of the i+1 image data packet in a period of time;
Stop unit when for receiving the response of the i+1 image data packet within period first time, stops Image data packet is transmitted to the CT master station;
Second transmission unit, for not receiving the response of the i+1 image data packet within period first time When, the i+1 image data packet is retransmitted to the CT master station.
10. device according to claim 6, which is characterized in that described device further include:
Third transmission unit, for retransmitting i-th of image data packet and the i+1 image to the CT master station Before data packet, at least one detection data packet is transmitted to the CT master station;
Third detection unit, for detecting the response of the detection data packet received in preset second time period Quantity whether reach preset detection threshold value;
First transmission unit is also used in the second time period, the response of the detection data packet received When quantity reaches the detection threshold value, i-th of image data packet and the i+1 image are retransmitted to the CT master station Data packet;
The third transmission unit is also used in the second time period, the response of the detection data packet received When quantity is not up to the detection threshold value, the detection data packet is retransmitted to the CT master station.
11. a kind of electronic equipment, which is characterized in that be stored with executable instruction in the electronic equipment, the electronic equipment is held The step of the method as any such as claim 1-5 is realized when row described instruction.
12. electronic equipment according to claim 11, which is characterized in that the dual port random access of the electronic equipment stores The first data buffer area and the second data buffer area are provided in device RAM.
13. a kind of CT rack, which is characterized in that the CT rack includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the executable instruction that the processor is stored by reading and executing the memory, realizes such as claim 1-5 The step of any the method.
14. CT rack according to claim 13, which is characterized in that be provided with the first data buffer area in the memory With the second data buffer area.
CN201810713119.1A 2018-06-29 2018-06-29 Data transmission method and device, electronic equipment and CT (computed tomography) rack Active CN108964844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810713119.1A CN108964844B (en) 2018-06-29 2018-06-29 Data transmission method and device, electronic equipment and CT (computed tomography) rack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810713119.1A CN108964844B (en) 2018-06-29 2018-06-29 Data transmission method and device, electronic equipment and CT (computed tomography) rack

Publications (2)

Publication Number Publication Date
CN108964844A true CN108964844A (en) 2018-12-07
CN108964844B CN108964844B (en) 2021-08-31

Family

ID=64484915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810713119.1A Active CN108964844B (en) 2018-06-29 2018-06-29 Data transmission method and device, electronic equipment and CT (computed tomography) rack

Country Status (1)

Country Link
CN (1) CN108964844B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110584690A (en) * 2019-09-27 2019-12-20 东软医疗系统股份有限公司 CT image data transmission method, device and equipment and CT system
CN110706790A (en) * 2019-09-29 2020-01-17 东软医疗系统股份有限公司 Data transmission method, device and equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1815942A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Data transmission method based on window mechanism action
US20090316698A1 (en) * 2008-06-23 2009-12-24 Lucent Technologies Inc. Processing of packet fragments
CN102150388A (en) * 2008-09-11 2011-08-10 爱立信电话股份有限公司 Method for automatic repeat request operation, transceiver arrangement, and computer program
CN103220091A (en) * 2012-01-20 2013-07-24 华为技术有限公司 Data transmission method and device
CN104104480A (en) * 2014-07-31 2014-10-15 北京蓝汛通信技术有限责任公司 Method and device for detecting retransmission packet loss of TCP (transmission control protocol)
CN104825183A (en) * 2015-04-17 2015-08-12 中国科学院苏州生物医学工程技术研究所 Encapsulation transmission method used for CT data
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105610604A (en) * 2015-12-16 2016-05-25 网宿科技股份有限公司 Graphical analysis method and system of TCP transmission data
CN106301714A (en) * 2016-08-16 2017-01-04 浙江大华技术股份有限公司 A kind of data transmission method and device
US20170026150A1 (en) * 2013-12-06 2017-01-26 Lntel Corporation Efficient link layer retry protocol utilizing implicit acknowledgements
CN106533639A (en) * 2016-12-06 2017-03-22 迈锐数据(北京)有限公司 Data retransmission method and device
CN107911841A (en) * 2017-10-24 2018-04-13 浙江工业大学 A kind of method for reliable transmission of Sensor Network time delay optimization

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1815942A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Data transmission method based on window mechanism action
US20090316698A1 (en) * 2008-06-23 2009-12-24 Lucent Technologies Inc. Processing of packet fragments
CN102150388A (en) * 2008-09-11 2011-08-10 爱立信电话股份有限公司 Method for automatic repeat request operation, transceiver arrangement, and computer program
CN103220091A (en) * 2012-01-20 2013-07-24 华为技术有限公司 Data transmission method and device
US20170026150A1 (en) * 2013-12-06 2017-01-26 Lntel Corporation Efficient link layer retry protocol utilizing implicit acknowledgements
CN104104480A (en) * 2014-07-31 2014-10-15 北京蓝汛通信技术有限责任公司 Method and device for detecting retransmission packet loss of TCP (transmission control protocol)
CN104825183A (en) * 2015-04-17 2015-08-12 中国科学院苏州生物医学工程技术研究所 Encapsulation transmission method used for CT data
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105610604A (en) * 2015-12-16 2016-05-25 网宿科技股份有限公司 Graphical analysis method and system of TCP transmission data
CN106301714A (en) * 2016-08-16 2017-01-04 浙江大华技术股份有限公司 A kind of data transmission method and device
CN106533639A (en) * 2016-12-06 2017-03-22 迈锐数据(北京)有限公司 Data retransmission method and device
CN107911841A (en) * 2017-10-24 2018-04-13 浙江工业大学 A kind of method for reliable transmission of Sensor Network time delay optimization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FLF0000FLF: ""窗口协议"", 《百度文库》 *
王蓉: ""基于重传次数优化的HARQ技术研究"", 《中国优秀硕士论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110584690A (en) * 2019-09-27 2019-12-20 东软医疗系统股份有限公司 CT image data transmission method, device and equipment and CT system
CN110584690B (en) * 2019-09-27 2023-03-28 东软医疗系统股份有限公司 CT image data transmission method, device and equipment and CT system
CN110706790A (en) * 2019-09-29 2020-01-17 东软医疗系统股份有限公司 Data transmission method, device and equipment
CN110706790B (en) * 2019-09-29 2023-10-31 东软医疗系统股份有限公司 Data transmission method, device and equipment

Also Published As

Publication number Publication date
CN108964844B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN111512603B (en) Data transmission method and first equipment
US6393023B1 (en) System and method for acknowledging receipt of messages within a packet based communication network
US8799504B2 (en) System and method of TCP tunneling
CN109936510A (en) Multipath RDMA transmission
TWI734380B (en) Computer-implemented method and system and non-transitory computer-readable storage medium
JPH11143845A (en) System and method for message transmission between network nodes
CN109064524A (en) A kind of data transmission method, rebuilds machine and medium at data collection plate
CN109194452A (en) Data repeating method, device, storage medium and its network equipment
CN109981385A (en) A kind of methods, devices and systems for realizing packet loss detection
CN108322836A (en) A kind of method and device of data transmission
CN108964844A (en) Data transmission method, device, electronic equipment and CT rack
CN110120980A (en) Reliable file transmission method, computer equipment and the storage medium of unstable link
US20090003228A1 (en) Bad data packet capture device
US10135578B2 (en) Method of re-transmitting data and electronic device therefor
JP7210867B2 (en) Acknowledgment packet transmission method and communication device
US8522104B2 (en) Smart aging retry buffer
CN111741013B (en) Data transmission method and device
JP3433180B2 (en) Transmission device and communication system
CN103873192A (en) Data processing method and device
CN104012054A (en) Video processing method, device and system
JP2001086141A (en) Evaluation device for usb function and usb function evaluation method
US20100122134A1 (en) Application-configured, content-based retransmission scheme for dropped media access control frames
CN114268416B (en) Data transmission method and device and electronic equipment
CN114285747B (en) TCP data receiving method, device, equipment and storage medium
AU2010335152A1 (en) Apparatus and method of communicating automatic repeat request (ARQ) feedback in a wireless communication network

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: 110167 No. 177-1 Innovation Road, Hunnan District, Shenyang City, Liaoning Province

Applicant after: DongSoft Medical System Co., Ltd.

Address before: 110167 No. 177-1 Innovation Road, Hunnan District, Shenyang City, Liaoning Province

Applicant before: Dongruan Medical Systems Co., Ltd., Shenyang

GR01 Patent grant
GR01 Patent grant