Magnetic resonance sequence configuration method and device, equipment, storage medium and product

By breaking down magnetic resonance sequences into standardized modules and providing configuration files, the problem of low efficiency in magnetic resonance sequence generation is solved, enabling rapid and efficient sequence development and standardized design.

CN121764560APending Publication Date: 2026-03-31WUHAN UNITED IMAGING LIFE SCIENCE INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing technologies for generating magnetic resonance sequences have low efficiency and long development cycles. Manual generation methods result in low efficiency for generating magnetic resonance sequences.

Method used

The magnetic resonance sequence is decomposed into standardized candidate sequence modules and structured configuration information is provided. Parameters are configured through configuration files, the validity of parameters is automatically verified, and executable sequence results are generated.

Benefits of technology

It significantly improves the efficiency of magnetic resonance sequence generation, reduces development difficulty and cycle, ensures the standardization and reliability of sequences, enhances maintainability and scalability, and promotes sequence standardization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121764560A_ABST
    Figure CN121764560A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of magnetic resonance imaging, in particular to a configuration method and device of a magnetic resonance sequence, equipment, a storage medium and a product. The method comprises the following steps: the terminal equipment displays configuration information corresponding to a plurality of candidate sequence modules respectively, wherein the configuration information comprises a plurality of configuration parameters corresponding to the candidate sequence modules; in response to a parameter input operation on the target sequence module, configuration result information corresponding to the target sequence module is generated, and the configuration result information comprises parameter values after the configuration parameters are configured respectively; and generating a sequence result corresponding to the target sequence module based on the configuration result information. By providing the standardized configuration file for the designer to perform parameter configuration on the preset candidate sequence module, the sequence result meeting the requirement can be directly generated, so that the difficulty of sequence development and the debugging complexity are effectively reduced, and the design and generation efficiency of the magnetic resonance sequence is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of magnetic resonance imaging technology, and in particular relates to methods, apparatus, devices, storage media and program products for configuring magnetic resonance sequences. Background Technology

[0002] Magnetic Resonance Imaging (MRI) is a non-invasive, radiation-free, high-resolution, and high-contrast diagnostic imaging method widely used in medical imaging. MRI sequences control the timing and parameters of radiofrequency pulses and gradient magnetic fields to excite, encode, and acquire tissue signals, ultimately reconstructing diagnostically valuable medical images.

[0003] In related technologies, magnetic resonance sequences are usually manually configured by designers using relevant configuration parameters (e.g., pulse bandwidth, echo time, repetition time, gradient amplitude) and continuously adjusted before generating the corresponding magnetic resonance sequence.

[0004] However, due to the complexity of image generation requirements and the variety of magnetic resonance sequences needed, manual generation leads to low efficiency and a long development cycle. Summary of the Invention

[0005] This application provides a method, apparatus, device, storage medium, and product for configuring magnetic resonance sequences. By providing multiple candidate sequence modules in the form of configuration files for users to configure parameters, corresponding sequence results are generated based on the configuration results, thereby reducing the difficulty of sequence development and improving the generation efficiency of magnetic resonance sequences.

[0006] In a first aspect, embodiments of this application provide a method for configuring a magnetic resonance imaging (MRI) sequence, the method comprising: The system displays configuration information for multiple candidate sequence modules, including various configuration parameters corresponding to each candidate sequence module. In response to the parameter input operation of the target sequence module, configuration result information corresponding to the target sequence module is generated, and the configuration result information includes the parameter values ​​after the plurality of configuration parameters are configured respectively; Based on the configuration result information, the sequence result corresponding to the target sequence module is generated.

[0007] Optionally, the configuration result information corresponding to the module generating the target sequence includes: Based on the parameter input operation, parameter input results corresponding to the plurality of configuration parameters are generated respectively; if the parameter input results meet the parameter verification conditions, the configuration result information is generated; wherein, the parameter verification conditions include at least one of the following: The number of parameter input results reaches a preset threshold. The parameter input results corresponding to the multiple configuration parameters meet the timing conditions; The parameter input results corresponding to the multiple configuration parameters meet the preset numerical conditions.

[0008] Optionally, generating the sequence result corresponding to the target sequence module based on the configuration result information includes: Obtain the reference code content corresponding to the target sequence module; Write the parameter values ​​from the configuration result information into the corresponding positions in the reference code content to generate the sequence result corresponding to the target sequence module.

[0009] Optionally, the plurality of configuration parameters include at least one of the following parameter types: Hardware parameters; Module parameters; Timing parameters; Imaging parameters.

[0010] Optionally, the method includes configuring multiple target sequence modules; The method further includes: The target magnetic resonance sequence is generated based on the sequence results corresponding to the multiple target sequence modules.

[0011] Secondly, embodiments of this application provide a magnetic resonance sequence configuration apparatus, including: An information providing module is used to provide configuration information corresponding to multiple candidate sequence modules, the configuration information including multiple configuration parameters corresponding to the candidate sequence modules; a result generating module is used to generate configuration result information corresponding to the target sequence module in response to a parameter input operation on the target sequence module, the configuration result information including the parameter values ​​after the multiple configuration parameters are configured; a sequence construction module is used to generate the sequence result corresponding to the target sequence module based on the configuration result information. Thirdly, embodiments of this application provide a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the magnetic resonance sequence configuration method described in any one of the first aspects above.

[0012] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the magnetic resonance sequence configuration method described in any one of the first aspects.

[0013] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the magnetic resonance sequence configuration method described in any one of the first aspects.

