Method, system and equipment for acquiring nuclear magnetic resonance data based on VR (virtual reality) equipment

By providing personalized virtual scenes for patients with MRI examination, detecting immersion status and switching virtual scenes, the data inaccuracy caused by patient fear in MRI examination is solved, and data clarity and patient comfort are improved.

CN120458549APending Publication Date: 2025-08-12BEIJING ANZHEN HOSPITAL AFFILIATED TO CAPITAL MEDICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510661193.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The MRI test is closed and the detection time is long. For patients with claustrophobia, autism or anxiety disorder, fear and stress lead to inaccurate or unavailable MRI data.

Method used

By presenting a personalized virtual scene to the patient based on VR equipment, detecting whether the patient is immersed in the virtual scene, obtaining MRI data only in the immersion state, including positioning the pupil center and corneal reflex center, detecting the continuous gaze time in the head posture and line of sight direction, switching the virtual scene until the patient is immersed, ensuring that the data acquisition meets the diagnostic needs.

Benefits of technology

Significantly reduce the patient's discomfort and fear during MRI examination, improve the clarity and accuracy of MRI data, and improve the comfort of the patient during the examination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120458549A_ABST
    Figure CN120458549A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of virtual reality, and discloses a nuclear magnetic resonance data acquisition method, system and device based on VR equipment, and the method comprises the steps: determining at least one virtual scene corresponding to a patient based on the type of the patient under the condition that any patient is subjected to nuclear magnetic resonance examination; presenting any virtual scene for the patient; detecting whether the patient is in an immersion state in the virtual scene; and when it is detected that the patient is in the immersion state in the virtual scene, acquiring nuclear magnetic resonance data of the patient. According to the method, the corresponding virtual scene is presented for the patient, so that the patient is immersed in virtual reality provided by the virtual scene in the nuclear magnetic resonance examination process, discomfort and fear of the patient in closed and noisy nuclear magnetic resonance examination can be remarkably reduced, the patient can normally perform nuclear magnetic resonance examination, and the patient experience is improved. Therefore, the definition and accuracy of nuclear magnetic resonance data are improved, and the comfort level of a patient in the nuclear magnetic resonance examination process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality technology, and in particular to a method, system and device for acquiring nuclear magnetic resonance data based on VR equipment. Background Art

[0002] Magnetic Resonance Imaging (MRI) occupies an important position in the medical system. It can not only be used to help detect diseases in multiple parts of the body such as the heart, spine, and brain, but also can more clearly understand the degree of disease progression through professional imaging equipment. However, since MRI examinations are performed in a closed environment and the examination time is long, patients with claustrophobia, autism, or anxiety disorders often have a very bad experience when undergoing MRI examinations. They may even be unable to complete the MRI examination due to fear and stress, resulting in inaccurate MRI data or even the inability to obtain the patient's MRI data, thereby affecting the detection of the patient's disease. Therefore, how to accurately obtain the patient's MRI data is a problem that needs to be solved. Summary of the Invention

[0003] In view of this, the present invention provides a method, system and device for acquiring nuclear magnetic resonance data based on VR equipment to solve the problem of accurately acquiring MRI data of patients.

[0004] In a first aspect, the present invention provides a method for acquiring nuclear magnetic resonance data based on a VR device, the method comprising:

[0005] In the case where any patient undergoes an MRI examination, determining at least one virtual scene corresponding to the patient based on the patient type;

[0006] Present any virtual scenario to the patient;

[0007] Detect whether the patient is immersed in the virtual scene;

[0008] When it is detected that the patient is in an immersed state in the virtual scene, magnetic resonance imaging data of the patient is acquired.

[0009] The MRI data acquisition method based on VR equipment provided in an embodiment of the present invention presents a corresponding virtual scene to the patient based on the patient type, so that the patient can be immersed in the virtual reality provided by the virtual scene during the MRI examination. This can significantly reduce the patient's discomfort and fear in a closed and noisy MRI examination, allowing the patient to undergo a normal MRI examination, thereby improving the clarity and accuracy of the MRI data and improving the patient's comfort during the MRI examination.

