CN116312980A - Data transmission method and device, CT machine and storage medium - Google Patents

Data transmission method and device, CT machine and storage medium Download PDF

Info

Publication number
CN116312980A
CN116312980A CN202310071353.XA CN202310071353A CN116312980A CN 116312980 A CN116312980 A CN 116312980A CN 202310071353 A CN202310071353 A CN 202310071353A CN 116312980 A CN116312980 A CN 116312980A
Authority
CN
China
Prior art keywords
data
subset
transmission
cache
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310071353.XA
Other languages
Chinese (zh)
Inventor
王丰
刘长坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202310071353.XA priority Critical patent/CN116312980A/en
Publication of CN116312980A publication Critical patent/CN116312980A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to the technical field of medical equipment, and discloses a data transmission method and device, a CT machine and a storage medium, wherein the method comprises the following steps: extracting a subset of the cached data; wherein the data in the subset is used for real-time imaging; determining a redundancy amount of the transmission bandwidth according to the data amount of the subset; determining the synchronous transmission data quantity according to the redundancy quantity; determining first cache data according to the synchronous transmission data quantity; and synchronously transmitting the subset and the first cache data to a receiving end. The redundancy of the transmission bandwidth is fully utilized, the problem of data precision loss caused by gradual increase of the compression rate is solved, meanwhile, the time of data transmission is reduced, and the imaging performance of the CT machine is improved.

Description