[0014] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0015] The beneficial effects of the technical solutions provided in this application include at least the following: By pre-decomposing complex magnetic resonance (MRI) sequences into standardized candidate sequence modules (such as excitation, reconvergence, and readout modules) and providing structured configuration information (including hardware parameters, timing parameters, and imaging parameters) for each module, designers can complete the configuration simply through intuitive parameter input. The system automatically verifies the validity of the parameters and fills the configuration values ​​into pre-defined module code templates, directly generating executable sequence results or code segments. This approach liberates MRI sequence development from low-level code writing and tedious debugging, resulting in the following significant benefits: Significantly reduced development threshold and difficulty: Developers do not need to deeply understand all the details of low-level hardware control and timing orchestration; sequence design can be completed through a configurable interface, reducing the professional knowledge requirements. Significantly improved development efficiency: Modular reuse and configurable generation avoid repetitive code writing and manual debugging, enabling rapid construction and iteration of different MRI sequences, shortening the development cycle. Guaranteed sequence standardization and reliability: Built-in parameter verification mechanisms (such as quantity thresholds, timing logic, and numerical range checks) ensure the rationality of configuration parameters and the correctness of sequence logic, reducing human error and improving the stability and reliability of generated sequences. Enhanced maintainability and scalability: The modular design ensures a clear sequence structure. When modifications or new features are needed, only the configuration templates of the corresponding modules need to be adjusted or added, facilitating system maintenance and functional expansion. Promotes sequence standardization and knowledge accumulation: Solidifying mature sequence design patterns into configurable modules is beneficial for knowledge accumulation and best practice sharing within the team, promoting the standardization of sequence design. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a system diagram of an embodiment provided in this application; Figure 2 This is a flowchart of a method for configuring a magnetic resonance sequence according to an embodiment of this application; Figure 3 This is a flowchart of a method for configuring a magnetic resonance sequence according to an embodiment of this application; Figure 4 This is a schematic diagram of a module provided in an embodiment of this application; Figure 5 This is a schematic diagram of a module provided in an embodiment of this application; Figure 6 This is a schematic diagram of a module provided in an embodiment of this application; Figure 7 This is a schematic diagram of a module provided in an embodiment of this application; Figure 8 This is a schematic diagram of a module provided in an embodiment of this application; Figure 9 This is a schematic diagram of a module provided in an embodiment of this application; Figure 10 This is a schematic diagram of a module provided in an embodiment of this application; Figure 11 This is a schematic diagram of the overall GRE sequence generated by the present invention according to an embodiment of this application; Figure 12 This is a schematic diagram of a specific GRE sequence generated by the present invention according to an embodiment of this application; Figure 13 This is a schematic diagram of the overall se sequence generated by the present invention according to an embodiment of this application; Figure 14 This is a schematic diagram of the se sequence generated by the present invention according to an embodiment of this application; Figure 15 This is a structural diagram of the configuration device for the magnetic resonance sequence provided in the embodiments of this application; Figure 16 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0018] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0019] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0020] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0021] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0022] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0023] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0024] First, the terms used in the embodiments of this application will be explained: Radio frequency pulse (RF): A type of electromagnetic wave generated by a radio frequency system (or radio frequency generation device) whose frequency is precisely matched to the Larmor frequency of the corresponding proton.

[0025] Gradient: Also known as gradient magnetic field, it refers to the additional magnetic field generated by a gradient system and superimposed on the main magnetic field. Its intensity usually varies linearly along a specific direction (such as the X, Y, and Z axes).

[0026] Signal acquisition equipment: Corresponding to a magnetic resonance signal acquisition system, it converts magnetic resonance signals into digital signals. Using a computer or other processor, the corresponding digital signals can be reconstructed and post-processed to obtain image data of the scanned object. In practical applications, an analog-to-digital converter (ADC) is typically used as the signal acquisition device.

[0027] Magnetic resonance sequence: In magnetic resonance imaging, the hardware instructions of a magnetic resonance system are composed of different radio frequency pulses, gradients, and signal acquisition devices arranged and combined according to timing parameters. The hardware of a magnetic resonance system mainly includes a radio frequency system, a gradient system (or gradient generation device), and a magnetic resonance signal acquisition system (or signal acquisition device).

[0028] In this embodiment, the magnetic resonance sequence is a temporal arrangement of relevant parameters such as radio frequency pulses, gradient fields, and the timing of magnetic resonance signal acquisition by the signal acquisition device. Different combinations result in different magnetic resonance sequences, which are used to achieve different image weighting (i.e., contrast) effects.

[0029] Magnetic resonance imaging (MRI) refers to an imaging method that acquires magnetic resonance signals by controlling radio frequency pulses, gradients, and signal acquisition equipment, and then reconstructs and post-processes the acquired magnetic resonance signals to obtain the contrast and information of different tissues.

[0030] Indicatively, a magnetic resonance imaging (MRI) sequence typically includes the following components: radio frequency (RF) pulses, gradients (including: gradient silce selection (GSS) (or range selection gradient in a three-dimensional sequence scenario), gradient phase encoding (GPE) (there are two-directional gradient phase encoding gradients in a three-dimensional sequence scenario), gradient readout (GRO) (also known as readout gradient)), acquisition signals, and at least one timing parameter.

[0031] Here, GSS, GPE, and GRO represent the gradients applied on different axes, and therefore, the directions of the gradients applied on each axis are different. Thus, GSS, GPE, and GRO can correspond to the x, z, and y axes, respectively.

[0032] Since magnetic resonance imaging (MRI) requires spatial localization of protons, gradient magnetic fields in different directions are used. Taking a two-dimensional acquisition as an example, firstly, a gradient is selected by layer selection, and a fixed layer is excited by radio frequency pulses. Then, the protons in that layer are spatially localized by phase offset gradient and readout encoding gradient.

[0033] For a two-dimensional plane, it can be divided into two orthogonal directions: Ky (phase encoding direction) and Kx (frequency encoding direction). In one repetition time period (TR period), the acquired signal is filled into the K space. In the phase encoding direction, the number of phase encoding lines required is equal to the number of steps. Finally, after the K space data is filled, image reconstruction is performed to form a magnetic resonance image.