[0010] In an optional embodiment, detecting whether the patient is in an immersed state in the virtual scene includes:

[0011] Locate the pupil center and corneal reflex center of the patient's eye;

[0012] Determine the patient's head posture and gaze direction;

[0013] When the patient's head posture and sight direction do not change, obtaining the patient's first continuous fixation time of the pupil center and the second continuous fixation time of the corneal reflection center;

[0014] Obtaining a first total fixation time of the patient's pupil center and a second total fixation time of the corneal reflection center in a virtual scene;

[0015] Based on the first continuous gaze time, the first total gaze time, the second continuous gaze time and the second total gaze time of the patient in the virtual scene, it is detected whether the patient is in an immersed state in the virtual scene.

[0016] The MRI data acquisition method based on VR equipment provided in an embodiment of the present invention can more accurately judge whether the patient is truly attracted to the virtual scene and whether he is in deep immersion by determining the patient's head posture and line of sight direction, combining the continuous gaze time and total gaze time of the pupil center and the corneal reflex center. This improves the accuracy of detecting the immersion state through multi-dimensional measurement standards.

[0017] In an optional embodiment, when it is detected that the patient is immersed in the virtual scene, acquiring the patient's nuclear magnetic resonance data includes:

[0018] When the patient's first continuous gaze time and second continuous gaze time in the virtual scene are both greater than a first preset threshold and the first total gaze time and second total gaze time are both greater than a second preset threshold, it is detected that the patient is in an immersed state in the virtual scene, and the patient's magnetic resonance imaging data is obtained.

[0019] The method for acquiring MRI data based on VR equipment provided in an embodiment of the present invention acquires the MRI data of a patient when it is detected that the patient is immersed in a virtual scene, thereby ensuring the clarity and accuracy of the MRI data.

[0020] In an optional embodiment, after detecting whether the patient is in an immersed state in the virtual scene, the method further includes:

[0021] If the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene do not both exceed a first preset threshold and / or the first total gaze time and the second total gaze time do not both exceed a second preset threshold, detecting that the patient is not in an immersed state in the virtual scene;

[0022] Switch the virtual scene, present the switched virtual scene to the patient, and re-detect whether the patient is in an immersed state in the switched virtual scene.

[0023] The method for acquiring MRI data based on VR equipment provided in an embodiment of the present invention switches the virtual scene when the patient cannot be immersed in the current virtual scene until the patient is immersed in the virtual scene, so that the patient can acquire MRI data during a normal MRI examination, thereby improving the clarity and accuracy of the MRI data and the comfort of the patient during the MRI examination.

[0024] In an optional embodiment, the method further includes:

[0025] When the acquired MRI data of the patient meets the diagnosis requirements, the acquisition of the MRI data of the patient is stopped, and the presentation of the virtual scene to the patient is stopped.

[0026] The MRI data acquisition method based on VR equipment provided in an embodiment of the present invention avoids unnecessary long examinations by stopping the acquisition of MRI data and the presentation of virtual scenes when the MRI data meets the diagnostic requirements, ensuring that the collected MRI data is highly targeted and of high quality, while avoiding a decrease in patient comfort due to excessively long examination time.

[0027] In a second aspect, the present invention provides a nuclear magnetic resonance data acquisition system based on a VR device, the system comprising:

[0028] The VR device is configured to, when any patient undergoes an MRI examination, determine, based on the patient type, at least one virtual scene corresponding to the patient, present any virtual scene to the patient, and detect whether the patient is in an immersed state in the virtual scene;

[0029] The nuclear magnetic resonance apparatus is used to obtain nuclear magnetic resonance data of the patient when it is detected that the patient is in an immersed state in the virtual scene.

[0030] In an optional embodiment, the VR device includes:

