CN112863651A - Method, system, equipment and storage medium for downloading image file of client - Google Patents

Method, system, equipment and storage medium for downloading image file of client Download PDF

Info

Publication number
CN112863651A
CN112863651A CN202110173004.XA CN202110173004A CN112863651A CN 112863651 A CN112863651 A CN 112863651A CN 202110173004 A CN202110173004 A CN 202110173004A CN 112863651 A CN112863651 A CN 112863651A
Authority
CN
China
Prior art keywords
downloading
priority
task
instruction
queue
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
CN202110173004.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.)
Winning Health Technology Group Co Ltd
Original Assignee
Winning Health Technology Group 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 Winning Health Technology Group Co Ltd filed Critical Winning Health Technology Group Co Ltd
Priority to CN202110173004.XA priority Critical patent/CN112863651A/en
Publication of CN112863651A publication Critical patent/CN112863651A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Radiology & Medical Imaging (AREA)
  • Epidemiology (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for downloading an image file of a client, wherein the downloading method comprises the following steps: receiving an operation instruction on a browsing interface of a client; detecting whether the operation instruction is a priority downloading instruction, if so, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue; generating a downloading instruction to a thread pool, wherein the thread pool comprises a plurality of threads, and the threads are used for downloading the image file concurrently; and the threads finish the priority downloading tasks in sequence according to the downloading instructions. When the examination data of the patient stored in the storage device needs to be downloaded from the client, a plurality of files browsed at present are placed in the priority downloading queue, concurrent file downloading is carried out by adopting the thread pool, and the thread pool finishes downloading tasks in the priority downloading queue and then finishes downloading tasks in the sequence downloading queue, so that background downloading hiding delay can be realized, designated image files can be downloaded preferentially, and downloading requirements can be met rapidly.

Description

Method, system, equipment and storage medium for downloading image file of client
Technical Field
The present invention relates to the field of image archiving and communication technologies, and in particular, to a method, a system, a device, and a storage medium for downloading an image file from a client.
Background
The PACS (Pictures Archiving and Communication System) imaging System is an important component of hospital information systems. The diagnostic images are generated by the radiomedical, cardiovascular Imaging and radiodiagnostic equipment, and the diagnostic equipment outputs digitized image data to the outside through a DICOM (Digital Imaging and Communications in Medicine) 3.0 standard interface. These image files are typically stored in a network storage device. When a doctor looks up the image of a patient at a computer end, the doctor needs to download the image file from the network storage device to the computer end, and the image file is displayed on a computer display after being processed by the image.
As medical imaging is becoming an important means of medical diagnosis and the resolution of detection equipment is increasing, medical PACS image data is on a rapid growth trend. Each examination of a patient produces a set of DICOM images, which are typically files of sizes from several hundred KB (kilobytes) to several hundred MB (megabytes), for example: the size of CT (Computed Tomography) images is 500KB, the size of normal radiographic images is several MB to ten-odd MB, and the size of DSA (Digital Subtraction Angiography) images is several hundreds MB. A typical MRI (Magnetic Resonance Imaging) examination produces thousands of image files at a time.
DICOM image read/write performance has long been challenging. In order to improve the performance, various PACS software adopts various optimization measures, and common optimization measures comprise sequential downloading and downloading according to requirements.
(1) And (3) sequential downloading: first, all files of a check are acquired, and then each file is downloaded in sequence. After the first file is downloaded, the first file is immediately displayed on a screen, so that the doctor can see the image as early as possible and then continuously download other files in the background. The method automatically downloads other files in the background when the doctor browses the images, and achieves the effect of hiding downloading delay.
(2) Downloading according to the requirement: the DICOM images generated by one examination are divided into a plurality of sequences, and when the doctor clicks the corresponding sequence, all files of the sequence are downloaded. This achieves a quick response to a doctor clicking a mouse on the interface, but does not achieve the effect of hiding download delays.
Both methods cannot simultaneously realize background downloading hiding delay and preferential downloading of the specified image sequence file.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a system, a device and a storage medium for downloading an image file of a client, in order to overcome the defect that the background downloading of a hidden delay and the prior downloading of a designated image sequence file cannot be realized simultaneously in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a method for downloading an image file of a client, which comprises the following steps:
receiving an operation instruction on a browsing interface of the client;
detecting whether the operation instruction is a priority downloading instruction, if so, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue;
generating a downloading instruction to a thread pool, wherein the thread pool comprises a plurality of threads, and the threads are used for downloading the image file concurrently;
and the thread finishes the priority downloading task in sequence according to the downloading instruction.
Preferably, the priority downloading instruction comprises: clicking an instruction of checking the sequence of the images and an instruction of browsing the image files;
when the operation instruction is the instruction for clicking the sequence of the inspection image, the associated priority downloading task is to download all image files of the sequence;
and when the operation instruction is the instruction for browsing the image files, the associated priority downloading task is to download the currently browsed image files and the preset number of adjacent image files.
Preferably, the downloading method further includes:
detecting whether the operation instruction is a conventional downloading instruction, if so, generating a conventional downloading task associated with the operation instruction, and storing the conventional downloading task to a sequential downloading queue;
generating a downloading instruction to the thread pool;
and the thread completes the conventional downloading task in sequence after completing the priority downloading task in sequence according to the downloading instruction.
Preferably, the conventional download instruction comprises: instructions to open an examination image of a patient;
when the operation instruction is the instruction for opening the examination image of the patient, the associated conventional downloading task is downloading all image files of the examination.
Preferably, the step of storing the priority download task in a priority download queue specifically includes:
storing the priority downloading task to the head of a priority downloading queue;
the step of storing the regular download task to the sequential download queue specifically includes:
and saving the conventional download task to the head of the sequential download queue.
Preferably, the step of the thread sequentially completing the priority downloading task according to the downloading instruction specifically includes:
the thread checks whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially moved out of the priority downloading queue according to the sequence of a task list, and the moved priority downloading task is completed;
the step of sequentially completing the conventional downloading task specifically comprises:
and the thread checks whether a conventional downloading task exists in the conventional downloading queue, if so, the conventional downloading task is sequentially moved out of the conventional downloading queue according to the sequence of a task list, and the moved conventional downloading task is completed.
Preferably, the step of sequentially moving the priority download tasks out of the priority download queue according to the order of the task list specifically includes:
moving the priority downloading task at the head of the queue out of the priority downloading queue;
the step of sequentially moving the conventional download tasks out of the conventional download queue according to the order of the task list specifically includes:
and moving the conventional downloading task at the head of the queue out of the conventional downloading queue.
Preferably, the downloading method further includes:
saving the completed priority downloading task and the completed conventional downloading task to a completion queue;
the step of the thread sequentially completing the priority downloading task according to the downloading instruction specifically comprises the following steps:
the thread checks whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially moved out of the priority downloading queue according to the sequence of a task list, whether the moved priority downloading task exists in the completion queue is detected, and if not, the priority downloading task is completed; if yes, discarding the priority downloading task;
the step of sequentially completing the conventional downloading task specifically comprises:
the thread checks whether a conventional downloading task exists in the conventional downloading queue, if so, the conventional downloading task is sequentially moved out of the conventional downloading queue according to the sequence of a task list, whether the moved conventional downloading task exists in the completion queue is detected, and if not, the conventional downloading task is completed; and if so, discarding the conventional downloading task.
The invention also provides a system for downloading the image file of the client, which comprises: the device comprises an operation instruction receiving module, a priority downloading instruction detection module, a downloading instruction generation module and a thread pool;
the operation instruction receiving module is used for receiving an operation instruction on a browsing interface of the client;
the priority downloading instruction detection module is used for detecting whether the operation instruction is a priority downloading instruction, if so, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue;
the download instruction generating module is used for generating a download instruction to the thread pool;
the thread pool comprises a plurality of threads, and the threads are used for downloading the image files concurrently;
the thread is specifically configured to sequentially complete the priority downloading task according to the downloading instruction.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the downloading method of the image file of the client when executing the computer program.
The present invention also provides a computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for downloading an image file of a client.
The positive progress effects of the invention are as follows: when the examination data of the patient stored in the storage device needs to be downloaded from the client, a plurality of files browsed at present are placed in a priority downloading queue, concurrent file downloading is carried out by adopting a thread pool, and the thread pool finishes downloading tasks in the sequence downloading queue after finishing downloading tasks in the priority downloading queue, so that background downloading hiding delay can be realized, designated image files can be downloaded preferentially, and downloading requirements can be met rapidly.
Drawings
Fig. 1 is a flowchart of a method for downloading an image file from a client according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of an embodiment of a method for downloading an image file at a client according to embodiment 1 of the present invention.
Fig. 3 is a flowchart of another embodiment of a method for downloading an image file from a client according to embodiment 1 of the present invention.
Fig. 4 is a block diagram of a system for downloading an image file at a client according to embodiment 2 of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The invention provides a method for downloading an image file of a client. Referring to fig. 1, the downloading method includes:
and S11, receiving an operation instruction on the browsing interface of the client.
S121, detecting whether the operation instruction is a priority downloading instruction, if so, executing step S122.
And S122, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue.
And S13, generating a downloading instruction to a thread pool, wherein the thread pool comprises a plurality of threads, and the threads are used for downloading the image file concurrently.
And S14, the threads finish the priority downloading task in turn according to the downloading instruction.
In specific implementation, the preferentially downloading instruction comprises: click on the command to examine the sequence of images and the command to browse the image file.
When the operation instruction is an instruction for clicking a sequence of checking images, the associated priority downloading task is to download all the image files of the sequence.
When the operation instruction is an instruction for browsing the image files, the associated priority downloading task is to download the currently browsed image files and the adjacent preset number of image files.
In specific implementation, referring to fig. 2, the downloading method further includes:
s151, detecting whether the operation instruction is a normal downloading instruction, if so, executing step S152.
And S152, generating a conventional downloading task associated with the operation instruction, and storing the conventional downloading task to a sequential downloading queue.
And S16, generating a downloading instruction to the thread pool.
And S17, the thread completes the prior downloading task in sequence according to the downloading instruction and then completes the conventional downloading task in sequence.
In specific implementation, the conventional download instruction includes: instructions to open an examination image of a patient;
when the operation instruction is an instruction to open an examination image of a patient, the associated conventional download task is to download all image files of the examination.
In specific implementation, the step of "saving the priority download task to the priority download queue" in step S122 specifically includes:
and S1221, storing the priority downloading task to the head of the priority downloading queue.
The step of "saving the regular download task to the sequential download queue" in step S152 specifically includes:
s1521, saving the regular download task to the head of the sequential download queue.
In specific implementation, the step of "the thread sequentially completes the priority downloading task according to the downloading instruction" in step S14 specifically includes:
s141, the thread checks whether the priority downloading queue has the priority downloading task according to the downloading instruction, and if so, the step S142 is executed.
And S142, the thread sequentially moves the priority downloading tasks out of the priority downloading queue according to the sequence of the task list and completes the moved priority downloading tasks.
The step of "the thread sequentially completes the priority download task according to the download instruction" in the step S17 specifically includes:
s171, the thread checks whether the priority downloading task exists in the priority downloading queue according to the downloading instruction, and if so, the step S172 is executed.
And S172, the thread sequentially moves the priority downloading tasks out of the priority downloading queue according to the sequence of the task list and completes the moved priority downloading tasks.
The step of "sequentially completing the conventional download task" in step S17 specifically includes:
s173, the thread checks whether the conventional download task exists in the conventional download queue, if so, the conventional download task is sequentially shifted out of the conventional download queue according to the sequence of the task list, and the shifted-out conventional download task is completed.
In specific implementation, the step of "sequentially moving the priority download tasks out of the priority download queue according to the order of the task list" in step S141 specifically includes:
s1411, the priority downloading task at the head of the queue is moved out of the priority downloading queue.
The step of "sequentially moving the priority download tasks out of the priority download queue according to the order of the task list" in step S171 specifically includes:
and S1711, removing the priority downloading task positioned at the head of the queue from the priority downloading queue.
The "sequentially moving the priority download tasks out of the priority download queue according to the order of the task list" in the other steps is also the same specific content.
The step of sequentially moving the conventional download tasks out of the conventional download queue according to the sequence of the task list specifically comprises:
and moving the conventional download task at the head of the queue out of the conventional download queue.
In specific implementation, referring to fig. 3, the downloading method further includes:
and S181, storing the completed priority downloading task to a completion queue.
And S182, saving the completed conventional downloading task to a completion queue.
The step of "the thread sequentially completes the priority download task according to the download instruction" in the step S14 specifically includes:
s143, the thread checks whether the priority downloading queue has the priority downloading task according to the downloading instruction, if so, the step S144 is executed.
And S144, the thread sequentially moves the priority downloading tasks out of the priority downloading queue according to the sequence of the task list.
S145, detecting whether the shifted priority downloading task exists in the completion queue, if not, executing the step S146; if yes, go to step S147.
And S146, completing the priority downloading task.
And S147, discarding the priority downloading task.
The step of "the thread sequentially completes the priority download task according to the download instruction" in the step S17 specifically includes:
s173, the thread checks whether the priority downloading queue has the priority downloading task according to the downloading instruction, and if so, the step S174 is executed.
And S174, the thread sequentially moves the priority downloading tasks out of the priority downloading queue according to the sequence of the task list.
S175, detecting whether the shifted priority downloading task exists in the completion queue, if not, executing the step S176; if yes, go to step S177.
And S176, completing the priority downloading task.
And S177, discarding the priority downloading task.
The step of "sequentially completing the conventional download task" in step S17 specifically includes:
s178, the thread checks whether the routine downloading task exists in the routine downloading queue, if so, the step S179 is executed.
And S179, sequentially moving the conventional downloading tasks out of the conventional downloading queue according to the sequence of the task list.
S1710, detecting whether the shifted-out conventional downloading task exists in the completion queue, if not, executing the step S1711; if yes, go to step S1712.
And S1711, completing a conventional downloading task.
And S1712, discarding the conventional downloading task.
According to the method for downloading the image file of the client, when the examination data of the patient stored in the storage device needs to be downloaded from the client, a plurality of files browsed at present are placed into the priority downloading queue, the thread pool is adopted to download the files concurrently, the thread pool finishes downloading tasks in the sequence downloading queue after finishing downloading tasks in the priority downloading queue, background downloading hiding delay can be achieved, the appointed image file can be downloaded preferentially, and downloading requirements can be met rapidly.
Example 2
The present invention also provides a system for downloading an image file at a client, which is used to implement the method for downloading an image file at a client in embodiment 1. Referring to fig. 4, the download system includes: an operation instruction receiving module 101, a priority download instruction detecting module 102, a download instruction generating module 103 and a thread pool 104.
The operation instruction receiving module 101 is configured to receive an operation instruction on a browsing interface of a client.
The priority downloading instruction detecting module 102 is configured to detect whether the operation instruction is a priority downloading instruction, generate a priority downloading task associated with the operation instruction if the operation instruction is the priority downloading instruction, and store the priority downloading task in a priority downloading queue.
The download instruction generation module 103 is configured to generate a download instruction to the thread pool 104.
The thread pool 104 includes a number of threads for concurrently downloading the image file.
The thread is specifically used for sequentially completing the priority downloading task according to the downloading instruction.
In specific implementation, the preferentially downloading instruction comprises: click on the command to examine the sequence of images and the command to browse the image file.
When the operation instruction is an instruction for clicking a sequence of checking images, the associated priority downloading task is to download all the image files of the sequence.
When the operation instruction is an instruction for browsing the image files, the associated priority downloading task is to download the currently browsed image files and the adjacent preset number of image files.
In specific implementation, the downloading system further comprises: a conventional download instruction detection module 105.
The conventional download instruction detection module 105 is configured to detect whether the operation instruction is a conventional download instruction, and if so, generate a conventional download task associated with the operation instruction, and store the conventional download task in the sequential download queue.
And the thread completes the prior downloading task in sequence according to the downloading instruction and then completes the conventional downloading task in sequence.
In specific implementation, the conventional download instruction includes: opening an examination image of the patient.
When the operation instruction is an instruction to open an examination image of a patient, the associated conventional download task is to download all image files of the examination.
In specific implementation, the priority downloading instruction detecting module 102 is further configured to store the priority downloading task to the head of the priority downloading queue.
The regular download instruction detection module 105 is further configured to save the regular download task to the head of the sequential download queue.
During specific implementation, the thread is also used for checking whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially shifted out of the priority downloading queue according to the sequence of the task list, and the shifted-out priority downloading task is completed.
The thread is also used for checking whether the conventional downloading tasks exist in the conventional downloading queue or not, if so, the conventional downloading tasks are sequentially shifted out of the conventional downloading queue according to the sequence of the task list, and the shifted-out conventional downloading tasks are completed.
In specific implementation, the thread is also used for moving the priority downloading task at the head of the queue out of the priority downloading queue.
The thread is also used to move the regular download task at the head of the queue out of the regular download queue.
During specific implementation, the thread is also used for storing the completed priority downloading task and the conventional downloading task to the completion queue.
The thread is also used for checking whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially moved out of the priority downloading queue according to the sequence of the task list, whether the moved priority downloading task exists in the completion queue is detected, and if not, the priority downloading task is completed; and if so, discarding the priority downloading task.
The thread is also used for checking whether the conventional downloading task exists in the conventional downloading queue, if so, the conventional downloading task is sequentially moved out of the conventional downloading queue according to the sequence of the task list, whether the moved conventional downloading task exists in the completion queue is detected, and if not, the conventional downloading task is completed; and if so, discarding the conventional downloading task.
When the system for downloading the image file at the client of the embodiment needs to download the examination data of the patient stored in the storage device from the client, a plurality of files browsed at present are placed into the priority downloading queue, the thread pool is adopted to carry out concurrent file downloading, and the thread pool finishes downloading tasks in the sequence downloading queue after finishing downloading tasks in the priority downloading queue, so that not only background downloading hiding delay can be realized, but also the appointed image file can be downloaded preferentially, and the downloading requirement can be met rapidly.
Example 3
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 4 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method for downloading the image file of the client in embodiment 1 when executing the program. The electronic device 30 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
The electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a method for downloading a video file from a client in embodiment 1 of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for downloading a video file of a client in embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in a form of a program product, which includes program codes, and when the program product runs on a terminal device, the program codes are used for causing the terminal device to execute steps of implementing the method for downloading the image file of the client in embodiment 1.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (11)

1. A method for downloading an image file of a client, the method comprising:
receiving an operation instruction on a browsing interface of the client;
detecting whether the operation instruction is a priority downloading instruction, if so, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue;
generating a downloading instruction to a thread pool, wherein the thread pool comprises a plurality of threads, and the threads are used for downloading the image file concurrently;
and the thread finishes the priority downloading task in sequence according to the downloading instruction.
2. The method of claim 1, wherein the priority downloading instruction comprises: clicking an instruction of checking the sequence of the images and an instruction of browsing the image files;
when the operation instruction is the instruction for clicking the sequence of the inspection image, the associated priority downloading task is to download all image files of the sequence;
and when the operation instruction is the instruction for browsing the image files, the associated priority downloading task is to download the currently browsed image files and the preset number of adjacent image files.
3. The method for downloading video files from a client end according to claim 1, wherein the downloading method further comprises:
detecting whether the operation instruction is a conventional downloading instruction, if so, generating a conventional downloading task associated with the operation instruction, and storing the conventional downloading task to a sequential downloading queue;
generating a downloading instruction to the thread pool;
and the thread completes the conventional downloading task in sequence after completing the priority downloading task in sequence according to the downloading instruction.
4. The method as claimed in claim 3, wherein the normal download instruction comprises: instructions to open an examination image of a patient;
when the operation instruction is the instruction for opening the examination image of the patient, the associated conventional downloading task is downloading all image files of the examination.
5. The method for downloading video files from a client according to claim 3,
the step of storing the priority download task to a priority download queue specifically includes:
storing the priority downloading task to the head of a priority downloading queue;
the step of storing the regular download task to the sequential download queue specifically includes:
and saving the conventional download task to the head of the sequential download queue.
6. The method for downloading video files from a client according to claim 3,
the step of the thread sequentially completing the priority downloading task according to the downloading instruction specifically comprises the following steps:
the thread checks whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially moved out of the priority downloading queue according to the sequence of a task list, and the moved priority downloading task is completed;
the step of sequentially completing the conventional downloading task specifically comprises:
and the thread checks whether a conventional downloading task exists in the conventional downloading queue, if so, the conventional downloading task is sequentially moved out of the conventional downloading queue according to the sequence of a task list, and the moved conventional downloading task is completed.
7. The method for downloading an image file from a client according to claim 6, wherein the step of sequentially moving the priority download tasks out of the priority download queue according to the order of the task list specifically comprises:
moving the priority downloading task at the head of the queue out of the priority downloading queue;
the step of sequentially moving the conventional download tasks out of the conventional download queue according to the order of the task list specifically includes:
and moving the conventional downloading task at the head of the queue out of the conventional downloading queue.
8. The method for downloading video files from a client as claimed in claim 3, wherein the downloading method further comprises:
saving the completed priority downloading task and the completed conventional downloading task to a completion queue;
the step of the thread sequentially completing the priority downloading task according to the downloading instruction specifically comprises the following steps:
the thread checks whether a priority downloading task exists in the priority downloading queue according to the downloading instruction, if so, the priority downloading task is sequentially moved out of the priority downloading queue according to the sequence of a task list, whether the moved priority downloading task exists in the completion queue is detected, and if not, the priority downloading task is completed; if yes, discarding the priority downloading task;
the step of sequentially completing the conventional downloading task specifically comprises:
the thread checks whether a conventional downloading task exists in the conventional downloading queue, if so, the conventional downloading task is sequentially moved out of the conventional downloading queue according to the sequence of a task list, whether the moved conventional downloading task exists in the completion queue is detected, and if not, the conventional downloading task is completed; and if so, discarding the conventional downloading task.
9. A system for downloading an image file from a client, the system comprising: the device comprises an operation instruction receiving module, a priority downloading instruction detection module, a downloading instruction generation module and a thread pool;
the operation instruction receiving module is used for receiving an operation instruction on a browsing interface of the client;
the priority downloading instruction detection module is used for detecting whether the operation instruction is a priority downloading instruction, if so, generating a priority downloading task associated with the operation instruction, and storing the priority downloading task to a priority downloading queue;
the download instruction generating module is used for generating a download instruction to the thread pool;
the thread pool comprises a plurality of threads, and the threads are used for downloading the image files concurrently;
the thread is specifically configured to sequentially complete the priority downloading task according to the downloading instruction.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for downloading the image file of the client according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the method for downloading the image file of the client according to any one of claims 1 to 8.
CN202110173004.XA 2021-02-08 2021-02-08 Method, system, equipment and storage medium for downloading image file of client Pending CN112863651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110173004.XA CN112863651A (en) 2021-02-08 2021-02-08 Method, system, equipment and storage medium for downloading image file of client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110173004.XA CN112863651A (en) 2021-02-08 2021-02-08 Method, system, equipment and storage medium for downloading image file of client

Publications (1)

Publication Number Publication Date
CN112863651A true CN112863651A (en) 2021-05-28

Family

ID=75989201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110173004.XA Pending CN112863651A (en) 2021-02-08 2021-02-08 Method, system, equipment and storage medium for downloading image file of client

Country Status (1)

Country Link
CN (1) CN112863651A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160267649A1 (en) * 2015-03-13 2016-09-15 More Health, Inc. Low latency web-based dicom viewer system
CN108447547A (en) * 2018-03-13 2018-08-24 沈阳东软医疗系统有限公司 A kind of storage of medical image data, method for down loading and device
CN110908784A (en) * 2019-11-12 2020-03-24 苏州智加科技有限公司 Image labeling method, device, equipment and storage medium
CN111916184A (en) * 2020-07-31 2020-11-10 平安好医投资管理有限公司 Medical examination image downloading method and device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160267649A1 (en) * 2015-03-13 2016-09-15 More Health, Inc. Low latency web-based dicom viewer system
CN108447547A (en) * 2018-03-13 2018-08-24 沈阳东软医疗系统有限公司 A kind of storage of medical image data, method for down loading and device
CN110908784A (en) * 2019-11-12 2020-03-24 苏州智加科技有限公司 Image labeling method, device, equipment and storage medium
CN111916184A (en) * 2020-07-31 2020-11-10 平安好医投资管理有限公司 Medical examination image downloading method and device and computer equipment

Similar Documents

Publication Publication Date Title
US10671468B2 (en) Enhanced dump data collection from hardware fail modes
US10134126B2 (en) Intelligent dynamic preloading and processing
JP2019530488A (en) Computer-aided diagnostic system for medical images using deep convolutional neural networks
US20140006926A1 (en) Systems and methods for natural language processing to provide smart links in radiology reports
CN109157239B (en) Positioning image scanning method, CT scanning method, device, equipment and medium
Smistad et al. FAST: framework for heterogeneous medical image computing and visualization
US11830605B2 (en) Image visualization of medical imaging studies between separate and distinct computing system using a template
Kainz et al. IQM: an extensible and portable open source application for image and signal analysis in Java
GB2485883A (en) Retrieval and reviewing of medical image processing
WO2017056078A1 (en) System for mapping findings to pertinent echocardiogram loops
CN105765591A (en) A system and method to pre-fetch comparison medical studies
JP2019537114A (en) System and method for determining relevant past radiological examinations using PACS log files
JP6949909B2 (en) Image viewer
US9122791B2 (en) Identifying a storage location for a storage address requested during debugging
US20080120140A1 (en) Managing medical imaging data
US7571352B2 (en) Aspect based recovery system and method
Vollmar et al. VINCI-volume imaging in neurological research, co-registration and ROIs included
US9597039B2 (en) Devices, methods and computer readable mediums for on demand personalization of a user interface
CN112863651A (en) Method, system, equipment and storage medium for downloading image file of client
US11854705B2 (en) Method and system for supporting clinical decisions
Dong et al. Characterizing browser-based medical imaging AI with serverless edge computing: towards addressing clinical data security constraints
CN114496175A (en) Medical image viewing method, device, equipment and storage medium
JP5134780B2 (en) X-ray CT apparatus and medical image filing apparatus
JP7370865B2 (en) A dynamic system that provides relevant clinical context based on findings in an image interpretation environment
WO2020205610A1 (en) Snip-triggered digital image report generation

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