[0034] Timing parameters refer to the order and intervals of the various modules in a magnetic resonance imaging (MRI) sequence on the time axis during the execution of the MRI sequence, such as repetition time, echo time, and inversion time. Timing parameters are typically determined by a timing controller. Furthermore, the timing controller can also control the start-up time of the signal acquisition equipment; that is, the timing controller can also control the timing parameters of signal acquisition.

[0035] Transverse magnetization vector: In a static magnetic field environment, the longitudinal magnetization vector of a proton group is deflected to the XY plane by applying a radio frequency pulse of a specific frequency. This process results in a decrease in the longitudinal magnetization vector and the simultaneous generation of a transverse component, the intensity of which is directly related to the flip angle of the radio frequency pulse. Specifically, when a 90-degree (°) radio frequency pulse is applied, the longitudinal magnetization vector is completely converted into a transverse component.

[0036] The magnetic resonance sequence control method provided in this application embodiment can be applied to, for example... Figure 1 The application environment is shown. Terminal 102 refers to a device capable of transmitting magnetic resonance sequences. Terminal 102 communicates with server 104 via a network, sending the parameters of the transmitted magnetic resonance sequence to server 104. Server 104 processes the sequence parameters to determine the readout gradient parameters, thereby completing the magnetic resonance sequence control. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Terminal 102 can be a magnetic resonance device. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0037] Among them, how to obtain the parameters of the magnetic resonance sequence is a technical problem that urgently needs to be solved in this application.

[0038] The following provides a detailed description of the magnetic resonance sequence configuration method provided in the embodiments of this application, illustrated by applying the embodiments of this application to a terminal device. Please refer to the illustrative examples. Figure 2 The diagram illustrates a flowchart of a method for configuring a magnetic resonance sequence provided in an exemplary embodiment of this application, which includes steps 210 to 230.

[0039] Step 210: Display the configuration information corresponding to each of the multiple candidate sequence modules.

[0040] The configuration information is used to indicate multiple configuration parameters corresponding to the candidate sequence module.

[0041] The candidate sequence module pre-encapsulates the parameter calculation logic and operating mode setting logic of at least one hardware device in the magnetic resonance imaging system.

[0042] As an illustration, the candidate sequence module generates the target magnetic resonance sequence through combination.

[0043] Therefore, if the combination of candidate sequence modules is different, or if different candidate sequence modules are selected, the final generated target magnetic resonance sequence will also be different.

[0044] Indicatively, the target magnetic resonance sequence includes radio frequency pulses, a gradient magnetic field (or gradient), and the acquired signal.

[0045] Therefore, a magnetic resonance imaging system includes multiple hardware devices, which are used to generate and control the aforementioned radio frequency pulses, gradient magnetic field (or gradient), and acquisition signals.

[0046] In this system, radio frequency pulses are generated and excited by radio frequency generation equipment, gradient magnetic fields are generated by gradient generation equipment, and acquisition signals are generated by ADC converters. In addition, the magnetic resonance imaging system also includes a timing controller to control the timing of ADC generation of acquisition signals, the timing of radio frequency generation by radio frequency generation equipment, and the timing of gradient generation by gradient generation equipment.

[0047] Indicatively, parameter calculation logic refers to the parameters required to generate the various components in the target magnetic resonance sequence. For example, module 1 is used to implement the excitation function, including radio frequency pulse 1 and gradient 1. Therefore, parameter calculation logic is used to determine the pulse parameters required for radio frequency pulse 1 and the gradient parameters required for gradient 1.

[0048] Indicatively, the operating mode setting logic refers to the logic used to determine the operating mode of the hardware in a magnetic resonance imaging system in generating the target magnetic resonance sequence.

[0049] In other words, each candidate sequence module is used to control the hardware in the magnetic resonance imaging system to generate different parameters and different operating modes of the hardware. For example, module 1 is used to control the radio frequency generation device to generate radio frequency a at time 1 and to control the gradient generation device to generate gradient a at time 1. Module 2 is used to control the radio frequency generation device to generate radio frequency b at time 2, to control the gradient generation device to generate gradient b at time 2, to generate gradient c at time 3, and to control the ADC converter to generate the acquisition signal at time 2, which is used to acquire the scanning results of the target magnetic resonance sequence at time 2 (the scanning results are related to radio frequency a, gradient a, and gradient b). Time 1, time 2, and time 3 are all determined by the timing controller.

[0050] Optionally, the pulse parameters include at least one of the following: center frequency, pulse amplitude, pulse bandwidth, pulse shape, phase, repetition time (TR), or echo time (TE). Different pulse parameters determine different radio frequency pulses.

[0051] Pulse bandwidth refers to the frequency range of the radio frequency pulse.

[0052] Optionally, gradient parameters include gradient field strength, gradient switching rate, uniform volume, linearity, layer thickness, etc.

[0053] Slice thickness refers to the dimension of the imaging plane in the third dimension of the imaging space. In MRI, slice thickness represents a scanning plane of a certain thickness. Pulse bandwidth determines the slice thickness; that is, pulse bandwidth and slice thickness are positively correlated.

[0054] Therefore, when the magnetic resonance sequence is considered as a complete combination of radio frequency pulses and gradients, the candidate sequence module is a sub-combination of the complete combination.

[0055] Indicatively, a configuration file is a file or data information containing parameters such as radio frequency pulses, gradient magnetic fields, and signal acquisition, along with their timing arrangements.

[0056] Optionally, the configuration file includes impulse parameters, gradient parameters, timing parameters, delay parameters, etc.

[0057] The pulse parameters include parameters that define the shape, amplitude, and duration of the radio frequency pulse.