[0031] A scene storage module, configured to determine at least one virtual scene corresponding to the patient based on the patient type, and present any virtual scene to the patient;

[0032] A positioning module, used for locating the pupil center and corneal reflection center of the patient's eye;

[0033] a data acquisition module for determining the patient's head posture and gaze direction, obtaining a first continuous gaze time of the patient's pupil center and a second continuous gaze time of the patient's corneal reflection center when the patient's head posture and gaze direction do not change, and obtaining a first total gaze time of the patient's pupil center and a second total gaze time of the patient's corneal reflection center in a virtual scene;

[0034] a data processing module for detecting whether the patient is in an immersed state in the virtual scene based on a first continuous gaze time, a first total gaze time, a second continuous gaze time, and a second total gaze time of the patient in the virtual scene, wherein if the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene are both greater than a first preset threshold and the first total gaze time and the second total gaze time are both greater than a second preset threshold, it is detected that the patient is in an immersed state in the virtual scene; and if the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene do not both meet the requirement of being greater than the first preset threshold and / or the first total gaze time and the second total gaze time do not both meet the requirement of being greater than the second preset threshold, it is detected that the patient is not in an immersed state in the virtual scene;

[0035] A scene switching module is used to switch virtual scenes and present the switched virtual scenes to the patient;

[0036] The control module is used to stop presenting the virtual scene to the patient when the acquired nuclear magnetic resonance data of the patient meets the diagnosis requirements.

[0037] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for acquiring nuclear magnetic resonance data based on a VR device according to the first aspect or any corresponding embodiment thereof.

[0038] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for acquiring nuclear magnetic resonance data based on a VR device according to the first aspect or any corresponding embodiment thereof.

[0039] In a fifth aspect, the present invention provides a computer program product comprising computer instructions, the computer instructions being used to enable a computer to execute the method for acquiring nuclear magnetic resonance data based on a VR device according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] Figure 1 is a schematic diagram of a nuclear magnetic resonance data acquisition system based on a VR device according to an embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a VR device according to an embodiment of the present invention;

[0043] Figure 3 is a flow chart of a method for acquiring nuclear magnetic resonance data based on a VR device according to an embodiment of the present invention;

[0044] Figure 4 is a flowchart of another method for acquiring nuclear magnetic resonance data based on a VR device according to an embodiment of the present invention;

[0045] Figure 5 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0047] Magnetic resonance imaging (MRI) apparatuses occupy an important position in the medical system and play an important role in detecting symptoms and observing the degree of progression of symptoms. However, since MRI examinations are performed in a closed environment and the detection time is relatively long, patients with claustrophobia, autism, or anxiety may not be able to complete the MRI examination due to fear and stress, resulting in inaccurate MRI data or even inability to obtain the patient's MRI data, thereby affecting the detection of the patient's symptoms. Therefore, how to accurately obtain the patient's MRI data is a problem that needs to be solved. An embodiment of the present invention provides a method for obtaining MRI data based on a VR device, which presents a virtual scene to the patient so that the patient is immersed in the virtual reality provided by the virtual scene during the MRI examination. This method can significantly reduce the patient's discomfort and fear in a closed and noisy MRI examination, allowing the patient to undergo a normal MRI examination, thereby improving the clarity and accuracy of the MRI data and improving the patient's comfort during the MRI examination.

[0048] In this embodiment, a nuclear magnetic resonance data acquisition system based on VR equipment is provided. Figure 1 is a schematic diagram of a nuclear magnetic resonance data acquisition system based on a VR device according to an embodiment of the present invention. Figure 1 As shown, the system includes: a VR device, which is used to determine at least one virtual scene corresponding to any patient based on the patient type when any patient undergoes an MRI examination, present any virtual scene to the patient, and detect whether the patient is in an immersed state in the virtual scene; and a MRI scanner, which is used to obtain the patient's MRI data when it is detected that the patient is in an immersed state in the virtual scene.

