A method and device for displaying medical images based on a multi-version browser
By using the Electron architecture and a custom protocol, the problem of older browsers being unable to automatically display medical images was solved, enabling automatic display on a secondary screen and improving doctors' work efficiency.
Patent Information
- Application Number
- CN202210296176.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-03-24
AI Technical Summary
In hospitals, older browsers are incompatible with the features of newly developed languages, causing medical images to fail to display automatically on secondary screens, thus affecting doctors' work efficiency.
By building cross-platform third-party desktop applications using the Electron architecture, and using custom protocols and function blocks, the system can automatically identify and call the address response information of the target address, determine the display container and permissions, and enable the automatic display of medical images on the secondary screen.
It enables the automatic display of medical images on the secondary screen in low-kernel browsers without the need to install additional function blocks, thus improving doctors' efficiency in reading images.
Smart Images

Figure CN116842286B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of desktop application making, and particularly relates to a medical image display method and device based on a multi-version browser. BACKGROUND
[0002] With the improvement of the degree of hospital informatization, various business systems of the hospital are more and more perfect, and some hospitals have gradually built their own information collection platforms and systems. In order to facilitate the daily work of doctors, many functions and characteristics are developed based on the business of most systems, which contain various functions realized by using different technologies and architectures. There are two modes of application programs, which are C / S and B / S. C / S is the abbreviation of "Client / Server", which is the "client / server" mode, and B / S is "Browser / Server", which is a browser / server application program. The advantage of the B / S application program is that as long as there is a browser, the application can be run, and there is no need to download and install other programs in advance. However, with the development of development languages and technologies, the browser also needs to be upgraded to support some new features of the development language.
[0003] Due to the old equipment of some hospitals, the kernel of the browser is still in a relatively low version (such as IE7). After upgrading the kernel version of the browser, the old business system may not be able to be used, and some system products have been standardized during development, and according to the business requirements, they have derived their own system architecture, integrated other third-party systems (such as hospital clinical system (HIS) and the like), and when the characteristics (such as Object.defineProperty in JavaScript) held by the mainstream framework are used, if the browser version is not upgraded, the web program cannot run on the browser with a low kernel version.
[0004] In the implementation of browser compatibility solution, there are mainly two processing solutions. The first method, most of the new features of the development language can use third-party library to convert the front-end web development framework syntax into compatible syntax for low version browser, but some important features are not simulated by low version browser; The second method is to install or use the browser with extension function to download third-party plug-in for use, but most of these plug-ins are to realize the splitting of the browser into two interfaces, which cannot display medical images on the secondary display screen, and upgrading the browser in some hospitals has certain cost, because some doctors are familiar with the operation of the original browser due to personal habits, and other third-party medical systems are used on the installed browser, and the system function has reached a mature and stable running state, suddenly changing or upgrading to other high version browser will bring inconvenience to doctors, and the unpredictable risk of function compatibility.
[0005] In the hospital department, the scene of using expansion screen (multi-screen) is more common, when the doctor reviews the image examination report, there is a main screen to display the patient's detailed information, and a secondary screen to display the diagnosis report, and in most operations, when opening the tab page of the browser, the tab page needs to be manually dragged to the secondary screen to display the tab page on the secondary screen. This operation is relatively simple, but for doctors, it needs to be operated every time when reviewing the report, which is time-consuming and not friendly when there are many reports. At this time, it is necessary to provide a kind of C / S application which can solve the problem of compatibility between old version browser and new specification in hospital, so as to meet the needs of doctors in using medical image system when using double display in department, and automatically display the examination image reading program on the secondary screen when reading the film, so as to improve the reading efficiency. SUMMARY
[0006] In view of the problems, the present application is proposed to provide a kind of medical image display method and device based on multi-version browser to overcome the problems or at least partially solve the problems, which comprises:
[0007] A kind of medical image display method based on multi-version browser, the method runs medical image system through function block;The method comprises:
[0008] Determine the first trigger keyword set of custom protocol;Wherein, the first trigger keyword set is one-to-one corresponding to the function block;
[0009] Obtain the target address of target image;Wherein, the target address contains protocol keywords;
[0010] When the protocol keyword is consistent with the first trigger keyword set, a function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address.
[0011] Further, the step of determining the address response information corresponding to the target address comprises:
[0012] Obtaining the parameter of the target address;
[0013] Parsing the parameter of the target address to determine the address response information corresponding to the target address.
[0014] Further, after the step of parsing the parameter of the target address to determine the address response information corresponding to the target address, the method further comprises:
[0015] Determining the display container of the target image according to the address response information;
[0016] Determining the permission of the target image according to the attribute of the display container.
[0017] Further, the method further comprises:
[0018] Determining a second trigger keyword set of the custom protocol, and when the second trigger keyword set is consistent with the identified keyword, determining the value of the identified keyword;
[0019] When the value of the identified keyword is a preset trigger value, obtaining window list information and current mouse position information, and determining secondary screen position information from the window list information according to the current mouse position information;
[0020] Determining the display position of the target image according to the secondary screen position information.
[0021] Further, the step of determining the secondary screen position information from the window list information according to the current mouse position information comprises:
[0022] Determining primary screen position information according to the current mouse position information;
[0023] Determining the secondary screen position information from the window list information according to the primary screen position information;
[0024] Determining the display position of the target image according to the secondary screen position information.
[0025] Further, the step of determining the secondary screen position information from the window list information according to the primary screen position information comprises:
[0026] Determining the basic parameter of the secondary screen from the window list information according to the primary screen position information;
[0027] Determine a coordinate point of an x-axis and a y-axis of a left upper corner of the secondary screen according to the basic parameter of the secondary screen.
[0028] Further, the step of determining the display position of the target image according to the position information of the secondary screen comprises:
[0029] Determine the display position of the target image according to the coordinate point of the x-axis and the y-axis.
[0030] A display device of medical images based on a multi-version browser, the device runs a medical image system through a function block; the device comprises:
[0031] A first trigger keyword set determination module is configured to determine a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one;
[0032] A target address acquisition module is configured to acquire a target address of a target image, wherein the target address contains a protocol keyword;
[0033] An address response information determination module is configured to, when the protocol keyword is consistent with the first trigger keyword set, call a function block corresponding to the first trigger keyword set to determine address response information corresponding to the target address.
[0034] A computer device comprises a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program, when executed by the processor, implements the steps of a display method of medical images based on a multi-version browser as described above.
[0035] A computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of a display method of medical images based on a multi-version browser as described above.
[0036] The present application has the following advantages:
[0037] In the embodiments of the present application, a medical image system is run through a function block; the method comprises: determining a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one; obtaining a target address of a target image; wherein the target address contains a protocol keyword; when the protocol keyword is consistent with the first trigger keyword set, then the function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address. The present application contains a complete process of running a medical image system compatible with a low kernel version browser, through the function block to interface a third-party business system, realizing the application program starting without awareness and loading the target webpage, which can coexist with the low kernel version browser and can also automatically open the medical image from the secondary screen without installing additional function blocks. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the description of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0039] Figure 1 is a step flow chart of a medical image display method based on a multi-version browser provided by an embodiment of the present application;
[0040] Figure 2 is a structural block diagram of a medical image display device based on a multi-version browser provided by an embodiment of the present application;
[0041] Figure 3 is a structural schematic diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the following will further describe the present application in detail with reference to the drawings and specific embodiments. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0043] Referring to Figure 1 , a medical image display method based on a multi-version browser provided by an embodiment of the present application is shown;
[0044] The method comprises:
[0045] S110, determine a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one;
[0046] S120, obtain a target address of a target image; wherein the target address contains a protocol keyword;
[0047] S130, when the protocol keyword is consistent with the first trigger keyword set, then call the function block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address.
[0048] In the embodiment of the application, the medical image system is run through the function block; the method comprises: determining a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one; obtaining a target address of a target image; wherein the target address contains a protocol keyword; when the protocol keyword is consistent with the first trigger keyword set, then calling the function block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address. The application contains a complete process of running the medical image system compatible with the low kernel version browser, through the function block to interface the third party business system, realizes the application program starting without sensing and loading the target web page, can be used with the low kernel version browser, and without installing additional function blocks, the medical image can also be automatically opened from the secondary screen.
[0049] In the following, a medical image display method based on a multi-version browser in the example embodiment will be further described.
[0050] As described in step S110, determine a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one.
[0051] It should be noted that the function block is a cross-platform third-party desktop application (C / S) built by Electron (a kind of architecture of Web desktop program), on the basis of which the function is expanded, and the compatibility of running the web application with new development characteristics is realized by installing the function block, so as to solve the problem of the hospital old version browser and the B / S application using the relatively new specification.
[0052] Electron is an architecture for building cross-platform desktop applications using JavaScript, HTML, and CSS. It is compatible with Mac, Windows, and Linux, and can build applications for all three platforms. Developers use JavaScript to call many native APIs to build desktop applications. It can also be seen as a variant of io.js, which focuses on desktop applications rather than web servers. Electron consists of three parts: Chromium, NodeJS, and Native API. Electron development C / S application can not only make web front-end developers use it out of the box, but also facilitate unified management of code versions. The most important part of Electron is the use of Chromium. Many browser kernels are also developed based on Chromium code. Chromium provides the V8 JavaScript engine for browsers. According to the version of Chromium, the mainstream JavaScript API and other new features can be used in the C / S application built by Electron.
[0053] It should be noted that the custom protocol is a specially defined protocol format relative to the standard protocol, and its format is protocol header: / / protocol body. The protocol header is generally composed of a sequence of English letters, and the protocol body is a combination of fields included in the protocol or text after encryption and coding processing. Other functions can be customized in this step according to actual needs, such as whether to automatically display full screen, whether to display on the secondary screen, etc.
[0054] As an example, after installing the function block, register the custom protocol using Windows, and register the application to process the custom protocol. After registering the custom protocol, you need to set when to trigger the protocol rule to invoke the function block. This step is achieved by determining the first trigger keyword set of the custom protocol, wherein the first trigger keyword set is the protocol header part of the custom protocol.
[0055] In a specific implementation, a HIS system (hospital information system) in a hospital can run in IE7 browser, but an image holographic view system developed using mainstream front-end application framework cannot run in IE7. By registering a custom protocol using Windows, the two systems are linked (the HIS system jumps to the image holographic view system and uses the functions of the image holographic view system).
[0056] In one implementation, the function block is invoked through a custom protocol, a first set of trigger keywords of the custom protocol (e.g., opencsapp) is determined, and once the custom protocol is registered, all address links starting with opencsapp: / / will use the current function block to open.
[0057] As described in step S120, a target address of the target image is acquired, wherein the target address contains a protocol keyword.
[0058] It should be noted that the target address is a uniform resource locator (URL, the abbreviation of English Uniform / Universal Resource Locator), also known as a web address, which is a resource address on the Internet.
[0059] A complete web address URL is mainly composed of the following parts: scheme: / / host:port / path?query#fragment.
[0060] The scheme is a transmission protocol, commonly used are http, ftp, maito, etc., and the protocol keyword in the embodiment is in the transmission protocol.
[0061] The host is a host, a server (computer) domain name system (DNS) host name or IP address (Internet Protocol address).
[0062] The port is a port number, an integer, which is optional and omitted when the default port of the scheme is used, for example, the default port of http is 80.
[0063] The path is a path, a string separated by zero or more " / " symbols, which is generally used to represent a directory or file address on the host.
[0064] The query is optional, which is mainly used to pass parameters to dynamic web pages (such as web pages made using CGI, ISAPI, PHP / JSP / ASP / ASP.NET technologies), and there can be multiple parameters separated by "&" symbols, and the name and value of each parameter are separated by "=" symbols.
[0065] The fragment is a piece of information, a string, which is used to specify a piece of information in a network resource. For example, there are multiple term explanations in a web page, and the fragment can be used to directly locate a term explanation (also known as an anchor point).
[0066] As an example, in a low kernel version browser, if it is desired to jump to a new feature (i.e. a function that cannot be simulated by the low kernel version browser), the target address of the target image is obtained and uploaded to a custom protocol for parsing. The target address (e.g. opencsapp: / / http: / / 127.0.0.1 / holographicView / ) includes a protocol part, which can be passed as a parameter to the function block for parsing.
[0067] As described in step S130, when the protocol keyword is consistent with the first trigger keyword set, a function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address.
[0068] In an embodiment of the present application, the specific process of "when the protocol keyword is consistent with the first trigger keyword set, a function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address" in step S130 can be further described as follows.
[0069] As described in the following steps, the parameters of the target address are obtained;
[0070] As described in the following steps, the parameters of the target address are parsed to determine the address response information corresponding to the target address.
[0071] It should be noted that the existing method of obtaining the URL address parameters of a webpage by javascript generally obtains each parameter through a separator in window.location.href, and the parameters are transmitted between pages, which will not be described in detail.
[0072] As an example, it is confirmed whether the protocol keyword corresponds to the first trigger keyword set, and when the protocol keyword is consistent with the first trigger keyword set, the target address of the target image that needs to be jumped to is transmitted into a custom protocol. When a third-party system (e.g. a HIS system) is used, the custom protocol at this point is triggered, and a function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address.
[0073] In an embodiment of the present application, the specific process after the step of "parsing the parameters of the target address to determine the address response information corresponding to the target address" can be further described as follows.
[0074] As described in the following steps, the display container of the target image is determined according to the address response information.
[0075] According to the attribute of the display container, the permission of the target image is determined as described in the following steps.
[0076] As an example, when the address response information corresponding to the target address is acquired, the target image needs to be displayed on the screen. In Electron, there are three ways to display third-party web content in the application, which are <iframe>The three are (a tag in HTML, which is used to mark a document in the document), <webview> (a network view, which can load and display web pages) and BrowserViews (browser views). In the embodiment, the display container of the target image is determined according to the address response information. Since <webview> is not explicitly supported by Electron, BrowserViews is created and controlled by the Electron main process, and <iframe> is selected as the display container of the Web URL here.
[0077] As an example, the behavior of <iframe> in Electron is similar to other browser types, and there are content security policy (CSP) restrictions that require setting attributes to enable some additional restrictions. When using <iframe>, set the sandbox (sandbox, a technology in which software runs in an operating system restricted environment) and allow (used to specify the feature policy of <iframe>) attributes to enable some additional restrictions on the content in <iframe> to solve the problem of limited permissions when displaying third-party Web applications in <iframe> (such as: unable to read the camera, microphone).
[0078] In a specific implementation, if <iframe> is not allowed to call the camera, configure: <iframe allow="camera'none'>, if the same origin is allowed to use the full screen feature, configure: <iframe src="https: / / example.com..." allow="fullscreen'src'>< / iframe> .
[0079] In a specific implementation, when displaying the third-party web application, a method is added to listen to the loading process of the target address, because the target address is in <iframe>If the webpage is loaded in the middle, the webpage loading completion can be monitored through the onload method of the Web Api. The onload event (when the webpage is loaded) occurs immediately after the webpage or image is loaded. A callback function for closing the loading animation is added in the onload method. The loading animation is displayed before the webpage resource is opened. The onload method is triggered after the webpage resource is loaded to close the loading animation, so that the user knows that the Web application is being loaded. Otherwise, the background color will be displayed all the time, making the user think that the webpage has not been loaded and thus clicking the protocol to open the target address all the time.
[0080] In an embodiment of the present application, the target address further comprises an identification keyword, and the method further comprises:
[0081] determining a second trigger keyword set of the custom protocol, and when the second trigger keyword set is consistent with the identification keyword, determining the value of the identification keyword;
[0082] when the value of the identification keyword is a preset trigger value, obtaining window list information and current mouse position information, and determining the secondary screen position information from the window list information according to the current mouse position information;
[0083] determining the display position of the target image according to the secondary screen position information.
[0084] In an embodiment of the present application, the specific process of "determining the secondary screen position information corresponding to the window list information according to the current mouse position information" can be further explained in combination with the following description.
[0085] The main screen position information is determined according to the current mouse position information, as described in the following steps.
[0086] The secondary screen position information is determined from the window list information according to the main screen position information, as described in the following steps.
[0087] The display position of the target image is determined according to the secondary screen position information, as described in the following steps.
[0088] As an example, when the extended screen (secondary screen) is needed to view the target image, an instruction can be transmitted in the custom protocol to identify whether the secondary screen needs to be opened.The second trigger keyword set (for example, opencsapp: / / http: / / 127.0.0.1 / holographicView / ?showOnNext=0) in the custom protocol can be selected when registering the custom protocol, wherein the second trigger keyword set is the protocol body part of the custom protocol, and then whether the secondary screen needs to be opened is judged according to the value of the second trigger keyword set showOnNext.
[0089] In a specific implementation, when the value of the second trigger keyword set showOnNext is 1, the target image is opened with the secondary screen; and when the value of the second trigger keyword set showOnNext is 0, the target image is opened with the primary screen.
[0090] In an embodiment of the present application, the specific process of the step of "determining the secondary screen position information corresponding to the window list information according to the current mouse position information" can be further illustrated in combination with the following description.
[0091] As described in the following steps, the primary screen position information is determined according to the current mouse position information.
[0092] As described in the following steps, the secondary screen position information is determined from the window list information according to the primary screen position information.
[0093] As an example, the current window list information is obtained first, and then the current mouse position information is obtained. In this step, the window where the current mouse is located (i.e., the screen where the mouse is located) is determined according to the mouse position information. The purpose of this step is to determine that the window where the current mouse is located is the primary screen.
[0094] In an embodiment of the present application, the specific process of the step of "determining the secondary screen position information from the window list information according to the primary screen position information" can be further illustrated in combination with the following description.
[0095] As described in the following steps, the basic parameters of the secondary screen are determined from the window list information according to the primary screen position information.
[0096] As described in the following steps, the coordinate points of the x-axis and y-axis of the upper left corner of the secondary screen are determined according to the basic parameters of the secondary screen.
[0097] As an example, the basic parameters of the secondary screen are obtained by filtering the window list information (all available screen lists) according to the primary screen position information, and the absolute position of the secondary screen is parsed according to the basic parameters of the secondary screen to determine the coordinate points of the x-axis and y-axis of the upper left corner of the secondary screen.
[0098] In an embodiment of the present invention, the specific process of the step of "determining the display position of the target image according to the position information of the secondary screen" can be further described in combination with the following description.
[0099] As described in the following steps, the display position of the target image is determined according to the coordinate points of the x-axis and the y-axis.
[0100] As an example, by determining the display position of the target image according to the coordinate points of the x-axis and the y-axis and resetting the interface position when the medical imaging system is started, the medical imaging system can be automatically opened on the secondary screen.
[0101] In a specific implementation, if it is necessary to display the target image full-screen on the secondary screen, the maximum width and height values of the screen can be obtained, and the interface position and size information when the medical imaging system is started can be reset. Through this operation, the medical imaging system can be automatically opened full-screen on the secondary screen.
[0102] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment.
[0103] Referring to Figure 2, there is shown a display device for medical images based on a multi-version browser according to an embodiment of the present application. The device runs the medical imaging system through functional blocks;
[0104] Specifically, it includes:
[0105] A first trigger keyword set determination module 210, configured to determine a first trigger keyword set for a custom protocol; wherein, the first trigger keyword set corresponds to the functional blocks one by one;
[0106] A target address acquisition module 220, configured to acquire the target address of the target image; wherein, the target address includes a protocol keyword;
[0107] An address response information determination module 230, configured to, when the protocol keyword is consistent with the first trigger keyword set, call the functional block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address.
[0108] In an embodiment of the present application, the address response information determination module 230 comprises:
[0109] an address parameter acquisition sub-module, configured to acquire parameters of the target address; and
[0110] an address response information determination sub-module, configured to analyze the parameters of the target address and determine address response information corresponding to the target address.
[0111] In an embodiment of the present application, the address response information determination module 230 further comprises:
[0112] an display container determination sub-module, configured to determine a display container of the target image according to the address response information; and
[0113] an authority determination sub-module, configured to determine an authority of the target image according to an attribute of the display container.
[0114] In an embodiment of the present application, the target address further comprises an identification keyword, and the device further comprises:
[0115] a second trigger keyword set determination module, configured to determine a second trigger keyword set of the custom protocol, and determine a value of the identification keyword when the second trigger keyword set is consistent with the identification keyword; and
[0116] a secondary screen position information determination module, configured to acquire window list information and current mouse position information when the value of the identification keyword is a preset trigger value, and determine secondary screen position information from the window list information according to the current mouse position information; and
[0117] a display position determination module, configured to determine a display position of the target image according to the secondary screen position information.
[0118] In an embodiment of the present application, the secondary screen position information determination module comprises:
[0119] a primary screen position information determination sub-module, configured to determine primary screen position information according to the current mouse position information; and
[0120] a secondary screen position information determination sub-module, configured to determine secondary screen position information from the window list information according to the primary screen position information.
[0121] In an embodiment of the present application, the secondary screen position information determining sub-module includes:
[0122] A secondary screen basic parameter determining unit, configured to determine the basic parameters of the secondary screen from the window list information according to the main screen position information;
[0123] An x-axis and y-axis coordinate point determining unit, configured to determine the x-axis and y-axis coordinate points of the upper left corner of the secondary screen according to the basic parameters of the secondary screen.
[0124] In an embodiment of the present application, the display position determining module includes:
[0125] A display position determining sub-module, configured to determine the display position of the target image according to the x-axis and y-axis coordinate points.
[0126] Referring to Figure 3, a computer device of the present invention is shown, which may specifically include the following:
[0127] The above computer device 12 is presented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0128] The bus 18 represents one or more of several types of bus 18 structures, including a memory bus 18 or a memory controller, a peripheral bus 18, a graphics acceleration port, a processor, or a local bus 18 using any bus 18 structure in multiple bus 18 structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus 18, a Micro Channel Architecture (MAC) bus 18, an Enhanced ISA bus 18, a Video Electronics Standards Association (VESA) local bus 18, and a Peripheral Component Interconnect (PCI) bus 18.
[0129] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media accessible by the computer device 12, including volatile and non-volatile media, removable and non-removable media.The system memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (typically called a "hard drive"). Although not shown, a magnetic disk drive can also be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive can be provided for reading from or writing to a removable, non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical media). In such instances, each can be connected to bus 18 by one or more data media interfaces. The memory can include a program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
[0131] Program / utility 40, having a set (at least one) of program modules 42, can be stored in, for example, memory (ROM, RAM, or a combination thereof), such as the memory. The set (at least one) of program modules 42 include, but are not limited to, an operating system, one or more applications, other program modules 42, and program data, each or a combination thereof, which can include implementation of a networking environment. The program modules 42 generally carry out the functions and / or methodologies of embodiments of the application described herein.
[0132] Computer device 12 can also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, a camera, etc.; one or more devices that enable a user to interact with computer device 12; and / or one or more devices that enable computer device 12 to communicate with one or more other computing devices. Such communication can be via input / output (I / O) interface(s) 22. Still yet, computer device 12 can communicate with one or more networks (such as network(s) 16) through network adapter 20.As shown in Figure 3, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although not shown in Figure 3, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing unit 16, external disk drive arrays, RAID systems, tape drives, and data backup storage system 34, etc.
[0133] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing a method for displaying medical images based on a multi-version browser provided in an embodiment of the present invention.
[0134] That is, when the above processing unit 16 executes the above program, it realizes: including the steps of: determining a first trigger keyword set for a custom protocol; wherein, the first trigger keyword set corresponds one-to-one with the function blocks; obtaining the target address of the target image; wherein, the target address contains a protocol keyword; when the protocol keyword is consistent with the first trigger keyword set, then call the function block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address. This application includes a complete process for a medical imaging system to be compatible with a low-kernel version browser. By docking with a third-party business system through function blocks, it can start an application program without perception and load a target webpage, coexist with a low-kernel version browser, and can automatically open medical images from a secondary screen without installing additional function blocks.
[0135] In the embodiments of the present application, the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement a medical image display method based on a multi-version browser provided by all the embodiments of the present application:
[0136] That is, the program is executed by the processor to implement: including the steps of: determining a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one; obtaining a target address of a target image; wherein the target address contains a protocol keyword; when the protocol keyword is consistent with the first trigger keyword set, the function block corresponding to the first trigger keyword set is called to determine the address response information corresponding to the target address. The present application contains a complete process compatible with a low kernel version browser running a medical image system, through the function block to the third party business system, the application program is started without awareness and the target web page is loaded, which can be used with the low kernel version browser, and the medical image can be automatically opened from the secondary screen without installing additional function blocks.
[0137] Any combination of one or more computer readable medium can be used. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may, for example, be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any combination thereof. More specific examples (non-exhaustive list) of the computer readable storage medium include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.
[0138] The computer readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, in which a computer readable program code is carried. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or apparatus.
[0139] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). The embodiments of the present application are described in the general context of computer-executable instructions, such as program modules being executed by computers in the embodiments of the present application. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and the like, represent typically programming language words, assemblies, instructions, information concepts, method steps, or other breakthroughs to be understood by those skilled in the art to which the described embodiments pertain. Those skilled in the art will appreciate that the embodiments of the present application can be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as computers that are generally hand-held, laptop, microcomputer, or the like. Embodiments of the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In this case, computer-executable instructions, program modules, or the like, are stored in the local and remote computer system from which they can be loaded into the remote computer system or executed. The embodiments of the present application are described in the general context of computer-executable instructions, such as program modules being executed by computers in the embodiments of the present application. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and the like, represent typically programming language words, assemblies, instructions, information concepts, method steps, or other breakthroughs to be understood by those skilled in the art to which the described embodiments pertain. Those skilled in the art will appreciate that the embodiments of the present application can be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as computers that are generally hand-held, laptop, microcomputer, or the like. Embodiments of the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In this case, computer-executable instructions, program modules, or the like, are stored in the local and remote computer system from which they can be loaded into the remote computer system or executed.
[0142] With the above, the method and device for displaying medical images based on a multi-version browser provided by the present application are described in detail. The principles and implementation manners of the present application are described by using specific examples in this paper. The above description of the embodiments is only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will be changed. In summary, the content of the specification should not be understood as a limitation of the present application.< / iframe>
Claims
1. A method for displaying medical images based on a multi-version browser, characterized by, The method runs a medical image system through a function block; the method comprises: determining a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one; acquiring a target address of a target image; wherein the target address contains a protocol keyword; when the protocol keyword is consistent with the first trigger keyword set, then calling the function block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address; the function block is a third-party desktop application program built across platforms through Electron, which is used for function expansion and compatibility running of web application programs with new development characteristics through installation of the function block.
2. The method of claim 1, wherein, The step of determining the address response information corresponding to the target address comprises: acquiring parameters of the target address; analyzing the parameters of the target address to determine the address response information corresponding to the target address.
3. The method of claim 2, wherein, After the step of analyzing the parameters of the target address to determine the address response information corresponding to the target address, the method further comprises: determining a display container of the target image according to the address response information; determining the authority of the target image according to the attribute of the display container.
4. The method of claim 1, the target address further comprising an identifying keyword, wherein, The method further comprises: determining a second trigger keyword set of the custom protocol; when the second trigger keyword set is consistent with the identification keyword, then determining the value of the identification keyword; when the value of the identification keyword is a preset trigger value, then acquiring window list information and current mouse position information, and determining secondary screen position information from the window list information according to the current mouse position information; determining the display position of the target image according to the secondary screen position information.
5. The method of claim 4, wherein, The step of determining the secondary screen position information from the window list information according to the current mouse position information comprises: determining primary screen position information according to the current mouse position information; determining the secondary screen position information from the window list information according to the primary screen position information.
6. The method of claim 5, wherein, The step of determining the secondary screen position information from the window list information according to the primary screen position information comprises: determining basic parameters of the secondary screen from the window list information according to the primary screen position information; determining the coordinate points of the x-axis and y-axis of the upper left corner of the secondary screen according to the basic parameters of the secondary screen.
7. The method of claim 6, wherein, The step of determining the display position of the target image according to the secondary screen position information comprises: determining the display position of the target image according to the coordinate points of the x-axis and y-axis.
8. A display apparatus for medical images based on a multi-version browser, characterized by, The device runs a medical image system through a function block; the device comprises: a first trigger keyword set determination module, configured to determine a first trigger keyword set of a custom protocol; wherein the first trigger keyword set corresponds to the function block one by one; a target address acquisition module, configured to acquire a target address of a target image; wherein the target address contains a protocol keyword; an address response information determination module, configured to, when the protocol keyword is consistent with the first trigger keyword set, call the function block corresponding to the first trigger keyword set to determine the address response information corresponding to the target address.
9. A computer device, comprising: A computer program product comprising a computer readable storage medium having stored thereon computer program means, the computer program means comprising computer program instructions executable by a processor to cause the processor to carry out the method according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer readable storage medium having stored thereon a computer program, the computer program comprising computer program instructions executable by a processor to cause the processor to carry out the method according to any of claims 1 to 7.
Citation Information
Patent Citations
Local resource loading method and related device
CN118535248A