[0058] The gradient parameters include waveform, amplitude, or duration parameters corresponding to various gradient types (e.g., layer selection gradient, phase-coded gradient, and frequency-coded gradient). Gradient parameters are used to spatially locate the signal source, thereby generating an image with spatial resolution.

[0059] Among them, timing parameters refer to the timing relationship between radio frequency pulses, gradient magnetic fields, and signal acquisition.

[0060] The delay parameter refers to the delay time of signal acquisition, which ensures that the signal is acquired when it reaches its maximum value, thereby improving the signal-to-noise ratio.

[0061] Optionally, the multiple candidate sequence modules are independent sequence modules, that is, the radio frequency pulses and gradients contained in different candidate sequence modules are different. For example, module 1 includes pulse 1 and gradient 1, module 2 includes gradient 2 and gradient 3, and module 3 includes gradient 4; or, at least two candidate sequence modules include the same radio frequency pulse or gradient. For example, module 1 includes pulse 1 and gradient 1, module 2 includes gradient 1 and gradient 2, and module 3 includes pulse 1 and gradient 3. This application embodiment does not limit this.

[0062] Optionally, the configuration information is content to be filled, that is, the configuration parameter is not currently configured with a value, or the configuration information is initial configuration content, that is, the configuration parameter has an initial value, which can be adjusted later.

[0063] Where feasible, configuration information is displayed as a populated area.

[0064] Step 220: In response to the parameter input operation of the target sequence module, generate the configuration result information corresponding to the target sequence module.

[0065] The configuration result information includes the parameter values ​​of multiple configuration parameters after they have been configured.

[0066] As an illustration, the selection operation of a specified configuration file among multiple configuration files is taken as a module selection operation, and the candidate sequence module corresponding to the specified configuration file is taken as the target sequence module.

[0067] In a schematic example, when displaying configuration files corresponding to multiple candidate sequence modules, parameter modification operations (e.g., adjusting gradient parameter 1 from 90° to 180°) or parameter input operations (e.g., setting gradient parameter 2 to 0°) for each parameter in the configuration file (e.g., impulse parameter, gradient parameter, timing parameter, and delay parameter) are treated as parameter input operations.

[0068] In illustrative terms, parameter input operation refers to the operation of assigning values ​​to various configuration parameters in the configuration information.

[0069] Optionally, the configuration result corresponding to the configuration parameter is a fixed parameter value, such as a gradient parameter of 0°, or the configuration result corresponding to the configuration parameter is a parameter range, such as a gradient parameter of 0° to 180°. This application embodiment does not limit this.

[0070] Indicatively, the configuration result information is used to represent the parameter content after configuring the target configuration parameters of the target sequence module. Based on the configuration result information, the generated target RF pulse and / or target gradient are determined.

[0071] Optionally, the parameter content of the target radio frequency pulse and the parameter content of the target gradient are independent of each other. That is, after configuring the target radio frequency pulse, it is also necessary to configure the content of the target sequence module corresponding to the target gradient separately. Alternatively, there is a correlation between the parameter content of the target radio frequency pulse and the parameter content of the target gradient. That is, after configuring the target radio frequency pulse, some of the parameter content in the target radio frequency pulse can be directly used as some of the parameter content of the target gradient. Therefore, it is only necessary to configure the remaining parameter content of the target gradient. This application does not limit this aspect.

[0072] Step 230: Based on the configuration result information, generate the sequence result corresponding to the target sequence module.

[0073] Indicatively, the target magnetic resonance sequence is the result of a combination of all configured target radio frequency pulses and / or target gradients.

[0074] In illustrative terms, the sequence result is a partial combination of radio frequency pulses and / or gradients generated by the target sequence module after parameter configuration. Based on the sequence results corresponding to all the target sequence modules, the target magnetic resonance sequence is generated.

[0075] Optionally, the target magnetic resonance sequence can be displayed as a waveform; or, the target magnetic resonance sequence can be displayed as code content.

[0076] As an illustration, different target magnetic resonance sequences will produce different scan images when scanning the same target object.

[0077] The magnetic resonance sequence configuration method provided in this application pre-divides the magnetic resonance sequence into multiple candidate sequence modules and displays the configuration parameters corresponding to each candidate sequence module in the form of configuration information. By receiving parameter input operations for the target sequence module, the configuration result information corresponding to the target sequence module is determined, and the sequence result corresponding to the target sequence module is directly displayed based on the configuration result information. In other words, by adopting a configuration file approach, designers can directly generate the corresponding sequence result after configuring the configuration parameters of the candidate sequence modules, reducing the difficulty of sequence development and thus improving the generation efficiency of magnetic resonance sequences.

[0078] The following section provides a detailed explanation of how to configure magnetic resonance imaging (MRI) sequences. Please refer to the illustrative examples. Figure 3 This illustrates a flowchart of a magnetic resonance sequence configuration method provided in an exemplary embodiment of this application, specifically, step 220 includes steps 221 and 222, as follows: Figure 3 As shown, the method includes the following steps.

[0079] Step 221: Based on the parameter input operation, generate parameter input results corresponding to multiple configuration parameters.

[0080] For illustrative purposes, the parameter input result refers to the assignment result corresponding to the configuration parameter determined based on the user's operation.

[0081] In some embodiments, the multiple configuration parameters include at least one of the following parameter types: hardware parameters; module parameters; timing parameters; imaging parameters.

[0082] In this embodiment, if the configuration parameters are hardware parameters, they may include at least one of the following: receiving coil type, upper limit of gradient field strength, etc.

[0083] In this embodiment, if the configuration parameters are module parameters, they may include at least one of the following parameters: pulse frequency (unit: MHz), flip angle (unit: °), duration (unit: ms) of the excitation module, pulse phase of the re-convergence module, flip angle, and application timing (delay time relative to the start of TR). In this embodiment, if the configuration parameter is a timing parameter, it may include at least one of the following parameters: repetition time TR (unit: ms), echo time TE (unit: ms), acquisition window duration, etc. In this embodiment, if the configuration parameter is an imaging parameter, it may include at least one of the following parameters: field of view (FOV) (unit: mm), slice thickness (unit: mm), matrix size (number of rows and columns).