[0049] Specifically, the VR (Virtual Reality) device is a device such as VR glasses or a VR helmet that can present virtual images to the patient. In the embodiments of the present invention, VR glasses are used as an example. When a patient undergoes an MRI examination, they wear VR glasses and sit inside the MRI machine. The VR glasses present a virtual scene corresponding to the patient's type, immersing the patient in the virtual scene while the MRI machine acquires the patient's MRI data.

[0050] In some optional embodiments, Figure 2 is a schematic diagram of a VR device according to an embodiment of the present invention, Figure 2As shown, the VR device includes: a scene storage module, which is used to determine at least one virtual scene corresponding to the patient based on the patient type of the patient, and present any virtual scene to the patient; a positioning module, which is used to locate the pupil center and corneal reflection center of the patient's eye; a data acquisition module, which is used to determine the patient's head posture and line of sight direction, and when the patient's head posture and line of sight direction do not change, obtain the patient's first continuous gaze time of the pupil center and the second continuous gaze time of the corneal reflection center, and obtain the patient's first total gaze time of the pupil center and the second total gaze time of the corneal reflection center in the virtual scene; a data processing module, which is used to detect the patient's first continuous gaze time, the first total gaze time, the second continuous gaze time and the second total gaze time in the virtual scene based on the patient's first continuous gaze time, the first total gaze time, the second continuous gaze time and the second total gaze time. Whether the patient is in an immersed state in the virtual scene. When the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene are both greater than the first preset threshold and the first total gaze time and the second total gaze time are both greater than the second preset threshold, it is detected that the patient is in an immersed state in the virtual scene. When the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene do not both meet the requirements of being greater than the first preset threshold and / or the first total gaze time and the second total gaze time do not both meet the requirements of being greater than the second preset threshold, it is detected that the patient is not in an immersed state in the virtual scene; a scene switching module is used to switch the virtual scene and present the switched virtual scene to the patient; a control module is used to stop presenting the virtual scene to the patient when the acquired nuclear magnetic resonance data of the patient meets the diagnostic requirements.

[0051] Specifically, the scene storage module stores at least one virtual scene corresponding to multiple patient types. For each virtual scene, various models of natural scenery, buildings, objects, people, animals, and the like are combined and spliced according to certain rules and formats, and then further combined with corresponding events and animations to construct and output a virtual scene. The process of generating the virtual scene is conventional and will not be described in detail here. The positioning module typically first locates the patient's eye region, and then uses eye tracking technology to specifically locate the pupil center and corneal reflex center. Optionally, when locating the eye region, the VR device's tracking module can first detect the patient's facial features and determine the eye region from these facial features. The data acquisition module can determine the patient's head posture using a posture estimation algorithm and the patient's gaze direction using eye tracking technology. Combining the patient's head posture and gaze direction, the module then obtains the continuous gaze time and total gaze time corresponding to the pupil center and corneal reflex center, respectively. The data processing module detects whether the patient is immersed in the current virtual scene based on the various data collected by the data acquisition module. If the patient is unable to immerse themselves in the current virtual scene, the scene switching module switches the virtual scene after the data processing module detects the patient's immersion. After the patient's MRI data acquisition is completed, the control module causes the scene storage module or the scene switching module to stop presenting the virtual scene. Optionally, the control module can also provide unified control over the above-mentioned multiple modules. It should be noted that the functions of the various modules of the above-mentioned VR device can also be implemented using other technical means, which are not limited in this embodiment of the present invention.

