CN110504020B - Medical image information system and method for displaying dicom image file by browser - Google Patents
Medical image information system and method for displaying dicom image file by browser Download PDFInfo
- Publication number
- CN110504020B CN110504020B CN201910784531.7A CN201910784531A CN110504020B CN 110504020 B CN110504020 B CN 110504020B CN 201910784531 A CN201910784531 A CN 201910784531A CN 110504020 B CN110504020 B CN 110504020B
- Authority
- CN
- China
- Prior art keywords
- file
- dicom image
- image file
- dicom
- analysis
- 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
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004458 analytical method Methods 0.000 claims abstract description 98
- 238000010191 image analysis Methods 0.000 claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 230000036316 preload Effects 0.000 claims abstract description 5
- 238000013507 mapping Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 8
- 238000009877 rendering Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 230000002708 enhancing effect Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 abstract description 9
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000002059 diagnostic imaging Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- 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
- G16H30/00—ICT specially adapted for the handling or processing of medical images
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Radiology & Medical Imaging (AREA)
- Epidemiology (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a medical image information system, a method and equipment for displaying a dicom image file in a browser page and a computer readable storage medium. The system includes a dicom image file processor, a front end processor and a back end processor. The front-end processor preloads each dicom image file when no network transmission exists and analyzes and renders the dicom image file after receiving the instruction; the back-end processor generates thumbnail images of all the dicom image files and analyzes and renders the dicom image files after receiving the instruction; the dicom image file processor loads and displays the thumbnail of each dicom image file, monitors the network bandwidth in real time, sets a file analysis threshold value according to the current network bandwidth state, and sends a dicom image file preloading instruction to a front-end server when no file is transmitted in the network; when the first dicom image file thumbnail is clicked, a server for analyzing the image is determined according to the file analysis threshold, the size of the first dicom image file and the preloading state, and an image analysis instruction is generated, so that the response speed of the dicom image file is effectively improved.
Description
Technical Field
The invention relates to the technical field of dicom image file analysis, in particular to a medical image information system, a method and equipment for displaying a dicom image file in a browser page and a computer readable storage medium.
Background
With the advent of the digital information age, the application of various advanced computer technologies and digital image technologies in diagnostic imaging equipment lays a foundation for the development of medical image information systems. Over the past century, medical imaging technology has also evolved from primary X-ray imaging to present day digital imaging, wherein the medical imaging information system may also be referred to as PACS (Picture Archiving and Communication Systems). With the rapid development of modern web Browser technology, especially the wide application of AJAX (Async Javascript And XML, interactive web application development technology), a B/S-based software structure (Browser/Server) replaces a traditional C/S-based software structure due to its unique advantages, And a web PACS based on a B/S architecture is gradually taking the mainstream.
Because the web browser does not have the function of directly displaying Digital Imaging and Communications in Medicine (DIM) images, the related technology analyzes the DICOM image files through the back end and returns the DICOM image files to the browser for analysis, the front end is only responsible for interaction and final result display, and rendering is completed by the back end server.
However, when a plurality of clients log in a medical image information system at the same time, the dicom image files are generally large files, for example, for some high-end image devices, the dicom images are often multi-frame, usually reach several hundred M or even exceed 1G in size, a large amount of network bandwidth, memory and time are consumed for analysis, under the condition that server resources are limited, a back-end server has a certain pressure, the time for responding to each client is long, and user experience is poor.
Disclosure of Invention
The present disclosure provides a medical image information system, a method and a device for displaying a dicom image file in a browser page, and a computer-readable storage medium, which effectively improve the response speed for displaying the dicom image file to a client, and are beneficial to improving the user experience.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
the embodiment of the invention provides a medical image information system on the one hand, which is based on a B/S software architecture and comprises a dicom image file processor, a front-end server and a back-end server, wherein the dicom image file processor is used for executing a task of preloading all dicom image files when no network is transmitted, analyzing and rendering the dicom image files corresponding to received image analysis instructions, and the back-end server is used for generating all dicom image file thumbnails, analyzing and rendering the dicom image files corresponding to the received image analysis instructions;
the dicom image file processor comprises a thumbnail display module used for loading and displaying the thumbnails of the dicom image files; an image presentation module for presenting a corresponding dicom image when it is detected that the dicom thumbnail is clicked; the bandwidth detection module is used for monitoring the network bandwidth in real time and setting a file analysis threshold value according to the current network bandwidth state; and the instruction generation module is used for determining a server for analyzing the first dicom image file according to the file analysis threshold value, the occupied space capacity value of the first dicom image file and the preloading state and generating an image analysis instruction when detecting that the first dicom image file thumbnail is clicked.
Optionally, the instruction generating module includes:
the first parsing instruction generation sub-module is used for generating a first parsing instruction and sending the first parsing instruction to a back-end server if the occupied space capacity value of the first dicom image file is not smaller than the file parsing threshold value when the first dicom image file thumbnail is detected to be clicked;
the second analysis instruction generation sub-module is used for generating a second analysis instruction and sending the second analysis instruction to a back-end server if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is not successfully preloaded when the first dicom image file thumbnail is detected to be clicked;
and the third analysis instruction generation sub-module is used for generating a third analysis instruction and sending the third analysis instruction to the front-end server if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is successfully preloaded when the first dicom image file thumbnail is detected to be clicked.
Optionally, the thumbnail display module is used for longitudinally arranging thumbnails of the dicom image files in a list form.
Optionally, the image display module further includes an image attribute information display sub-module and an image operation sub-module;
the image attribute information display submodule is used for displaying the file attribute information of the current dicom image file;
the image operation submodule comprises an image zooming unit, an image enhancing unit, an image turning unit and a dynamic playing image dragging unit.
Optionally, the bandwidth detection module includes a file parsing threshold calculation sub-module, where the file parsing threshold calculation sub-module includes:
the mapping relation establishing submodule is used for fitting by utilizing a sample data set in advance to obtain a mapping relation between the network bandwidth and the file analysis threshold value; the sample data set comprises a plurality of groups of data, and each group of data comprises a network bandwidth range and a file analysis threshold;
and the file analysis threshold value determining submodule is used for determining a corresponding file analysis threshold value according to the current network bandwidth value.
Another aspect of an embodiment of the present invention provides a method for displaying a dicom image file in a browser page, which is applied to a medical image information system, and includes:
loading and displaying thumbnails of all the dicom image files, wherein all the thumbnails are generated by a back-end server;
monitoring the network bandwidth in real time, setting a file analysis threshold value according to the current network bandwidth state, and sending an instruction for preloading all the dicom image files to a front-end server when the network has no file transmission;
when it is detected that a user clicks a first dicom image file thumbnail, determining a server for analyzing the first dicom image file according to the file analysis threshold value, the occupied space capacity value of the first dicom image file and the preloading state, and generating an image analysis instruction so that the front-end server or the back-end server analyzes and renders the first dicom image file.
Optionally, the determining, according to the file parsing threshold, the occupied space capacity value of the first dicom image file, and the preloading state, a server for parsing the first dicom image file, and generating an image parsing instruction includes:
if the occupied space capacity value of the first dicom image file is not smaller than the file analysis threshold value, generating a first analysis instruction, and sending the first analysis instruction to a back-end server;
if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is not successfully preloaded, generating a second analysis instruction and sending the second analysis instruction to a back-end server;
and if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is successfully preloaded, generating a third analysis instruction and sending the third analysis instruction to a front-end server.
Optionally, the setting of the file parsing threshold according to the current network bandwidth state includes:
fitting by utilizing a sample data set in advance to obtain a mapping relation between a network bandwidth and a file analysis threshold; the sample data set comprises a plurality of groups of data, and each group of data comprises a network bandwidth range and a file analysis threshold;
and determining a corresponding file analysis threshold value according to the current network bandwidth value.
An embodiment of the present invention further provides an apparatus for presenting a dicom image file in a browser page, including a processor, configured to implement the steps of the method for presenting a dicom image file in a browser page as described in any one of the preceding items when executing a computer program stored in a memory.
Finally, an embodiment of the present invention provides a computer readable storage medium having stored thereon a program for presenting a dicom image file in a browser page, which when executed by a processor implements the steps of the method for presenting a dicom image file in a browser page as described in any of the previous items.
The technical scheme provided by the application has the advantages that the thumbnail of the dicom image file to be displayed is generated by the back-end server and displayed to the user in the system, so that the user is prevented from being in an image cache waiting state for a long time, and the use experience of the user is improved; under the condition of no network transmission, the front-end server is utilized to pre-load each dicom image file to the front end, the file analysis server is determined according to the actual size of the dicom image file and the network bandwidth, and the dicom image file is analyzed and rendered by combining the front-end server and the rear-end server, so that the performance of the front end for analyzing the dicom file is effectively exerted, partial pressure of the rear end is released, the response speed of the dicom image file is favorably improved, and the use experience of a user is improved.
In addition, the embodiment of the invention also provides a corresponding method, equipment and a computer readable storage medium for displaying the dicom image file in the browser page aiming at the medical image information system method, so that the system is more feasible, and the method, the equipment and the computer readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a block diagram of an embodiment of a medical image information system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a method for displaying a dicom image file in a browser page according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating another method for displaying a dicom image file in a browser page according to an embodiment of the present invention;
fig. 4 is a structural diagram of an embodiment of an apparatus for displaying a dicom image file in a browser page according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of the embodiments of the present invention, various non-limiting embodiments of the present application are described in detail below.
Referring first to fig. 1, fig. 1 is a schematic structural framework diagram of a medical image information system according to an embodiment of the present invention, applied to a PACS based on a B/S software architecture, where the embodiment of the present invention includes the following:
the medical image may comprise a dicom image file processor 1, a front-end server 2 and a back-end server 3, both the front-end server 2 and the back-end server 3 being connected to the dicom image file processor 1.
In the related art, the front-end server 2 is generally used for information interaction and final result display, and the parsing and rendering of the dicom image file are performed by the back-end server 3. In the present application, the front-end server 2 may be configured to perform the task of preloading each dicom image file when there is no network transmission, where the value of the occupied space capacity of the preloaded dicom image file may not be limited, and certainly, in order to improve the parsing and rendering efficiency of the dicom image files of the entire system, only the dicom image files that do not exceed the file parsing threshold may be preloaded.
In the application, in order to avoid that the user is in an image cache state for a long time, after the user enters the PACS system, the thumbnail of each dicom image file to be displayed can be displayed to the user at first, although the occupied space capacity value of the dicom image file is large, the occupied space capacity value of the thumbnail is not large, the thumbnail can be loaded and displayed quickly, the response speed is improved, and the thumbnail of each dicom image file can be generated by the back-end server 3.
In an embodiment of the present invention, the dicom image file processor 1 may include a thumbnail presentation module 11, an image presentation module 12, a bandwidth detection module 13, and an instruction generation module 14. The thumbnail display module 11 is used for loading and displaying thumbnail images of the dicom image files; the image presentation module 12 is configured to present an image presentation module of a corresponding dicom image when it is detected that the dicom thumbnail is clicked. Accordingly, in one embodiment, the left side of the page of the dicom viewer browser of the PACS system may be set as a first display area of the thumbnails of the dicom image files, and the thumbnails of the dicom image files may be arranged in a list form in the display area in a vertical direction; the right side of the page may be set as a second presentation area for the dicom images, and when it is detected that the user clicks the thumbnail on the left side, the original dicom image of the corresponding thumbnail is presented on the right side of the page. In order to improve the user's flexibility and experience, the operation options commonly used for dicom images may also be provided above the second display area, which may include, for example, measuring angles, measuring lengths, zooming in/out, image enhancement, flipping, dragging a dynamic play display (for multi-frame images), and so on. In this embodiment, the thumbnail display module 11 may also arrange thumbnails of the dicom image files longitudinally in a list form, and the image display module 12 may further include an image attribute information display sub-module and an image operation sub-module; the image attribute information display submodule is used for displaying file attribute information of the current dicom image file, such as a measurement angle, a measurement length, measurement time, an occupied space capacity value, a creator and the like; the image operation sub-module comprises an image zooming unit, an image enhancing unit, an image turning unit and a dynamic playing dragging image unit, and a user can realize the zooming in/out, image enhancing, turning over and dynamic playing and displaying of the dicom image file through the functional units.
The bandwidth detection module 13 may be configured to monitor a network bandwidth in real time, and set a file parsing threshold according to a current network bandwidth state. After the system is running, the current network bandwidth value obtained by monitoring through the bandwidth detection module 13 can send an instruction for preloading the dicom image file to the front-end server 2 when the system has no file transmission, and send an instruction for stopping preloading the dicom image file to the front-end server 2 when the system has file transmission. The network bandwidth is monitored in real time, and a file analysis threshold is set according to an actual bandwidth value of the current network bandwidth, that is, the file analysis threshold changes with a change of the actual bandwidth value of the network bandwidth, and the file analysis threshold may be a value preset by a person skilled in the art by virtue of own experience, or a value obtained by learning according to historical data, which is not limited in this application.
In this application, the instruction generating module 14 may be configured to, when it is detected that the first dicom image file thumbnail is clicked, determine a server for parsing the first dicom image file according to the file parsing threshold, the occupied space capacity value of the first dicom image file, and the preload state, and generate an instruction for image parsing. The first dicom image file thumbnail is any one of displayed thumbnails, when a user clicks a thumbnail, the system displays a dicom image file corresponding to the thumbnail to the user, and the dicom image file needs an analysis and rendering process, in order to improve the response efficiency of the dicom image file, whether the front-end server 2 or the back-end server 3 is used for analysis is judged according to a file analysis threshold value, an occupied space capacity value of the first dicom image file and a preloading state, and generally, the back-end server 3 can rapidly analyze and render the dicom image file with a large occupied space capacity value compared with the front-end server 2. The image analysis instruction comprises identification information of a server type for analyzing the first dicom image file, so that the system can conveniently send the image analysis instruction to a corresponding server according to the identification information, the front-end server 2 analyzes and renders the dicom image file corresponding to the image analysis instruction after receiving the image analysis instruction, and the back-end server 3 analyzes and renders the dicom image file corresponding to the image analysis instruction after receiving the image analysis instruction.
In the technical scheme provided by the embodiment of the invention, the thumbnail of the dicom image file to be displayed is generated by the back-end server and displayed to the user in the system, so that the user is prevented from being in an image cache waiting state for a long time, and the use experience of the user is favorably improved; under the condition of no network transmission, the front-end server is utilized to pre-load each dicom image file to the front end, the file analysis server is determined according to the actual size of the dicom image file and the network bandwidth, and the dicom image file is analyzed and rendered by combining the front-end server and the rear-end server, so that the performance of the front end for analyzing the dicom file is effectively exerted, partial pressure of the rear end is released, the response speed of the dicom image file is favorably improved, and the use experience of a user is improved.
As a preferred embodiment, the instruction generating module 14 of the dicom image file processor 1 may include, for example:
and the first analysis instruction generation sub-module is used for generating a first analysis instruction and sending the first analysis instruction to the back-end server 3 when the first dicom image file thumbnail is detected to be clicked and if the occupied space capacity value of the first dicom image file is not less than the file analysis threshold value.
And the second analysis instruction generation sub-module is used for generating a second analysis instruction and sending the second analysis instruction to the back-end server 3 when the first dicom image file thumbnail is detected to be clicked, and if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is not successfully preloaded.
And the third analysis instruction generation sub-module is used for generating a third analysis instruction and sending the third analysis instruction to the front-end server 2 when the first dicom image file thumbnail is detected to be clicked, and if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is successfully preloaded.
Optionally, in order to improve the intelligent degree of the whole system and respond to the dicom image file display request of the client more quickly, the bandwidth detection module 13 may further include a file parsing threshold calculation sub-module, and the file parsing threshold calculation sub-module may specifically include:
the mapping relation establishing submodule is used for fitting by utilizing a sample data set in advance to obtain a mapping relation between the network bandwidth and the file analysis threshold value; the sample data set includes multiple sets of data, each set of data including a network bandwidth range and a file parsing threshold.
And the file analysis threshold value determining submodule is used for determining a corresponding file analysis threshold value according to the current network bandwidth value.
In the embodiment of the invention, any fitting learning algorithm can be used for fitting to obtain the corresponding relation between the network bandwidth and the file parsing threshold. It can be understood that for complex mapping relations, the fitting accuracy of the traditional fitting algorithm is low, so that in order to determine the relation between the complex mapping relations and the complex mapping relations more accurately, the corresponding relation between the network bandwidth and the file parsing threshold can be obtained by learning the sample data set by using a deep learning neural network algorithm.
The embodiment of the invention also provides a corresponding method for displaying the dicom image file in the browser page aiming at the medical image information system, so that the system is more feasible. The following describes a method for displaying a dicom image file in a browser page according to an embodiment of the present invention, and the method for displaying a dicom image file in a browser page described below and the medical image information system described above may be referred to in a corresponding manner. Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for displaying a dicom image file in a browser page according to an embodiment of the present invention, where the method is applied to a medical image information system, and may include:
s201: and loading and displaying the thumbnails of the dicom image files, wherein the thumbnails are generated by the back-end server.
S202: and monitoring the network bandwidth in real time, setting a file analysis threshold value according to the current network bandwidth state, and sending an instruction for preloading each dicom image file to a front-end server when the network has no file transmission.
S203: and when the fact that the user clicks the first dicom image file thumbnail is detected, determining a server for analyzing the first dicom image file according to the file analysis threshold value, the occupied space capacity value of the first dicom image file and the preloading state, and generating an image analysis instruction so that the front-end server or the back-end server can analyze and render the first dicom image file.
Optionally, in an embodiment, referring to fig. 3, a specific implementation process of S203 may be:
judging whether the occupied space volume value of the first dicom image file is not less than a file analysis threshold value or not, if the occupied space volume value of the first dicom image file is not less than the file analysis threshold value, generating a first analysis instruction, and sending the first analysis instruction to a back-end server; if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value, judging whether the first dicom image file is successfully preloaded, if the first dicom image file is not successfully preloaded, generating a second analysis instruction, and sending the second analysis instruction to a back-end server; and if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is successfully preloaded, generating a third analysis instruction and sending the third analysis instruction to the front-end server.
In another embodiment, the step of setting the file parsing threshold according to the current network bandwidth status may be:
fitting by utilizing a sample data set in advance to obtain a mapping relation between a network bandwidth and a file analysis threshold; the sample data set comprises a plurality of groups of data, and each group of data comprises a network bandwidth range and a file analysis threshold;
and determining a corresponding file analysis threshold value according to the current network bandwidth value.
Since the method embodiment and the system embodiment are based on the same concept, the implementation processes of the steps in the method embodiment may refer to the information interaction, the execution process, and the like between the units in the corresponding parts in the system embodiment, and thus, the details are not described here.
Therefore, the embodiment of the invention effectively improves the response speed of displaying the dicom image file to the client, and is beneficial to improving the use experience of the user.
An embodiment of the present invention further provides a device for displaying a dicom image file in a browser page, referring to fig. 4, where the device 4 for displaying a dicom image file in a browser page may specifically include:
a memory 41 for storing a computer program;
a processor 42 for executing a computer program for carrying out the steps of the method of presenting a dicom image file in a browser page as described in any of the above embodiments.
The functions of the functional modules of the device for displaying a dicom image file in a browser page according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment of the invention effectively improves the response speed of displaying the dicom image file to the client, and is beneficial to improving the use experience of the user.
An embodiment of the present invention further provides a computer-readable storage medium storing a program for presenting a dicom image file in a browser page, where the program for presenting a dicom image file in a browser page is executed by a processor, and the steps of the method for presenting a dicom image file in a browser page as described in any one of the above embodiments are provided.
The functions of the functional modules of the computer-readable storage medium according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment of the invention effectively improves the response speed of displaying the dicom image file to the client, and is beneficial to improving the use experience of the user.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The medical image information system, the method and the device for displaying the dicom image file in the browser page and the computer readable storage medium provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (6)
1. A medical image information system is characterized in that the system is based on a B/S software architecture and comprises a dicom image file processor, a front-end server and a back-end server, wherein the front-end server is used for executing a task of preloading all dicom image files when no network transmission exists, analyzing and rendering the dicom image files corresponding to received image analysis instructions, and the back-end server is used for generating all dicom image file thumbnails, analyzing and rendering the dicom image files corresponding to the received image analysis instructions;
the dicom image file processor comprises a thumbnail display module used for loading and displaying the thumbnails of the dicom image files; an image presentation module for presenting a corresponding dicom image when it is detected that the dicom thumbnail is clicked; the bandwidth detection module is used for monitoring the network bandwidth in real time and setting a file analysis threshold value according to the current network bandwidth state; the instruction generation module is used for determining a server for analyzing the first dicom image file according to the file analysis threshold value, the occupied space capacity value of the first dicom image file and the preloading state and generating an image analysis instruction when the first dicom image file thumbnail is detected to be clicked;
wherein the instruction generation module comprises:
the first parsing instruction generation sub-module is used for generating a first parsing instruction and sending the first parsing instruction to a back-end server if the occupied space capacity value of the first dicom image file is not smaller than the file parsing threshold value when the first dicom image file thumbnail is detected to be clicked;
the second analysis instruction generation sub-module is used for generating a second analysis instruction and sending the second analysis instruction to a back-end server if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is not successfully preloaded when the first dicom image file thumbnail is detected to be clicked;
a third parsing instruction generating sub-module, configured to, when it is detected that a first dicom image file thumbnail is clicked, generate a third parsing instruction if the occupied space capacity value of the first dicom image file is smaller than the file parsing threshold and the first dicom image file is successfully preloaded, and send the third parsing instruction to a front-end server;
the bandwidth detection module comprises a file analysis threshold calculation submodule, and the file analysis threshold calculation submodule comprises:
the mapping relation establishing submodule is used for fitting by utilizing a sample data set in advance to obtain a mapping relation between the network bandwidth and the file analysis threshold value; the sample data set comprises a plurality of groups of data, and each group of data comprises a network bandwidth range and a file analysis threshold;
and the file analysis threshold value determining submodule is used for determining a corresponding file analysis threshold value according to the current network bandwidth value.
2. The medical image information system according to claim 1, wherein the thumbnail presentation module arranges thumbnails of the dicom image files vertically in a list form.
3. The medical image information system according to claim 2, wherein the image presentation module further comprises an image attribute information presentation sub-module and an image manipulation sub-module;
the image attribute information display submodule is used for displaying the file attribute information of the current dicom image file;
the image operation submodule comprises an image zooming unit, an image enhancing unit, an image turning unit and a dynamic playing image dragging unit.
4. A method for displaying a dicom image file in a browser page, which is applied to a medical image information system, comprises:
loading and displaying thumbnails of all the dicom image files, wherein all the thumbnails are generated by a back-end server;
monitoring the network bandwidth in real time, setting a file analysis threshold value according to the current network bandwidth state, and sending an instruction for preloading all the dicom image files to a front-end server when the network has no file transmission;
when it is detected that a user clicks a first dicom image file thumbnail, determining a server for analyzing the first dicom image file according to the file analysis threshold value, the occupied space capacity value of the first dicom image file and the preloading state, and generating an image analysis instruction so that the front-end server or the back-end server analyzes and renders the first dicom image file;
wherein the determining a server for parsing the first dicom image file according to the file parsing threshold, the occupied space capacity value of the first dicom image file, and the preload state, and generating the image parsing instruction comprises:
if the occupied space capacity value of the first dicom image file is not smaller than the file analysis threshold value, generating a first analysis instruction, and sending the first analysis instruction to a back-end server; if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is not successfully preloaded, generating a second analysis instruction and sending the second analysis instruction to a back-end server; if the occupied space capacity value of the first dicom image file is smaller than the file analysis threshold value and the first dicom image file is successfully preloaded, generating a third analysis instruction and sending the third analysis instruction to a front-end server;
wherein, the setting of the file analysis threshold value according to the current network bandwidth state comprises:
fitting by utilizing a sample data set in advance to obtain a mapping relation between a network bandwidth and a file analysis threshold; the sample data set comprises a plurality of groups of data, and each group of data comprises a network bandwidth range and a file analysis threshold; and determining a corresponding file analysis threshold value according to the current network bandwidth value.
5. An apparatus for presenting a dicom image file in a browser page, comprising a processor for implementing the steps of the method of presenting a dicom image file in a browser page as claimed in claim 4 when executing a computer program stored in a memory.
6. A computer readable storage medium, characterized in that said computer readable storage medium has stored thereon a program for presenting a dicom image file in a browser page, which program, when executed by a processor, carries out the steps of the method for presenting a dicom image file in a browser page as claimed in claim 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910784531.7A CN110504020B (en) | 2019-08-23 | 2019-08-23 | Medical image information system and method for displaying dicom image file by browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910784531.7A CN110504020B (en) | 2019-08-23 | 2019-08-23 | Medical image information system and method for displaying dicom image file by browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110504020A CN110504020A (en) | 2019-11-26 |
CN110504020B true CN110504020B (en) | 2022-06-07 |
Family
ID=68589258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910784531.7A Active CN110504020B (en) | 2019-08-23 | 2019-08-23 | Medical image information system and method for displaying dicom image file by browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110504020B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813755A (en) * | 2020-07-24 | 2020-10-23 | 西门子(中国)有限公司 | Method, device and system for processing DICOM file |
CN112382372B (en) * | 2020-10-16 | 2024-04-19 | 北京全域医疗技术集团有限公司 | System, method and equipment for viewing DICOM file based on network page |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6076572B1 (en) * | 2015-04-13 | 2017-02-08 | オリンパス株式会社 | Medical system and medical device |
CN106709240A (en) * | 2016-12-01 | 2017-05-24 | 彭志勇 | Medical DICOM (Digital Imaging and Communications in Medicine) image display method |
CN106708933A (en) * | 2016-11-21 | 2017-05-24 | 贵阳朗玛信息技术股份有限公司 | DICOM video file storage method and device |
CN106997418A (en) * | 2016-01-22 | 2017-08-01 | 广东福地新视野光电技术有限公司 | A kind of method and system of long-distance transmissions medical image |
-
2019
- 2019-08-23 CN CN201910784531.7A patent/CN110504020B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6076572B1 (en) * | 2015-04-13 | 2017-02-08 | オリンパス株式会社 | Medical system and medical device |
CN106997418A (en) * | 2016-01-22 | 2017-08-01 | 广东福地新视野光电技术有限公司 | A kind of method and system of long-distance transmissions medical image |
CN106708933A (en) * | 2016-11-21 | 2017-05-24 | 贵阳朗玛信息技术股份有限公司 | DICOM video file storage method and device |
CN106709240A (en) * | 2016-12-01 | 2017-05-24 | 彭志勇 | Medical DICOM (Digital Imaging and Communications in Medicine) image display method |
Also Published As
Publication number | Publication date |
---|---|
CN110504020A (en) | 2019-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9740668B1 (en) | Plotting webpage loading speeds and altering webpages and a service based on latency and pixel density | |
CN109618225B (en) | Video frame extraction method, device, equipment and medium | |
CN110504020B (en) | Medical image information system and method for displaying dicom image file by browser | |
CN107623862B (en) | Multimedia information push control method and device and server | |
CN110955640B (en) | Cross-system data file processing method, device, server and storage medium | |
CN107294803A (en) | Response message conformance test method and device | |
US8726182B1 (en) | Multi-stage throbber | |
US20240119223A1 (en) | Method, apparatus and electronic device for field merging | |
CN113238754A (en) | Server rendering method and device, server and storage medium | |
CN117690063B (en) | Cable line detection method, device, electronic equipment and computer readable medium | |
US10103961B2 (en) | Collecting client-side application performance monitoring information | |
US9516088B2 (en) | Systems and methods to consistently generate web content | |
CN104471559B (en) | The method and apparatus performed effectively for module | |
CN111782993B (en) | Page display method and device and server | |
CN109324967A (en) | The method, apparatus and terminal device of application program pop-up components testing | |
CN110442806B (en) | Method and apparatus for recognizing image | |
US7509413B2 (en) | Tool for displaying JMX monitoring information | |
CN116820567A (en) | Method, system, electronic device and storage medium for determining instruction consumption information | |
CN104579825A (en) | Method and device for monitoring server of application in real time and computer equipment | |
CN117058599B (en) | Ship lock operation data processing method and system | |
CN113610713B (en) | Training method of video super-resolution model, video super-resolution method and device | |
CN111125501A (en) | Method and apparatus for processing information | |
CN115312208B (en) | Method, device, equipment and medium for displaying treatment data | |
CN111949819A (en) | Method and device for pushing video | |
CN109658997B (en) | Three-test order drawing method and device, electronic equipment and storage medium |
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 |