CN112185522A - Information processing method and device and terminal - Google Patents

Information processing method and device and terminal Download PDF

Info

Publication number
CN112185522A
CN112185522A CN202011035153.1A CN202011035153A CN112185522A CN 112185522 A CN112185522 A CN 112185522A CN 202011035153 A CN202011035153 A CN 202011035153A CN 112185522 A CN112185522 A CN 112185522A
Authority
CN
China
Prior art keywords
information
updating
instruction
updated
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011035153.1A
Other languages
Chinese (zh)
Inventor
余桂林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN202011035153.1A priority Critical patent/CN112185522A/en
Publication of CN112185522A publication Critical patent/CN112185522A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS

Abstract

The embodiment of the invention discloses an information processing method, an information processing device and a terminal. The information processing method is applicable to the client and comprises the following steps: when an update trigger event acting on the medical image is monitored, generating an information update instruction corresponding to the update trigger event, and sending the information update instruction to a server; determining an information type corresponding to the information updating instruction, and screening fields to be updated from all fields of a preset file according to the information type; and updating the received updated information returned by the server to the field to be updated. According to the technical scheme of the embodiment of the invention, the front end acquires the single updated information corresponding to the information updating instruction from the back end in an asynchronous calling mode, and the processing and transmission speed of the back end on the information is high, so that the back end already returns the information to the front end when the front end updates the information to the field to be updated, and the problem that the front end cannot update the information possibly in the asynchronous calling is solved.

Description