[0052] According to an embodiment of the present invention, an embodiment of a method for acquiring nuclear magnetic resonance data based on a VR device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0053] In this embodiment, a method for acquiring nuclear magnetic resonance data based on a VR device is provided, which can be used in the above-mentioned nuclear magnetic resonance data acquisition system based on a VR device. Figure 3 FIG. 1 is a flow chart of a method for acquiring nuclear magnetic resonance data based on a VR device according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0054] Step S301, when any patient undergoes an MRI examination, at least one virtual scene corresponding to the patient is determined based on the patient's patient type. Specifically, patients with special conditions such as anxiety, claustrophobia, autism, ADHD, etc. may experience inaccurate MRI data acquisition or even failure to acquire MRI data due to emotions such as fear, uneasiness, or stress when undergoing an MRI examination. Therefore, before the patient undergoes an MRI examination, a combination of a psychological scale assessment and a face-to-face consultation with a psychiatrist can be used to determine the patient's patient type. Among them, the psychological scale can be one or more, and the scale type used can be the Symptom Checklist-90, the Brief Mental State Questionnaire, etc. After determining the patient type, medical staff can manually adjust the VR glasses so that the scene storage module of the VR glasses presents the virtual scene corresponding to the patient type, immersing the patient in the virtual scene corresponding to the patient type, improving the patient's comfort during the MRI examination, and facilitating the acquisition of the patient's MRI data.

[0055] Step S302: Present any virtual scene to the patient. Specifically, the scene storage module of the VR glasses stores virtual scenes corresponding to multiple patient types. For the patient, the scene storage module presents any virtual scene corresponding to the patient type, allowing the patient to directly view the virtual scene through the VR glasses.

[0056] Step S303 detects whether the patient is immersed in the virtual scene. Specifically, even if the VR glasses present a virtual scene to the patient, the virtual scene may not be attractive to the patient, resulting in the patient's condition still being unsuitable for an MRI examination. Therefore, it is necessary to detect whether the patient is immersed. Only when the patient is immersed can the MRI examination be performed. The MRI machine can obtain the patient's MRI data at this time, ensuring the clarity and accuracy of the MRI data.

[0057] Step S304: Acquire MRI data of the patient when the patient is detected to be immersed in the virtual scene. Specifically, MRI data acquired in the immersed state of the patient has higher accuracy and clarity than MRI data acquired in the non-immersive state.

[0058] The MRI data acquisition method based on VR equipment provided in an embodiment of the present invention presents a corresponding virtual scene to the patient based on the patient type, so that the patient can be immersed in the virtual reality provided by the virtual scene during the MRI examination. This can significantly reduce the patient's discomfort and fear in a closed and noisy MRI examination, allowing the patient to undergo a normal MRI examination, thereby improving the clarity and accuracy of the MRI data and improving the patient's comfort during the MRI examination.

[0059] In this embodiment, a method for acquiring nuclear magnetic resonance data based on a VR device is provided, which can be used in the above-mentioned nuclear magnetic resonance data acquisition system based on a VR device. Figure 4 FIG. 1 is a flow chart of another method for acquiring nuclear magnetic resonance data based on a VR device according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:

[0060] Step S401: When any patient undergoes an MRI examination, at least one virtual scene corresponding to the patient is determined based on the patient type. Figure 3 Step S301 of the illustrated embodiment will not be described in detail here.

[0061] Step S402: Present any virtual scene to the patient. Figure 3 Step S302 of the illustrated embodiment will not be described in detail here.

[0062] Step S403: Detect whether the patient is in an immersed state in the virtual scene.

[0063] Specifically, the above step S403 includes:

[0064] Step S4031, locate the pupil center and corneal reflection center of the patient's eye. Specifically, the pupil center refers to the center point of the pupil in the eye, and the corneal reflection center refers to the position of the reflected light point formed on the cornea when light shines on the eye. Because the pupil changes according to the lighting conditions and the degree of interest when the human eye focuses on a certain point or object, the adjustment of the pupil diameter reflects the brain's concentration and emotional response. At the same time, the corneal reflection, that is, by observing the light point reflected on the cornea, can help confirm the exact direction of sight. The pupil reaction and corneal reflection provide a more objective and unconscious immersion measurement standard, which can reflect whether the patient is in an immersed state from the physiological reaction. Therefore, the positioning module of the VR glasses first locates the patient's eye area, and then locates the patient's pupil center and corneal reflection center.