Data transmission method and device, CT machine and storage medium
Technical Field
The present application relates to the technical field of medical devices, and for example, to a data transmission method and apparatus, a CT machine, and a storage medium.
Background
At present, the computer tomography (Computed Tomography, CT) machine has wide application in the clinical medical field, and particularly has important aspects of disease diagnosis, intra-operative guided puncture and the like. Therefore, the number of detector layers is increased, and the data volume acquired in unit time is increased, so that the detector is an important development direction of CT machines used in the current clinical medicine. Particularly, the photon counting CT machine which is studied in the industry is popular, the maximum value of the data quantity collected in unit time exceeds a plurality of GB per second, so that not only is the transmission bandwidth extremely challenged, but also the cost expenditure is correspondingly increased when high-performance hardware meeting the transmission requirement is selected. Therefore, on the premise of the upper limit value of the given data transmission bandwidth, how to efficiently utilize the transmission bandwidth and fully develop the potential thereof is necessary.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a data transmission method and device, a CT machine and a storage medium, so as to improve the utilization rate of transmission bandwidth, reduce the time of data transmission and improve the imaging performance of the CT machine on the premise of setting the upper limit value of the data transmission bandwidth.
In some embodiments, the method for data transmission is applied to a transmitting end of data, and includes:
extracting a subset of the cached data;
determining a redundancy amount of the transmission bandwidth according to the data amount of the subset;
determining the synchronous transmission data quantity according to the redundancy quantity;
determining first cache data according to the synchronous transmission data quantity;
and synchronously transmitting the subset and the first cache data to a receiving end.
Optionally, before extracting the subset of the buffered data, further comprising:
and under the condition that the data quantity of the acquired data or the compressed data quantity of the acquired data exceeds the transmission bandwidth in unit time, caching the acquired data or the compressed acquired data to obtain cached data.
Optionally, the extracting the subset of the buffered data includes:
selecting a target data channel from a plurality of data channels;
extracting data corresponding to the target data channel from the cache data based on the target data channel as a subset; or alternatively, the process may be performed,
dividing the buffered data into a plurality of consecutive data frames;
extracting data corresponding to a target data frame from a plurality of continuous data frames at fixed number of data frames at intervals, and taking the data as a subset; or alternatively, the process may be performed,
dividing the cache data into cache data with various energies;
extracting data corresponding to one or more cache data of target energy from cache data of various energies as a subset; or alternatively, the process may be performed,
dividing the cache data into a plurality of data packets with the same size in a binary data stream mode;
and extracting a plurality of data packets capable of combining the target data from the plurality of data packets as a subset.
Optionally, the determining the redundancy amount of the transmission bandwidth according to the data amount of the subset includes:
acquiring total data transmission amount based on the transmission time and the transmission bandwidth of the subset;
acquiring a redundancy amount for determining the transmission bandwidth based on the total data transmission amount and the data amount of the subset; or alternatively, the process may be performed,
Acquiring a residual bandwidth based on the occupied bandwidth of the subset and the transmission bandwidth;
and acquiring redundancy of the transmission bandwidth based on the transmission time of the subset and the residual bandwidth.
Optionally, the determining the synchronous transmission data amount according to the redundancy amount includes:
acquiring a minimum data unit of data transmission;
and acquiring the data amount of synchronous transmission based on the data amount of the minimum data unit and the redundant data amount, wherein the synchronous transmission data amount is an integral multiple of the data amount of the minimum data unit and is smaller than the redundant data amount.
Optionally, after the subset and the first buffered data are synchronously sent to the receiving end, the method further includes:
based on the first cache data and the data amount of the cache data, obtaining the remaining second cache data amount in the cache data;
and transmitting part or all of the second buffer data or the compressed second buffer data to a receiving end by utilizing the transmission bandwidth.
Optionally, the sum of the data amounts of the subset, the first buffered data and the second buffered data is equal to the buffered data; or alternatively, the process may be performed,
the sum of the data amounts of the first cache data and the second cache data is equal to the cache data.
Optionally, the method further comprises:
under the condition that an interrupt instruction is received in the process of sending the second cache data, judging whether an interrupt condition is met, wherein the interrupt condition is included in a preset time threshold, and the second cache data cannot be completely sent to a receiving end;
if yes, interrupting the transmission of the second cache data;
otherwise, continuing to transmit the second cache data until the second cache data are all sent to the receiving end.
Optionally, the first buffered data is data belonging to the same scanning task as the subset or data belonging to a different scanning task than the subset.
Optionally, the method further comprises:
and under the condition that the data volume of the collected data or the compressed data volume of the collected data does not exceed the transmission bandwidth in unit time, the collected data is directly or after being compressed and sent to a receiving end.
In some embodiments, the method for data transmission is applied to a receiving end of data, and includes:
synchronously receiving a subset and first cache data, wherein the data in the subset are used for real-time imaging, and the first cache data are determined according to the data quantity and transmission bandwidth of the subset;
Storing the subset in a preset first storage space, and storing the first cache data from the first address of a preset second storage space; or alternatively, the process may be performed,
and storing the subset and the first cache data storage together into a preset third storage space.
Optionally, after synchronously receiving the subset and the first buffered data, further comprising:
receiving the second buffer data by using the transmission bandwidth;
storing the second cache data in the second storage space and continuing with the first cache data in the second storage space; or alternatively, the process may be performed,
and storing the second cache data in the rest space in the third storage space.
In some embodiments, the device for data transmission is disposed at a transmitting end of data, and includes:
a data extraction module configured to extract a subset of the buffered data; wherein the data in the subset is used for real-time imaging;
a redundancy amount calculation module configured to determine a redundancy amount of the transmission bandwidth from the data amount of the subset;
a transmission data calculation module configured to determine a synchronous transmission data amount according to the redundancy amount;
a transmission data determining module configured to determine first buffer data according to the synchronous transmission data amount;
And the data synchronous sending module is configured to synchronously send the subset and the first cache data to a receiving end.
In some embodiments, the apparatus for data transmission is disposed at a receiving end of data, and includes:
a data receiving module configured to synchronously receive a subset and first buffered data, wherein the first buffered data is determined according to a data amount and a transmission bandwidth of the subset;
the data storage module is configured to store the subset in a preset first storage space, and store the first cache data from a first address of a preset second storage space, or store the subset and the first cache data together in a preset third storage space.
In some embodiments, the CT machine comprises an image acquisition device and an image processing device, the image acquisition device and the image processing device comprising a processor and a memory storing program instructions, the processor of the image acquisition device being configured to perform a method of data transmission as described herein when the program instructions are executed, the processor of the image processing device being configured to perform a method of data transmission as described herein when the program instructions are executed.
In some embodiments, the storage medium stores program instructions that, when executed, perform a method of data transmission as described herein.
The data transmission method and device, the CT machine and the storage medium provided by the embodiment of the disclosure can realize the following technical effects:
according to the method and the device, under the condition that the acquired data volume exceeds the transmission bandwidth in unit time, the acquired data is cached, then the subset meeting the real-time imaging requirement is extracted from the cached data, and the redundancy of the transmission bandwidth is determined according to the data volume of the subset, so that the subset and part of the first cached data of the cached data are adaptively and synchronously transmitted according to the redundancy of the transmission bandwidth in the real-time transmission stage of the subset, the redundancy of the transmission bandwidth is fully utilized, the problem of data precision loss caused by gradual increase of the compression rate is solved, meanwhile, the time of data transmission is shortened, and the imaging performance of the CT machine is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
Fig. 1 is a schematic diagram of a data transmission method according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram of another data transmission method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
FIG. 6 is a schematic illustration of an application of an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
fig. 9 is a schematic diagram of another method of data transmission provided by an embodiment of the present disclosure;
fig. 10 is a schematic diagram of an apparatus for data transmission provided by an embodiment of the present disclosure;
fig. 11 is a schematic diagram of another apparatus for data transmission provided by an embodiment of the present disclosure;
fig. 12 is a block diagram of a computed tomography CT machine according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
The term "corresponding" may refer to an association or binding relationship, and the correspondence between a and B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the transmission medium on which the data is transmitted from the acquisition end to the receiving end is called a transmission link, and the upper limit of the transmission bandwidth represents the maximum amount of data that can be accommodated on the transmission link in a unit time. At present, transmission links of CT machines used in clinical medicine include slip rings, optical fibers, wireless channels, and the like, and once it is determined what transmission link and its related hardware are used, the upper limit of the transmission bandwidth corresponding to the transmission link is also determined. Therefore, in the development process of CT machines used in current clinical medicine, the increasing amount of acquired data per unit time is one of the important directions. It is necessary to fully use the transmission link without changing the hardware or under the condition of limited hardware cost to obtain the maximum benefit.
In combination with fig. 1, a buffer module is added at a data acquisition end of a CT apparatus used in clinical medicine, and when the CT apparatus is used to perform scanning operation to trigger data acquisition, the acquired data is stored in the buffer module, so that before the data is sent, the data is taken out from the buffer and transmitted to a receiving end via a transmission link. For the data caching mode, the problem that the CT machine has higher and higher requirement on the compression rate can be solved by only increasing the caching capacity continuously.
In order to enable the user to monitor the scanning process and the state of the CT machine in real time, the acquired data needs to be transmitted from the acquisition end to the receiving end in time and converted into an image, as shown in fig. 2. Therefore, after the collected data is stored in the cache, the stored cache data needs to be extracted, and the extracted subset is sent to the receiving end, and the subset needs to satisfy two conditions: firstly, the data quantity in unit time does not exceed the upper limit value of the transmission bandwidth; secondly, after the receiving end receives the data, the speed and quality of the built image can meet the relevant requirements of the user. The data of the subset is gradually generated along with scanning, the data volume in unit time of the data subset is usually smaller, the whole transmission bandwidth cannot be occupied, for example, the data volume of the subset is 2GB/s, the transmission bandwidth is generally 15GB/s, the bandwidth cannot be fully utilized, the time of whole data transmission is increased, and the imaging performance of a CT machine is reduced.
In order to solve the above technical problems, referring to fig. 3, an embodiment of the present disclosure provides a method for transmitting data, which is applied to a transmitting end of data, and includes:
step 301: a subset of the cached data is extracted.
Wherein the data in the subset may be used for real-time imaging.
Step 302: and determining the redundancy amount of the transmission bandwidth according to the data amount of the subset.
Step 303: and determining the synchronous transmission data quantity according to the redundancy quantity.
Step 304: and determining the first cache data according to the synchronous transmission data quantity.
Step 305: and synchronously transmitting the subset and the first cache data to a receiving end.
In the embodiment of the application, the method is applied to a CT machine, and when a user uses the CT machine to perform scanning operation, a data acquisition process is triggered. The bulb tube emits X-rays, and after penetrating through an object to be detected, the X-rays are received by an image acquisition device (detector) to finish conversion from an optical signal to a digital signal. Because, after the user selects the scanning task, the rotation speed of the bulb, the size of the field of view, and other relevant parameters affecting the amount of data acquired per unit time are determined. By utilizing the information, the CT machine can judge whether the acquired data quantity exceeds the transmission bandwidth in the unit time of the current acquisition process, and if the acquired data quantity does not exceed the transmission bandwidth, the acquired data is directly sent to the receiving end; and if the data exceeds the data, firstly storing the acquired data in a cache to obtain cache data.
After the data is stored in the buffer memory, in order to meet the requirement of real-time imaging, the buffer memory data needs to be extracted to form a subset of the buffer memory data. The subset of buffered data is transmitted to the receiving end via the transmission link for real-time imaging. The bandwidth of the transmission link is often also redundant because the amount of data in the subset of buffered data is small. The method and the device further transmit redundancy of the bandwidth, and synchronously transmit part of first cache data in the cache data in real time, wherein the first cache data can be continuous cache data or discontinuous cache data determined according to the subset, so that the transmission bandwidth is fully utilized. And after the transmission of the subset for real-time imaging is finished, the rest second buffer data is sent to the receiving end through the whole transmission bandwidth.
By adopting the data transmission method provided by the embodiment of the disclosure, under the condition that the acquired data quantity exceeds the transmission bandwidth in unit time, the subset meeting the real-time imaging requirement is extracted from the cache data, and in the subset real-time transmission stage, the subset and part of the first cache data of the cache data are adaptively and synchronously transmitted according to the redundancy of the transmission bandwidth, so that the redundancy of the transmission bandwidth is fully utilized, the problem of data precision loss caused by gradual increase of the compression rate is solved, meanwhile, the data transmission time is shortened, and the imaging performance of the CT machine is improved. In addition, the subset data extracted in the real-time stage and the subsequent cache data total set can be respectively stored on the hard disk, so that the subset data extracted in the real-time stage can provide basis for the final problems of scientific experiments and abnormal imaging.
Optionally, the data transmission method applied to the CT machine, before extracting the subset of the buffered data, further includes:
and under the condition that the data quantity of the acquired data or the compressed data quantity of the acquired data exceeds the transmission bandwidth in unit time, caching the acquired data or the compressed acquired data to obtain cached data.
Specifically, as shown in connection with fig. 4, the method comprises the following steps:
step 401: when a user performs scanning operation by using the CT machine, a data acquisition task is triggered.
Step 402: judging whether the acquired data quantity exceeds the upper limit of the transmission bandwidth in unit time; if yes, go to step 403; if not, the acquired data is directly sent to the receiving end.
Step 403: judging whether the data volume generated after the collected data is compressed exceeds the data volume which can be transmitted by the transmission bandwidth; if yes, the compressed data is sent to a receiving end; if not, step 404 is performed.
Step 404: judging whether the cache resource is limited or not; if yes, go to step 405; if not, step 406 is performed directly.
Step 405: and compressing the acquired data by adopting an adaptive compression method, and caching the compressed data.
Step 406: and caching the collected data directly.
In the related art, data compression and corresponding data decompression are a solution to the problem that the transmission bandwidth cannot meet the requirement of collecting data volume in unit time, wherein, data compression refers to a process of reducing the volume of original data through a compression algorithm. For example, the original data has a volume of 2GB, and after compression, the volume is reduced to 1GB. Correspondingly, the compression rate is the rate of change of the data volume before and after compression. In this example, the compression ratio is 2/1=2; the data decompression refers to the process of recovering the compressed data into the original data through a decompression algorithm. The compression algorithm and the decompression algorithm are matched with each other, and the data transmission target under the limited transmission bandwidth is completed together. The compression is classified into lossless compression and lossy compression. The data after lossless compression is decompressed, and the data information before compression can be completely restored; decompressing the lossy compressed data, the resulting difference from the original data. In general, the larger the compression rate, the larger the induced difference for the same lossy compression algorithm.
In the embodiment of the application, when the acquired data amount in unit time exceeds the upper limit of the transmission bandwidth, the data is compressed by adopting an adaptive compression method, then sent to a receiving end, decompressed by the receiving end according to a corresponding method, and finally the data transmission is completed. If the data volume is too large, the compression algorithm can not meet the requirement, the data needs to be stored in the cache first, and if the cache resources are limited (such as data needing to be stored in the cache for a plurality of times of scanning), the data can be adaptively compressed first and then stored in the cache.
Optionally, as shown in fig. 5, the adaptive compression method is used to compress the collected data, including:
step 501: and calculating the ratio of the data volume of the current acquisition task to the data volume of the cache space divided by the current acquisition task.
Step 502: and searching a corresponding ratio interval of the ratio in a preset index table, and determining a first compression ratio corresponding to the ratio interval.
Step 503: and determining a compression strategy and a decompression strategy of the data according to the first compression ratio.
In the embodiment of the present application, on the premise of a predetermined upper limit value of the transmission bandwidth, as the data acquisition amount per unit time increases, the requirement for the compression rate increases. The lossless compression and decompression method can be found in the index table with smaller compression rate; the larger compression rate, the corresponding method can evolve into lossy compression, and also means loss of data accuracy. The larger the compression ratio is, the larger the accuracy of the lost data is, and when a certain value is reached, the decompressed data cannot meet the accuracy requirement of a receiving end. For example, let the size of the buffer space divided by the current acquisition task be M 1 Meanwhile, the total data volume of the current acquisition task is M 2 . If M 2 /M 1 Less than 1, compression is not required; if M 2 /M 1 If the compression ratio is greater than 1, different compression ratios are required to be obtained according to a preset index table, so that the compression strategy and decompression strategy of the acquired data are determined.
Therefore, by combining the compression method and the buffer method, the bandwidth is fully utilized, so that the problem of data precision loss caused by gradual increase of the compression rate is solved, the time of data transmission is shortened, and the imaging performance of the CT machine is improved.
Optionally, the extracting the subset of the buffered data includes:
selecting a target data channel from a plurality of data channels;
extracting data corresponding to the target data channel from the cache data based on the target data channel as a subset; or alternatively, the process may be performed,
dividing the buffered data into a plurality of consecutive data frames;
extracting data corresponding to a target data frame from a plurality of continuous data frames at fixed number of data frames at intervals, and taking the data as a subset; or alternatively, the process may be performed,
dividing the cache data into cache data with various energies;
extracting data corresponding to one or more cache data of target energy from cache data of various energies as a subset; or alternatively, the process may be performed,
Dividing the cache data into a plurality of data packets with the same size in a binary data stream mode;
and extracting a plurality of data packets capable of combining the target data from the plurality of data packets as a subset.
In the embodiment of the present application, the plurality of data channels includes an mxn data channel matrix, M is a row number of the data channel matrix, N is a column number of the data channel matrix, and a manner of extracting the subset may be defined according to an actual scene or a user requirement, and the main extraction method includes channel extraction, layer extraction, data frame extraction, and energy extraction.
Wherein selecting a target data channel from a plurality of data channels comprises:
extracting cache data for real-time imaging from m rows of data channels; and/or the number of the groups of groups,
extracting cache data for real-time imaging from the n-column data channels;
wherein M is 1-M, N is 1-N.
In the embodiment of the present application, for channel extraction, n rows of data channels are selected from m rows of data channels to extract cache data for real-time imaging, for example, a detector of a CT machine is 16 rows, each row has 256 rows of data channels, and then channel extraction is to select several rows in 16 rows, and then select several columns of data channels from 256 rows of data channels to extract. For layer extraction, the buffered data for real-time imaging is extracted from m rows of data channels, or the buffered data for real-time imaging is extracted from n columns of data channels, for example, the detector of the CT machine is 16 rows, and then some rows of data channels in the 16 rows are selected for extraction.
Dividing the cache data into a plurality of continuous data frames; extracting data corresponding to a target data frame from a plurality of continuous data frames, wherein the data corresponds to a fixed number of data frames at intervals, and the data comprises:
extracting a data frame for real-time imaging from every k continuous data frames as a subset of the cache data; wherein, the K, K are all positive integers and K < K.
Specifically, the data frame refers to a data unit composed of a data channel matrix, and the data frame extraction refers to extracting a target number of data frames for real-time imaging from K continuous data frames corresponding to the buffered data. For example, if the complete set of data acquired by the CT machine is F, the data in F is complete and continuous, and F is composed of a number of data frames (data units), for example, the data acquired by the CT machine includes 20 continuous data frames (data units) numbered 1, 2, 3..20, i.e., K is equal to 20, and the data frame extraction may be to select one data frame from every two data frames in the 20 continuous data frames for real-time imaging, for example, select 1, 3, 5, 7, 9..19 numbered data frames for real-time imaging, i.e., K is equal to 2.
For another example, in the CT field, there is a related art "flying focus" technology, which can record each projection of each scan at multiple angles, one data unit for each angle, without increasing X-rays, thereby improving resolution. However, the real-time image is not required to have such high resolution, so that the application only needs to extract the data unit corresponding to one angle from a plurality of angles.
Dividing the cache data into cache data with various energies; extracting data corresponding to one or more cache data of target energy from cache data of multiple energies as a subset, wherein the data comprises:
extracting cache data of one energy for real-time imaging; or extracting cache data of w energies for real-time imaging;
wherein W, W are integers greater than 1, and W < W.
In the embodiment of the present application, a plurality of "energies" are applied to a CT machine, and a conventional CT machine has only one "energy", where each energy is a data frame, and the data frame is composed of data units composed of a matrix of data channels. Currently, there is also a photon counting CT in the related art, where each data frame of the CT scanned data has a plurality of energies, each energy consisting of a layer and a channel. That is, the data frame of a conventional single energy CT consists of layers and channels, in a special case, for a photon counting CT machine, the data frame consists of multiple "energies", each consisting of a different layer and channel. Therefore, for energy extraction, it means that the data frame contains a combination of multiple energies, and one of the energies can be selected for real-time imaging.
In particular, for example, there are 4 energies in the data acquired at a time, energy 1, energy 2, energy 3, and energy 4, respectively. The data structure is shown in fig. 6, and energy 1 is generally extracted for real-time imaging during the real-time data transmission stage. According to the foregoing, the partial full set data may be transmitted simultaneously with the transmission of the real-time data energy 1. The order in which the full set of data is transmitted will typically be in the form of energy 1, energy 2, energy 3 and energy 4. If from the user side or medical point of view it is necessary to send both energy data simultaneously. At this time, two kinds of energy can be extracted for real-time imaging on the premise of not exceeding the upper limit of the bandwidth according to the corresponding requirements. The maximum amount of energy that can be extracted is limited by the upper limit of bandwidth; this way data can still be sent if there is no related demand. According to the method, the energy 1 is used for real-time imaging, and simultaneously, the data of the energy 2 are transmitted, and the data reconstruction of the energy 2 is finished at the receiving end in advance. After the real-time stage is finished, the data of the energy 3 and the energy 4 are sent to the receiving end for reconstruction, so that the time for reconstructing the data is saved, and the aim of improving the imaging performance of the CT machine is fulfilled.
It should be noted that in practical applications, for smaller patients, channel extraction may be used if there may be no valid data in the detector's edge channel; the alignment of the detector of the CT machine is larger, but the part to be detected is smaller, and in the alignment range of the detector, layer extraction can be adopted; if the flying focus technology is used in the process of collecting data, selecting data corresponding to one of the flying focus in a group of data frames of the flying focus; for the case that the acquired data of dual-energy CT, photon counting CT, etc. contains 2 or more energies, 1 energy may be selected. In the practical application, multiple scenes may occur at the same time, and then multiple schemes may be adopted at the same time. Therefore, an extraction strategy which is changed with the actual scene needs to be prepared in advance.
The buffer data is divided into a plurality of data packets with the same size in a binary data stream mode; extracting, as a subset, a plurality of data packets from the plurality of data packets, the plurality of data packets capable of combining the target data, including:
the buffer data is regarded as a binary data stream with 1 bit or a plurality of bits as a unit, and is divided into a plurality of data packets with the same size, and then a plurality of data packets capable of combining target data are extracted from the plurality of data packets to be used as subsets.
Optionally, the determining the redundancy amount of the transmission bandwidth according to the data amount of the subset includes:
acquiring total data transmission amount based on the transmission time and the transmission bandwidth of the subset;
acquiring a redundancy amount for determining the transmission bandwidth based on the total data transmission amount and the data amount of the subset;
specifically, by calculating B r =T 0 * t-G, obtaining the redundancy B of the transmission bandwidth r
Wherein T is 0 T is the transmission time and G is the data amount of the subset, which is the data amount of the transmission bandwidth.
Or, based on the occupied bandwidth of the subset and the transmission bandwidth, acquiring a residual bandwidth;
and acquiring redundancy of the transmission bandwidth based on the transmission time of the subset and the residual bandwidth.
Optionally, the determining the synchronous transmission data amount according to the redundancy amount includes:
acquiring a minimum data unit of data transmission;
and acquiring the data amount of synchronous transmission based on the data amount of the minimum data unit and the redundant data amount, wherein the synchronous transmission data amount is an integral multiple of the data amount of the minimum data unit and is smaller than or equal to the redundant data amount.
Specifically, by calculating F 1 =B r /F 0 Obtaining the synchronous transmission data quantity F 1
Wherein F is 0 The amount of data transmitted for a single data frame is the amount of data of the smallest data unit.
In the embodiment of the application, in the stage of real-time transmission of the subset of data, the redundancy B according to the transmission bandwidth r Adaptively determining the synchronous transmission data quantity capable of synchronous transmission as F 1 The data volume of the subset for real-time image creation is G, and in the stage of real-time transmission of the subset of the whole data, the data volume can be expressed as G+F 1 After the real-time transmission stage is finished, continuously transmitting the residual buffer data quantity in the buffer data to be F through the whole transmission bandwidth 2 . It is emphasized that G is a subset of the data amount F of the buffered data,F 1 and F 2 The data amounts F that are combined together to collectively constitute the buffered data.
In the practical application scenario, the redundant bandwidth is fully utilized, and meanwhile, how to ensure the integrity of data and the efficiency of storage needs to be considered. That is, F 1 Will typically be less than T 0 * t-G. In addition, the data frame is the smallest data unit for data transmission, and the data amount of the data frame is assumed to be F 0 Then F 1 The data amount of (C) should be (T) 0 *t-G)/F 0 Is an integer part of (c). If the medium storing the data may have some numerical multiple constraint on the data block size, F needs to be considered 1 The data amount of (a) is an integer multiple of the value, thereby ensuring faster storage speed and data integrity.
Alternatively, if the receiving end wants to receive more data, the data amount F can be sent synchronously 1 And compressing and decompressing are completed at the receiving end, so that limited redundant bandwidth can be more fully utilized, and the requirement of transmitting more data is met.
Optionally, after the subset and the first buffered data are synchronously sent to the receiving end, the method further includes:
based on the first cache data and the data amount of the cache data, obtaining the remaining second cache data amount in the cache data;
and transmitting part or all of the second buffer data or the compressed second buffer data to a receiving end by utilizing the transmission bandwidth.
Optionally, the sum of the data amounts of the subset, the first buffered data and the second buffered data is equal to the buffered data; alternatively, the sum of the data amounts of the first cache data and the second cache data is equal to the cache data.
I.e. in one embodiment of the present application, by calculating F 2 =F-F 1 Obtaining the residual buffer data quantity F in the buffer data 2
According to the residual buffer data quantity F 2 Sending the second cache data to a receiving end;
wherein F is the data amount of the cache data, F 1 The data amount is sent for synchronization.
In the embodiment of the present application, the data amount G of the real-time image is extracted from the subset of the buffer data, and is discarded after the real-time image is finished, and the data amount F is synchronously transmitted 1 And the remaining cache data amount F 2 The data quantity F of the buffer data is stored in a disk of the receiving end for image creation.
Thus, the receiving end receives the synchronous transmission data quantity F 1 And the remaining cache data amount F 2 Can be stored on the hard disk in sequence, the intermediate state of a plurality of gaps of the file can not be generated, the speed of storing data can be ensured, and meanwhile, the situation that the whole file is destroyed due to the abnormality of the data writing position in the running process of the program can be avoided to the greatest extent.
In another embodiment of the present application, the data amount G of the subset, the synchronous transmission data amount F 1 And the remaining cache data amount F 2 The data quantity F of the buffered data can also be composed together, i.e. f=g+f 1+ F 2 At this time, since the subset is extracted from the buffered data, the first buffered data and the second buffered data may be discontinuous, for example, the data amount F of the buffered data includes 1 to 20 data frames, the data amount G of the subset includes 1 st, 3 rd, 5 th, 7 th, 9 th data frames, and the data amount F is synchronously transmitted 1 Comprises the 2 nd, 4 th, 6 th, 8 th and 10 th data frames, and the residual buffer data quantity F 2 Comprising 11-20 data frames. Thus, the transmission time of G is saved, and the corresponding transmission bandwidth is also saved.
Optionally, as shown in fig. 7, the sending, by using the transmission bandwidth, part or all of the compressed second buffered data to the receiving end includes:
step 701: and setting a corresponding second compression ratio according to the acquired data quantity in the unit time.
Step 702: and compressing the second cache data through the second compression ratio, and sending the compressed second cache data to a receiving end through part or all of transmission bandwidth.
In the embodiment of the application, the compression rate can be adjusted according to the acquired data quantity in unit time, the corresponding second compression rate is set, and then the second cache data is compressed, so that the data compression and the data cache can be combined, the bandwidth can be better utilized, and the data transmission time is reduced.
Optionally, as shown in connection with fig. 8, the method for data transmission of the present application further includes breaking logic, including:
step 801: and receiving an interrupt instruction in the process of sending the second cache data.
Step 802: judging whether an interrupt condition is met; if yes, step 803; otherwise, step 804 occurs.
Step 803: the transmission of the second buffered data is interrupted.
Step 804: and continuing to transmit the second cache data until the second cache data are all sent to the receiving end.
Wherein the interrupt condition includes:
and in a preset time threshold, the second cache data cannot be completely sent to the receiving end.
In the embodiment of the present application, in the CT scanning process, the scanning task has a higher priority, when the second buffered data is transmitted, an interrupt instruction of data transmission interruption due to the task of starting the next scanning may be received, in order to prevent an error caused by retransmission after the data transmission interruption or to lengthen the imaging duration, a time threshold may be formulated in advance, and if the sending work of the second buffered data can be completed within the time threshold, after the sending is completed, the next scanning task is executed.
Optionally, the method for data transmission of the present application further includes a continuous transmission logic, that is, the first buffered data is data belonging to the same scanning task as the subset or data belonging to a different scanning task than the subset.
In the embodiment of the present application, the method is applied to a CT machine, in order to ensure a basic policy of scanning priority, when transmitting second buffer data, an interrupt instruction, for example, a start instruction of a next scanning task may be received, at this time, in order to preferably ensure the next scanning task, real-time data transmission of a subset of the next scanning task is preferably performed, and when determining first buffer data according to a synchronous transmission data amount, the first buffer data is determined from the second buffer data that is not transmitted before, so that the first buffer data that is not transmitted before is continuously transmitted last time by using a redundant bandwidth.
Therefore, each time of interruption only needs to remember the position of the interruption, the situations of data loss or incomplete storage data and the like caused by frequent interruption and continuous transmission operation are avoided, and the support of the interruption and continuous transmission logic is better and the realization is easier.
The method and the device can simultaneously send part of the first cache data of the cache data in the stage that the subset extracted from the cache data whole set is used for real-time imaging, and fully utilize redundancy of transmission bandwidth. Meanwhile, when the data subset is extracted, not only one method is singly selected, but also an extraction strategy is formulated in advance according to an actual scanning scene or user requirements. The first cache data which are synchronously transmitted in real time are not redundancy values of transmission bandwidths, and physical characteristics of devices such as a hard disk are fully considered, so that the transmission efficiency is guaranteed to the greatest extent. Finally, the application incorporates adaptive compression and decompression strategies: the first way of adding is that the collected data is compressed and then stored in a buffer memory; the second compression mode is to compress the first buffer data which is transmitted simultaneously with the real-time data, so that the limited redundant bandwidth can be used for transmitting more data to the receiving end.
Referring to fig. 9, an embodiment of the present disclosure provides a method for transmitting data, which is applied to a receiving end of data, and includes:
step 901: and synchronously receiving a subset and first cache data, wherein the data in the subset are used for real-time imaging, and the first cache data are determined according to the data quantity and the transmission bandwidth of the subset.
Step 902: and storing the subset in a preset first storage space, and storing the first cache data from the first address of a preset second storage space.
Step 903: and storing the subset and the first cache data storage together into a preset third storage space.
Optionally, the storing the subset and the first cached data includes:
storing the subset in a preset first storage space, and storing the first cache data from the first address of a preset second storage space; or alternatively, the process may be performed,
and storing the subset and the first cache data storage together into a preset third storage space.
In the embodiment of the present application, if the subset extracted from the buffered data needs to be stored separately, two storage spaces for storing the subset and the buffered data, respectively, are configured before the data transmission at the receiving end. When receiving data in real time, the subset needs to be placed in the first storage space corresponding to the subset, and meanwhile, the first cache data synchronously transmitted with the subset needs to be stored from the starting address of the second storage space corresponding to the cache data.
Or if the subset extracted from the cache data does not need to be stored separately, and the subset, the first cache data and the second cache data together form a whole set of the cache data, the receiving end only needs to configure a third storage space corresponding to the cache data before data transmission.
Optionally, after synchronously receiving the subset and the first buffered data, further comprising:
receiving the second buffer data by using the transmission bandwidth;
storing the second cache data in the second storage space and continuing with the first cache data in the second storage space; or alternatively, the process may be performed,
storing the second cache data in the remaining space in the third storage space
In the embodiment of the application, after the transmission in the real-time stage is finished, when the receiving end receives the remaining second cache data, the second cache data and the first cache data can be stored continuously, so that no gap is reserved between the first cache data and the second cache data, and after the storage is finished, the first cache data and the second cache data together form the whole set of cache data.
In the embodiment of the present application, if the subset extracted from the buffered data does not need to be stored separately, and the subset, the first buffered data and the second buffered data together form the full set of buffered data, the receiving end only needs to configure a storage space corresponding to the buffered data before data transmission. Meanwhile, since the subset is obtained after the extraction of the cache data, in order to increase the storage speed, the first cache data is used for filling the gap between the subset and the cache data, for example, the whole set of the cache data comprises 1 st to 100 th data frames, the extracted subset comprises 1 st, 5 th, 9 th and 13 th..97 th data frames, and the first cache data should comprise 2 nd, 3 rd, 4 th, 6 th, 7 th, 8 th, 10 th, 11 th and 12 th..48 th data frames, so that the data continuity can be ensured when the subset and the first cache data are synchronously received, the storage speed of the hard disk is increased, and similarly, the second cache data can be used for filling the gap between the subset and the first cache data relative to the cache data when the second cache data is transmitted.
As shown in conjunction with fig. 10, an embodiment of the present disclosure provides an apparatus for data transmission, including:
a data extraction module 1001 configured to extract a subset of the buffered data; wherein the data in the subset is used for real-time imaging;
a redundancy amount calculation module 1002 configured to determine a redundancy amount of the transmission bandwidth from the data amount of the subset;
a transmission data calculation module 1003 configured to determine a synchronous transmission data amount according to the redundancy amount;
a transmission data determining module 1004 configured to determine first buffer data according to the synchronous transmission data amount;
the data synchronization sending module 1005 is configured to send the subset and the first buffered data to the receiving end synchronously.
Referring to fig. 11, an embodiment of the present disclosure provides an apparatus for data transmission, configured to be disposed at a receiving end of data, including:
a data receiving module 1101 configured to synchronously receive a subset and first buffered data, wherein the first buffered data is determined according to a data amount and a transmission bandwidth of the subset;
the data storage module 1102 is configured to store the subset in a preset first storage space, and store the first cache data from a first address of a preset second storage space, or store the subset and the first cache data together in a preset third storage space.
By adopting the device for data transmission provided by the embodiment of the disclosure, under the condition that the acquired data quantity exceeds the transmission bandwidth in unit time, the acquired data is cached, then the subset meeting the real-time imaging requirement is extracted from the cached data, and the redundancy quantity of the transmission bandwidth is determined according to the data quantity of the subset, so that the subset and part of the first cached data of the cached data are adaptively and synchronously transmitted according to the redundancy quantity of the transmission bandwidth in the real-time transmission stage of the subset, the redundancy of the transmission bandwidth is fully utilized, the problem of data precision loss caused by gradual increase of the compression rate is solved, meanwhile, the time of data transmission is shortened, and the imaging performance of the CT machine is improved. In addition, the subset data extracted in the real-time stage and the subsequent cache data total set can be respectively stored on the hard disk, so that the subset data extracted in the real-time stage can provide basis for the final problems of scientific experiments and abnormal imaging.
As shown in connection with fig. 12, an embodiment of the present disclosure provides a computed tomography CT machine including an image acquisition apparatus and an image processing apparatus including a processor (processor) and a memory (memory) 121. Optionally, the apparatus may also include a communication interface (Communication Interface) 122 and a bus 123. The processor, the communication interface 122, and the memory 121 may communicate with each other via the bus 123. The communication interface 122 may be used for information transfer. The processor of the image capturing device may call the logic instructions in the memory 121 to execute the method of the above embodiment applied to the data transmission of the transmitting end of the data. The processor of the image processing apparatus may call the logic instructions in the memory 121 to perform the method of the above embodiment applied to the data transmission of the receiving end of the data.
Further, the logic instructions in the memory 121 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product.
The memory 121 serves as a computer-readable storage medium, and may be used to store a software program, a computer-executable program, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor executes the program instructions/modules stored in the memory 121 to perform the functional applications and data processing, i.e., to implement the method of data transmission in the above-described embodiments.
The memory 121 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the terminal device, etc. In addition, the memory 121 may include a high-speed random access memory, and may also include a nonvolatile memory.
Embodiments of the present disclosure provide a storage medium storing computer-executable instructions configured to perform the above-described method for consumable purchase.
The storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in this application, the terms "comprises," "comprising," and/or "includes," and variations thereof, mean that the stated features, integers, steps, operations, elements, and/or components are present, but that the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof is not precluded. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (15)