Information processing method and device and terminal
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to an information processing method, an information processing device and a terminal.
Background
When a medical Imaging apparatus displays a medical image, Digital Imaging and Communications in Medicine (DICOM) information of the medical image is commonly displayed at four corners of the medical image, and the DICOM information may be referred to as four-corner information for short, so that a doctor can know the four-corner information of the medical image while browsing the medical image.
In the prior art, a front end (i.e., a client) where a Web page is located may obtain four-corner information by calling a WebApi interface of a back end (i.e., a server), and display the four-corner information on the Web page, where the calling process may be synchronous calling or asynchronous calling.
It should be noted that, in the synchronous call, if the processing procedure of the back end is time-consuming, the front end may be in a waiting state for a long time, a pause phenomenon may occur on the Web page, and the user experience is poor. Correspondingly, asynchronous call can solve the possible problem of deadlock in synchronous call, but when the front end needs to update some information acquired from the back end, the situation that the back end does not return the information to the front end may exist in asynchronous call, which may result in that the front end cannot update the information.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device and an information processing terminal, and solves the problem that information cannot be updated by a front end possibly existing in asynchronous calling.
In a first aspect, an embodiment of the present invention provides an information processing method, applied to a client, including:
when an update trigger event acting on the medical image is monitored, generating an information update instruction corresponding to the update trigger event, and sending the information update instruction to a server; determining an information type corresponding to the information updating instruction, and screening fields to be updated from all fields of a preset file according to the information type, wherein corresponding DICOM information of the medical image is stored in all the fields respectively; and updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information under the information type acquired by the server according to the information updating instruction.
Optionally, when the number of the information update instructions is at least two, sending the information update instructions to the server side may include:
and sequentially sending the information updating instructions to the server side according to the generation sequence or priority of the information updating instructions, wherein different information updating instructions correspond to different information types.
Optionally, before the time of monitoring the update triggering event acting on the medical image, the method may further include:
when an acquisition trigger event acting on the medical image is monitored, generating an information acquisition instruction corresponding to the acquisition trigger event, and sending the information acquisition instruction to a server, wherein the information acquisition instruction is used for acquiring each DICOM information; and deserializing the received serialization result returned by the server and displaying the deserialization result, wherein the serialization result is the result of serializing each DICOM information acquired by the server according to the information acquisition instruction.
In a second aspect, an embodiment of the present invention further provides an information processing method, applied to a server, where the information processing method may include:
acquiring an information updating instruction which is sent by a client and acts on the medical image, wherein the information updating instruction is used for updating pre-updating information corresponding to the information updating instruction in each DICOM information of the medical image; determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information; and returning the updated information to the client.
Optionally, returning the updated information to the client may include: and if the information before updating is consistent with the information after updating, a prompt related to the information which does not need to be updated is returned to the client.
Optionally, the information before updating includes image reconstruction data before updating, and the information updating parameter includes an input parameter; updating the information before updating according to the information updating parameter to obtain updated information, which may include:
determining changed image reconstruction data of the medical image according to the input parameters; and updating the image reconstruction data before updating according to the changed image reconstruction data, and taking the updating result as updated information.
Optionally, before obtaining the information update instruction acting on the medical image sent via the client, the method may further include:
when an information acquisition instruction sent by a client is acquired, determining each DICOM information corresponding to the information acquisition instruction; updating each DICOM information to corresponding fields of a preset file respectively; serializing the preset file, and returning the serialization result to the client.
In a third aspect, an embodiment of the present invention further provides an information processing apparatus, configured at a client, and including:
the instruction sending module is used for generating an information updating instruction corresponding to the updating trigger event when the updating trigger event acting on the medical image is monitored, and sending the information updating instruction to the server;
the field screening module is used for determining the information type corresponding to the information updating instruction and screening fields to be updated from all fields of the preset file according to the information type, wherein corresponding DICOM information of the medical image is stored in all the fields respectively;
and the information updating module is used for updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information under the information type acquired by the server according to the information updating instruction.
In a fourth aspect, an embodiment of the present invention further provides an information processing apparatus, configured at a server, and including:
the instruction acquisition module is used for acquiring an information updating instruction which is sent by a client and acts on the medical image, wherein the information updating instruction is used for updating pre-updating information corresponding to the information updating instruction in each DICOM information of the medical image;
the information obtaining module is used for determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information;
and the information returning module is used for returning the updated information to the client.
In a fifth aspect, an embodiment of the present invention further provides a terminal, which may include:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method provided in the first embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the front end sends an information updating instruction corresponding to an updating triggering event acting on the medical image to the rear end; the front end can screen fields to be updated from fields of a preset file according to the information type corresponding to the information updating instruction, and the front end acquires updated information corresponding to the information updating instruction from the back end in an asynchronous calling mode, and the back end has higher processing speed and transmission speed for the single updated information, so that the back end can transmit the updated information to the front end in the process of determining the information type and/or the fields to be updated by the front end; further, the front end may update the updated information into the field to be updated. According to the technical scheme, the front end acquires the single updated information corresponding to the information updating instruction from the rear end in an asynchronous calling mode, and due to the fact that the processing speed and the transmission speed of the rear end on the information are high, when the front end updates the information to the field to be updated, the rear end already returns the information to the front end, the problem that the information cannot be updated by the front end possibly existing in asynchronous calling is solved, and the effect that the front end updates the information to the field to be updated in time is achieved.
Drawings
FIG. 1 is a flow chart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of an information processing method according to a second embodiment of the present invention;
fig. 3 is a block diagram of an information processing apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of an information processing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal in a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server in the sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before the embodiment of the present invention is described, an application scenario of the embodiment of the present invention is exemplarily described: synchronous calling is a process in which program codes are sequentially executed according to a predefined execution sequence, and each line of codes is executed after the execution of the previous line of codes is finished. Accordingly, the asynchronous call is an execution result returned after the execution of the previous line of code is not required to be waited for the execution of each line of code, and the execution of the next line of code can be immediately followed after the execution of the previous line of code, namely, the asynchronous call and the concurrent execution mode improve the execution efficiency.
On this basis, in consideration of application scenarios that may be involved in the embodiments of the present invention, the execution process of the synchronous call may be that, after the front end sends a certain instruction to the back end, the front end does not execute any operation any more until it receives information corresponding to the instruction returned by the back end, and then continues to execute the next operation. Correspondingly, the execution process of the asynchronous call may be that after the front end sends a certain instruction to the back end, the front end continues to execute the next operation, and in the process of executing the next operation, if the back end returns information corresponding to the instruction to the front end, the front end may also receive the information. Of course, if the next operation pre-executed by the front end is related to the information returned by the back end, at this time, a situation may occur that the back end has not returned the corresponding information to the front end when the front end executes the next operation. It should be noted that the front end is a client, and the back end is a server.
Therefore, in an application scenario that may be related to embodiments of the present invention, in order to solve a possible stuck problem in synchronous call and a possible problem that a front end cannot operate on information due to low information return efficiency of a back end in asynchronous call, embodiments of the present invention provide an effect of accelerating information return efficiency of the back end in asynchronous call to achieve timely processing of information by the front end.
Example one
Fig. 1 is a flowchart of an information processing method according to a first embodiment of the present invention. The embodiment can be applied to the condition that the updated information is timely updated to the field to be updated of the preset file in the asynchronous call. The method can be executed by an information processing device provided by the embodiment of the invention, the device can be realized by software and/or hardware, and the device can be integrated on various user terminals.
Referring to fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
s110, when an update trigger event acting on the medical image is monitored, an information update instruction corresponding to the update trigger event is generated and sent to the server.
The medical image may be an image acquired by a certain medical imaging device and then displayed on a Web page at a front end, the update triggering event may be an event triggered by a user and/or the front end and used for updating DICOM information of the medical image, and specifically, the update triggering event may be an event for operating the medical image, such as performing calculation-consuming operations on the medical image, such as preprocessing, postprocessing, reconstruction, rendering, reconstruction recalculation, and the like; and dragging the medical image by a mouse button, rolling the medical image by a mouse rolling wheel, and moving the medical image by a keyboard up, down, left and right buttons. Reconstruction recalculation generally refers to a process of recalculating medical image data by modifying reconstruction parameters as needed during a user's reading of a film.
Therefore, after monitoring the update trigger event, the front end can generate an information update instruction corresponding to the update trigger event and send the information update instruction to the back end, so that the back end can acquire corresponding updated information according to the information update instruction. The information updating instruction can be obtained according to the operation type of the medical image, for example, when the medical image is reconstructed again, the information updating instruction range can be obtained according to the parameters and the like updated during reconstruction and recalculation, and the information updating instruction is generated according to the information updating instruction range.
Illustratively, when a user drags a three-dimensional medical image displayed on a Web page through a mouse button, the three-dimensional medical image will rotate so that the user can observe the three-dimensional medical image from different angles, and a curved reconstruction (CPR) angle is an angle between an angle at which the three-dimensional medical image is currently located and a preset angle, which may be a preset reference angle. Therefore, the information update instruction corresponding to the update trigger event that the user drags the medical image through the mouse button may be to calculate the CPR angle of the dragged three-dimensional medical image.
S120, determining an information type corresponding to the information updating instruction, and screening out fields to be updated from all fields of the preset file according to the information type, wherein corresponding DICOM information of the medical image is stored in all the fields respectively.
The information type is a type of some DICOM information, for example, the information type of the CPR angle may be CPR, the information type of the image scaling may be image scaling, and the like, the update of the DICOM information under different information types corresponds to different information update instructions, for example, the information type corresponding to the CPR angle calculation instruction generated according to the drag event of the mouse button may be CPR, and the information type corresponding to the image scaling instruction generated according to the scroll event of the mouse scroll wheel may be image scaling, and the like.
The preset file is a preset file for storing DICOM information of medical images, a plurality of fields are arranged in the preset file, each field is used for storing corresponding DICOM information, namely different fields can be used for storing DICOM information under different information types. Illustratively, the preset file may be a dataheader, which is a unique file in DICOM, and the dataheader may store therein many DICOM information, such as patient name, gender, image type, age, identification number, CPR angle, etc., it should be noted that the CPR angle is usually stored in the form of a private label, which is part of the dataheader.
On the basis, since the front section calls the back-end interface in an asynchronous calling mode, after the information updating instruction is sent to the back end, the information type corresponding to the information updating instruction is determined immediately without waiting for a return result of the back end, and a field to be updated is screened out from all fields of the preset file according to the information type, wherein the field to be updated is a field used for storing DICOM information under the information type.
It should be noted that, in practical application, a field in the dataheader may be a tag (tag), and a field to be updated is usually a private tag, where the private tag may carry information corresponding to an information update instruction and having an update requirement; correspondingly, the public tag may carry information that does not have an update requirement, such as scan object information including name, gender, age, identification number, etc., and image information including scan parameters, image parameters, etc.
Secondly, in the prior art, after the front end sends the information updating instruction to the back end, the back end always acquires all DICOM information and sends the all DICOM information to the front end, which means that the DICOM information under each field of the preset file needs to be updated, so that the prior art cannot determine the information type and screen out the field to be updated from each field according to the information type, because each field in the preset file is the field to be updated. However, since the execution stage of the above steps is the stage after initialization, that is, the front end has already acquired all DICOM information of the medical image, it only needs to update the fields to be updated corresponding to the DICOM information with a change in the preset file, and does not need to update each field. Therefore, according to the information type of the DICOM information, the present embodiment may screen out the fields to be updated corresponding to the DICOM information, so as to subsequently update the updated DICOM information into the fields to be updated.
In one embodiment, the back-end may compare the updated information calculated according to the information update instruction with the pre-update information, and if the updated information and the pre-update information are consistent, the back-end may return a prompt related to the information that is not required to be updated to the front-end. Therefore, when the front end receives the prompt related to the information non-updating in the same information type for the preset times, the front end can set the field corresponding to the information type as the fixed field, and when the subsequent front end monitors the information updating instruction related to the fixed field, the information updating instruction can not be sent to the rear end any more. In other words, the front end may record historical update instruction information, a field in which field information is not changed in multiple updates is set as a fixed field, and a field in which field information is changed in updating is set as a field to be updated. After a period of use, the system can record itself without manually setting which fields need to be set as fixed fields and which fields need to be set as fields to be updated. The fixed field and the field to be updated may be recorded by a tag (tag) in the DICOM information.
Further, the fixed field and the field to be updated may be different according to the user information and the DICOM file information. For example, the fields to be updated are different for different user requirements. The fields to be updated are different for different DICOM files, such as image files of different modalities.
In one embodiment, when a half-update field is additionally arranged in a fixed field and a field to be updated, when parameters with long operation time such as CPR angle calculation are executed, the field needing to be updated at the time can be set as the field to be updated, and parameters with short operation time and small operation amount are set as the half-update field. That is, when a plurality of information update instructions correspond to a plurality of fields to be updated, the back end may return the updated information corresponding to the field to be updated with a faster calculation speed first, and then return the updated information corresponding to the field to be updated with a slower calculation speed.
And S130, updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information under the information type acquired by the server according to the information updating instruction.
After the front end sends the information updating instruction to the back end, the front end may receive updated information returned by the back end at any time, where the updated information may be updated information obtained by the back end according to the information updating instruction, for example, a CPR angle of the dragged medical image calculated by the back end, that is, a receiving step of the updated information by the front end may be executed together with other steps, and is not required to be executed separately, so that the processing efficiency of the front end is improved, and a Web page is prevented from being jammed. Therefore, after the front end determines the field to be updated, the updated information returned by the back end and received in the determining process can be updated into the field to be updated, and the reason for updating the updated information into the preset file is that the front end reads the DICOM information from the preset file every time the DICOM information is displayed, so that the updated information needs to be updated into the preset file. On the basis, optionally, the front end may display each piece of DICOM information stored in the preset file, for example, the DICOM information is displayed at four corners of a medical image in the Web page, so that a user can know the latest DICOM information when browsing the medical image.
It should be noted that the updated information sent by the back end to the front end is DICOM information corresponding to the information update instruction, that is, the back end only sends the changed DICOM information to the front end without sending all DICOM information of the medical image to the front end, which means that the back end can only process and transmit single information and does not need to perform operations such as packaging, serialization and the like on the information, thereby improving the efficiency of information return by the back end, and further ensuring that the back end already returns the information to the front end when the front end processes the information. Correspondingly, the back end does not perform serialization operation on the updated information, so that the front end does not need to perform anti-serialization operation on the received updated information, and the information processing efficiency of the front end is further improved. In addition, for the DICOM information updating process under different information types, the updating steps are all as described above, that is, different DICOM information is updated based on the same logic, so that the convenience of information updating is improved.
According to the technical scheme of the embodiment of the invention, the front end sends an information updating instruction corresponding to an updating triggering event acting on the medical image to the rear end; the front end can screen fields to be updated from fields of a preset file according to the information type corresponding to the information updating instruction, and the front end acquires updated information corresponding to the information updating instruction from the back end in an asynchronous calling mode, and the back end has higher processing speed and transmission speed for the single updated information, so that the back end can transmit the updated information to the front end in the process of determining the information type and/or the fields to be updated by the front end; further, the front end may update the updated information into the field to be updated. According to the technical scheme, the front end acquires the single updated information corresponding to the information updating instruction from the rear end in an asynchronous calling mode, and due to the fact that the processing speed and the transmission speed of the rear end on the information are high, when the front end updates the information to the field to be updated, the rear end already returns the information to the front end, the problem that the information cannot be updated by the front end possibly existing in asynchronous calling is solved, and the effect that the front end updates the information to the field to be updated in time is achieved.
On this basis, optionally, when the front end monitors one update trigger event, it may sequentially execute the above steps, which means that when the front end sequentially monitors at least two update trigger events, the above steps may be executed in parallel due to asynchronous call. It should be noted that different update triggering events correspond to different information update instructions, and different information update instructions correspond to different information types. Illustratively, when the front end sequentially monitors the update trigger event 1 and the update trigger event 2, the front end can send the generated information update instruction 1 to the back end, and does not need to wait for the back end to return updated information corresponding to the information update instruction 1, and then sends the generated information update instruction 2 to the back end, that is, the front end can sequentially send the information update instructions to the back end according to the generation sequence of the information update instructions, so that the efficiency of processing information by the front end is improved, and the phenomenon of blocking of a front-end Web page is avoided. Or, the information updating instructions can be sequentially sent to the back end according to the priority of the information updating instructions which are sequentially generated, so that the back end preferentially processes the information updating instructions with higher priority, the processing efficiency of the information updating instructions with higher importance is accelerated, and the problem that the information updating instructions which are more important for users cannot be processed in time is solved.
An optional technical solution is that before an update trigger event acting on a medical image is monitored, at this time, a medical image has been captured by a medical imaging device, but the front end has not yet displayed the medical image on a Web page, nor has DICOM information to be acquired from the medical image, and the information processing method may further include an initialization process, and specific execution logic of the initialization process may be: when an acquisition trigger event acting on the medical image is monitored, generating an information acquisition instruction corresponding to the acquisition trigger event, and sending the information acquisition instruction to a server, wherein the information acquisition instruction is an instruction for acquiring all DICOM information of the medical image, and the acquisition trigger event can be an event triggered by a user and/or a front end and used for acquiring the DICOM information of the medical image, such as an event that the user clicks an image display button through a mouse button; and deserializing the received serialization result returned by the server and displaying the deserialization result, wherein the serialization result is the result of serializing each DICOM information acquired by the server according to the information acquisition instruction, and the result can be a pile of bytes.
The number of pieces of DICOM information is large, and the backend needs to serialize the information to transmit the information to the frontend. Thus, after the front end receives the serialization result, it can be deserialized to parse out the corresponding DICOM information therefrom. That is, the back end only sends the serialization result of all the DICOM information to the front end in the initialization stage, and only needs to send the DICOM information with change to the front end in the subsequent update stage, which means that the front end only needs to execute the deserialization operation in the initialization stage, and does not need to execute the deserialization operation in the subsequent update stage, thereby improving the processing efficiency of the front end on the information. On the basis, optionally, the front end can also display the parsed DICOM information, so that a user can know the DICOM information when browsing the medical image.
Example two
Fig. 2 is a flowchart of an information processing method according to a second embodiment of the present invention. The present embodiment is applicable to the case of processing and transmitting pre-update information corresponding to an information update instruction. The method can be executed by an information processing device provided by the embodiment of the invention, the device can be realized by software and/or hardware, and the device can be integrated on a server.
Referring to fig. 2, the method of the present embodiment may specifically include the following steps:
s210, an information updating instruction which is sent by the client and acts on the medical image is obtained, wherein the information updating instruction is used for updating the information before updating corresponding to the information updating instruction in each DICOM information of the medical image.
Different information updating instructions can correspond to different information types, and the information updating instructions can be instructions for updating pre-update DICOM information under the corresponding information types, and the pre-update DICOM information can be called as pre-update information.
S220, determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information.
The information update parameter may indicate a parameter indicating what kind of update is performed on the information before update, and if the information update instruction is an image scaling instruction, the information update parameter may include an image scaling ratio; if the information update instruction is an image reconstruction recalculation instruction, the information update parameter may include a user input parameter, which may indicate a parameter that the user wants the medical image to be reconstructed again, for example, an example of the image reconstruction recalculation may be a CPR angle calculation instruction, in which case the information update parameter may include a mouse dragging parameter, which may indicate an angle of rotation of the medical image due to mouse button dragging, which may be understood as a changed CPR angle, and so on.
Furthermore, the information before updating may be updated according to the information updating parameter to obtain updated information, for example, the image reconstruction data before updating may be updated according to changed image reconstruction data, and the updated information may be updated information. For example, a changed CPR angle is determined according to the mouse dragging parameter, and an updated CPR angle can be obtained by updating the CPR angle before updating according to the changed CPR angle, where if the CPR angle before updating is 50 ° and the changed CPR angle is-13 °, the updated CPR angle is 37 °, the updated image reconstruction data can be determined according to the updated CPR angle, and the medical image can be reconstructed according to the image reconstruction data.
And S230, returning the updated information to the client.
On the basis, optionally, the back end can compare the updated information with the information before updating, if the updated information is consistent with the information before updating, the back end can return a prompt related to the information which does not need to be updated to the front end instead of returning the updated information, and at the moment, after the front end receives the prompt, operations such as field updating are not needed, so that the execution operation of the front end is simplified. Optionally, under the condition that the updated information and the pre-updated information corresponding to the information updating instruction with the preset times calculated by the back end under the same information type are the same, when the back end receives the information updating instruction under the information type again, the back end does not need to calculate the updated information, and a prompt related to the information which does not need to be updated can be directly returned to the front end, so that the execution operation of the back end is simplified. Or, the back end can mark the field corresponding to the information updating instruction in the preset file, so that when the information updating instruction corresponding to the marked field is received again, the prompt related to the information which does not need to be updated can be directly returned to the front end.
It should be noted that, in the prior art, after receiving the information update instruction, the back end returns all DICOM information to the front end, where the all DICOM information may include changed DICOM information and unchanged DICOM information, and sends the all DICOM information to the front end together, which means that the back end needs to acquire all DICOM information first, then serialize the all DICOM information, and further transmit the serialization result to the front end (when transmitting multiple pieces of information, only network transmission can be performed in a serialization form, and the multiple pieces of information cannot be directly transmitted to the front end), and the DICOM information with a large information amount will directly affect the information processing and transmission speed of the back end. Moreover, since the back-end returns the serialized results to the front-end, which means that the front-end needs to perform the deserializing step on the serialized results, and needs to be able to perform the deserializing step on the serialized results after receiving all the serialized results, the deserializing process with a large information amount also has a great influence on the processing speed of the front-end.
However, considering that the execution stage of the above steps is the stage after initialization, that is, the back end transmits all the obtained DICOM information of the medical image to the front end in the initialization stage, this means that in the subsequent stage, the back end can only process and transmit the DICOM information corresponding to the information updating instruction, and does not need to process and transmit all the DICOM information of the medical image, thereby ensuring the information processing and transmission efficiency of the back end. Moreover, since the processing result of the DICOM information is a single piece of information, this means that the back end can directly transmit the processing result to the front end without performing the steps of packaging, serializing, etc. on the processing result, thereby further ensuring the information processing efficiency of the back end.
According to the technical scheme of the embodiment of the invention, when the back end receives the information updating instruction which is sent by the front end and acts on the medical image, the DICOM information before updating and the information updating parameter which correspond to the information updating instruction can be determined; furthermore, the DICOM information before updating is processed according to the information updating parameter, and the updated DICOM information obtained after processing is returned to the front end. According to the technical scheme, the back end only processes and transmits the changed single DICOM information corresponding to the information updating instruction, so that the efficiency of the back end in the aspect of information processing and transmission is guaranteed, and the effect that the back end timely returns the updated DICOM information to the front end is achieved.
An optional technical solution is that before an information update instruction acting on a medical image and sent by a client is obtained, at this time, a medical imaging device has taken the medical image, but a back end has not sent DICOM information of the medical image to a front end, the information processing method may further include an initialization process, and specific execution logic of the initialization process may be: when an information acquisition instruction sent by a client is acquired, determining each DICOM information corresponding to the information acquisition instruction, wherein the information acquisition instruction is used for acquiring all DICOM information of the medical image, some DICOM information belongs to fixed information, the back end can directly read from DICOM data, such as patient name, sex and the like, and some DICOM information is dynamically changed information which may be related to a shooting result and a last display result of the medical image, for example, a CPR angle may be an angle after three-dimensional reconstruction of the medical image, a last display angle and the like, and needs to be calculated in advance; respectively updating each DICOM information into corresponding fields of a preset file, wherein the preset file comprises a plurality of fields, each field can store different DICOM information, the DICOM information can be packaged into the preset file together, and the preset file can be a dataheader; since the number of DICOM information in the preset file is multiple, the preset file can be serialized so as to transmit the serialized preset file to the front end.
EXAMPLE III
Fig. 3 is a block diagram of an information processing apparatus according to a third embodiment of the present invention, which is configured to execute an information processing method according to any of the above-described embodiments. The device and the information processing method of the embodiments belong to the same inventive concept, and details which are not described in detail in the embodiments of the information processing device can refer to the embodiments of the information processing method. Referring to fig. 3, the apparatus configured at the client may specifically include: an instruction sending module 310, a field filtering module 320, and an information updating module 330. Wherein the content of the first and second substances,
the instruction sending module 310 is configured to generate an information update instruction corresponding to an update trigger event when the update trigger event acting on the medical image is monitored, and send the information update instruction to the server;
the field screening module 320 is configured to determine an information type corresponding to the information updating instruction, and screen out fields to be updated from each field of the preset file according to the information type, where each field stores corresponding DICOM information of the medical image;
and the information updating module 330 is configured to update the received updated information returned by the server to the field to be updated, where the updated information is updated information in the information type acquired by the server according to the information updating instruction.
Optionally, the instruction sending module 310 may specifically include:
and the instruction sending unit is used for sequentially sending the information updating instructions to the server side according to the generation sequence or priority of the information updating instructions when the number of the information updating instructions is at least two, wherein different information updating instructions correspond to different information types.
Optionally, the information processing apparatus may further include:
the instruction generation module is used for generating an information acquisition instruction corresponding to the acquisition trigger event when the acquisition trigger event acting on the medical image is monitored, and sending the information acquisition instruction to the server, wherein the information acquisition instruction is used for acquiring each DICOM information;
and the deserializing module is used for deserializing the received serialization result returned by the server and displaying the deserializing result, wherein the serialization result is the result of serializing each DICOM information acquired by the server according to the information acquisition instruction.
In the information processing apparatus provided in the third embodiment of the present invention, the front end sends an information update instruction corresponding to an update trigger event acting on the medical image to the back end through the instruction sending module; the field screening module can screen fields to be updated from fields of a preset file according to the information type corresponding to the information updating instruction, and because the front end acquires updated information corresponding to the information updating instruction from the rear end in an asynchronous calling mode, and the rear end has higher processing speed and transmission speed for the single updated information, the rear end can transmit the updated information to the front end in the process of determining the information type and/or the fields to be updated by the front end; the information updating module can update the updated information into the field to be updated. According to the device, the front end acquires the single updated information corresponding to the information updating instruction from the rear end in an asynchronous calling mode, and due to the fact that the processing speed and the transmission speed of the rear end on the information are high, when the front end updates the information to the field to be updated, the rear end already returns the information to the front end, the problem that the information cannot be updated by the front end possibly existing in asynchronous calling is solved, and the effect that the front end updates the information to the field to be updated in time is achieved.
The information processing device provided by the embodiment of the invention can execute the information processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the information processing apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a block diagram of an information processing apparatus according to a fourth embodiment of the present invention, which is configured to execute an information processing method according to any of the embodiments. The device and the information processing method of the embodiments belong to the same inventive concept, and details which are not described in detail in the embodiments of the information processing device can refer to the embodiments of the information processing method. Referring to fig. 4, the apparatus is configured at the server, and may specifically include: an instruction acquisition module 410, an information obtaining module 420 and an information returning module 430.
The instruction obtaining module 410 is configured to obtain an information update instruction acting on the medical image, where the information update instruction is an instruction used to update pre-update information corresponding to the information update instruction in each DICOM information of the medical image, and the information update instruction is sent by a client;
the information obtaining module 420 is configured to determine an information update parameter corresponding to the information update instruction, and update the information before update according to the information update parameter to obtain updated information;
and an information returning module 430, configured to return the updated information to the client.
Optionally, the information returning module 430 may specifically include:
and the prompt returning unit is used for returning the prompt related to the information which does not need to be updated to the client if the information before the update is consistent with the information after the update.
Optionally, the information before updating includes image reconstruction data before updating, and the information updating parameter includes an input parameter; the information obtaining module 420 may specifically include:
a data determination unit for determining changed image reconstruction data of the medical image from the input parameters; and the information obtaining unit is used for updating the image reconstruction data before updating according to the changed image reconstruction data and taking the updating result as updated information.
Optionally, on the basis of the above apparatus, the apparatus may further include:
the information determining module is used for determining each DICOM information corresponding to the information acquisition instruction when the information acquisition instruction sent by the client is acquired; the information updating module is used for respectively updating each DICOM information to corresponding fields of the preset file; and the serialization module is used for serializing the preset file and returning the serialization result to the client.
In the information processing apparatus provided in the fourth embodiment of the present invention, when the instruction obtaining module receives the information update instruction acting on the medical image and sent via the front end, the information processing apparatus can determine DICOM information before update and information update parameters corresponding to the information update instruction; the information obtaining module and the information returning module are matched with each other, the DICOM information before updating is processed according to the information updating parameters, and the updated DICOM information obtained after processing is returned to the front end. According to the device, the back end only processes and transmits the changed single DICOM information corresponding to the information updating instruction, so that the efficiency of the back end in the aspect of information processing and transmission is guaranteed, and the effect that the back end timely returns the updated DICOM information to the front end is achieved.
The information processing device provided by the embodiment of the invention can execute the information processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the information processing apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention, as shown in fig. 5, the terminal includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of the processors 520 in the terminal may be one or more, and one processor 520 is taken as an example in fig. 5; the memory 510, processor 520, input device 530, and output device 540 in the terminal may be connected by a bus or other means, such as by bus 550 in fig. 5.
The memory 510, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the information processing method in the embodiment of the present invention (for example, the instruction transmitting module 310, the field filtering module 320, and the information updating module 330 in the information processing apparatus). The processor 520 executes various functional applications of the terminal and data processing by executing software programs, instructions, and modules stored in the memory 510, that is, implements the above-described information processing method.
The memory 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 510 may further include memory located remotely from processor 520, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the device. The output device 540 may include a display device such as a display screen.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a server according to a sixth embodiment of the present invention, and as shown in fig. 6, the server includes a memory 610, a processor 620, an input device 630, and an output device 640. The number of the processors 620 in the server may be one or more, and one processor 620 is taken as an example in fig. 6; the memory 610, processor 620, input device 630, and output device 640 in the server may be connected by a bus or other means, such as by bus 650 in fig. 6.
The memory 610, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the information processing method in the embodiment of the present invention (for example, the instruction obtaining module 410, the information obtaining module 420, and the information returning module 430 in the information processing apparatus). The processor 620 executes various functional applications of the server and data processing by executing software programs, instructions, and modules stored in the memory 610, that is, implements the above-described information processing method.
The memory 610 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory 610 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 610 may further include memory located remotely from processor 620, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the device. The output device 640 may include a display device such as a display screen.
EXAMPLE seven
A seventh embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform an information processing method, configured at a client, and may include:
when an update trigger event acting on the medical image is monitored, generating an information update instruction corresponding to the update trigger event, and sending the information update instruction to a server; determining an information type corresponding to the information updating instruction, and screening fields to be updated from all fields of a preset file according to the information type, wherein corresponding DICOM information of the medical image is stored in all the fields respectively; and updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information under the information type acquired by the server according to the information updating instruction.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the remaining information processing method provided by the first embodiment of the present invention.
Example eight
An eighth embodiment of the present invention provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used for executing an information processing method when executed by a computer processor, and the method is configured at a server and may include:
acquiring an information updating instruction which is sent by a client and acts on the medical image, wherein the information updating instruction is used for updating pre-updating information corresponding to the information updating instruction in each DICOM information of the medical image; determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information; and returning the updated information to the client.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the remaining information processing methods provided by the second embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. With this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An information processing method applied to a client, the method comprising:
when an update trigger event acting on a medical image is monitored, generating an information update instruction corresponding to the update trigger event, and sending the information update instruction to a server;
determining an information type corresponding to the information updating instruction, and screening fields to be updated from fields of a preset file according to the information type, wherein the fields respectively store corresponding medical digital imaging and communication information of the medical image;
and updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information under the information type acquired by the server according to the information updating instruction.
2. The method according to claim 1, wherein when the number of the information updating instructions is at least two, the sending the information updating instructions to the server comprises:
and sequentially sending the information updating instructions to a server according to the generation sequence or priority of the information updating instructions, wherein different information updating instructions correspond to different information types.
3. The method of claim 1, further comprising, prior to said monitoring an update triggering event acting on a medical image:
when an acquisition trigger event acting on a medical image is monitored, generating an information acquisition instruction corresponding to the acquisition trigger event, and sending the information acquisition instruction to the server, wherein the information acquisition instruction is used for acquiring each piece of medical digital imaging and communication information;
and deserializing the received serialization result returned by the server and displaying the deserialized result, wherein the serialization result is the result of serializing each piece of medical digital imaging and communication information acquired by the server according to the information acquisition instruction.
4. An information processing method, applied to a server, the method comprising:
acquiring an information updating instruction which is sent by a client and acts on a medical image, wherein the information updating instruction is used for updating pre-updating information corresponding to the information updating instruction in each medical digital imaging and communication information of the medical image;
determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information;
and returning the updated information to the client.
5. The method of claim 4, wherein returning the updated information to the client comprises:
and if the information before updating is consistent with the information after updating, a prompt related to the information which does not need to be updated is returned to the client.
6. The method of claim 4, wherein the pre-update information comprises pre-update image reconstruction data, the information update parameters comprise input parameters;
the updating the information before updating according to the information updating parameter to obtain updated information includes:
determining changed image reconstruction data for the medical image from the input parameters;
and updating the image reconstruction data before updating according to the changed image reconstruction data, and taking an updating result as updated information.
7. The method according to claim 4, wherein before the obtaining the information update instruction acting on the medical image sent via the client, further comprising:
when an information acquisition instruction sent by the client is acquired, determining each piece of medical digital imaging and communication information corresponding to the information acquisition instruction;
updating each medical digital imaging and communication information to corresponding fields of a preset file respectively;
and serializing the preset file, and returning a serialization result to the client.
8. An information processing apparatus, configured to a client, includes:
the instruction sending module is used for generating an information updating instruction corresponding to an updating trigger event when the updating trigger event acting on the medical image is monitored, and sending the information updating instruction to the server;
the field screening module is used for determining the information type corresponding to the information updating instruction and screening fields to be updated from all fields of a preset file according to the information type, wherein all the fields respectively store corresponding medical digital imaging and communication information of the medical image;
and the information updating module is used for updating the received updated information returned by the server to the field to be updated, wherein the updated information is the updated information of the information type acquired by the server according to the information updating instruction.
9. An information processing apparatus, configured to a server, includes:
the system comprises an instruction acquisition module, an information updating module and an information updating module, wherein the instruction acquisition module is used for acquiring an information updating instruction which is sent by a client and acts on a medical image, and the information updating instruction is used for updating pre-updating information corresponding to the information updating instruction in each medical digital imaging and communication information of the medical image;
the information obtaining module is used for determining an information updating parameter corresponding to the information updating instruction, and updating the information before updating according to the information updating parameter to obtain updated information;
and the information returning module is used for returning the updated information to the client.
10. A terminal, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the information processing method of any one of claims 1 to 3.
CN202011035153.1A 2020-09-27 2020-09-27 Information processing method and device and terminal Pending CN112185522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011035153.1A CN112185522A (en) 2020-09-27 2020-09-27 Information processing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011035153.1A CN112185522A (en) 2020-09-27 2020-09-27 Information processing method and device and terminal