[0065] Step S4032: Determine the patient's head posture and gaze direction. Specifically, head posture and gaze direction reflect changes in the patient's focus, indirectly reflecting their emotional response and cognitive engagement with the virtual scene. For example, infrequent head turns and prolonged gaze may indicate a high degree of engagement with the current virtual scene, helping to determine the patient's immersion state. Therefore, the data acquisition module of the VR glasses determines the patient's head posture and gaze direction, providing support for subsequent detection of the patient's immersion state.

[0066] In step S4033, when the patient's head posture and gaze direction remain unchanged, the first continuous fixation time of the patient's pupil center and the second continuous fixation time of the corneal reflection center are obtained. Specifically, when immersed in a virtual scene, the patient's gaze point will move with their point of interest in the virtual scene. If the patient's head posture and gaze direction remain unchanged, the first continuous fixation time of the pupil center and the second continuous fixation time of the corneal reflection center can reflect the patient's sustained attention to a specific virtual element.

[0067] Step S4034: Obtain the patient's first total fixation time at the pupil center and second total fixation time at the corneal reflection center in the virtual scene. Specifically, the data acquisition module of the VR glasses obtains the patient's first total fixation time at the pupil center and second total fixation time at the corneal reflection center, reflecting the patient's overall attention to the virtual scene.

[0068] Step S4035, based on the patient's first continuous gaze time, first total gaze time, second continuous gaze time and second total gaze time in the virtual scene, detect whether the patient is in an immersed state in the virtual scene. Specifically, based on the multiple gaze times of the patient on the virtual scene obtained above, the data processing module of the VR glasses detects the patient's immersion state. Long continuous gaze time and high total gaze time often indicate that the patient is highly focused on the virtual scene, that is, in an immersed state. Conversely, frequently changing continuous gaze time and short gaze duration may mean that the patient is distracted or not invested enough in the virtual scene, that is, not in an immersed state. By determining the patient's head posture and line of sight direction, combined with the continuous gaze time and total gaze time of the pupil center and the corneal reflex center, it is possible to more accurately judge whether the patient is truly attracted by the virtual scene and is in deep immersion. The multi-dimensional measurement standard improves the accuracy of detecting the immersive state.

[0069] In some optional implementations, after step S403, the following steps are further included:

[0070] In step S404, if the patient's first continuous gaze time and second continuous gaze time in the virtual scene do not both exceed the first preset threshold and / or the first total gaze time and second total gaze time do not both exceed the second preset threshold, it is detected that the patient is not immersed in the virtual scene. Specifically, the first preset threshold may be 30 seconds, 1 minute, or 2 minutes, and the second preset threshold may be 5 minutes, 10 minutes, or 15 minutes. The embodiment of the present invention does not limit the values of the first and second preset thresholds. If any of the continuous gaze times and total gaze times corresponding to the patient's pupil center and corneal reflex center does not exceed the first preset threshold, and / or any of the total gaze times does not exceed the second preset threshold, it indicates that the patient's engagement in the current virtual scene is low and that the patient is not immersed. For example, if the patient's first continuous gaze time at the pupil center is 30 seconds, the first total gaze time is 5 minutes, the second continuous gaze time at the corneal reflex center is 40 seconds, the second total gaze time is 3 minutes, the first preset threshold is 35 seconds, and the second preset threshold is 4 minutes. Since the patient's first continuous gaze time of 30 seconds at the pupil center is less than the first preset threshold of 35 seconds, and the second total gaze time of 3 minutes is less than the second preset threshold of 4 minutes, the data processing module of the VR glasses detects that the patient is not in an immersed state.