[0084] Step 222: If the parameter input results meet the parameter verification conditions, generate configuration result information.

[0085] In illustrative terms, parameter validation conditions refer to those used to verify whether the parameter input results are qualified to generate sequence results.

[0086] In some embodiments, the parameter verification conditions include at least one of the following conditions: the number of parameter input results reaches a preset number threshold; the parameter input results corresponding to multiple configuration parameters meet the timing condition; and the parameter input results corresponding to multiple configuration parameters meet the preset numerical condition.

[0087] As an illustration, the parameter input results are stored in a predefined file format, such as XML, JSON, YAML, etc.

[0088] First, based on the file format corresponding to the parameter input results, check whether the parameter input results meet the preset syntax conditions. Also, check whether the number of parameter input results reaches the preset threshold, that is, whether there are any missing fields in the configuration parameters.

[0089] Secondly, based on the preset timing conditions, determine the timing relationship between multiple configuration parameters, for example: repetition time TR > echo time TR, and refocusing pulse delay time < repetition time TR.

[0090] Next, based on the pre-set numerical thresholds for different configuration parameters, determine whether the values ​​of the configuration parameters are reasonable. For example, the pulse frequency should match the resonant frequency of the device (error ≤ 0.1%), and the layer thickness should be ≥ 1 mm and ≤ the maximum supported value of the device.

[0091] As an illustration, when the parameter input result meets at least one of the above parameter verification conditions, the configuration result information corresponding to the target sequence module is displayed. For details, please refer to the following configuration content.

