CN114816275B - Perfusion data storage method and device, electronic equipment and storage medium - Google Patents
Perfusion data storage method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114816275B CN114816275B CN202210740866.0A CN202210740866A CN114816275B CN 114816275 B CN114816275 B CN 114816275B CN 202210740866 A CN202210740866 A CN 202210740866A CN 114816275 B CN114816275 B CN 114816275B
- Authority
- CN
- China
- Prior art keywords
- data
- interval
- container
- perfusion
- stored
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H15/00—ICT specially adapted for medical reports, e.g. generation or transmission thereof
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
The invention discloses a perfusion data storage method, a perfusion data storage device, electronic equipment and a storage medium, which belong to the field of data storage, and the method comprises the steps of inserting all collected perfusion data into a container when the total amount of stored data does not reach the total capacity of the container; after the total stored data amount reaches the total capacity of the container, deleting the stored perfusion data at intervals of a first interval according to the sequence of acquisition, and inserting part of the acquired perfusion data into the container at intervals of the first interval; when the filling data inserted into the container at the first interval reaches the preset number in the previous step, the first interval is increased by a first multiple to form a new first interval. The method has the advantages that no matter how long the filling time is, the stored data quantity can be in a controllable range, the performance requirement on a filling system memory is reduced, the filling data is stored at equal intervals during the recording, and the requirement of filling analysis software requiring quick response is met.
Description
Technical Field
The invention relates to a perfusion data storage method, a perfusion data storage device, electronic equipment and a storage medium, and belongs to the field of data storage.
Background
Perfusion analysis can be used to quantitatively describe the microvascular distribution of tissue and the state of blood flow perfusion. A typical perfusion imaging method is to inject a contrast agent (such as a fluorescent agent) into a patient's vein, then collect dynamic data of a region of interest (ROI) at a plurality of time points by using an imaging device such as an infrared camera, so as to record a time-dependent change condition of the concentration of the contrast agent in organ tissue of the region of interest, and finally analyze physiological parameters of microcirculation including blood flow, blood volume, mean transit time and other hemodynamic parameters by using a perfusion model according to the above data. Wherein the region of interest is determined by a physician or inspector selecting a target organ tissue in the instrument.
In recent years, perfusion analysis has been increasingly widely studied and applied in the diagnosis, prognosis, efficacy evaluation, etc. of tumors, particularly brain tumors. Research shows that tumor angiogenesis determines the malignancy of tumor and prognosis of patients, so the research of tumor angiogenesis has important guiding effect on clinical work. Tumor blood vessels generally exhibit higher microvascular density, and are characterized by high blood flow, high blood volume, and high permeability. The perfusion imaging can provide the blood flow perfusion parameters through researching the microcirculation of tissues, and a powerful tool is provided for tumor diagnosis and the like.
In an ideal case, the perfusion process needs to store the perfusion data at each moment, and after the perfusion process is finished, the perfusion system analyzes and calculates the stored data to obtain a result. However, the perfusion process is not long, two or three minutes short, and half an hour or even one hour long. When the perfusion process is relatively long, there are the following two problems.
First, the memory of the perfusion system needs to store a large amount of perfusion data, and the performance requirement on the memory is high. This also means that although most perfusion analyses take only 5-10 minutes, the memory of the perfusion system is guaranteed to have a capacity to store one hour of perfusion data, the memory utilization is low, and the cost of the perfusion system is high.
Second, the memory stores a lot of perfusion data, which takes a lot of time to calculate the results of the perfusion system, and is not suitable for perfusion analysis software requiring a fast response.
In view of the second problem, the prior art solution is to extract a plurality of perfusion data from the stored perfusion data at equal intervals after the end of the perfusion process, and to use the extracted perfusion data for perfusion calculation such that the calculation time is kept within a controllable range. While the prior art has not solved the first problem well.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a perfusion data storage method, a perfusion data storage device, electronic equipment and a storage medium, which can reduce the performance requirement on a memory of a perfusion system.
The technical scheme adopted for solving the technical problems is as follows:
in a first aspect, the present application provides a perfusion data storage method comprising the steps of:
initializing a container with fixed capacity, and presetting a first interval;
inserting all the acquired perfusion data into the container when the total amount of stored data does not reach the total capacity of the container;
after the total stored data amount reaches the total capacity of the container, deleting the stored filling data at intervals of the first interval according to the sequence of collection, and inserting part of the collected filling data into the container at intervals of the first interval;
when the filling data inserted into the container according to the first interval reaches a preset quantity in the previous step, increasing the first interval by a first multiple to form a new first interval;
and repeatedly executing two steps after the total stored data reaches the total capacity of the container until the filling process is finished.
According to the filling data storage method provided by the first aspect, after the total amount of stored data reaches the total capacity of the container, stored filling data and filling data to be recorded are automatically screened according to a first interval, so that a filling system cannot lose efficacy in a filling process because the filling data cannot be continuously inserted into new filling data, the filling system cannot be blocked even if the filling process is longer, the filling data in the container are spontaneously arranged at equal intervals according to the sequence of collection, and the data can be conveniently called in filling analysis.
Further, after the total stored data amount reaches the total capacity of the container, deleting the stored perfusion data at intervals of the first interval according to the collection sequence, and inserting part of the collected perfusion data into the container at intervals of the first interval, wherein each time deleting one old perfusion data, a new perfusion data is inserted.
After the total stored data reaches the total capacity of the container, one old data is always deleted and one new data is inserted, so that the quantity of the poured data in the container is constant, and the data jump is avoided.
Still further, before the step of inserting all the collected filling data into the container when the total amount of stored data does not reach the total capacity of the container, the method further comprises the steps of: arranging a data sequence number for each acquired perfusion data;
the step of initializing a fixed-capacity container, and presetting a first interval comprises the steps of:
the container is provided with a plurality of storage positions which can store only one filling data, position numbers are arranged for the storage positions, a first interval is preset, and a replacement mark number is preset to be 1;
the step of deleting the stored perfusion data at intervals of the first interval in the order of collection and inserting part of the collected perfusion data into the container at intervals of the first interval includes:
discarding the perfusion data when the data sequence number of the acquired perfusion data is not an integer multiple of the first interval;
deleting old perfusion data in a storage position with the position number equal to the replacement mark number when the data serial number of the collected perfusion data is integral multiple of the first interval, adding 1 to the replacement mark number to generate a new replacement mark number, and inserting the collected perfusion data into the container;
the step of increasing the first interval by a first factor to form a new first interval when the filling data inserted into the container at the same first interval reaches a preset number includes:
when the number of the replacing marks is larger than the preset number, the number of the replacing marks is equal to 1, and the first interval is multiplied by the first multiple to obtain a new first interval.
Further, the container is a storage queue, and when the perfusion data is inserted into the storage queue, the perfusion data is inserted into the tail end of the storage queue. The structure of the queue can ensure that the filling data in the stored container are always arranged according to the acquisition sequence.
Further, the first multiple is equal to 2.
Further, the value of the first interval is preset to be 2.
Further, the predetermined number is half of the total capacity of the container.
In a second aspect, the present application provides a perfusion data storage device, comprising:
the initialization module is used for initializing a container with fixed capacity and presetting a first interval;
the direct storage module is used for inserting all collected filling data into the container when the total stored data amount does not reach the total capacity of the container;
the interval storage module is used for deleting stored filling data at intervals of the first interval according to the sequence of acquisition after the total amount of the stored data reaches the total capacity of the container, and inserting part of the acquired filling data into the container at intervals of the first interval;
and the expanding interval module is used for expanding the first interval by a first multiple to form a new first interval when the filling data inserted into the container at a fixed first interval reaches a preset quantity.
In a third aspect, the present application provides an electronic device comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method according to the first aspect.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first aspect.
The beneficial effects of the invention are as follows: the method for storing the perfusion data can ensure that the stored data amount is in a controllable range no matter how long the perfusion time is, so that the perfusion process is not interrupted due to the fact that new perfusion data cannot be recorded, the performance requirement on a perfusion system memory is reduced, the perfusion data is stored at equal intervals when recorded, the requirement of perfusion analysis software requiring quick response is met, and the method is beneficial to quickly generating a test report after the perfusion process is finished.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objects and other advantages of the present application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
Fig. 1 is a flowchart of a perfusion data storage method according to an embodiment of the present application.
Fig. 2 is a flow chart of a perfusion analysis method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a first structure of a perfusion data storage device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and are not to be construed as limiting the present invention.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not themselves indicate the relationship between the various embodiments and/or arrangements discussed.
The end point of the perfusion process is determined by the doctor or the inspector and, in an ideal case, the perfusion process needs to store the perfusion data at each moment. Ideally, the subject fits, the body position is just checked to be convenient for observing the blood vessel, the memory capacity of the perfusion system is large enough, and the speed of generating the perfusion analysis report is fast enough. However, the actual situation is complex and changeable, so that the perfusion process is mostly 10 minutes to 15 minutes, two minutes and three minutes are short, and half an hour or even one hour is long. Due to the nature of the data required for perfusion analysis, it is not possible to completely overlay the previously acquired data with the later acquired data when the storage capacity is insufficient. In the case of complete loss of previously acquired data, accurate perfusion analysis results cannot be generated. This means that the perfusion system is guaranteed to have a capacity to store one hour of perfusion data, and beyond one hour it is only possible to terminate the examination. In the face of one hour of recorded perfusion data, the perfusion analysis system takes very long to process such huge data, so that it is common practice to extract a plurality of perfusion data at equal intervals, and ensure that the extracted plurality of perfusion data has both a part which is collected at the beginning and a part which is newly recorded at the last. In practice, it takes a long time to extract a plurality of perfusion data at equal intervals from a huge volume of data.
In view of the above problems, referring to fig. 1, the present embodiment provides a first perfusion data storage method, including the following steps:
a: a fixed capacity container is initialized and a first interval is preset.
B: and inserting all the collected filling data into the container when the total stored data amount does not reach the total capacity of the container.
C: after the total stored data amount reaches the total capacity of the container, deleting the stored perfusion data at intervals of a first interval according to the sequence of collection, and inserting part of the collected perfusion data into the container at intervals of the first interval.
D: when the filling data inserted into the container at the first interval reaches the preset number in the previous step, the first interval is increased by a first multiple to form a new first interval.
Step C, D is repeated until the priming process ends.
Where "container" does not represent memory on hardware, but rather is a programmed specification for limiting the total amount of perfusion data, which in some scenarios may be understood as a folder, packet, queue, etc. For example, when the container is a storage queue, and the filling data is inserted into the storage queue, the filling data is inserted into the end of the storage queue, so that the filling data stored in the container is always arranged according to the sequence of collection.
In the prior art, the amount of data that is ultimately stored before the end of the priming process is unpredictable, and when there is too much data in the memory of the priming system, the stability of the system is affected. When the method of the embodiment is applied, the final stored data amount does not exceed the total capacity of the container, which is equivalent to the limitation of the percentage of the filling data occupying the filling system memory in a range, and is beneficial to ensuring the stability of the system. Because the duration of the filling process is 10 minutes to 15 minutes, the filling data of 15 minutes can be stored when the capacity of the container is full, and the data is not needed to be screened in most cases, the step C is triggered after the filling process exceeds 15 minutes, so that the performance requirement on the filling system memory can be greatly reduced. Preferably, the predetermined number is half the total capacity of the container. Also taking the example that the total volume of the container may store 15 minutes of filling data, step D will be triggered for the first time when the filling process proceeds to 30 minutes. The first multiple may be equal to any positive integer greater than 1, and the longest time in the pouring process is about 5 times of the conventional time, so the first multiple is taken from small to small, 2 is taken, and the pouring data of 15 minutes can be stored in the total capacity of the container, for example, the second triggering step D is performed when the pouring process is performed for 60 minutes. The frequency of collection is fixed in the filling process, and the first multiple and the first interval can both influence the density degree of the recorded filling data, and preferably, the value of the preset first interval is 2, so that the recorded filling data can be guaranteed to have higher density degree.
If all stored filling data meeting the conditions are deleted at a first interval immediately after the step C is triggered, and then part of new filling data is inserted at the first interval, the data in the container can be greatly changed, and data jump is easy to occur. In a preferred embodiment, each time an old piece of perfusion data is deleted in step C, a new piece of perfusion data is inserted, so that the amount of perfusion data in the container is constant, i.e. the percentage of the perfusion data occupying the memory of the perfusion system after the first triggering of step C is constant, and it is advantageous to avoid data jumps.
In one embodiment, the perfusion data storage method of the present invention includes the steps of:
a data sequence number is programmed for each acquired perfusion data.
Initializing a container with a fixed capacity, enabling the container to be provided with a plurality of storage positions capable of storing only one filling data, arranging position serial numbers for the storage positions, presetting a first interval, and presetting a replacement mark number to be 1.
And inserting all the collected filling data into the container when the total stored data amount does not reach the total capacity of the container.
Discarding the collected perfusion data when the data sequence number of the collected perfusion data is not an integer multiple of the first interval after the total amount of stored data reaches the total capacity of the container; when the data serial number of the collected filling data is integer times of the first interval, deleting old filling data in a storage position with the position serial number equal to the replacement mark number, then adding 1 to the replacement mark number to generate a new replacement mark number, and inserting the collected filling data into the container.
When the number of replacement marks is greater than half the total capacity of the container, the number of replacement marks is made equal to 1, and the first interval is multiplied by the first multiple to obtain a new first interval.
And repeatedly executing two steps after the total stored data reaches the total capacity of the container until the filling process is finished.
Based on the same principle, the step of judging whether the replacement index is greater than half of the total capacity of the container may be placed before inserting new filling data, after deleting old data, so that the filling data storage method may be further expressed as:
s0: arranging a data sequence number for each acquired perfusion data;
s1: initializing a container with fixed capacity, presetting a first interval as 2 and presetting a replacement mark number as 1; the container comprises a plurality of storage locations each storing only one perfusion data; arranging a position sequence number for a storage position;
s2: when the stored number does not reach the total number of storage positions, executing step S6; when the stored number reaches the total number of the storage positions, executing step S3;
s3: when the data serial number of the perfusion data is an integer multiple of the first interval, executing step S4; discarding the perfusion data when the data sequence number of the perfusion data is not an integer multiple of the first interval;
s4, performing S4; deleting the filling data in the storage position with the position number equal to the replacement mark number, adding 1 to the replacement mark number to generate a new replacement mark number, and entering step S5;
s5: when the replacement mark number is less than or equal to half of the total capacity of the container, executing step S6; when the replacement mark number is greater than half of the total capacity of the container, making the replacement mark number equal to 1, multiplying the first interval by 2 to obtain a new first interval, and then executing step S6;
s6: arranging the stored perfusion data in an acquisition order so that at least the last storage position of the container is empty, and inserting new perfusion data into the end of the container;
repeating the steps S2-S6 until the pouring process is finished.
The perfusion data storage method ensures that the number of data storage is predictable, does not occupy a large amount of storage space, and is beneficial to reducing the memory performance requirement of a perfusion system; after the perfusion process is finished, the stored data can be directly analyzed and calculated, and the equidistant sampling in a huge data container is not needed, so that the calculation time in perfusion analysis is reduced. As shown in fig. 2, the step of determining whether the replacement marking number is greater than half of the total volume of the container may be preceded by inserting new priming data so that the size of the replacement marking number need not be determined when the total amount of stored data does not reach the total volume of the container.
Accordingly, the number of stored data (i.e. the total amount of stored data) is represented by count, the replacement number is represented by replace, the first interval is represented by interval, the total capacity of the container is represented by capacity, and the data sequence number is represented by index. The method comprises the following steps:
s0: arranging a data sequence number for each acquired perfusion data;
s1: initializing a container with fixed capacity, presetting a first interval as 2 and presetting a replacement mark number as 1; the container comprises a plurality of storage locations each storing only one perfusion data; arranging a position sequence number for a storage position;
s11: and selecting a region of organ tissue or blood vessel region ROI of interest in the black-and-white fluorescent picture of the current frame of the infrared imaging equipment.
S12: and acquiring a black-and-white fluorescent picture of the next frame from the infrared imaging equipment, and taking the picture of the ROI area as perfusion data.
S2: when the stored number does not reach the total number of storage positions, executing step S6; when the stored number reaches the total number of the storage positions, executing step S3;
s3: when the data serial number of the perfusion data is an integer multiple of the first interval, executing step S4; discarding the perfusion data when the data sequence number of the perfusion data is not an integer multiple of the first interval;
s4, performing S4; deleting the filling data in the storage position with the position number equal to the replacement mark number, adding 1 to the replacement mark number to generate a new replacement mark number, and entering step S5;
s5: when the replacement mark number is less than or equal to half of the total capacity of the container, executing step S6; when the replacement mark number is greater than half of the total capacity of the container, making the replacement mark number equal to 1, multiplying the first interval by 2 to obtain a new first interval, and then executing step S6;
s6: arranging the stored perfusion data in an acquisition order so that at least the last storage position of the container is empty, and inserting new perfusion data into the end of the container; step S7 is entered;
s7: if the perfusion is not finished, at this time, the data sequence number index=index+1 (via step S12), and the process returns to step S2; if the pouring is finished, the step S8 is carried out;
s8: a perfusion analysis report is generated using the data in the container.
To facilitate the presentation of the effect of screening data, taking a container with only 10 storage locations as an example, the inserted data is directly represented by a data sequence number, resulting in table 1.
TABLE 1
Therefore, the method uses a container with fixed capacity to adaptively store and adjust the data, so that the data is stored at equal intervals, the perfusion analysis result of the data is approximately consistent with the calculation result of a common method (interval extraction), and the method can reduce the occupied space of the data and the calculation time of the perfusion result when being applied to the perfusion process.
Referring to fig. 3, fig. 3 is a perfusion data storage device according to some embodiments of the present application, including:
an initialization module 201, configured to initialize a fixed-capacity container, and preset a first interval;
a direct storage module 202 for inserting all the collected perfusion data into the container when the total stored data amount does not reach the total capacity of the container;
an interval storage module 203, configured to delete stored perfusion data at intervals of a first interval according to an acquisition sequence after the total amount of stored data reaches the total capacity of the container, and insert part of the acquired perfusion data into the container at intervals of the first interval;
the expanding interval module 204 is configured to increase the first interval by a first factor to form a new first interval when the filling data inserted into the container at a fixed first interval reaches a preset number.
Preferably, the perfusion data storage device further includes an orchestration sequence number module for orchestrating a data sequence number for each of the acquired perfusion data.
Referring to fig. 4, fig. 4 is an electronic device provided in an embodiment of the present application, including: processor 301 and memory 302, the processor 301 and memory 302 being interconnected and in communication with each other by a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the processor 301 executing the computer program when the computing device is running to perform the steps as in the two perfusion data storage methods described above.
The present embodiment provides a storage medium having a computer program stored thereon, which when executed by a processor, performs the two perfusion data storage methods of the above embodiments. The storage medium may be implemented by any type of volatile or nonvolatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In the description of the present specification, the descriptions of the terms "one embodiment," "certain embodiments," "an exemplary embodiment," "an example," "a particular example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
Claims (10)
1. A method of perfusion data storage, comprising the steps of:
initializing a container with fixed capacity, and presetting a first interval;
inserting all the acquired perfusion data into the container when the total amount of stored data does not reach the total capacity of the container;
after the total stored data amount reaches the total capacity of the container, deleting the stored filling data at intervals of the first interval according to the sequence of collection, and inserting part of the collected filling data into the container at intervals of the first interval;
when the filling data inserted into the container according to the same first interval reaches a preset quantity, increasing the first interval by a first multiple to form a new first interval;
repeatedly executing two steps after the total stored data reach the total capacity of the container until the pouring process is finished; the first multiple is a positive integer greater than 1; the perfusion data is an image frame.
2. The method of storing perfusion data according to claim 1, wherein after the total amount of stored data reaches the total capacity of the container, stored perfusion data is deleted at intervals of the first interval in the order of collection, and part of the collected perfusion data is inserted into the container at intervals of the first interval, and a new one is inserted every time old one is deleted.
3. The method of storing perfusion data according to claim 2, wherein the step of inserting all the collected perfusion data into the container when the total amount of stored data does not reach the total capacity of the container is preceded by the step of: arranging a data sequence number for each acquired perfusion data;
the step of initializing a fixed-capacity container, and presetting a first interval comprises the steps of:
the container is provided with a plurality of storage positions which can store only one filling data, position numbers are arranged for the storage positions, a first interval is preset, and a replacement mark number is preset to be 1;
the step of deleting the stored perfusion data at intervals of the first interval in the order of collection and inserting part of the collected perfusion data into the container at intervals of the first interval includes:
discarding the perfusion data when the data sequence number of the acquired perfusion data is not an integer multiple of the first interval;
deleting the filling data in the storage position with the position number equal to the replacement mark number when the data serial number of the collected filling data is an integral multiple of the first interval, adding 1 to the replacement mark number to generate a new replacement mark number, and inserting the collected filling data into the container;
the step of increasing the first interval by a first factor to form a new first interval when the filling data inserted into the container at the same first interval reaches a preset number includes:
when the number of the replacing marks is larger than the preset number, the number of the replacing marks is equal to 1, and the first interval is multiplied by the first multiple to obtain a new first interval.
4. The method of claim 1, wherein the container is a storage queue, and the perfusion data is inserted at the end of the storage queue when the perfusion data is inserted into the storage queue.
5. The perfusion data storage method of claim 1, wherein the first multiple is equal to 2.
6. The perfusion data storage method of claim 1, wherein the value of the first interval is preset to be 2.
7. The method of claim 1, wherein the predetermined number is half of the total volume of the container.
8. A perfusion data storage device, comprising:
the initialization module is used for initializing a container with fixed capacity and presetting a first interval;
the direct storage module is used for inserting all collected filling data into the container when the total stored data amount does not reach the total capacity of the container;
the interval storage module is used for deleting stored filling data at intervals of the first interval according to the sequence of acquisition after the total amount of the stored data reaches the total capacity of the container, and inserting part of the acquired filling data into the container at intervals of the first interval;
and the expanding interval module is used for expanding the first interval by a first multiple to form a new first interval when the filling data inserted into the container at a fixed first interval reaches a preset quantity.
9. An electronic device comprising a processor and a memory storing computer readable instructions that, when executed by the processor, perform the steps in the method of any of claims 1-7.
10. A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210740866.0A CN114816275B (en) | 2022-06-28 | 2022-06-28 | Perfusion data storage method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210740866.0A CN114816275B (en) | 2022-06-28 | 2022-06-28 | Perfusion data storage method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114816275A CN114816275A (en) | 2022-07-29 |
CN114816275B true CN114816275B (en) | 2023-05-16 |
Family
ID=82523244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210740866.0A Active CN114816275B (en) | 2022-06-28 | 2022-06-28 | Perfusion data storage method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114816275B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301020A (en) * | 2017-06-22 | 2017-10-27 | 苏州交运电子科技有限公司 | Data managing method and managing device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI538523B (en) * | 2013-12-11 | 2016-06-11 | 宏正自動科技股份有限公司 | Video log recording system and recording method thereof |
US10204147B2 (en) * | 2016-04-05 | 2019-02-12 | Fractal Industries, Inc. | System for capture, analysis and storage of time series data from sensors with heterogeneous report interval profiles |
CN106648446B (en) * | 2015-10-30 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Storage method and device for time sequence data and electronic equipment |
US10282114B1 (en) * | 2017-03-22 | 2019-05-07 | State Farm Mutual Automobile Insurance Company | System and computer-implemented method for balancing loads across data storage pools |
CN114205641A (en) * | 2021-11-30 | 2022-03-18 | 杭州华橙软件技术有限公司 | Video data processing method and device |
-
2022
- 2022-06-28 CN CN202210740866.0A patent/CN114816275B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301020A (en) * | 2017-06-22 | 2017-10-27 | 苏州交运电子科技有限公司 | Data managing method and managing device |
Also Published As
Publication number | Publication date |
---|---|
CN114816275A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103530890B (en) | motion correction device and method | |
Fieno et al. | Contrast-enhanced magnetic resonance imaging of myocardium at risk: distinction between reversible and irreversible injury throughout infarct healing | |
CN110428420B (en) | Method, apparatus and medium for determining flow information of coronary artery based on coronary artery CT angiography image of patient | |
Perk et al. | Catheter-based left atrial appendage occlusion procedure: role of echocardiography | |
CN113159040B (en) | Method, device and system for generating medical image segmentation model | |
CN101291622A (en) | Utilizing physiological models to control functional acquisitions | |
CN109493394A (en) | Method, method for reconstructing and the device of magnetic resonance imaging acquisition deep learning training set | |
De Graaf | Investigations into the distribution of blood in the heart and aortic arches of Xenopus laevis (Daud.) | |
CN111815588B (en) | Method and system for acquiring descending aorta based on CT sequence image | |
CN111062963A (en) | Blood vessel extraction method, system, device and storage medium | |
Urao et al. | MicroCT angiography detects vascular formation and regression in skin wound healing | |
CN108172275A (en) | A kind of medical image processing method and device | |
CN108255433A (en) | The file management method and device of flash storage, flash storage | |
JP7114323B2 (en) | Medical information processing system and medical information processing device | |
CN114816275B (en) | Perfusion data storage method and device, electronic equipment and storage medium | |
Kondo et al. | Measurement of left ventricular volumes and ejection fraction by quantitative gated SPET, contrast ventriculography and magnetic resonance imaging: a meta-analysis | |
CN114419181A (en) | CTA image reconstruction method and device, display method and device | |
Albrecht et al. | Coronary artery assessment using self-navigated free-breathing radial whole-heart magnetic resonance angiography in patients with congenital heart disease | |
DE102014210218B4 (en) | Method for generating medical image data sets, and medical imaging device | |
CN111091539A (en) | Network model training method, medical image processing method, device, medium and equipment | |
CN111904445B (en) | Method and device for acquiring and processing contrast enhanced image of mammary gland | |
WO2021115055A1 (en) | Method and device for generating artery input function curve | |
Thornhill et al. | Determining the extent to which delayed‐enhancement images reflect the partition‐coefficient of Gd‐DTPA in canine studies of reperfused and unreperfused myocardial infarction | |
JP5357818B2 (en) | Image processing apparatus and method | |
EP3843634B1 (en) | Spectral dual-layer ct-guided interventions |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 528253 Room 503, Floor 5, Building A, Jingu Zhichuang Industrial Community, No. 2, Yong'an North Road, Dawu Community, Guicheng Street, Nanhai District, Foshan City, Guangdong Province (residence declaration) Patentee after: Guangdong Oupu Mandi Technology Co.,Ltd. Address before: 528251 room 503, floor 5, building a, Jingu Zhichuang industrial community, No. 2, Yong'an North Road, Dawei community, Guicheng Street, Nanhai District, Foshan City, Guangdong Province Patentee before: GUANGDONG OPTOMEDIC TECHNOLOGY CO.,LTD. |