[0071] Step S405, switch the virtual scene, present the switched virtual scene to the patient, and re-detect whether the patient is immersed in the switched virtual scene. Specifically, when the patient is detected as not being immersed in any virtual scene, it may be because the patient has little interest in the current virtual scene. Therefore, the scene switching module of the VR glasses can select other virtual scenes from at least one virtual scene corresponding to the patient to switch, and re-detect whether the patient is immersed in the switched virtual scene. It should be noted that the scene switching module repeats the process of switching virtual scenes until the data processing module detects that the patient is immersed. By switching virtual scenes, it is ensured that the patient is immersed during the MRI examination to improve the patient's comfort during the MRI examination.

[0072] Step S406 : When it is detected that the patient is immersed in the virtual scene, the patient's nuclear magnetic resonance data is acquired.

[0073] Specifically, the above step S406 includes:

[0074] Step S4061: When the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene are both greater than the first preset threshold and the first total gaze time and the second total gaze time are both greater than the second preset threshold, it is detected that the patient is in an immersed state in the virtual scene, and the patient's nuclear magnetic resonance data is obtained. Specifically, assuming that the first continuous gaze time of the patient's pupil center is 50 seconds, the first total gaze time is 7 minutes, the second continuous gaze time of the corneal reflection center is 40 seconds, the second total gaze time is 5 minutes, the first preset threshold is 30 seconds, and the second preset threshold is 4 minutes. Since the patient's first continuous gaze time of 50 seconds at the pupil center and the second continuous gaze time of 40 seconds at the corneal reflection center are both greater than the first preset threshold of 30 seconds, and the first total gaze time of 7 minutes at the pupil center and the second total gaze time of 5 minutes at the corneal reflection center are both greater than the second preset threshold of 4 minutes, the data processing module of the VR glasses detects that the patient is in an immersed state, and the nuclear magnetic resonance apparatus obtains the patient's MRI data. By switching the virtual scene when the patient cannot be immersed in the current virtual scene until the patient is immersed in the virtual scene, the patient can obtain MRI data during the normal MRI examination, improve the clarity and accuracy of the MRI data, and improve the patient's comfort during the MRI examination.

[0075] Step S407, when the acquired MRI data of the patient meets the diagnostic requirements, stop acquiring the MRI data of the patient and stop presenting the virtual scene to the patient. Specifically, the diagnostic requirement may be that all necessary sequences and slices have been completely acquired, and the MRI image quality meets the requirements, ensuring that there is no image blur or distortion, etc. The diagnostic requirement can be adjusted according to actual conditions, and the embodiment of the present invention does not limit this. Only when the MRI data acquired by the MRI apparatus meets the diagnostic requirements, the MRI apparatus stops acquiring MRI data, and the control module of the VR glasses stops presenting the virtual scene to the patient, ensuring that the patient is immersed in the MRI data acquisition process, improving the patient's comfort during the MRI examination, and improving the clarity and accuracy of the MRI data.

[0076] The MRI data acquisition method based on VR equipment provided in an embodiment of the present invention presents a corresponding virtual scene to the patient based on the patient type, so that the patient can be immersed in the virtual reality provided by the virtual scene during the MRI examination. This can significantly reduce the patient's discomfort and fear in a closed and noisy MRI examination, allowing the patient to undergo a normal MRI examination, thereby improving the clarity and accuracy of the MRI data and improving the patient's comfort during the MRI examination.

[0077] The present invention also provides a computer device. Figure 5 , Figure 5is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0078] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0079] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.

[0080] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0081] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0082] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0083] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0084] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0085] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for acquiring nuclear magnetic resonance data based on VR equipment, characterized in that: The method comprises: In the case where any patient undergoes a nuclear magnetic resonance examination, determining at least one virtual scene corresponding to the patient based on the patient type; presenting any virtual scene to the patient; detecting whether the patient is in an immersed state in the virtual scene; When it is detected that the patient is in an immersed state in the virtual scene, nuclear magnetic resonance data of the patient is acquired.