[0092] se_ demo 1{ 2"sequence_info": { 3"name": "se_demo", 4"matrix"{ 5 rows: 256 6 columns: 256 7} 8"dimension": "2D", 9"num_of_slice": 1, 10} l1"modules": l2"Excitation": { 13"pulse": "gause", 14"FA": 90, 15"duration": "2ms" 16} 17"Refocus": { 18"pulse": "sinc_ 4tbw", 19"FA": 180, 20"duration": "5ms twenty one} 22"Acquisition":{ 23"kSpace": "Cartesian", 24"bandwidth": "200kHz", 25"partial_ echo": "80%" 26} 27"MagCtrl":{ 28"axis": ["Gx", "Gy", "Gz"], 29 "moment": "2л" 30} 31} 32} In some embodiments, the reference code content corresponding to the target sequence module is obtained; the parameter values ​​in the configuration result information are written into the corresponding positions in the reference code content to generate the sequence result corresponding to the target sequence module.

[0093] To illustrate, when dividing multiple candidate sequence modules, each candidate sequence module is pre-encapsulated with corresponding module code (i.e., reference code content). Different reference code contents correspond to different positions within the candidate sequence modules. Furthermore, the generation method of the target magnetic resonance sequence is implemented by a pre-defined programming framework (C++ sequence framework). When the programming framework reads the configuration result information corresponding to the target sequence module, it calls the corresponding module code and passes the configuration result information to the module code to generate the sequence result corresponding to the target sequence module. For example, based on the parameter values ​​of the configuration information filled in the excitation module, excitation pulse generation code that meets the requirements is generated; based on the parameter values ​​of the configuration information filled in the convergence module, corresponding convergence pulse control code is generated.

[0094] In some embodiments, the above method is used to configure multiple target sequence modules; and to generate a target magnetic resonance sequence based on the sequence results corresponding to the multiple target sequence modules respectively.

[0095] As an illustration, the configuration method provided in this embodiment can configure not only one target sequence module, but also multiple target sequence modules. Therefore, when multiple target sequence modules are configured, a target magnetic resonance sequence is generated based on the sequence results corresponding to each of the multiple target sequence modules.

[0096] The magnetic resonance sequence configuration method provided in this application pre-decomposes complex magnetic resonance sequences into standardized candidate sequence modules (such as excitation modules, reconvergence modules, readout modules, etc.) and provides structured configuration information (including hardware parameters, timing parameters, imaging parameters, etc.) for each module. Designers only need to complete the configuration through intuitive parameter input operations, and the system can automatically verify the validity of the parameters and fill the configuration values ​​into the preset module code template, directly generating executable sequence results or code segments. This approach liberates magnetic resonance sequence development from low-level code writing and tedious debugging, bringing the following significant benefits: Significantly reduces the development threshold and difficulty: Developers do not need to deeply understand all the low-level hardware control and timing arrangement details; sequence design can be completed through a configuration interface, reducing the professional knowledge requirements. Significantly improves development efficiency: Through modular reuse and configuration-based generation, repetitive code writing and manual debugging processes are avoided, enabling the rapid construction and iteration of different magnetic resonance sequences, shortening the development cycle. Ensuring sequence standardization and reliability: Built-in parameter verification mechanisms (such as quantity thresholds, timing logic, and numerical range checks) ensure the rationality of configuration parameters and the correctness of sequence logic, reducing human error and improving the stability and reliability of generated sequences. Enhancing maintainability and scalability: The modular design makes the sequence structure clear. When modifications or new functions need to be added, only the configuration templates of the corresponding modules need to be adjusted or added, facilitating system maintenance and functional expansion. Promoting sequence standardization and knowledge accumulation: Solidifying mature sequence design patterns into configurable modules is beneficial for knowledge accumulation and best practice sharing within the team, promoting the standardization of sequence design.

[0097] In this embodiment, through the above specific implementation methods, developers can easily develop magnetic resonance sequences with the help of configuration files, effectively reducing development difficulty, development time, and improving development efficiency, code readability, and maintainability without affecting execution performance.

[0098] The different candidate sequence modules will be explained in detail below.

[0099] Excitation module: Contains radio frequency (RF) pulses and gradients. The RF pulses are used to excite the scanned object to generate a transverse magnetization vector. When applying the RF pulse, a gradient can be omitted for non-layer-selective excitation; alternatively, a gradient can be applied simultaneously for layer-selective excitation, exciting objects within a specific space. In this case, the gradient is called the layer-selective gradient. The amplitude of the layer-selective gradient is related to the RF bandwidth, satisfying the following formula 1: Formula 1:

[0100] in, The magnitude of the gradient for the selected layer. The bandwidth of the radio frequency pulse. It is the gyromagnetic ratio. The layer thickness for selective excitation.

[0101] Please refer to Figure 4 It illustrates a schematic diagram of an excitation module provided in an exemplary embodiment of this application, such as... Figure 4 As shown, the excitation module includes radio frequency pulses, layer selection gradients, and phase convergence gradients (used to converge signals generated in the layer direction).

[0102] Among them, selecting gradient and phase gradient is optional, that is, the excitation module can also include radio frequency pulses.

[0103] After applying the radio frequency pulse, a gradient can be applied to control the resulting transverse magnetization vector. This gradient is called the selective phase-gathering gradient (or simply phase-gathering gradient). One implementation scheme is to make it the same as the selective phase-gathering gradient axis but with opposite polarity. Its area is determined by the properties related to the radio frequency pulse and the selective phase-gathering gradient. Specifically, the area of ​​the selective phase-gathering gradient is the area of ​​the selective phase-gathering gradient from the start of the radio frequency equivalent excitation point to the end of the selective phase-gathering gradient.

[0104] The reconvergence module includes radio frequency (RF) and gradient components, used to reconverge the generated transverse magnetization vector. When applying the RF pulse, a gradient can be omitted for non-layer-selective reconvergence; alternatively, a gradient can be applied for layer-selective reconvergence. The magnitude of the layer-selective reconvergence gradient is related to the applied reconvergence RF bandwidth, satisfying the following formula 2: Formula 2:

[0105] in, The gradient magnitude for selected layer reconvergence. For the bandwidth of the re-converging radio frequency pulse, The layer thickness for selective polymerization is usually consistent with the layer thickness for selective excitation.

[0106] like Figure 5 As shown, gradients can be applied to both sides of the RF pulse to control the generated transverse magnetization vector. One implementation scheme is to apply the same gradient to both sides of the reconvergence pulse, called a destructive gradient. Since each RF pulse generates a new transverse magnetization vector, the magnetic resonance signal generated by the reconvergence pulse itself will be filtered out by applying the destructive gradient. However, the magnetic resonance signal generated before the reconvergence pulse will be reconverged normally and will not be filtered out. The destructive gradient can be applied to different axes (e.g., GRO and GSS, or other axes) to filter signals generated on different axes.

[0107] The readout module contains gradient and analog-to-digital converter (ADC) devices for acquiring the generated transverse magnetization vector. A gradient, called the readout gradient, can be applied synchronously when using the ADC to frequency-encode the generated transverse magnetization vector. The magnitude of the readout gradient is related to the ADC bandwidth, satisfying the following formula 3: Formula 3:

[0108] in, The amplitude is the frequency-coded value. The bandwidth of the ADC is set. Image size in the frequency encoding direction.

[0109] like Figure 6 As shown, the readout module can also contain only the gradient without enabling the ADC. Before and after enabling the ADC, the gradient can be applied independently to control the magnetic resonance signal. One example is: before enabling the ADC and the readout gradient, a gradient with the same axis but opposite polarity as the readout gradient is applied, called a pre-dephasing gradient. This pre-dephasing of the already generated transverse magnetization vector produces an echo signal during the application of the readout gradient. The area of ​​the pre-dephasing gradient is determined by the properties of the readout gradient and the ADC. A common setting is that the area of ​​the pre-dephasing gradient is the area from the start of the readout gradient to the time corresponding to the echo center in the acquired ADC signal (i.e., the TE time in the magnetic resonance sequence).

[0110] In a feasible scenario, after the ADC and readout gradients are applied, another gradient is applied to dephase the residual magnetic resonance signal. This gradient is called the dephasing gradient. By applying the dephasing gradient, the magnetic resonance signal can be attenuated, preventing it from interfering with the subsequently generated magnetic resonance signal. The dephasing gradient can be coaxial with or non-coaxial with the readout gradient.

[0111] Magnetization preparation module: This module includes gradient and radio frequency (RF) operations. By applying RF and gradient, the longitudinal magnetization vector is manipulated. Common magnetization preparation modules include inversion recovery mode, fat suppression mode, saturation mode, and T2 preparation mode. Inversion recovery, a pulse is applied to reverse the magnetization vector from positive to negative; this pulse is called the inversion pulse. A gradient can be applied simultaneously with the inversion pulse to invert tissue at a specific spatial location. Therefore, this gradient is used as the layer-selective inversion gradient. A schematic diagram is shown below. Figure 7 As shown. The magnitude of the applied inversion gradient and the applied inversion pulse are related by the following formula 4: Formula 4:

[0112] in The gradient magnitude of the selected layer inversion. To invert the bandwidth of the radio frequency pulse, The layer thickness for selective inversion can be selected; alternatively, no gradient can be applied to invert the tissue across the entire space. After applying the inversion pulse, a gradient can be applied to eliminate dephasing of the generated transverse magnetization vector.

[0113] like Figure 8 As shown, the saturation mode is similar to the inversion recovery in implementation, except that the applied pulse is often close to 90 degrees, so that there is less remaining longitudinal magnetization vector.

[0114] Magnetization control module: This module includes gradient and radio frequency (RF) inputs. By applying RF and gradient, it controls the transverse magnetization vector. Common magnetization control modules include gradient-encoded mode, dephasing mode, and drive-back balance mode. For example... Figure 9 The dispersion mode under the magnetization control module and Figure 10 As shown in the drive-back balance mode under the magnetization control module. Figure 9 and Figure 10 Gradients were applied on the GRO, GSS, and GPE axes respectively. Figure 9 It contains only the dephasing gradients on three axes. Figure 10 Includes radio frequency, layer selection gradient, and dephasing gradient. Figure 9 The three axes of the system are used to encode the generated transverse magnetization vector. The gradient area of ​​the gradient encoding changes according to a certain rule, such as increasing or decreasing sequentially (e.g., GPE axis), until the expected K-space encoding is completed. The dephasing module only contains gradients, and its gradient area is generally large, used to eliminate dephasing in the generated transverse magnetization vector. The drive-back balancing module, containing radio frequency (RF) and gradients, is used to reverse the transverse magnetization vector to the longitudinal direction, facilitating the generation of subsequent magnetic resonance signals. The drive-back balancing module contains an RF pulse, a slice selection gradient (optional), and a set of dephasing gradients. When the RF pulse and slice selection gradient are applied simultaneously, the transverse magnetization vector of the tissue at a specific location in space is flipped to the longitudinal direction. If only the RF pulse is applied without the slice selection gradient, the transverse magnetization vector at all locations in space is flipped to the longitudinal direction. After the RF pulse is applied, gradients are applied again to eliminate the dephasing of the remaining transverse magnetization vector, so as not to interfere with the subsequently generated magnetic resonance signals.

[0115] Timing control module: Composed of structures other than radio frequency (RF) and gradient, it controls the timing of the sequence. Common timing control modules include trigger scan signals, trigger peripheral signals, and blank time. A trigger scan signal indicates that the MRI system begins executing the MRI sequence scan upon receiving a certain signal; common trigger signals include respiratory, ECG, and pulse signals. Trigger peripheral signals indicate that when the MRI sequence reaches a certain point, a corresponding signal is emitted, and certain external hardware devices operate based on this signal. Blank time refers to the period without RF, gradient, or other hardware interaction; it is used to control the execution time of various modules in the sequence to achieve the purpose of controlling the recovery of the longitudinal magnetization vector or the decay of the transverse magnetization vector.

[0116] Step 241: Based on the module combination rules corresponding to multiple target sequence modules, the configuration sub-results are integrated to obtain the target magnetic resonance sequence.

[0117] Among them, the module combination rule is related to the sequence correlation between multiple target sequence modules. The module combination rule is a pre-encapsulated rule, and the module configuration result includes the configuration sub-results corresponding to multiple target sequence modules respectively. In illustrative terms, after obtaining the module configuration results of multiple target sequence modules, the combination method of multiple target sequence modules is determined according to the pre-encapsulated sequence correlation, and finally the waveform of the target magnetic resonance sequence is generated.

[0118] Figure 11 This is a waveform diagram of a GRE sequence. Figure 12 The GRE sequence consists of modules within a repetition time period, which include an excitation module, a magnetization control module (gradient encoding module and dephasing mode), a readout module, and a timing control module (blank time mode). Figures 13-14 This diagram illustrates the waveform of the SE sequence and its module composition within one repetition time. It is evident that although these are two different types of magnetic resonance sequences, their module composition has a high degree of repetition; the SE sequence only adds a reconvergence module. Therefore, by rationally designing each module of the magnetic resonance sequence and implementing the relevant computational logic and hardware operation methods within each module, high reusability of each module can be achieved in different magnetic resonance sequences, reducing the difficulty and workload of magnetic resonance sequence design.

[0119] The magnetic resonance sequence configuration method provided in this application pre-decomposes complex magnetic resonance sequences into standardized candidate sequence modules (such as excitation modules, reconvergence modules, readout modules, etc.) and provides structured configuration information (including hardware parameters, timing parameters, imaging parameters, etc.) for each module. Designers only need to complete the configuration through intuitive parameter input operations, and the system can automatically verify the validity of the parameters and fill the configuration values ​​into the preset module code template, directly generating executable sequence results or code segments. This approach liberates magnetic resonance sequence development from low-level code writing and tedious debugging, bringing the following significant benefits: Significantly reduces the development threshold and difficulty: Developers do not need to deeply understand all the low-level hardware control and timing arrangement details; sequence design can be completed through a configuration interface, reducing the professional knowledge requirements. Significantly improves development efficiency: Through modular reuse and configuration-based generation, repetitive code writing and manual debugging processes are avoided, enabling the rapid construction and iteration of different magnetic resonance sequences, shortening the development cycle. Ensuring sequence standardization and reliability: Built-in parameter verification mechanisms (such as quantity thresholds, timing logic, and numerical range checks) ensure the rationality of configuration parameters and the correctness of sequence logic, reducing human error and improving the stability and reliability of generated sequences. Enhancing maintainability and scalability: The modular design makes the sequence structure clear. When modifications or new functions need to be added, only the configuration templates of the corresponding modules need to be adjusted or added, facilitating system maintenance and functional expansion. Promoting sequence standardization and knowledge accumulation: Solidifying mature sequence design patterns into configurable modules is beneficial for knowledge accumulation and best practice sharing within the team, promoting the standardization of sequence design.

[0120] This is illustrative; please refer to it. Figure 15 This illustration shows a schematic diagram of a magnetic resonance sequence configuration apparatus provided in an exemplary embodiment of this application, wherein the program update apparatus may specifically include the following modules: The information providing module 1510 is used to display configuration information corresponding to multiple candidate sequence modules, the configuration information including multiple configuration parameters corresponding to the candidate sequence modules; Result generation module 1520 is used to generate configuration result information corresponding to the target sequence module in response to parameter input operation on the target sequence module. The configuration result information includes parameter values ​​after the plurality of configuration parameters are configured respectively. The sequence construction module 1520 is used to generate the sequence result corresponding to the target sequence module based on the configuration result information.

[0121] Optionally, the information providing module 1510 is further configured to generate parameter input results corresponding to the plurality of configuration parameters based on the parameter input operation; and generate configuration result information when the parameter input results meet the parameter verification conditions; wherein the parameter verification conditions include at least one of the following: the number of parameter input results reaches a preset number threshold; the parameter input results corresponding to the plurality of configuration parameters meet a timing condition; and the parameter input results corresponding to the plurality of configuration parameters meet a preset numerical condition.

[0122] Optionally, the result generation module 1520 is further configured to obtain the reference code content corresponding to the target sequence module; write the parameter values ​​in the configuration result information into the corresponding positions in the reference code content, and generate the sequence result corresponding to the target sequence module.

[0123] Optionally, the plurality of configuration parameters include at least one of the following parameter types: hardware parameters; module parameters; timing parameters; imaging parameters.

[0124] Optionally, the method includes configuring multiple target sequence modules; The information providing module 1510 is also used to generate a target magnetic resonance sequence based on the sequence results corresponding to the plurality of target sequence modules respectively.

[0125] The magnetic resonance sequence configuration device provided in this application pre-decomposes complex magnetic resonance sequences into standardized candidate sequence modules (such as excitation modules, reconvergence modules, readout modules, etc.) and provides structured configuration information (including hardware parameters, timing parameters, imaging parameters, etc.) for each module. Designers only need to complete the configuration through intuitive parameter input operations, and the system can automatically verify the validity of the parameters and fill the configuration values ​​into the preset module code template, directly generating executable sequence results or code segments. This approach liberates magnetic resonance sequence development from low-level code writing and tedious debugging, bringing the following significant benefits: Significantly reduces the development threshold and difficulty: Developers do not need to deeply understand all the low-level hardware control and timing arrangement details; sequence design can be completed through a configuration interface, reducing the professional knowledge requirements. Significantly improves development efficiency: Through modular reuse and configuration-based generation, repetitive code writing and manual debugging processes are avoided, enabling the rapid construction and iteration of different magnetic resonance sequences, shortening the development cycle. Ensuring sequence standardization and reliability: Built-in parameter verification mechanisms (such as quantity thresholds, timing logic, and numerical range checks) ensure the rationality of configuration parameters and the correctness of sequence logic, reducing human error and improving the stability and reliability of generated sequences. Enhancing maintainability and scalability: The modular design makes the sequence structure clear. When modifications or new functions need to be added, only the configuration templates of the corresponding modules need to be adjusted or added, facilitating system maintenance and functional expansion. Promoting sequence standardization and knowledge accumulation: Solidifying mature sequence design patterns into configurable modules is beneficial for knowledge accumulation and best practice sharing within the team, promoting the standardization of sequence design.

[0126] See Figure 16 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 16 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 16 (Only one is shown in the image) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described embodiment of the magnetic resonance sequence configuration method.

[0127] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 5 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0128] The processor 1010 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0129] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating system, program content, boot loader, data, and other programs, such as program code of computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.