1. A method for data transmission, applied to a transmitting end of data, comprising:
extracting a subset of the cached data;
determining a redundancy amount of the transmission bandwidth according to the data amount of the subset;
determining the synchronous transmission data quantity according to the redundancy quantity;
determining first cache data according to the synchronous transmission data quantity;
and synchronously transmitting the subset and the first cache data to a receiving end.
2. The method of claim 1, further comprising, prior to extracting the subset of cached data:
and under the condition that the data quantity of the acquired data or the compressed data quantity of the acquired data exceeds the transmission bandwidth in unit time, caching the acquired data or the compressed acquired data to obtain cached data.
3. The method of claim 1, wherein the extracting the subset of cached data comprises:
selecting a target data channel from a plurality of data channels;
extracting data corresponding to the target data channel from the cache data based on the target data channel as a subset; or alternatively, the process may be performed,
dividing the buffered data into a plurality of consecutive data frames;
extracting data corresponding to at least one target data frame from a plurality of continuous data frames at fixed number of data frames at intervals as a subset; or alternatively, the process may be performed,
Dividing the cache data into cache data with various energies;
extracting data corresponding to one or more cache data of target energy from cache data of various energies as a subset; or alternatively, the process may be performed,
dividing the cache data into a plurality of data packets with the same size in a binary data stream mode;
and extracting a plurality of data packets capable of combining the target data from the plurality of data packets as a subset.
4. The method of claim 1, wherein said determining the redundancy amount of the transmission bandwidth based on the data amount of the subset comprises:
acquiring total data transmission amount based on the transmission time and the transmission bandwidth of the subset;
acquiring a redundancy amount of the transmission bandwidth based on the total data transmission amount and the data amount of the subset; or alternatively, the process may be performed,
acquiring a residual bandwidth based on the occupied bandwidth of the subset and the transmission bandwidth;
and acquiring redundancy of the transmission bandwidth based on the transmission time of the subset and the residual bandwidth.
5. The method of claim 4, wherein said determining the amount of synchronous transmission data based on the amount of redundancy comprises:
acquiring a minimum data unit of data transmission;
And acquiring the data amount of synchronous transmission based on the data amount of the minimum data unit and the redundant data amount, wherein the synchronous transmission data amount is an integral multiple of the data amount of the minimum data unit and is smaller than or equal to the redundant data amount.
6. The method of claim 1, further comprising, after synchronously transmitting the subset and the first buffered data to a receiving end:
based on the first cache data and the data amount of the cache data, obtaining the remaining second cache data amount in the cache data;
and transmitting part or all of the second buffer data or the compressed second buffer data to a receiving end by utilizing the transmission bandwidth.
7. The method of claim 6, wherein a sum of data amounts of the subset, the first cache data, and the second cache data is equal to the cache data; or alternatively, the process may be performed,
the sum of the data amounts of the first cache data and the second cache data is equal to the cache data.
8. The method as recited in claim 6, further comprising:
under the condition that an interrupt instruction is received in the process of sending the second cache data, judging whether an interrupt condition is met, wherein the interrupt condition is included in a preset time threshold, and the second cache data cannot be completely sent to a receiving end;
If yes, interrupting the transmission of the second cache data;
otherwise, continuing to transmit the second cache data until the second cache data are all sent to the receiving end.
9. The method according to any one of claims 1 to 8, wherein the first buffered data is data belonging to the same scanning task as the subset or is data belonging to a different scanning task than the subset.
10. The method according to any one of claims 2 to 8, further comprising:
and under the condition that the data volume of the collected data or the compressed data volume of the collected data does not exceed the transmission bandwidth in unit time, the collected data is directly or after being compressed and sent to a receiving end.
11. A method for data transmission, applied to a receiving end of data, comprising:
synchronously receiving a subset and first cache data, wherein the first cache data is determined according to the data quantity of the subset and the transmission bandwidth;
storing the subset in a preset first storage space, and storing the first cache data from the first address of a preset second storage space; or alternatively, the process may be performed,
and storing the subset and the first cache data storage together into a preset third storage space.
12. The method of claim 13, further comprising, after synchronously receiving the subset and the first buffered data:
receiving the second buffer data by using the transmission bandwidth;
storing the second cache data in the second storage space and continuing with the first cache data in the second storage space; or alternatively, the process may be performed,
and storing the second cache data in the rest space in the third storage space.
13. An apparatus for data transmission, disposed at a transmitting end of data, comprising:
a data extraction module configured to extract a subset of the buffered data; wherein the data in the subset is used for real-time imaging;
a redundancy amount calculation module configured to determine a redundancy amount of the transmission bandwidth from the data amount of the subset;
a transmission data calculation module configured to determine a synchronous transmission data amount according to the redundancy amount;
a transmission data determining module configured to determine first buffer data according to the synchronous transmission data amount;
and the data synchronous sending module is configured to synchronously send the subset and the first cache data to a receiving end.
14. An apparatus for data transmission, disposed at a receiving end of data, comprising:
A data receiving module configured to synchronously receive a subset and first buffered data, wherein the first buffered data is determined according to a data amount and a transmission bandwidth of the subset;
the data storage module is configured to store the subset in a preset first storage space, and store the first cache data from a first address of a preset second storage space, or store the subset and the first cache data together in a preset third storage space.
15. A computed tomography CT machine comprising an image acquisition device and an image processing device, the image acquisition device and the image processing device comprising a processor and a memory in which program instructions are stored, characterized in that the processor of the image acquisition device is configured to perform the method of data transmission according to any one of claims 1 to 10 when the program instructions are run, and the processor of the image processing device is configured to perform the method of data transmission according to claim 11 or 12 when the program instructions are run.
CN202310071353.XA 2023-01-18 2023-01-18 Data transmission method and device, CT machine and storage medium Pending CN116312980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310071353.XA CN116312980A (en) 2023-01-18 2023-01-18 Data transmission method and device, CT machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310071353.XA CN116312980A (en) 2023-01-18 2023-01-18 Data transmission method and device, CT machine and storage medium