Publications (1)

Publication Number Publication Date
CN112185522A true CN112185522A (en) 2021-01-05

Family

ID=73943751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011035153.1A Pending CN112185522A (en) 2020-09-27 2020-09-27 Information processing method and device and terminal

Country Status (1)

Country Link
CN (1) CN112185522A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048223A (en) * 2021-11-26 2022-02-15 武汉联影生命科学仪器有限公司 Data reading and writing method and device, electronic equipment and system
CN114743625A (en) * 2022-04-14 2022-07-12 浙江远图技术股份有限公司 Electronic health record management method, system and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510377A (en) * 2011-10-31 2012-06-20 北京锐安科技有限公司 Webpage interaction accelerating asynchronous data processing method and system
CN104461476A (en) * 2013-09-12 2015-03-25 腾讯科技(深圳)有限公司 A redraw method and device based on the Metro interface elements
CN110134755A (en) * 2019-05-28 2019-08-16 北京百度网讯科技有限公司 Map updating method, device, equipment, server and medium
CN110286928A (en) * 2019-06-25 2019-09-27 北京字节跳动网络技术有限公司 Interface element update method, device, electronic equipment and the storage medium of application program
CN110825995A (en) * 2019-11-04 2020-02-21 彭志勇 Method for rapidly displaying gray-scale image
CN111475757A (en) * 2020-03-03 2020-07-31 百度在线网络技术(北京)有限公司 Page updating method and device
CN111599446A (en) * 2020-05-15 2020-08-28 青岛海信医疗设备股份有限公司 Management method of medical display equipment and related equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510377A (en) * 2011-10-31 2012-06-20 北京锐安科技有限公司 Webpage interaction accelerating asynchronous data processing method and system
CN104461476A (en) * 2013-09-12 2015-03-25 腾讯科技(深圳)有限公司 A redraw method and device based on the Metro interface elements
CN110134755A (en) * 2019-05-28 2019-08-16 北京百度网讯科技有限公司 Map updating method, device, equipment, server and medium
CN110286928A (en) * 2019-06-25 2019-09-27 北京字节跳动网络技术有限公司 Interface element update method, device, electronic equipment and the storage medium of application program
CN110825995A (en) * 2019-11-04 2020-02-21 彭志勇 Method for rapidly displaying gray-scale image
CN111475757A (en) * 2020-03-03 2020-07-31 百度在线网络技术(北京)有限公司 Page updating method and device
CN111599446A (en) * 2020-05-15 2020-08-28 青岛海信医疗设备股份有限公司 Management method of medical display equipment and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048223A (en) * 2021-11-26 2022-02-15 武汉联影生命科学仪器有限公司 Data reading and writing method and device, electronic equipment and system
CN114743625A (en) * 2022-04-14 2022-07-12 浙江远图技术股份有限公司 Electronic health record management method, system and computer storage medium