[0130] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0132] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0133] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0135] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0136] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, swivel hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0137] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.

[0138] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for configuring a magnetic resonance sequence, characterized in that, The method is applied to a terminal device, and the method includes: The system displays configuration information for multiple candidate sequence modules, including various configuration parameters corresponding to each candidate sequence module. In response to the parameter input operation of the target sequence module, configuration result information corresponding to the target sequence module is generated, and the configuration result information includes the parameter values ​​after the plurality of configuration parameters are configured respectively; Based on the configuration result information, the sequence result corresponding to the target sequence module is generated.

2. The method according to claim 1, characterized in that, The configuration result information corresponding to the module that generates the target sequence includes: Based on the parameter input operation, parameter input results corresponding to the plurality of configuration parameters are generated respectively; if the parameter input results meet the parameter verification conditions, the configuration result information is generated; wherein, the parameter verification conditions include at least one of the following: The number of parameter input results reaches a preset threshold. The parameter input results corresponding to the multiple configuration parameters meet the timing conditions; The parameter input results corresponding to the multiple configuration parameters meet the preset numerical conditions.

3. The method according to claim 1, characterized in that, The step of generating the sequence result corresponding to the target sequence module based on the configuration result information includes: Obtain the reference code content corresponding to the target sequence module; Write the parameter values ​​from the configuration result information into the corresponding positions in the reference code content to generate the sequence result corresponding to the target sequence module.

4. The method according to claim 1, characterized in that, The plurality of configuration parameters include at least one of the following parameter types: Hardware parameters; Module parameters; Timing parameters; Imaging parameters.

5. The method according to claim 1, characterized in that, The method includes configuring multiple target sequence modules; The method further includes: The target magnetic resonance sequence is generated based on the sequence results corresponding to the multiple target sequence modules.

6. A magnetic resonance sequence configuration apparatus, characterized in that, The device includes: An information providing module is used to provide configuration information corresponding to multiple candidate sequence modules, the configuration information including multiple configuration parameters corresponding to the candidate sequence modules; a result generating module is used to generate configuration result information corresponding to the target sequence module in response to a parameter input operation on the target sequence module, the configuration result information including parameter values ​​after the multiple configuration parameters are configured; and a sequence construction module is used to generate a sequence result corresponding to the target sequence module based on the configuration result information.

7. A magnetic resonance imaging (MRI) device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.

8. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method for configuring magnetic resonance sequences as described in any one of claims 1 to 5.

10. A computer program product, characterized in that, It includes a computer program, which, when run, causes the method for configuring a magnetic resonance sequence as described in any one of claims 1 to 5 to be performed.