Publications (1)

Publication Number Publication Date
CN116312980A true CN116312980A (en) 2023-06-23

Family

ID=86819438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310071353.XA Pending CN116312980A (en) 2023-01-18 2023-01-18 Data transmission method and device, CT machine and storage medium

Country Status (1)

Country Link
CN (1) CN116312980A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116894041A (en) * 2023-09-06 2023-10-17 北京四维纵横数据技术有限公司 Data storage method, device, computer equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116894041A (en) * 2023-09-06 2023-10-17 北京四维纵横数据技术有限公司 Data storage method, device, computer equipment and medium
CN116894041B (en) * 2023-09-06 2023-11-17 北京四维纵横数据技术有限公司 Data storage method, device, computer equipment and medium

Similar Documents

Publication Publication Date Title
JP5881416B2 (en) Data compression apparatus and data processing apparatus including data compression apparatus
JP5397179B2 (en) Data encoding program, data decoding program and method
EP3197167A1 (en) Image transmission method and apparatus
JP5750786B2 (en) RDP bitmap hash acceleration using SIMD instructions
CN102576378A (en) A method and system for error resilient compression and decompression of computed tomography data
CN116312980A (en) Data transmission method and device, CT machine and storage medium
EP3364541B1 (en) Storage controller, data processing chip, and data processing method
US9684974B2 (en) Lossless compression of fragmented image data
US9462152B2 (en) System and method for hiding reversible information
CN109412755B (en) Multimedia data processing method, device and storage medium
DE102013021710A1 (en) Graphics service provider and method for streaming rendered content over a remote graphics processing service
CN109009191B (en) CT imaging data acquisition method and device and machine-readable storage medium
US20130226923A1 (en) Method and Device for Reassembling a Data File
EP3229138A1 (en) Method and device for data backup in a storage system
US9591314B2 (en) Method for the compressed storage of graphical data
US20170201754A1 (en) Low power-consuming encoding method, and apparatus
CN105163122B (en) A kind of compression of images and decompression method based on image block similarity
CN113487587B (en) CT image segmentation and bone density t value prediction method, system and computer equipment
WO2018068250A1 (en) Method and device for data processing, chip and camera
CN103747260B (en) A kind of compression, decompression method, device and scanning system
US8755619B2 (en) Method and apparatus for encoding and decoding image data using run of the image data
US20150301891A1 (en) Data Recovery Method and Device
CN113747159A (en) Method, device and related assembly for generating variable frame rate video media file
JP2018098611A (en) Coding device, coding method, decoding device, decoding method, and generation method
US10152570B2 (en) Method and apparatus for processing medical image data

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