Similar Documents

Publication Publication Date Title
US20240095043A1 (en) Execution of sub-application processes within application program
US9417793B2 (en) Global keyboard shortcuts management for web applications
CN106383704B (en) Progress bar data processing method and device
US20050273729A1 (en) Information processor and file processing method
CN112185522A (en) Information processing method and device and terminal
CN112540806B (en) Method and device for rendering small program page, electronic equipment and storage medium
US10380867B2 (en) Alert management within a network based virtual collaborative space
CN113822962B (en) Window information processing method and device, electronic equipment and storage medium
TW201115463A (en) Platform agnostic screen capture tool
CN113918366B (en) Information processing method, information processing device, electronic equipment and storage medium
CN111679886A (en) Heterogeneous computing resource scheduling method, system, electronic device and storage medium
CN113032080A (en) Page implementation method, application program, electronic device and storage medium
CN109545333A (en) The method and device that Dicom image shows, handles
US11249771B2 (en) Terminal input invocation
CN107391914B (en) Parameter display method, device and equipment
CN111625312A (en) APP skin changing method and device, electronic equipment and storage medium
CN114218052A (en) Service interaction graph generation method, device, equipment and storage medium
JP2003533759A (en) Computer system improvements
CN107728997B (en) Video player rendering system
CN111176577A (en) Distributed block storage service command processing method, device, equipment and medium
CN115858282A (en) Front-end performance visual monitoring method and system
CN115687224A (en) Asynchronous processing flow generation method and device
CN114496175A (en) Medical image viewing method, device, equipment and storage medium
CN113360045A (en) Medical image processing and displaying method, processing device, display device and storage medium
CN107358053A (en) A kind of image processing method and device

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