2. The method according to claim 1, characterized in that The detecting whether the patient is in an immersed state in the virtual scene includes: locating a pupil center and a corneal reflex center of the patient's eye; determining the patient's head posture and gaze direction; When the head posture and the sight direction of the patient do not change, obtaining a first continuous gaze time of the patient's pupil center and a second continuous gaze time of the patient's corneal reflection center; Obtaining a first total fixation time of the pupil center and a second total fixation time of the corneal reflection center of the patient in the virtual scene; Based on the first continuous gaze time, the first total gaze time, the second continuous gaze time and the second total gaze time of the patient in the virtual scene, it is detected whether the patient is in an immersed state in the virtual scene.

3. The method according to claim 2, characterized in that The acquiring of the nuclear magnetic resonance data of the patient when detecting that the patient is in an immersed state in the virtual scene includes: When the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene are both greater than a first preset threshold and the first total gaze time and the second total gaze time are both greater than a second preset threshold, it is detected that the patient is in an immersed state in the virtual scene, and the patient's magnetic resonance imaging data is obtained.

4. The method according to claim 2, characterized in that After detecting whether the patient is in an immersed state in the virtual scene, the method further includes: If the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene do not both exceed a first preset threshold and / or the first total gaze time and the second total gaze time do not both exceed a second preset threshold, detecting that the patient is not in an immersed state in the virtual scene; Switch the virtual scene, present the switched virtual scene to the patient, and re-detect whether the patient is in an immersed state in the switched virtual scene.

5. The method according to claim 1, wherein The method further comprises: When the acquired nuclear magnetic resonance data of the patient meets the diagnosis requirements, the acquisition of the nuclear magnetic resonance data of the patient is stopped, and the presentation of the virtual scene to the patient is stopped.

6. A nuclear magnetic resonance data acquisition system based on VR equipment, characterized in that: The system comprises: A VR device is configured to, when any patient undergoes an MRI examination, determine, based on the patient type, at least one virtual scene corresponding to the patient, present any virtual scene to the patient, and detect whether the patient is in an immersed state in the virtual scene; A nuclear magnetic resonance apparatus is used to obtain nuclear magnetic resonance data of the patient when it is detected that the patient is in an immersed state in the virtual scene.

7. The system according to claim 6, characterized in that The VR device includes: a scene storage module, configured to determine at least one virtual scene corresponding to the patient based on the patient type of the patient, and present any virtual scene to the patient; a positioning module, used for locating the pupil center and corneal reflection center of the patient's eye; a data acquisition module, configured to determine the patient's head posture and gaze direction, obtain a first continuous gaze time of the patient's pupil center and a second continuous gaze time of the patient's corneal reflection center when the patient's head posture and gaze direction do not change, and obtain a first total gaze time of the patient's pupil center and a second total gaze time of the patient's corneal reflection center in the virtual scene; a data processing module, configured to detect whether the patient is in an immersed state in the virtual scene based on a first continuous gaze time, a first total gaze time, a second continuous gaze time, and a second total gaze time of the patient in the virtual scene; if the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene are both greater than a first preset threshold and the first total gaze time and the second total gaze time are both greater than a second preset threshold, detecting that the patient is in an immersed state in the virtual scene; and if the first continuous gaze time and the second continuous gaze time of the patient in the virtual scene do not both meet the requirement of being greater than the first preset threshold and / or the first total gaze time and the second total gaze time do not both meet the requirement of being greater than the second preset threshold, detecting that the patient is not in an immersed state in the virtual scene; A scene switching module, configured to switch the virtual scene and present the switched virtual scene to the patient; The control module is configured to stop presenting the virtual scene to the patient when the acquired nuclear magnetic resonance data of the patient meets the diagnosis requirements.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for acquiring nuclear magnetic resonance data based on a VR device according to any one of claims 1 to 5 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for acquiring nuclear magnetic resonance data based on a VR device according to any one of claims 1 to 5.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method for acquiring nuclear magnetic resonance data based on a VR device according to any one of claims 1 to 5.