WO2022140988A1 - Interruption processing method and system, and electronic device and computer storage medium - Google Patents

Interruption processing method and system, and electronic device and computer storage medium Download PDF

Info

Publication number
WO2022140988A1
WO2022140988A1 PCT/CN2020/140391 CN2020140391W WO2022140988A1 WO 2022140988 A1 WO2022140988 A1 WO 2022140988A1 CN 2020140391 W CN2020140391 W CN 2020140391W WO 2022140988 A1 WO2022140988 A1 WO 2022140988A1
Authority
WO
WIPO (PCT)
Prior art keywords
radiotherapy
interruption
target object
radiation therapy
dose
Prior art date
Application number
PCT/CN2020/140391
Other languages
French (fr)
Chinese (zh)
Inventor
付凯强
付鹏程
李超
李立谏
Original Assignee
西安大医集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西安大医集团股份有限公司 filed Critical 西安大医集团股份有限公司
Priority to PCT/CN2020/140391 priority Critical patent/WO2022140988A1/en
Priority to CN202080108248.3A priority patent/CN116829229A/en
Publication of WO2022140988A1 publication Critical patent/WO2022140988A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N5/00Radiation therapy
    • A61N5/10X-ray therapy; Gamma-ray therapy; Particle-irradiation therapy

Definitions

  • the embodiments of the present application relate to the technical field of radiotherapy, and in particular, to an interrupt processing method, system, electronic device, and computer storage medium.
  • Radiation therapy is a treatment method that uses radiation to treat tumors.
  • the tumor is irradiated with radiation to cause tumor cell necrosis or apoptosis, so as to achieve the purpose of tumor treatment.
  • Radiation is generated by radiotherapy equipment, and the structure of the radiotherapy equipment itself is relatively complex, which may roughly include a treatment couch, a gantry, and a treatment head arranged on the gantry.
  • the patient is fixed on the treatment bed, and the radiation generated by the treatment head is focused and then irradiated to the patient's target.
  • the control device of the radiotherapy equipment needs to store the radiation therapy amount irradiated to the current target in the database server in real time. Since the radiotherapy equipment, control equipment and database server all have the possibility of abnormality, when this possibility occurs, the radiotherapy equipment will interrupt the radiotherapy, and the radiotherapy plan for this radiotherapy process will not be completed, thus affecting the patient's safety. effect of radiation therapy. It can be seen that how to deal with the interruption of radiotherapy to ensure effective continuous treatment of patients has become a technical problem that needs to be solved urgently at present.
  • one of the technical problems solved by the embodiments of the present invention is to provide an interrupt processing method, system, electronic device, and computer storage medium, so as to solve at least the above technical problems.
  • an interruption processing method comprising: acquiring a first radiation to a target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption Treatment amount, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiation treatment amount is 0; the second radiotherapy dose to the target object before the first interruption, determining the third radiotherapy dose of the radiotherapy device to the target object before the i-th interruption; sending the third radiotherapy to the database server treatment amount to update the radiation treatment amount of the target object stored in the database server.
  • an interrupt processing system comprising: a database server, a control device communicatively connected to the database server, and a radiotherapy device communicatively connected to the control device,
  • the control device is configured to execute the interrupt processing method described in the first aspect of the embodiments of the present application.
  • an electronic device includes a processor and a memory, the memory stores program instructions, and the processor is configured to call the program instructions in the memory to execute the interrupt processing method described in the first aspect of the embodiments of the present application.
  • a computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions are configured to cause a processor to execute The processor executes the interrupt processing method according to the first aspect of the embodiments of the present application.
  • This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server.
  • the radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
  • FIG. 1A is an architectural diagram of an interrupt processing system provided by an embodiment of the present application.
  • FIG. 1B is a flowchart of the steps of the interrupt processing method provided by Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of steps of an interrupt processing method provided in Embodiment 2 of the present application;
  • FIG. 3 is a schematic structural diagram of an interrupt processing system provided in Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
  • FIG. 1A is a structural diagram of an interrupt processing system provided by an embodiment of the present application.
  • the interrupt processing system provided in this embodiment of the present application includes a radiotherapy device 10 , a control device 20 communicatively connected to the radiotherapy device 10 , and a database server 30 communicatively connected to the control device 20 .
  • the radiotherapy apparatus 10 may include a treatment head.
  • the radiotherapy apparatus 10 can be of various types, such as X-ray therapy machine, cobalt-60 therapy machine, linear accelerator, stereotactic radiotherapy device-gamma knife or stereotactic radiotherapy device X-knife and the like.
  • the specific structure of the treatment head may be different.
  • the radiotherapy equipment 10 is a linear accelerator
  • the treatment head is arranged on the gantry, including: an X-ray generating device
  • the collimator may be a multi-leaf collimator MLC.
  • the X-ray generating device of the linear accelerator may include: an electron gun for emitting an electron beam, an accelerating tube for accelerating the electron beam, a microwave system for providing the accelerating tube with radio frequency power required for establishing an acceleration field, X-ray conversion for the electron beam and A radiation system that equalizes the output, etc.
  • the treatment head when the radiotherapy apparatus 10 is a stereotactic radiotherapy device- ⁇ knife, the treatment head includes a shield body, a source body and a collimator in sequence from the outside to the inside, wherein the source body carries the radiation source, and the collimator A collimating hole is provided, and the gamma rays emitted by the radiation source are focused at the isocenter of the radiotherapy apparatus 10 through the collimating hole and can be rotated around the rotation axis.
  • the control device 20 may be a desktop computer, a laptop computer, a tablet computer, or other intelligent electronic devices with control capability, in order to control the radiotherapy device 10 to target the patient according to the radiotherapy plan
  • the control device 20 is equipped with application software for controlling the work of the radiation therapy device 10, which can be a console for controlling the radiation therapy device 10, and communicates with the radiation therapy device 10 in a wired or wireless manner.
  • the treatment device 10 is connected and communicates with the radiation treatment device 10 through the connection channel.
  • the radiotherapy device 10 and the control device 20 may be connected through a mobile network such as GSM, GPRS, LTE, etc., or through a communication connection such as Bluetooth, WIFI, infrared, or the like.
  • the specific communication connection manner between the radiotherapy apparatus 10 and the control apparatus 20 is not limited.
  • the database server 30 can be understood as a server with a database service installed, the database server 30 is connected to the control device 20 by wire or wirelessly, and communicates with the control device 20 through a connection channel. Device 20 communicates.
  • the communication connection between the control device 20 and the database server 30 may be realized through a mobile network such as GSM, GPRS, LTE, or through a communication connection such as Bluetooth, WIFI, infrared, and the like.
  • the specific communication connection manner between the control device 20 and the database server 30 is not limited.
  • the control apparatus 20 needs to store the radiotherapy amount of the target of the patient by the radiotherapy apparatus 10 in the database server in real time. Since the radiotherapy device 10, the control device 20 and the database server 30 all have abnormal conditions, the occurrence of this situation will cause the interruption of the radiotherapy process of the target, and further cause the data stored in the database server to be interrupted.
  • the radiation therapy dose to the target may not be equal to the actual radiation therapy dose to the target. In this way, the correctness of the radiotherapy amount of the continuous treatment of the target after the interruption of the radiotherapy will be affected, and the safety of the continuous treatment of the target will be affected.
  • the control device 20 can detect that the database server is abnormal through the IP address and port number in the local socket , and then generate a radiotherapy interruption request, and send the radiotherapy interruption request to the radiotherapy apparatus 10 , and the radiotherapy apparatus 10 interrupts the radiotherapy to the target according to the radiotherapy interruption request.
  • the radiotherapy dose of the target stored in the database in the database server 30 is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the database server is abnormal, and the target is in the corresponding radiotherapy dose.
  • the actual radiotherapy dose of the radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target.
  • the radiotherapy apparatus 10 interrupts the radiotherapy to the target later, which will result in the target stored in the database in the database server 30.
  • the radiotherapy dose of the target is less than the actual radiotherapy dose of the target in the corresponding radiotherapy plan, which will lead to the high radiotherapy dose of the continuous treatment after the radiotherapy is interrupted, which will endanger the life safety of the patient.
  • the controller in the radiotherapy device 10 waits for a preset period of time after If the heartbeat signal sent by the control device 20 has not been received, it is determined that the control device 20 is abnormal.
  • the preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application. Then, the controller in the radiotherapy apparatus 10 controls the radiotherapy apparatus 10 to discontinue the radiotherapy to the target.
  • the radiotherapy dose of the target stored in the database in the database server 30 is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the control device 20 is abnormal, and the target is in the corresponding radiotherapy dose.
  • the actual radiotherapy dose of the radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target. Since the abnormality occurs in the control device 20 before the time point when the radiotherapy device 10 interrupts the radiotherapy to the target point is later, the target point stored in the database in the database server 30 will be affected.
  • the radiotherapy dose of the target is less than the actual radiotherapy dose of the target in the corresponding radiotherapy plan, which will lead to the high radiotherapy dose of the continuous treatment after the radiotherapy is interrupted, which will endanger the life safety of the patient.
  • the controller in the radiotherapy apparatus 10 controls the radiotherapy apparatus 10 to interrupt the radiotherapy to the target. If the control device 20 has not received the confirmation signal for the heartbeat signal sent by the controller in the radiotherapy device 10 after waiting for a preset period of time, it is determined that the radiotherapy device 10 is abnormal.
  • the preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application.
  • the radiation therapy amount of the target point stored in the database in the database server 30 is the cumulative radiation therapy amount of the target point in the corresponding radiation therapy plan when the control device 20 determines that the radiation therapy device 10 is abnormal.
  • the actual radiotherapy dose of the target in the corresponding radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target. Since the radiotherapy apparatus 10 interrupts the radiotherapy to the target before the time point, the control apparatus 20 determines that the abnormality occurs in the radiotherapy apparatus 10 after the time point, which will cause the database server 30 to The radiation therapy dose of the target stored in the database in the database is greater than the actual radiation therapy dose of the target in the corresponding radiation therapy plan, which will lead to a low radiation therapy dose of the target after the radiation therapy is interrupted, which will affect the patient. target therapeutic effect.
  • the embodiment of the present application obtains the first radiation therapy amount for the target object when the radiation therapy equipment recovers from the i-1th interruption to the ith interruption, where i is greater than or equal to 1 integer, and when i is equal to 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the radiotherapy device before the i-1th interruption to the target object second
  • the amount of radiotherapy which can accurately determine the third radiotherapy dose to the target object by the radiotherapy device before the ith interruption, and then send the third radiotherapy dose to the database server to update the
  • the radiation therapy amount of the target object stored in the database server can handle the interruption of radiation therapy, and effectively ensure the correctness of the radiation therapy amount of the target object stored in the database server, and then the target object is stored in the database server. Under the condition that the total amount of radiotherapy of the target object is constant, the correctness of the radiotherapy amount
  • FIG. 1B is a flow chart of the steps of the interrupt processing method provided in Embodiment 1 of the present application.
  • the interrupt processing method is applied to the control device, and the control device is respectively connected in communication with the radiotherapy device and the database server.
  • the interrupt processing method provided by this embodiment includes the following steps:
  • step S101 the first radiation therapy amount to the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption is acquired.
  • the radiation therapy amount may be an irradiation amount, such as a dose, corresponding to the radiation therapy duration. Since the radiation amount in a unit duration is fixed, the radiation therapy amount may also be the radiation therapy duration.
  • the target object may be a patient's target or a patient's tumor target. Specifically, when acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption, by reading the radiotherapy apparatus from the controller of the radiotherapy apparatus The radiotherapy apparatus recovers from the i-1th interruption to the first radiotherapy amount for the target object at the i-th interruption.
  • the controller of the radiotherapy apparatus may be a programmable logic controller, and the first radiotherapy amount may be understood as the time period during which the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption , the radiation therapy amount of the radiation therapy equipment to the target object. In this way, it is not necessary to consider the influence of the data transmission delay on the radiation therapy volume, and the correctness of the radiation therapy volume of the subsequent treatment of the target object is fundamentally guaranteed.
  • the method before the obtaining of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method further includes: if it is detected that When an abnormality occurs in the database server, a radiotherapy interruption request is generated, and the radiotherapy interruption request is sent to the controller of the radiotherapy apparatus, so that the controller controls the radiotherapy according to the radiotherapy interruption request.
  • the treatment device interrupts the radiation therapy for the target object for the i-th time; if it is detected that the database server is back to normal, a loading instruction for the radiation therapy plan for the target object is received, and according to the loading instruction, the The step of acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption.
  • the radiation therapy plan of the target object may include the total amount of planned radiation therapy for the target object, the radiation therapy mode of the target object, and the like.
  • the execution of the acquisition of the radiotherapy equipment from the i-1th interruption to the ith can effectively ensure the correctness of the radiation therapy dose of the target object in the subsequent treatment when the database server is abnormal and the treatment of the target object is interrupted, thereby effectively guaranteeing the target object The safety of the subject's subsequent treatment.
  • the control device can detect whether the database server is abnormal or returns to normal through the IP address and port number in the local socket. If the control device cannot communicate with the database service in the database server through the IP address and port number in the local socket, it is detected that the database server is abnormal. If the control device can communicate with the database service in the database server through the IP address and port number in the local socket, it is detected that the database server is back to normal.
  • the loading instruction may be an instruction generated according to the user's click operation on the treatment plan loading control in the device control page in the control device.
  • the method before the obtaining of the radiotherapy equipment from the i-1th interruption is restored to the i-th interruption of the first radiotherapy amount for the target object, the method further includes: if the The control device of the radiotherapy device returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy device from the i-1th interruption to recovery from the i-1th interruption to the ith The step of delivering the first radiation therapy dose to the target subject at i interruptions.
  • the loading instruction may be an instruction generated according to the user's click operation on the treatment plan loading control in the device control page in the control device.
  • the step of applying the first radiation therapy dose to the target object at the time of interruption can effectively ensure the correctness of the radiation therapy dose of the subsequent treatment of the target object when the abnormality of the control equipment causes the treatment of the target object to be interrupted, thereby effectively ensuring the target object's radiation therapy.
  • the safety of follow-up treatment can effectively ensure the correctness of the radiation therapy dose of the subsequent treatment of the target object when the abnormality of the control equipment causes the treatment of the target object to be interrupted, thereby effectively ensuring the target object's radiation therapy.
  • step S102 according to the first radiotherapy dose and the second radiotherapy dose of the radiotherapy device to the target object before the i-1th interruption, it is determined that the radiotherapy device is interrupted at the ith time A third dose of radiation therapy to the target subject previously.
  • the second radiotherapy dose may be understood as the cumulative radiotherapy dose to the target object by the radiotherapy apparatus before the i-1th interruption.
  • the second radiation therapy of the radiotherapy apparatus to the target object before the i-1th interruption and the first radiotherapy dose is added to obtain an addition result, and the addition result is determined to be the third radiotherapy dose.
  • step S103 the third radiotherapy dose is sent to the database server to update the radiotherapy dose of the target object stored in the database server.
  • the method further comprises replacing the second radiation therapy volume with the third radiation therapy volume after the ith interruption of the radiation therapy device resumes. Therefore, by replacing the second radiation therapy volume with the third radiation therapy volume, it is convenient to subsequently accurately determine the third radiation therapy performed by the radiation therapy device on the target object before the i+1th interruption. quantity.
  • the second radiotherapy dose when it is confirmed that the second radiotherapy dose is smaller than the third radiotherapy dose, the second radiotherapy dose is used.
  • a third amount of radiation therapy replaces the second amount of radiation therapy.
  • the third radiotherapy dose for the target object is obtained from the database server;
  • the third radiotherapy dose obtained in the database server replaces the second radiotherapy dose.
  • the method before the determining a third amount of radiation therapy to the target object by the radiation therapy device before the ith interruption, the method further comprises: obtaining the second radiation therapy from a temporary file radiation therapy volume; correspondingly, replacing the second radiation therapy volume with the third radiation therapy volume includes: replacing the second radiation therapy volume in the temporary file with the third radiation therapy volume quantity.
  • replacing the second radiotherapy amount in the temporary file with the third radiotherapy amount it is convenient to subsequently accurately determine that the radiotherapy equipment has performed the radiotherapy before the i+1th interruption.
  • the third radiation therapy dose for the target subject before the determining a third amount of radiation therapy to the target object by the radiation therapy device before the ith interruption.
  • the temporary file stored on the local disk of the control device is pre-stored with the second radiation therapy amount of the target object by the radiation therapy device before the i-1th interruption.
  • the temporary file may be a temporary file generated by the control device on the local disk when the control device controls the radiotherapy device to start performing radiotherapy on the target object before the i-1th interruption, and the temporary file records the target object
  • the information may include the identification information of the target object, the identification information of the radiotherapy plan corresponding to the target object, and the historical radiotherapy amount of the radiotherapy plan corresponding to the target object.
  • the historical radiotherapy dose of the radiotherapy plan corresponding to the target can be understood as the radiotherapy dose accumulated by the radiotherapy device on the target object before the i-1th interruption.
  • the purpose of generating the temporary file locally in the control device is that even if the database server is abnormal, the information of the current target object is stored in the temporary file, and the record of the radiation treatment amount of the target object will not be affected.
  • the method further includes: after the i-th interruption of the radiotherapy apparatus, storing the identification information of the target object and the identification information of the radiotherapy plan according to the temporary file , controlling the radiotherapy apparatus to resume the radiotherapy to the target object from the ith interruption.
  • the radiotherapy apparatus can be accurately controlled to resume the radiotherapy to the target object from the i-th interruption.
  • the method further includes: when the radiotherapy apparatus starts to perform radiotherapy on the next target object, updating the information of the target object stored in the temporary file to the next target object information about the target object. Accordingly, by updating the information of the target object stored in the temporary file to the information of the next target object, the radiation therapy of the next target object by the radiation therapy apparatus can be accurately controlled.
  • the method further includes: after updating the radiation therapy volume of the target object stored in the database server, deleting the temporary file storing the second radiation therapy volume. In this way, after updating the radiation therapy volume of the target object stored in the database server, by deleting the temporary file storing the second radiation therapy volume, the storage space of the local disk of the control device can be effectively saved. .
  • the method further includes: after deleting the temporary file, if a continuous treatment instruction for the target object is received, generating a new temporary file, and storing the information of the target object Log to the new temporary file.
  • the information of the target object includes at least one of the following: identification information of the target object, identification information of the radiation therapy plan corresponding to the target object, and history of the radiation therapy plan corresponding to the target object amount of radiation therapy.
  • the continuous treatment instruction may be an instruction generated according to a user's click operation on the continuous treatment control in the device control page in the control device.
  • This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server.
  • the radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
  • FIG. 2 is a flowchart of steps of an interrupt processing method provided in Embodiment 2 of the present application.
  • the interrupt processing method is applied to the control device, and the control device is respectively connected to the radiotherapy device and the database server in communication.
  • the interrupt processing method provided by this embodiment includes the following steps:
  • step S201 if it is detected that the radiotherapy equipment has returned to normal, a loading instruction of the radiotherapy plan for the target object is received, and according to the loading instruction, the acquiring of the radiotherapy equipment from the i-th - The step of recovering from the 1 interruption to the first radiation therapy dose to the target subject at the ith interruption.
  • the control device receives the confirmation signal for the heartbeat signal sent by the controller in the radiotherapy device after waiting for a duration shorter than the preset duration, it is detected that the radiotherapy device has returned to normal .
  • the preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application.
  • the loading instruction may be an instruction generated according to a user's click operation on the treatment plan loading control in the device control page in the control device.
  • step S202 according to the first radiotherapy dose and the second radiotherapy dose of the radiotherapy device to the target object before the i-1th interruption, it is determined that the radiotherapy device is interrupted at the ith time A third dose of radiation therapy to the target subject previously.
  • step S202 Since the specific implementation of step S202 is similar to the specific implementation of step S102 in the above-mentioned first embodiment, it will not be repeated here.
  • step S203 the third radiotherapy dose is sent to the database server to update the radiotherapy dose of the target object stored in the database server.
  • step S203 Since the specific implementation of step S203 is similar to the specific implementation of step S103 in the above-mentioned first embodiment, it will not be repeated here.
  • the interrupt processing method when it is detected that the radiotherapy device returns to normal, according to the received loading instruction of the radiotherapy plan for the target object, execute the obtaining of the radiotherapy device from the first
  • the step of recovering from the i-1 interruption to the first radiation therapy dose for the target object at the i-th interruption can effectively ensure the radiation therapy for the continuous treatment of the target in the event that the radiation therapy equipment is abnormal and the target therapy is interrupted The correctness of the amount, thereby effectively ensuring the safety of the continuous treatment of the target.
  • FIG. 3 is a schematic structural diagram of an interrupt processing system provided by Embodiment 3 of the present application.
  • the interrupt processing system provided in this embodiment includes: a database server 40 , a control device 50 communicatively connected to the database server 40 , and a radiotherapy device 60 communicatively connected to the control device 50 .
  • the control device 50 is configured to execute the interrupt processing method described in the first embodiment of the present application or the second embodiment of the present application.
  • the interruption processing system further includes: a controller, connected in communication with the control device 50 and the radiotherapy device 60, for recording the recovery of the radiotherapy device from the i-1th interruption to The first radiotherapy dose for the target object at the i-th interruption, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dose is 0.
  • the controller records the first radiation therapy amount to the target object when the radiotherapy equipment recovers from the i-1th interruption to the i-th interruption, which can facilitate subsequent and accurate determination of the radiotherapy equipment at the i-th interruption.
  • the third dose of radiation therapy to the target subject prior to the interruption is a controller, connected in communication with the control device 50 and the radiotherapy device 60, for recording the recovery of the radiotherapy device from the i-1th interruption to The first radiotherapy dose for the target object at the i-th interruption, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dose is 0.
  • the controller records the first radiation therapy amount to the target object
  • the control device 50 is configured to: acquire the first radiation therapy amount for the target object when the radiation therapy equipment recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dose is 0; according to the first radiotherapy dose and the radiotherapy device, the target is the second radiotherapy dose of the subject, determining the third radiotherapy dose of the radiotherapy device to the target object before the ith interruption; sending the third radiotherapy dose to the database server to update the The radiation therapy dose of the target object stored in the database server.
  • control device 50 is further configured to replace the second radiation therapy volume with the third radiation therapy volume after the ith interruption of the radiation therapy device resumes.
  • control device 50 when replacing the second radiotherapy dose with the third radiotherapy dose, is specifically configured to: confirm that the second radiotherapy dose is less than the third radiotherapy dose. In this case, the second radiotherapy dose is replaced with the third radiotherapy dose.
  • control device 50 when replacing the second radiation therapy volume with the third radiation therapy volume, is specifically configured to: acquire the third radiation therapy for the target object from the database server treatment amount; replacing the second radiation treatment amount with the third radiation treatment amount obtained from the database server.
  • control device 50 is further configured to: obtain the second radiotherapy amount from the temporary file before the determination of the third radiotherapy amount of the target object by the radiotherapy device before the ith interruption.
  • the temporary file also stores the identification information of the target object and/or the identification information of the radiotherapy plan corresponding to the target object.
  • control device 50 is further configured to: after the i-th interruption of the radiotherapy device, store the identification information of the target object and the identification information of the radiotherapy plan according to the temporary file , controlling the radiotherapy apparatus to resume the radiotherapy to the target object from the ith interruption.
  • control device 50 is further configured to: when the radiotherapy device starts to perform radiotherapy on the next target object, update the information of the target object stored in the temporary file to the next target object information about the target object.
  • control device 50 is further configured to: before the acquisition of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method It also includes: if an abnormality is detected in the database server, generating a radiotherapy interruption request, and sending the radiotherapy interruption request to the controller of the radiotherapy equipment, so that the controller interrupts the radiotherapy according to the radiotherapy request, control the radiotherapy device to interrupt the radiotherapy to the target object for the i-th time; if it is detected that the database server is back to normal, receive a loading instruction for the radiotherapy plan for the target object, and according to the Loading an instruction to execute the step of acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption.
  • control device 50 is further configured to: before the acquisition of the radiotherapy device from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, if the The control device of the radiotherapy device returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy device from the i-1th interruption to recovery from the i-1th interruption to the ith The step of delivering the first radiation therapy dose to the target subject at i interruptions.
  • control device 50 is further configured to: before the acquisition of the radiotherapy device recovers from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is The radiotherapy equipment returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy equipment from the i-1th interruption to the ith The step of delivering a first dose of radiation therapy to the target subject at the time of interruption.
  • control device 50 is further configured to: after updating the radiation therapy volume of the target object stored in the database server, delete the temporary file storing the second radiation therapy volume.
  • control device 50 is further configured to: after deleting the temporary file, if a continuous treatment instruction for the target object is received, generate a new temporary file, and store the information of the target object Log to the new temporary file.
  • This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server.
  • the radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
  • an embodiment of the present application further provides an electronic device 400 for executing the interrupt processing method provided by any method embodiment of the present application.
  • the electronic device 400 provided in this embodiment may include a processor 401 and a memory 402, where program instructions are stored in the memory 402, and the processor 401 is configured to call the program instructions in the memory 402 to execute any method of the present application
  • the interrupt processing method provided by the embodiment may include a processor 401 and a memory 402, where program instructions are stored in the memory 402, and the processor 401 is configured to call the program instructions in the memory 402 to execute any method of the present application.
  • the processor 401 may include a central processing unit (CPU, single-core or multi-core), a graphics processing unit (GPU), a microprocessor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, or multiple integrated circuits used to control program execution.
  • CPU central processing unit
  • GPU graphics processing unit
  • ASIC application-specific integrated circuit
  • DSP digital signal processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • Memory 402 may include Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, Random Access Memory (RAM), or other types of information and instructions that can be stored It can also include Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation.
  • the memory 402 can be set independently or integrated with the processor 401 .
  • the processor 401 may include one or more CPUs.
  • the foregoing electronic device 400 may include multiple processors. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • An embodiment of the present application provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions are configured to cause the processor to execute the interrupt provided by any method embodiment of the present application when executed by the processor.
  • Approach Its working principle and effect are similar, and will not be repeated here.
  • embodiments of the present disclosure may be provided as a method, an apparatus (apparatus), or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The computer program is stored/distributed in a suitable medium, provided with or as part of other hardware, or may take other forms of distribution, such as over the Internet or other wired or wireless telecommunication systems.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Radiation-Therapy Devices (AREA)

Abstract

An interruption processing method and system, and an electronic device and a computer storage medium, relating to the technical field of radiotherapy. The method comprises: acquiring a first radiotherapy dosage of a radiotherapy device for a target object upon recovery from an (i-1)th interruption to an ith interruption (S101), wherein i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dosage is 0; according to the first radiotherapy dosage, and a second radiotherapy dosage of the radiotherapy device for the target object before the (i-1)th interruption, determining a third radiotherapy dosage of the radiotherapy device for the target object before the ith interruption (S102); and sending the third radiotherapy dosage to a database server, so as to update a radiotherapy dosage, which is stored in the database server, of the target object (S103). A radiotherapy interruption can be processed, so as to ensure effective continuous therapy for a patient.

Description

中断处理方法、系统、电子设备及计算机存储介质Interrupt processing method, system, electronic device and computer storage medium 技术领域technical field
本申请实施例涉及放射治疗技术领域,尤其涉及一种中断处理方法、系统、电子设备及计算机存储介质。The embodiments of the present application relate to the technical field of radiotherapy, and in particular, to an interrupt processing method, system, electronic device, and computer storage medium.
背景技术Background technique
放射治疗是一种采用放射线治疗肿瘤的治疗方法,一般通过放射线照射肿瘤,使得肿瘤细胞坏死或凋亡,以达到治疗肿瘤的目的。放射线由放射治疗设备产生,而放射治疗设备本身的结构比较复杂,大致可以包括治疗床、机架以及设置于机架上治疗头。每次放射治疗时,患者固定于治疗床上,治疗头产生放射线经聚焦后照射到患者的靶点。Radiation therapy is a treatment method that uses radiation to treat tumors. Generally, the tumor is irradiated with radiation to cause tumor cell necrosis or apoptosis, so as to achieve the purpose of tumor treatment. Radiation is generated by radiotherapy equipment, and the structure of the radiotherapy equipment itself is relatively complex, which may roughly include a treatment couch, a gantry, and a treatment head arranged on the gantry. During each radiation therapy, the patient is fixed on the treatment bed, and the radiation generated by the treatment head is focused and then irradiated to the patient's target.
在放射治疗过程中,放射治疗设备的控制设备需要将当前靶点已照射的放射治疗量实时地存储至数据库服务器中。由于放射治疗设备、控制设备以及数据库服务器均存在发生异常的可能性,当出现该可能性时,放射治疗设备会中断放射治疗,未完成本次放射治疗过程的放射治疗计划,从而影响对患者的放射治疗的效果。由此可见,如何对放射治疗中断进行处理,以保证有效地对患者的接续治疗成为当前亟待解决的技术问题。During the radiotherapy process, the control device of the radiotherapy equipment needs to store the radiation therapy amount irradiated to the current target in the database server in real time. Since the radiotherapy equipment, control equipment and database server all have the possibility of abnormality, when this possibility occurs, the radiotherapy equipment will interrupt the radiotherapy, and the radiotherapy plan for this radiotherapy process will not be completed, thus affecting the patient's safety. effect of radiation therapy. It can be seen that how to deal with the interruption of radiotherapy to ensure effective continuous treatment of patients has become a technical problem that needs to be solved urgently at present.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例所解决的技术问题之一在于提供一种中断处理方法、系统、电子设备及计算机存储介质,用以至少解决上述技术问题。In view of this, one of the technical problems solved by the embodiments of the present invention is to provide an interrupt processing method, system, electronic device, and computer storage medium, so as to solve at least the above technical problems.
根据本申请实施例的第一方面,提供了一种中断处理方法,所述方法包括:获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0;根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量;向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量。According to a first aspect of the embodiments of the present application, an interruption processing method is provided, the method comprising: acquiring a first radiation to a target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption Treatment amount, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiation treatment amount is 0; the second radiotherapy dose to the target object before the first interruption, determining the third radiotherapy dose of the radiotherapy device to the target object before the i-th interruption; sending the third radiotherapy to the database server treatment amount to update the radiation treatment amount of the target object stored in the database server.
根据本申请实施例的第二方面,提供了一种中断处理系统,所述系统包括:数据库服务器、与所述数据库服务器通信连接的控制设备,及与所述控制设备 通信连接的放射治疗设备,所述控制设备被配置为执行本申请实施例的第一方面所述的中断处理方法。According to a second aspect of the embodiments of the present application, an interrupt processing system is provided, the system comprising: a database server, a control device communicatively connected to the database server, and a radiotherapy device communicatively connected to the control device, The control device is configured to execute the interrupt processing method described in the first aspect of the embodiments of the present application.
根据本申请实施例的第三方面,提供了一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有程序指令,所述处理器配置为调用所述存储器中的程序指令以执行如本申请实施例的第一方面所述的中断处理方法。According to a third aspect of the embodiments of the present application, an electronic device is provided, the electronic device includes a processor and a memory, the memory stores program instructions, and the processor is configured to call the program instructions in the memory to execute the interrupt processing method described in the first aspect of the embodiments of the present application.
根据本申请实施例的第四方面,提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被配置为在被处理器执行时使所述处理器执行如本申请实施例的第一方面所述的中断处理方法。According to a fourth aspect of the embodiments of the present application, a computer storage medium is provided, the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions are configured to cause a processor to execute The processor executes the interrupt processing method according to the first aspect of the embodiments of the present application.
本申请实施例通过获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0,并根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,能够准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量,再向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量,能够对放射治疗中断进行处理,并有效保证所述数据库服务器中存储的所述目标对象的放射治疗量的正确性,进而在所述目标对象的放射治疗总量一定的情况下,能够有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server. The radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
附图说明Description of drawings
后文将参照附图以示例性而非限制性的方式详细描述本申请实施例的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比值绘制的。附图中:Hereinafter, some specific embodiments of the embodiments of the present application will be described in detail by way of example and not limitation with reference to the accompanying drawings. The same reference numbers in the figures designate the same or similar parts or parts. It will be understood by those skilled in the art that the drawings are not necessarily to scale. In the attached picture:
图1A为本申请实施例提供的中断处理系统的架构图;FIG. 1A is an architectural diagram of an interrupt processing system provided by an embodiment of the present application;
图1B为本申请实施例一提供的中断处理方法的步骤流程图;FIG. 1B is a flowchart of the steps of the interrupt processing method provided by Embodiment 1 of the present application;
图2为本申请实施例二提供的中断处理方法的步骤流程图;2 is a flowchart of steps of an interrupt processing method provided in Embodiment 2 of the present application;
图3为本申请实施例三提供的中断处理系统的结构示意图;3 is a schematic structural diagram of an interrupt processing system provided in Embodiment 3 of the present application;
图4为本申请实施例四提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.
具体实施方式Detailed ways
为了使本领域的人员更好地理解本申请实施例中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请实施例保护的范围。In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. The embodiments described above are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the embodiments of the present application should fall within the protection scope of the embodiments of the present application.
图1A为本申请实施例提供的中断处理系统的架构图。如图1A所示,本申请实施例提供的中断处理系统包括放射治疗设备10、与所述放射治疗设备10通信连接的控制设备20,以及与所述控制设备20通信连接的数据库服务器30。FIG. 1A is a structural diagram of an interrupt processing system provided by an embodiment of the present application. As shown in FIG. 1A , the interrupt processing system provided in this embodiment of the present application includes a radiotherapy device 10 , a control device 20 communicatively connected to the radiotherapy device 10 , and a database server 30 communicatively connected to the control device 20 .
在本申请实施例中,所述放射治疗设备10可以包括治疗头。所述放射治疗设备10可以有多种类型,如X线治疗机、钴-60治疗机、直线加速器、立体定向放射治疗装置-γ刀或立体定向放射治疗装置X刀等。当所述放射治疗设备10的类型不同时,所述治疗头的具体结构可能有所不同,如所述放射治疗设备10为直线加速器时,治疗头设置于机架上,包括:X射线产生装置以及准直器,准直器可以是多叶式准直器MLC。此外,直线加速器的X射线产生装置可以包括:发射电子束的电子枪,为电子束加速的加速管,为加速管提供建立加速场所需的射频功率的微波系统,对电子束进行X线转换和均整输出的辐射系统等。又如所述放射治疗设备10为立体定向放射治疗装置-γ刀时,治疗头从外到内依次包括屏蔽体、载源体和准直器,其中,载源体承载射线源,准直器开设有准直孔,射线源发出的伽玛射线经准直孔聚焦于放射治疗设备10的等中心处并且可绕旋转轴旋转。In the embodiment of the present application, the radiotherapy apparatus 10 may include a treatment head. The radiotherapy apparatus 10 can be of various types, such as X-ray therapy machine, cobalt-60 therapy machine, linear accelerator, stereotactic radiotherapy device-gamma knife or stereotactic radiotherapy device X-knife and the like. When the type of the radiotherapy equipment 10 is different, the specific structure of the treatment head may be different. For example, when the radiotherapy equipment 10 is a linear accelerator, the treatment head is arranged on the gantry, including: an X-ray generating device As well as the collimator, the collimator may be a multi-leaf collimator MLC. In addition, the X-ray generating device of the linear accelerator may include: an electron gun for emitting an electron beam, an accelerating tube for accelerating the electron beam, a microwave system for providing the accelerating tube with radio frequency power required for establishing an acceleration field, X-ray conversion for the electron beam and A radiation system that equalizes the output, etc. In another example, when the radiotherapy apparatus 10 is a stereotactic radiotherapy device-γ knife, the treatment head includes a shield body, a source body and a collimator in sequence from the outside to the inside, wherein the source body carries the radiation source, and the collimator A collimating hole is provided, and the gamma rays emitted by the radiation source are focused at the isocenter of the radiotherapy apparatus 10 through the collimating hole and can be rotated around the rotation axis.
在本申请实施例中,所述控制设备20可以是台式计算机、膝上型计算机、平板计算机或者其他具有控制能力的智能电子设备,为了控制所述放射治疗设备10按照放射治疗计划对患者的靶点进行放射治疗,所述控制设备20内安装有控制所述放射治疗设备10工作的应用软件,可以是用于控制所述放射治疗设备10的控制台,通过有线或者无线的方式与所述放射治疗设备10连接,并通过连接通道,与所述放射治疗设备10进行通信。具体地,所述放射治疗设备10与所述控制设备20之间可以通过GSM、GPRS、LTE等移动网络实现通信连接,或者是通过蓝牙、WIFI、红外线等方式进行通信连接,本申请实施例对所述放射治疗设备10与所述控制设备20之间的具体通信连接方式不做限定。In the embodiment of the present application, the control device 20 may be a desktop computer, a laptop computer, a tablet computer, or other intelligent electronic devices with control capability, in order to control the radiotherapy device 10 to target the patient according to the radiotherapy plan The control device 20 is equipped with application software for controlling the work of the radiation therapy device 10, which can be a console for controlling the radiation therapy device 10, and communicates with the radiation therapy device 10 in a wired or wireless manner. The treatment device 10 is connected and communicates with the radiation treatment device 10 through the connection channel. Specifically, the radiotherapy device 10 and the control device 20 may be connected through a mobile network such as GSM, GPRS, LTE, etc., or through a communication connection such as Bluetooth, WIFI, infrared, or the like. The specific communication connection manner between the radiotherapy apparatus 10 and the control apparatus 20 is not limited.
在本申请实施例中,所述数据库服务器30可以理解为安装有数据库服务的服务器,所述数据库服务器30通过有线或者无线的方式与所述控制设备20连 接,并通过连接通道,与所述控制设备20进行通信。具体地,所述控制设备20与所述数据库服务器30之间可以通过GSM、GPRS、LTE等移动网络实现通信连接,或者是通过蓝牙、WIFI、红外线等方式进行通信连接,本申请实施例对所述控制设备20与所述数据库服务器30之间的具体通信连接方式不做限定。In the embodiment of the present application, the database server 30 can be understood as a server with a database service installed, the database server 30 is connected to the control device 20 by wire or wirelessly, and communicates with the control device 20 through a connection channel. Device 20 communicates. Specifically, the communication connection between the control device 20 and the database server 30 may be realized through a mobile network such as GSM, GPRS, LTE, or through a communication connection such as Bluetooth, WIFI, infrared, and the like. The specific communication connection manner between the control device 20 and the database server 30 is not limited.
在所述放射治疗设备10对患者的靶点进行放射治疗的过程中,所述控制设备20需要将所述放射治疗设备10对患者的靶点的放射治疗量实时地存储至数据库服务器中。由于所述放射治疗设备10、所述控制设备20以及所述数据库服务器30均存在发生异常的情况,该情况的出现会导致靶点的放射治疗过程的中断,进而还会导致数据库服务器中存储的靶点的放射治疗量与靶点的真实放射治疗量可能不相等。这样,会影响靶点在放射治疗中断后的接续治疗的放射治疗量的正确性,进而会影响靶点的接续治疗的安全性。When the radiotherapy apparatus 10 performs radiotherapy on the target of the patient, the control apparatus 20 needs to store the radiotherapy amount of the target of the patient by the radiotherapy apparatus 10 in the database server in real time. Since the radiotherapy device 10, the control device 20 and the database server 30 all have abnormal conditions, the occurrence of this situation will cause the interruption of the radiotherapy process of the target, and further cause the data stored in the database server to be interrupted. The radiation therapy dose to the target may not be equal to the actual radiation therapy dose to the target. In this way, the correctness of the radiotherapy amount of the continuous treatment of the target after the interruption of the radiotherapy will be affected, and the safety of the continuous treatment of the target will be affected.
例如,当所述数据库服务器30断电或者所述数据库服务器30的数据库服务被关闭时,所述控制设备20可以通过本地的套接字中的IP地址和端口号检测到所述数据库服务器发生异常,然后生成放射治疗中断请求,并将所述放射治疗中断请求发送至所述放射治疗设备10,所述放射治疗设备10根据所述放射治疗中断请求,中断对所述靶点的放射治疗。在这个过程中,所述数据库服务器30中的数据库存储的靶点的放射治疗量是所述数据库服务器发生异常时,靶点在对应的放射治疗计划的累计放射治疗量,而靶点在对应的放射治疗计划的真实放射治疗量则是所述放射治疗设备10中断对靶点的放射治疗时,靶点在对应的放射治疗计划的累计放射治疗量。由于所述数据库服务器30发生异常的时间点在前,所述放射治疗设备10中断对所述靶点的放射治疗的时间点在后,就会导致所述数据库服务器30中的数据库存储的靶点的放射治疗量小于靶点在对应的放射治疗计划的真实放射治疗量,进而会导致靶点在放射治疗中断后的接续治疗的放射治疗量偏高,这样会危及患者的生命安全。For example, when the database server 30 is powered off or the database service of the database server 30 is shut down, the control device 20 can detect that the database server is abnormal through the IP address and port number in the local socket , and then generate a radiotherapy interruption request, and send the radiotherapy interruption request to the radiotherapy apparatus 10 , and the radiotherapy apparatus 10 interrupts the radiotherapy to the target according to the radiotherapy interruption request. In this process, the radiotherapy dose of the target stored in the database in the database server 30 is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the database server is abnormal, and the target is in the corresponding radiotherapy dose. The actual radiotherapy dose of the radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target. Since the abnormality occurs in the database server 30 earlier, the radiotherapy apparatus 10 interrupts the radiotherapy to the target later, which will result in the target stored in the database in the database server 30. The radiotherapy dose of the target is less than the actual radiotherapy dose of the target in the corresponding radiotherapy plan, which will lead to the high radiotherapy dose of the continuous treatment after the radiotherapy is interrupted, which will endanger the life safety of the patient.
又例如,当所述控制设备20断电或者所述控制设备20中控制所述放射治疗设备10工作的应用程序被关闭时,如果所述放射治疗设备10中的控制器在等待预设时长之后还没有接收到所述控制设备20发送的心跳信号,则确定所述控制设备20发生异常。其中,所述预设时长可由本领域技术人员根据实际需要进行设定,本申请实施例对此不做任何限定。然后,所述放射治疗设备10中的控制器控制所述放射治疗设备10中断对靶点的放射治疗。在这个过程中,所述 数据库服务器30中的数据库存储的靶点的放射治疗量是所述控制设备20发生异常时,靶点在对应的放射治疗计划的累计放射治疗量,而靶点在对应的放射治疗计划的真实放射治疗量则是所述放射治疗设备10中断对靶点的放射治疗时,靶点在对应的放射治疗计划的累计放射治疗量。由于所述控制设备20发生异常的时间点在前,所述放射治疗设备10中断对所述靶点的放射治疗的时间点在后,就会导致所述数据库服务器30中的数据库存储的靶点的放射治疗量小于靶点在对应的放射治疗计划的真实放射治疗量,进而会导致靶点在放射治疗中断后的接续治疗的放射治疗量偏高,这样会危及患者的生命安全。For another example, when the control device 20 is powered off or the application program in the control device 20 that controls the operation of the radiotherapy device 10 is closed, if the controller in the radiotherapy device 10 waits for a preset period of time after If the heartbeat signal sent by the control device 20 has not been received, it is determined that the control device 20 is abnormal. The preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application. Then, the controller in the radiotherapy apparatus 10 controls the radiotherapy apparatus 10 to discontinue the radiotherapy to the target. In this process, the radiotherapy dose of the target stored in the database in the database server 30 is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the control device 20 is abnormal, and the target is in the corresponding radiotherapy dose. The actual radiotherapy dose of the radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target. Since the abnormality occurs in the control device 20 before the time point when the radiotherapy device 10 interrupts the radiotherapy to the target point is later, the target point stored in the database in the database server 30 will be affected. The radiotherapy dose of the target is less than the actual radiotherapy dose of the target in the corresponding radiotherapy plan, which will lead to the high radiotherapy dose of the continuous treatment after the radiotherapy is interrupted, which will endanger the life safety of the patient.
又例如,当所述放射治疗设备10发生异常时,所述放射治疗设备10中的控制器控制所述放射治疗设备10中断对靶点的放射治疗。如果所述控制设备20在等待预设时长之后还没有接收到所述放射治疗设备10中的控制器发送的针对心跳信号的确认信号,则确定所述放射治疗设备10发生异常。其中,所述预设时长可由本领域技术人员根据实际需要进行设定,本申请实施例对此不做任何限定。在这个过程中,所述数据库服务器30中的数据库存储的靶点的放射治疗量是所述控制设备20确定所述放射治疗设备10发生异常时,靶点在对应的放射治疗计划的累计放射治疗量,而靶点在对应的放射治疗计划的真实放射治疗量则是所述放射治疗设备10中断对靶点的放射治疗时,靶点在对应的放射治疗计划的累计放射治疗量。由于所述放射治疗设备10中断对所述靶点的放射治疗的时间点在前,所述控制设备20确定所述放射治疗设备10发生异常的时间点在后,就会导致所述数据库服务器30中的数据库存储的靶点的放射治疗量大于靶点在对应的放射治疗计划的真实放射治疗量,进而会导致靶点在放射治疗中断后的接续治疗的放射治疗量偏低,这样会影响患者的靶点的治疗效果。For another example, when the radiotherapy apparatus 10 is abnormal, the controller in the radiotherapy apparatus 10 controls the radiotherapy apparatus 10 to interrupt the radiotherapy to the target. If the control device 20 has not received the confirmation signal for the heartbeat signal sent by the controller in the radiotherapy device 10 after waiting for a preset period of time, it is determined that the radiotherapy device 10 is abnormal. The preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application. In this process, the radiation therapy amount of the target point stored in the database in the database server 30 is the cumulative radiation therapy amount of the target point in the corresponding radiation therapy plan when the control device 20 determines that the radiation therapy device 10 is abnormal. The actual radiotherapy dose of the target in the corresponding radiotherapy plan is the cumulative radiotherapy dose of the target in the corresponding radiotherapy plan when the radiotherapy apparatus 10 interrupts the radiotherapy to the target. Since the radiotherapy apparatus 10 interrupts the radiotherapy to the target before the time point, the control apparatus 20 determines that the abnormality occurs in the radiotherapy apparatus 10 after the time point, which will cause the database server 30 to The radiation therapy dose of the target stored in the database in the database is greater than the actual radiation therapy dose of the target in the corresponding radiation therapy plan, which will lead to a low radiation therapy dose of the target after the radiation therapy is interrupted, which will affect the patient. target therapeutic effect.
由此可见,现有技术中存在如何对放射治疗中断进行处理,以保证有效地对患者的接续治疗的技术问题。针对所述技术问题,本申请实施例通过获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0,并根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,能够准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量,再向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量,能够对放射治疗中断进行处理,并有效保证所述数据库服务器中存储的所述目 标对象的放射治疗量的正确性,进而在所述目标对象的放射治疗总量一定的情况下,能够有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。It can be seen that in the prior art, there is a technical problem of how to deal with the interruption of radiotherapy to ensure effective continuous treatment of patients. In order to solve the technical problem, the embodiment of the present application obtains the first radiation therapy amount for the target object when the radiation therapy equipment recovers from the i-1th interruption to the ith interruption, where i is greater than or equal to 1 integer, and when i is equal to 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the radiotherapy device before the i-1th interruption to the target object second The amount of radiotherapy, which can accurately determine the third radiotherapy dose to the target object by the radiotherapy device before the ith interruption, and then send the third radiotherapy dose to the database server to update the The radiation therapy amount of the target object stored in the database server can handle the interruption of radiation therapy, and effectively ensure the correctness of the radiation therapy amount of the target object stored in the database server, and then the target object is stored in the database server. Under the condition that the total amount of radiotherapy of the target object is constant, the correctness of the radiotherapy amount of the continuous treatment of the target object can be effectively ensured, thereby effectively ensuring the safety of the continuous treatment of the target object.
下面结合本申请实施例附图进一步说明本申请实施例具体实现。The specific implementation of the embodiments of the present application is further described below with reference to the accompanying drawings of the embodiments of the present application.
图1B为本申请实施例一提供的中断处理方法的步骤流程图,该中断处理方法应用于所述控制设备,所述控制设备分别与所述放射治疗设备和所述数据库服务器通信连接。如图1B所示,本实施例提供的中断处理方法包括以下步骤:FIG. 1B is a flow chart of the steps of the interrupt processing method provided in Embodiment 1 of the present application. The interrupt processing method is applied to the control device, and the control device is respectively connected in communication with the radiotherapy device and the database server. As shown in FIG. 1B , the interrupt processing method provided by this embodiment includes the following steps:
在步骤S101中,获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量。In step S101, the first radiation therapy amount to the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption is acquired.
在本实施例中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0。放射治疗量可为放射治疗时长对应的照射量例如剂量,由于单位时长内的照射量是固定的,放射治疗量还可为放射治疗时长。所述目标对象可为患者的靶点或者患者的肿瘤靶区。具体地,在获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量时,通过从所述放射治疗设备的控制器中,读取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量。其中,所述放射治疗设备的控制器可为可编程逻辑控制器,所述第一放射治疗量可理解为所述放射治疗设备从第i-1次中断恢复到第i次中断的时间段内,所述放射治疗设备对目标对象的放射治疗量。籍此,无需考虑数据传输延迟对放射治疗量的影响,从根本上保障了目标对象的接续治疗的放射治疗量的正确性。In this embodiment, i is an integer greater than or equal to 1, and when i is equal to 1, the first radiation treatment amount is 0. The radiation therapy amount may be an irradiation amount, such as a dose, corresponding to the radiation therapy duration. Since the radiation amount in a unit duration is fixed, the radiation therapy amount may also be the radiation therapy duration. The target object may be a patient's target or a patient's tumor target. Specifically, when acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption, by reading the radiotherapy apparatus from the controller of the radiotherapy apparatus The radiotherapy apparatus recovers from the i-1th interruption to the first radiotherapy amount for the target object at the i-th interruption. The controller of the radiotherapy apparatus may be a programmable logic controller, and the first radiotherapy amount may be understood as the time period during which the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption , the radiation therapy amount of the radiation therapy equipment to the target object. In this way, it is not necessary to consider the influence of the data transmission delay on the radiation therapy volume, and the correctness of the radiation therapy volume of the subsequent treatment of the target object is fundamentally guaranteed.
在一些可选实施例中,所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:若检测到所述数据库服务器发生异常,则生成放射治疗中断请求,并将所述放射治疗中断请求发送至所述放射治疗设备的控制器,使得所述控制器根据所述放射治疗中断请求,控制所述放射治疗设备第i次中断对所述目标对象的放射治疗;若检测到所述数据库服务器恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。其中,所述目标对象的放射治疗计划可以包括所述目标对象的计划放射治疗总量、所述目标对象的放射治疗模式等。籍此,在检测到所述数据库服务器恢复正常时,根 据接收到的针对所述目标对象的放射治疗计划的加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤,能够在数据库服务器发生异常导致目标对象治疗中断的情况下,有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。In some optional embodiments, before the obtaining of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method further includes: if it is detected that When an abnormality occurs in the database server, a radiotherapy interruption request is generated, and the radiotherapy interruption request is sent to the controller of the radiotherapy apparatus, so that the controller controls the radiotherapy according to the radiotherapy interruption request. The treatment device interrupts the radiation therapy for the target object for the i-th time; if it is detected that the database server is back to normal, a loading instruction for the radiation therapy plan for the target object is received, and according to the loading instruction, the The step of acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption. Wherein, the radiation therapy plan of the target object may include the total amount of planned radiation therapy for the target object, the radiation therapy mode of the target object, and the like. In this way, when it is detected that the database server is back to normal, according to the received loading instruction of the radiotherapy plan for the target object, the execution of the acquisition of the radiotherapy equipment from the i-1th interruption to the ith The step of applying the first radiation therapy dose to the target object at the time of the i interruption can effectively ensure the correctness of the radiation therapy dose of the target object in the subsequent treatment when the database server is abnormal and the treatment of the target object is interrupted, thereby effectively guaranteeing the target object The safety of the subject's subsequent treatment.
在一个具体的例子中,所述控制设备可以通过本地的套接字中的IP地址和端口号能够检测所述数据库服务器是发生异常,还是恢复正常。如果所述控制设备通过本地的套接字中的IP地址和端口号与所述数据库服务器中的数据库服务不能通信,则检测到所述数据库服务器发生异常。如果所述控制设备通过本地的套接字中的IP地址和端口号与所述数据库服务器中的数据库服务能通信,则检测到所述数据库服务器恢复正常。此外,所述加载指令可为根据用户对所述控制设备中的设备控制页面中的治疗计划加载控件的点击操作生成的指令。In a specific example, the control device can detect whether the database server is abnormal or returns to normal through the IP address and port number in the local socket. If the control device cannot communicate with the database service in the database server through the IP address and port number in the local socket, it is detected that the database server is abnormal. If the control device can communicate with the database service in the database server through the IP address and port number in the local socket, it is detected that the database server is back to normal. In addition, the loading instruction may be an instruction generated according to the user's click operation on the treatment plan loading control in the device control page in the control device.
在一些可选实施例中,所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:若所述放射治疗设备的控制设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。其中,所述加载指令可为根据用户对所述控制设备中的设备控制页面中的治疗计划加载控件的点击操作生成的指令。籍此,在所述控制设备恢复正常时,根据接收到的针对所述目标对象的放射治疗计划的加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤,能够在控制设备发生异常导致目标对象治疗中断的情况下,有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。In some optional embodiments, before the obtaining of the radiotherapy equipment from the i-1th interruption is restored to the i-th interruption of the first radiotherapy amount for the target object, the method further includes: if the The control device of the radiotherapy device returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy device from the i-1th interruption to recovery from the i-1th interruption to the ith The step of delivering the first radiation therapy dose to the target subject at i interruptions. Wherein, the loading instruction may be an instruction generated according to the user's click operation on the treatment plan loading control in the device control page in the control device. Thereby, when the control device returns to normal, according to the received loading instruction of the radiotherapy plan for the target object, executing the acquisition of the radiotherapy device from the i-1th interruption to the ith time The step of applying the first radiation therapy dose to the target object at the time of interruption can effectively ensure the correctness of the radiation therapy dose of the subsequent treatment of the target object when the abnormality of the control equipment causes the treatment of the target object to be interrupted, thereby effectively ensuring the target object's radiation therapy. The safety of follow-up treatment.
在步骤S102中,根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量。In step S102, according to the first radiotherapy dose and the second radiotherapy dose of the radiotherapy device to the target object before the i-1th interruption, it is determined that the radiotherapy device is interrupted at the ith time A third dose of radiation therapy to the target subject previously.
在本实施例中,所述第二放射治疗量可理解为所述放射治疗设备在第i-1次中断之前对所述目标对象的累计放射治疗量。在确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量时,将所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,与所述第一放射治疗量进行 相加,获得相加结果,并确定所述相加结果为所述第三放射治疗量。In this embodiment, the second radiotherapy dose may be understood as the cumulative radiotherapy dose to the target object by the radiotherapy apparatus before the i-1th interruption. When determining the third radiation therapy dose of the radiotherapy apparatus to the target object before the ith interruption, the second radiation therapy of the radiotherapy apparatus to the target object before the i-1th interruption and the first radiotherapy dose is added to obtain an addition result, and the addition result is determined to be the third radiotherapy dose.
在步骤S103中,向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量。In step S103, the third radiotherapy dose is sent to the database server to update the radiotherapy dose of the target object stored in the database server.
在一些可选实施例中,所述方法还包括:在所述放射治疗设备的第i次中断恢复之后,使用所述第三放射治疗量替换所述第二放射治疗量。籍此,通过使用所述第三放射治疗量替换所述第二放射治疗量,能够方便后续准确地确定所述放射治疗设备在第i+1次中断之前对所述目标对象的第三放射治疗量。In some optional embodiments, the method further comprises replacing the second radiation therapy volume with the third radiation therapy volume after the ith interruption of the radiation therapy device resumes. Therefore, by replacing the second radiation therapy volume with the third radiation therapy volume, it is convenient to subsequently accurately determine the third radiation therapy performed by the radiation therapy device on the target object before the i+1th interruption. quantity.
在一个具体的例子中,在使用所述第三放射治疗量替换所述第二放射治疗量时,在确认所述第二放射治疗量小于所述第三放射治疗量的情况下,使用所述第三放射治疗量替换所述第二放射治疗量。In a specific example, when using the third radiotherapy dose to replace the second radiotherapy dose, when it is confirmed that the second radiotherapy dose is smaller than the third radiotherapy dose, the second radiotherapy dose is used. A third amount of radiation therapy replaces the second amount of radiation therapy.
在一个具体的例子中,在使用所述第三放射治疗量替换所述第二放射治疗量时,从所述数据库服务器中获取针对所述目标对象的所述第三放射治疗量;使用从所述数据库服务器中获取的所述第三放射治疗量替换所述第二放射治疗量。In a specific example, when the second radiotherapy dose is replaced by the third radiotherapy dose, the third radiotherapy dose for the target object is obtained from the database server; The third radiotherapy dose obtained in the database server replaces the second radiotherapy dose.
在一些可选实施例中,所述确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量之前,所述方法还包括:从临时文件中获取所述第二放射治疗量;相应地,所述使用所述第三放射治疗量替换所述第二放射治疗量,包括:将所述临时文件中的所述第二放射治疗量替换为所述第三放射治疗量。籍此,通过将所述临时文件中的所述第二放射治疗量替换为所述第三放射治疗量,能够方便后续准确地确定所述放射治疗设备在第i+1次中断之前对所述目标对象的第三放射治疗量。In some optional embodiments, before the determining a third amount of radiation therapy to the target object by the radiation therapy device before the ith interruption, the method further comprises: obtaining the second radiation therapy from a temporary file radiation therapy volume; correspondingly, replacing the second radiation therapy volume with the third radiation therapy volume includes: replacing the second radiation therapy volume in the temporary file with the third radiation therapy volume quantity. In this way, by replacing the second radiotherapy amount in the temporary file with the third radiotherapy amount, it is convenient to subsequently accurately determine that the radiotherapy equipment has performed the radiotherapy before the i+1th interruption. The third radiation therapy dose for the target subject.
在一个具体的例子中,所述控制设备的本地磁盘存储的临时文件预存有所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量。所述临时文件可以为所述控制设备在控制所述放射治疗设备在第i-1次中断之前开始对目标对象进行放射治疗时在本地磁盘生成的临时文件,所述临时文件中记录有目标对象的信息,该信息可以包括目标对象的标识信息、目标对象所对应的放射治疗计划的标识信息、目标对象所对应的放射治疗计划的历史放射治疗量。其中,靶点所对应的放射治疗计划的历史放射治疗量可理解为所述放射治疗设备在第i-1次中断之前对目标对象累计的放射治疗量。在所述控制设备本地生成临时文件的目的在于,即使数据库服务器发生异常,临时文件中也存有当前目标对象的信息,不会影响目标对象的放射治疗量的记录。In a specific example, the temporary file stored on the local disk of the control device is pre-stored with the second radiation therapy amount of the target object by the radiation therapy device before the i-1th interruption. The temporary file may be a temporary file generated by the control device on the local disk when the control device controls the radiotherapy device to start performing radiotherapy on the target object before the i-1th interruption, and the temporary file records the target object The information may include the identification information of the target object, the identification information of the radiotherapy plan corresponding to the target object, and the historical radiotherapy amount of the radiotherapy plan corresponding to the target object. The historical radiotherapy dose of the radiotherapy plan corresponding to the target can be understood as the radiotherapy dose accumulated by the radiotherapy device on the target object before the i-1th interruption. The purpose of generating the temporary file locally in the control device is that even if the database server is abnormal, the information of the current target object is stored in the temporary file, and the record of the radiation treatment amount of the target object will not be affected.
在一些可选实施例中,所述方法还包括:在所述放射治疗设备的第i次中断之后,根据所述临时文件存储的所述目标对象的标识信息和所述放射治疗计划的标识信息,控制所述放射治疗设备从第i次中断恢复对所述目标对象的放射治疗。籍此,通过所述临时文件存储的所述目标对象的标识信息和所述放射治疗计划的标识信息,能够准确地控制所述放射治疗设备从第i次中断恢复对所述目标对象的放射治疗。In some optional embodiments, the method further includes: after the i-th interruption of the radiotherapy apparatus, storing the identification information of the target object and the identification information of the radiotherapy plan according to the temporary file , controlling the radiotherapy apparatus to resume the radiotherapy to the target object from the ith interruption. Thereby, through the identification information of the target object and the identification information of the radiotherapy plan stored in the temporary file, the radiotherapy apparatus can be accurately controlled to resume the radiotherapy to the target object from the i-th interruption. .
在一些可选实施例中,所述方法还包括:当所述放射治疗设备开始对下一目标对象进行放射治疗时,将所述临时文件存储的所述目标对象的信息更新为所述下一目标对象的信息。籍此,通过将所述临时文件存储的所述目标对象的信息更新为所述下一目标对象的信息,能够准确地控制所述放射治疗设备对所述下一目标对象的放射治疗。In some optional embodiments, the method further includes: when the radiotherapy apparatus starts to perform radiotherapy on the next target object, updating the information of the target object stored in the temporary file to the next target object information about the target object. Accordingly, by updating the information of the target object stored in the temporary file to the information of the next target object, the radiation therapy of the next target object by the radiation therapy apparatus can be accurately controlled.
在一些可选实施例中,所述方法还包括:在更新所述数据库服务器中存储的所述目标对象的放射治疗量之后,删除存储有所述第二放射治疗量的临时文件。籍此,在更新所述数据库服务器中存储的所述目标对象的放射治疗量之后,通过删除存储有所述第二放射治疗量的临时文件,能够有效节省所述控制设备的本地磁盘的存储空间。In some optional embodiments, the method further includes: after updating the radiation therapy volume of the target object stored in the database server, deleting the temporary file storing the second radiation therapy volume. In this way, after updating the radiation therapy volume of the target object stored in the database server, by deleting the temporary file storing the second radiation therapy volume, the storage space of the local disk of the control device can be effectively saved. .
在一些可选实施例中,所述方法还包括:在删除所述临时文件之后,若接收到针对所述目标对象的接续治疗指令,则生成新的临时文件,并将所述目标对象的信息记录至所述新的临时文件。其中,所述目标对象的信息包括以下中的至少一者:所述目标对象的标识信息、所述目标对象所对应的放射治疗计划的标识信息、所述目标对象所对应的放射治疗计划的历史放射治疗量。其中,所述接续治疗指令可为根据用户对所述控制设备中的设备控制页面中的接续治疗控件的点击操作生成的指令。籍此,在接收到针对所述目标对象的接续治疗指令之后,通过生成新的临时文件,并将所述目标对象所对应的放射治疗计划的历史放射治疗量记录至所述新的临时文件,能够准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量。In some optional embodiments, the method further includes: after deleting the temporary file, if a continuous treatment instruction for the target object is received, generating a new temporary file, and storing the information of the target object Log to the new temporary file. The information of the target object includes at least one of the following: identification information of the target object, identification information of the radiation therapy plan corresponding to the target object, and history of the radiation therapy plan corresponding to the target object amount of radiation therapy. Wherein, the continuous treatment instruction may be an instruction generated according to a user's click operation on the continuous treatment control in the device control page in the control device. Thereby, after receiving the continuous treatment instruction for the target object, by generating a new temporary file, and recording the historical radiation treatment amount of the radiation treatment plan corresponding to the target object to the new temporary file, It is possible to accurately determine the third amount of radiotherapy to the target object by the radiotherapy apparatus before the ith interruption.
本申请实施例通过获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0,并根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,能够准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量,再向所 述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量,能够对放射治疗中断进行处理,并有效保证所述数据库服务器中存储的所述目标对象的放射治疗量的正确性,进而在所述目标对象的放射治疗总量一定的情况下,能够有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server. The radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
图2为本申请实施例二提供的中断处理方法的步骤流程图,该中断处理方法应用于所述控制设备,所述控制设备分别与所述放射治疗设备和所述数据库服务器通信连接。如图2所示,本实施例提供的中断处理方法包括以下步骤:FIG. 2 is a flowchart of steps of an interrupt processing method provided in Embodiment 2 of the present application. The interrupt processing method is applied to the control device, and the control device is respectively connected to the radiotherapy device and the database server in communication. As shown in FIG. 2 , the interrupt processing method provided by this embodiment includes the following steps:
在步骤S201中,若检测到所述放射治疗设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。In step S201, if it is detected that the radiotherapy equipment has returned to normal, a loading instruction of the radiotherapy plan for the target object is received, and according to the loading instruction, the acquiring of the radiotherapy equipment from the i-th - The step of recovering from the 1 interruption to the first radiation therapy dose to the target subject at the ith interruption.
在本实施例中,如果所述控制设备在等待小于预设时长的时长之后接收到所述放射治疗设备中的控制器发送的针对心跳信号的确认信号,则检测到所述放射治疗设备恢复正常。其中,所述预设时长可由本领域技术人员根据实际需要进行设定,本申请实施例对此不做任何限定。所述加载指令可为根据用户对所述控制设备中的设备控制页面中的治疗计划加载控件的点击操作生成的指令。In this embodiment, if the control device receives the confirmation signal for the heartbeat signal sent by the controller in the radiotherapy device after waiting for a duration shorter than the preset duration, it is detected that the radiotherapy device has returned to normal . The preset duration can be set by those skilled in the art according to actual needs, which is not limited in this embodiment of the present application. The loading instruction may be an instruction generated according to a user's click operation on the treatment plan loading control in the device control page in the control device.
在步骤S202中,根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量。In step S202, according to the first radiotherapy dose and the second radiotherapy dose of the radiotherapy device to the target object before the i-1th interruption, it is determined that the radiotherapy device is interrupted at the ith time A third dose of radiation therapy to the target subject previously.
由于该步骤S202的具体实施方式与上述实施例一中步骤S102的具体实施方式类似,在此不再赘述。Since the specific implementation of step S202 is similar to the specific implementation of step S102 in the above-mentioned first embodiment, it will not be repeated here.
在步骤S203中,向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量。In step S203, the third radiotherapy dose is sent to the database server to update the radiotherapy dose of the target object stored in the database server.
由于该步骤S203的具体实施方式与上述实施例一中步骤S103的具体实施方式类似,在此不再赘述。Since the specific implementation of step S203 is similar to the specific implementation of step S103 in the above-mentioned first embodiment, it will not be repeated here.
根据本实施例提供的中断处理方法,在检测到所述放射治疗设备恢复正常时,根据接收到的针对所述目标对象的放射治疗计划的加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤,能够在放射治疗设备发生异常导致靶点治疗中断的情况下,有 效保证靶点的接续治疗的放射治疗量的正确性,进而有效保证靶点的接续治疗的安全性。According to the interrupt processing method provided in this embodiment, when it is detected that the radiotherapy device returns to normal, according to the received loading instruction of the radiotherapy plan for the target object, execute the obtaining of the radiotherapy device from the first The step of recovering from the i-1 interruption to the first radiation therapy dose for the target object at the i-th interruption can effectively ensure the radiation therapy for the continuous treatment of the target in the event that the radiation therapy equipment is abnormal and the target therapy is interrupted The correctness of the amount, thereby effectively ensuring the safety of the continuous treatment of the target.
图3为本申请实施例三提供的中断处理系统的结构示意图。如图3所示,本实施例提供的中断处理系统包括:数据库服务器40、与所述数据库服务器40通信连接的控制设备50,及与所述控制设备50通信连接的放射治疗设备60,所述控制设备50被配置为执行本申请实施例一或者本申请实施例二所述的中断处理方法。FIG. 3 is a schematic structural diagram of an interrupt processing system provided by Embodiment 3 of the present application. As shown in FIG. 3 , the interrupt processing system provided in this embodiment includes: a database server 40 , a control device 50 communicatively connected to the database server 40 , and a radiotherapy device 60 communicatively connected to the control device 50 . The control device 50 is configured to execute the interrupt processing method described in the first embodiment of the present application or the second embodiment of the present application.
在本实施例中,所述中断处理系统还包括:控制器,与所述控制设备50和所述放射治疗设备60通信连接,用于记录所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0。籍此,通过控制器记录所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,能够方便后续准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量。In this embodiment, the interruption processing system further includes: a controller, connected in communication with the control device 50 and the radiotherapy device 60, for recording the recovery of the radiotherapy device from the i-1th interruption to The first radiotherapy dose for the target object at the i-th interruption, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dose is 0. In this way, the controller records the first radiation therapy amount to the target object when the radiotherapy equipment recovers from the i-1th interruption to the i-th interruption, which can facilitate subsequent and accurate determination of the radiotherapy equipment at the i-th interruption. The third dose of radiation therapy to the target subject prior to the interruption.
在执行中断处理方法时,所述控制设备50被配置为:获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0;根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量;向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量。When executing the interruption processing method, the control device 50 is configured to: acquire the first radiation therapy amount for the target object when the radiation therapy equipment recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy dose is 0; according to the first radiotherapy dose and the radiotherapy device, the target is the second radiotherapy dose of the subject, determining the third radiotherapy dose of the radiotherapy device to the target object before the ith interruption; sending the third radiotherapy dose to the database server to update the The radiation therapy dose of the target object stored in the database server.
可选地,所述控制设备50还被配置为:在所述放射治疗设备的第i次中断恢复之后,使用所述第三放射治疗量替换所述第二放射治疗量。Optionally, the control device 50 is further configured to replace the second radiation therapy volume with the third radiation therapy volume after the ith interruption of the radiation therapy device resumes.
可选地,所述控制设备50在使用所述第三放射治疗量替换所述第二放射治疗量时,具体配置为:在确认所述第二放射治疗量小于所述第三放射治疗量的情况下,使用所述第三放射治疗量替换所述第二放射治疗量。Optionally, when replacing the second radiotherapy dose with the third radiotherapy dose, the control device 50 is specifically configured to: confirm that the second radiotherapy dose is less than the third radiotherapy dose. In this case, the second radiotherapy dose is replaced with the third radiotherapy dose.
可选地,所述控制设备50在使用所述第三放射治疗量替换所述第二放射治疗量时,具体配置为:从所述数据库服务器中获取针对所述目标对象的所述第三放射治疗量;使用从所述数据库服务器中获取的所述第三放射治疗量替换所述第二放射治疗量。Optionally, when replacing the second radiation therapy volume with the third radiation therapy volume, the control device 50 is specifically configured to: acquire the third radiation therapy for the target object from the database server treatment amount; replacing the second radiation treatment amount with the third radiation treatment amount obtained from the database server.
可选地,所述控制设备50还被配置为:所述确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量之前,从临时文件中获取所述第二放射治疗量;在使用所述第三放射治疗量替换所述第二放射治疗量时,具体配置为:将所述临时文件中的所述第二放射治疗量替换为所述第三放射治疗量。Optionally, the control device 50 is further configured to: obtain the second radiotherapy amount from the temporary file before the determination of the third radiotherapy amount of the target object by the radiotherapy device before the ith interruption. The radiation therapy amount; when using the third radiation therapy volume to replace the second radiation therapy volume, the specific configuration is: replacing the second radiation therapy volume in the temporary file with the third radiation therapy volume .
可选地,所述临时文件中还存有所述目标对象的标识信息和/或所述目标对象所对应的放射治疗计划的标识信息。Optionally, the temporary file also stores the identification information of the target object and/or the identification information of the radiotherapy plan corresponding to the target object.
可选地,所述控制设备50还被配置为:在所述放射治疗设备的第i次中断之后,根据所述临时文件存储的所述目标对象的标识信息和所述放射治疗计划的标识信息,控制所述放射治疗设备从第i次中断恢复对所述目标对象的放射治疗。Optionally, the control device 50 is further configured to: after the i-th interruption of the radiotherapy device, store the identification information of the target object and the identification information of the radiotherapy plan according to the temporary file , controlling the radiotherapy apparatus to resume the radiotherapy to the target object from the ith interruption.
可选地,所述控制设备50还被配置为:当所述放射治疗设备开始对下一目标对象进行放射治疗时,将所述临时文件存储的所述目标对象的信息更新为所述下一目标对象的信息。Optionally, the control device 50 is further configured to: when the radiotherapy device starts to perform radiotherapy on the next target object, update the information of the target object stored in the temporary file to the next target object information about the target object.
可选地,所述控制设备50还被配置为:所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:若检测到所述数据库服务器发生异常,则生成放射治疗中断请求,并将所述放射治疗中断请求发送至所述放射治疗设备的控制器,使得所述控制器根据所述放射治疗中断请求,控制所述放射治疗设备第i次中断对所述目标对象的放射治疗;若检测到所述数据库服务器恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。Optionally, the control device 50 is further configured to: before the acquisition of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method It also includes: if an abnormality is detected in the database server, generating a radiotherapy interruption request, and sending the radiotherapy interruption request to the controller of the radiotherapy equipment, so that the controller interrupts the radiotherapy according to the radiotherapy request, control the radiotherapy device to interrupt the radiotherapy to the target object for the i-th time; if it is detected that the database server is back to normal, receive a loading instruction for the radiotherapy plan for the target object, and according to the Loading an instruction to execute the step of acquiring the first radiotherapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the i-th interruption.
可选地,所述控制设备50还被配置为:所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,若所述放射治疗设备的控制设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。Optionally, the control device 50 is further configured to: before the acquisition of the radiotherapy device from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, if the The control device of the radiotherapy device returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy device from the i-1th interruption to recovery from the i-1th interruption to the ith The step of delivering the first radiation therapy dose to the target subject at i interruptions.
可选地,所述控制设备50还被配置为:所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,若检测到所述放射治疗设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。Optionally, the control device 50 is further configured to: before the acquisition of the radiotherapy device recovers from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is The radiotherapy equipment returns to normal, then receives a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, executes the acquisition of the radiotherapy equipment from the i-1th interruption to the ith The step of delivering a first dose of radiation therapy to the target subject at the time of interruption.
可选地,所述控制设备50还被配置为:在更新所述数据库服务器中存储的所述目标对象的放射治疗量之后,删除存储有所述第二放射治疗量的临时文件。Optionally, the control device 50 is further configured to: after updating the radiation therapy volume of the target object stored in the database server, delete the temporary file storing the second radiation therapy volume.
可选地,所述控制设备50还被配置为:在删除所述临时文件之后,若接收到针对所述目标对象的接续治疗指令,则生成新的临时文件,并将所述目标对象的信息记录至所述新的临时文件。Optionally, the control device 50 is further configured to: after deleting the temporary file, if a continuous treatment instruction for the target object is received, generate a new temporary file, and store the information of the target object Log to the new temporary file.
本申请实施例通过获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0,并根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,能够准确地确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量,再向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量,能够对放射治疗中断进行处理,并有效保证所述数据库服务器中存储的所述目标对象的放射治疗量的正确性,进而在所述目标对象的放射治疗总量一定的情况下,能够有效保证目标对象的接续治疗的放射治疗量的正确性,进而有效保证目标对象的接续治疗的安全性。This embodiment of the present application acquires the first radiation therapy amount for the target object when the radiotherapy apparatus recovers from the i-1th interruption to the ith interruption, where i is an integer greater than or equal to 1, and when i equals At 1, the first radiotherapy dose is 0, and according to the first radiotherapy dose and the second radiotherapy dose to the target object by the radiotherapy device before the i-1th interruption, it can be accurately determine the third radiation therapy amount of the radiotherapy device to the target object before the i-th interruption, and then send the third radiation therapy amount to the database server to update the data stored in the database server. The radiotherapy dose of the target object can be processed to deal with the interruption of radiotherapy, and the accuracy of the radiotherapy dose of the target object stored in the database server can be effectively ensured. In the case of , it can effectively ensure the correctness of the radiation therapy amount of the continuous treatment of the target object, and further effectively ensure the safety of the continuous treatment of the target object.
对应于上述实施例所提供的中断处理方法,参照图4,本申请实施例还提供了一种电子设备400,用于执行本申请任意方法实施例提供的中断处理方法。如图4所示,本实施例提供的电子设备400,可以包括处理器401和存储器402,存储器402中存储有程序指令,处理器401配置为调用存储器402中的程序指令以执行本申请任意方法实施例提供的中断处理方法。Corresponding to the interrupt processing method provided by the above embodiment, referring to FIG. 4 , an embodiment of the present application further provides an electronic device 400 for executing the interrupt processing method provided by any method embodiment of the present application. As shown in FIG. 4 , the electronic device 400 provided in this embodiment may include a processor 401 and a memory 402, where program instructions are stored in the memory 402, and the processor 401 is configured to call the program instructions in the memory 402 to execute any method of the present application The interrupt processing method provided by the embodiment.
处理器401可以包括中央处理器(CPU,单核或者多核),图形处理器(GPU),微处理器,特定应用集成电路(Application-Specific Integrated Circuit,ASIC),数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器,或者多个用于控制程序执行的集成电路。The processor 401 may include a central processing unit (CPU, single-core or multi-core), a graphics processing unit (GPU), a microprocessor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, or multiple integrated circuits used to control program execution.
存储器402可以包括只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以包括电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM) 或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器402可以是独立设置的,也可以和处理器401集成在一起。 Memory 402 may include Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, Random Access Memory (RAM), or other types of information and instructions that can be stored It can also include Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation. The memory 402 can be set independently or integrated with the processor 401 .
在具体实现中,作为一种实施例,处理器401可以包括一个或多个CPU。在具体实现中,作为一种实施例,上述电子设备400可以包括多个处理器。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs. In a specific implementation, as an embodiment, the foregoing electronic device 400 may include multiple processors. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
电子设备400的具体执行过程可参见本申请任意方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。For the specific execution process of the electronic device 400, reference may be made to any method embodiment of the present application, and the implementation principle and technical effect thereof are similar, and details are not described herein again in this embodiment.
本申请实施例提供了一种计算机存储介质,计算机存储介质存储有计算机程序,计算机程序包括程序指令,程序指令被配置为在被处理器执行时使处理器执行本申请任意方法实施例提供的中断处理方法。其工作原理和效果类似,此处不再赘述。An embodiment of the present application provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions are configured to cause the processor to execute the interrupt provided by any method embodiment of the present application when executed by the processor. Approach. Its working principle and effect are similar, and will not be repeated here.
本领域技术人员应明白,本公开的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过因特网或其它有线或无线电信系统。As will be appreciated by those skilled in the art, embodiments of the present disclosure may be provided as a method, an apparatus (apparatus), or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The computer program is stored/distributed in a suitable medium, provided with or as part of other hardware, or may take other forms of distribution, such as over the Internet or other wired or wireless telecommunication systems.
本申请是参照本公开的实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (apparatus) and computer program products of embodiments of the present disclosure. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备 以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (17)

  1. 一种中断处理方法,其特征在于,所述方法包括:An interrupt processing method, characterized in that the method comprises:
    获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0;Acquiring the first radiation therapy amount to the target object when the radiotherapy equipment recovers from the i-1th interruption to the i-th interruption, wherein i is an integer greater than or equal to 1, and when i is equal to 1, the The first radiation therapy dose is 0;
    根据所述第一放射治疗量和所述放射治疗设备在第i-1次中断之前对所述目标对象的第二放射治疗量,确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量;According to the first radiation therapy amount and the second radiation therapy amount of the radiation therapy device to the target object before the i-1th interruption, it is determined that the radiation therapy device has treated the target before the i-th interruption. the subject's third dose of radiation therapy;
    向所述数据库服务器发送所述第三放射治疗量,以更新所述数据库服务器中存储的所述目标对象的放射治疗量。The third radiotherapy dose is sent to the database server to update the radiotherapy dose of the target object stored in the database server.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述放射治疗设备的第i次中断恢复之后,使用所述第三放射治疗量替换所述第二放射治疗量。After the ith interruption of the radiotherapy apparatus resumes, the second radiotherapy dose is replaced with the third radiotherapy dose.
  3. 根据权利要求2所述的方法,其特征在于,所述使用所述第三放射治疗量替换所述第二放射治疗量,包括:The method of claim 2, wherein the replacing the second radiation therapy volume with the third radiation therapy volume comprises:
    在确认所述第二放射治疗量小于所述第三放射治疗量的情况下,使用所述第三放射治疗量替换所述第二放射治疗量。When it is confirmed that the second radiotherapy dose is smaller than the third radiotherapy dose, the second radiotherapy dose is replaced with the third radiotherapy dose.
  4. 根据权利要求2所述的方法,其特征在于,所述使用所述第三放射治疗量替换所述第二放射治疗量,包括:The method of claim 2, wherein the replacing the second radiation therapy volume with the third radiation therapy volume comprises:
    从所述数据库服务器中获取针对所述目标对象的所述第三放射治疗量;obtaining the third radiation therapy dose for the target object from the database server;
    使用从所述数据库服务器中获取的所述第三放射治疗量替换所述第二放射治疗量。The second radiotherapy dose is replaced with the third radiotherapy dose obtained from the database server.
  5. 根据权利要求2所述的方法,其特征在于,所述确定所述放射治疗设备在第i次中断之前对所述目标对象的第三放射治疗量之前,所述方法还包括:3. The method of claim 2, wherein before said determining a third amount of radiation therapy to the target subject by the radiation therapy device before the ith interruption, the method further comprises:
    从临时文件中获取所述第二放射治疗量;obtaining the second radiation therapy dose from a temporary file;
    相应地,所述使用所述第三放射治疗量替换所述第二放射治疗量,包括:Correspondingly, replacing the second radiation therapy volume with the third radiation therapy volume includes:
    将所述临时文件中的所述第二放射治疗量替换为所述第三放射治疗量。The second radiotherapy dose in the temporary file is replaced with the third radiotherapy dose.
  6. 根据权利要求5所述的方法,其特征在于,所述临时文件中还存有所述目标对象的标识信息和/或所述目标对象所对应的放射治疗计划的标识信息。The method according to claim 5, wherein the temporary file further stores the identification information of the target object and/or the identification information of the radiotherapy plan corresponding to the target object.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    在所述放射治疗设备的第i次中断之后,根据所述临时文件存储的所述目标对象的标识信息和所述放射治疗计划的标识信息,控制所述放射治疗设备从 第i次中断恢复对所述目标对象的放射治疗。After the i-th interruption of the radiotherapy apparatus, according to the identification information of the target object and the identification information of the radiotherapy plan stored in the temporary file, the radiotherapy apparatus is controlled to recover from the i-th interruption Radiation therapy of the target subject.
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    当所述放射治疗设备开始对下一目标对象进行放射治疗时,将所述临时文件存储的所述目标对象的信息更新为所述下一目标对象的信息。When the radiotherapy apparatus starts to perform radiotherapy on the next target object, the information of the target object stored in the temporary file is updated to the information of the next target object.
  9. 根据权利要求1所述的方法,其特征在于,所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:The method according to claim 1, characterized in that, before the acquisition of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method further comprises: include:
    若检测到所述数据库服务器发生异常,则生成放射治疗中断请求,并将所述放射治疗中断请求发送至所述放射治疗设备的控制器,使得所述控制器根据所述放射治疗中断请求,控制所述放射治疗设备第i次中断对所述目标对象的放射治疗;If it is detected that the database server is abnormal, a radiotherapy interruption request is generated, and the radiotherapy interruption request is sent to the controller of the radiotherapy equipment, so that the controller controls the radiotherapy interruption request according to the radiotherapy interruption request. The radiotherapy device interrupts the radiotherapy to the target object for the i-th time;
    若检测到所述数据库服务器恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。If it is detected that the database server is back to normal, a load instruction of the radiotherapy plan for the target object is received, and according to the load instruction, the acquisition of the radiotherapy equipment from the i-1th interruption to recovery is executed. The step of delivering the first radiation therapy dose to the target subject at the ith interruption.
  10. 根据权利要求1所述的方法,其特征在于,所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:The method according to claim 1, characterized in that, before the acquisition of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method further comprises: include:
    若所述放射治疗设备的控制设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。If the control device of the radiotherapy device returns to normal, receive a loading instruction of the radiotherapy plan for the target object, and according to the loading instruction, execute the acquisition of the radiotherapy device from the i-1th interruption The step of reverting to the first radiation therapy dose to the target subject at the ith interruption.
  11. 根据权利要求1所述的方法,其特征在于,所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量之前,所述方法还包括:The method according to claim 1, characterized in that, before the acquisition of the radiotherapy equipment from the i-1th interruption to the first radiotherapy amount for the target object when the i-th interruption is resumed, the method further comprises: include:
    若检测到所述放射治疗设备恢复正常,则接收针对所述目标对象的放射治疗计划的加载指令,并根据所述加载指令,执行所述获取所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量的步骤。If it is detected that the radiotherapy equipment has returned to normal, a loading instruction of the radiotherapy plan for the target object is received, and according to the loading instruction, the acquiring of the radiotherapy equipment to recover from the i-1th interruption is executed. The step of delivering the first radiation therapy dose to the target subject at the ith interruption.
  12. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在更新所述数据库服务器中存储的所述目标对象的放射治疗量之后,删除存储有所述第二放射治疗量的临时文件。After updating the radiation therapy volume of the target object stored in the database server, the temporary file storing the second radiation therapy volume is deleted.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, wherein the method further comprises:
    在删除所述临时文件之后,若接收到针对所述目标对象的接续治疗指令, 则生成新的临时文件,并将所述目标对象的信息记录至所述新的临时文件。After the temporary file is deleted, if a continuous treatment instruction for the target object is received, a new temporary file is generated, and the information of the target object is recorded in the new temporary file.
  14. 一种中断处理系统,其特征在于,所述系统包括:An interrupt processing system, characterized in that the system comprises:
    数据库服务器、与所述数据库服务器通信连接的控制设备,及与所述控制设备通信连接的放射治疗设备,a database server, a control device in communication with the database server, and a radiation therapy device in communication with the control device,
    所述控制设备被配置为执行权利要求1-13中任意一项权利要求所述的中断处理方法。The control device is configured to perform the interrupt handling method of any one of claims 1-13.
  15. 根据权利要求14所述的中断处理系统,其特征在于,所述中断处理系统还包括:The interrupt processing system according to claim 14, wherein the interrupt processing system further comprises:
    控制器,与所述控制设备和所述放射治疗设备通信连接,用于记录所述放射治疗设备从第i-1次中断恢复到第i次中断时对目标对象的第一放射治疗量,其中,i为大于或等于1的整数,且当i等于1时,所述第一放射治疗量为0。a controller, connected in communication with the control device and the radiotherapy device, for recording the first radiotherapy amount to the target object when the radiotherapy device recovers from the i-1th interruption to the i-th interruption, wherein , i is an integer greater than or equal to 1, and when i is equal to 1, the first radiotherapy amount is 0.
  16. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器中存储有程序指令,所述处理器配置为调用所述存储器中的程序指令以执行如权利要求1-13中任意一项权利要求所述的中断处理方法。An electronic device, characterized in that the electronic device comprises a processor and a memory, the memory stores program instructions, and the processor is configured to call the program instructions in the memory to execute the program instructions according to claims 1-13 The interrupt handling method according to any one of claims.
  17. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被配置为在被处理器执行时使所述处理器执行如权利要求1-13中任意一项权利要求所述的中断处理方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions being configured to, when executed by a processor, cause the processor to perform the process as claimed in the claims The interrupt processing method according to any one of claims 1-13.
PCT/CN2020/140391 2020-12-28 2020-12-28 Interruption processing method and system, and electronic device and computer storage medium WO2022140988A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/140391 WO2022140988A1 (en) 2020-12-28 2020-12-28 Interruption processing method and system, and electronic device and computer storage medium
CN202080108248.3A CN116829229A (en) 2020-12-28 2020-12-28 Interrupt processing method, system, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140391 WO2022140988A1 (en) 2020-12-28 2020-12-28 Interruption processing method and system, and electronic device and computer storage medium

Publications (1)

Publication Number Publication Date
WO2022140988A1 true WO2022140988A1 (en) 2022-07-07

Family

ID=82259836

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140391 WO2022140988A1 (en) 2020-12-28 2020-12-28 Interruption processing method and system, and electronic device and computer storage medium

Country Status (2)

Country Link
CN (1) CN116829229A (en)
WO (1) WO2022140988A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021830A1 (en) * 2000-08-17 2002-02-21 Ritt Daniel M. Interrupted treatment quality assurance
CN104548372A (en) * 2015-01-07 2015-04-29 上海联影医疗科技有限公司 Radiotherapy planning method and device, radiotherapy dose determining method and device and radiotherapy quality guaranteeing method and device
CN107050663A (en) * 2016-12-23 2017-08-18 江苏海明医疗器械有限公司 The automatic treatment record verification method and system of a kind of linear accelerator
CN108744308A (en) * 2018-05-28 2018-11-06 沈阳东软医疗系统有限公司 Radiotherapy control method, device, system and equipment and storage medium
US20190030364A1 (en) * 2017-07-28 2019-01-31 Varian Medical Systems International Ag Apparatus to Facilitate the Administration of a Knowledge-Based Radiation Treatment Plan
CN111954496A (en) * 2018-02-13 2020-11-17 反射医疗公司 Beam station treatment planning and radiation delivery method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021830A1 (en) * 2000-08-17 2002-02-21 Ritt Daniel M. Interrupted treatment quality assurance
CN104548372A (en) * 2015-01-07 2015-04-29 上海联影医疗科技有限公司 Radiotherapy planning method and device, radiotherapy dose determining method and device and radiotherapy quality guaranteeing method and device
CN107050663A (en) * 2016-12-23 2017-08-18 江苏海明医疗器械有限公司 The automatic treatment record verification method and system of a kind of linear accelerator
US20190030364A1 (en) * 2017-07-28 2019-01-31 Varian Medical Systems International Ag Apparatus to Facilitate the Administration of a Knowledge-Based Radiation Treatment Plan
CN111954496A (en) * 2018-02-13 2020-11-17 反射医疗公司 Beam station treatment planning and radiation delivery method
CN108744308A (en) * 2018-05-28 2018-11-06 沈阳东软医疗系统有限公司 Radiotherapy control method, device, system and equipment and storage medium

Also Published As

Publication number Publication date
CN116829229A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
AU2020232818B2 (en) Method of providing rotational radiation therapy using particles
US11027148B2 (en) System and method for planning a radiation therapy treatment
US10173076B2 (en) System and method for determining a radiation treatment plan and a radiation therapy machine
US6879659B2 (en) Radiotherapeutic apparatus
US8411819B2 (en) Radiation treatment planning and execution that consider the type of critical organ
JP6803962B2 (en) Methods and Corresponding Radiation Therapy Systems for Creating Radiation Therapy Plans
US11141609B2 (en) Dose guided real-time adaptive radiotherapy
US11786753B2 (en) Method, computer program product and computer system for radiotherapy planning, and radiotherapy delivery system
US20200360728A1 (en) Machine learning based dose guided real-time adaptive radiotherapy
WO2022140988A1 (en) Interruption processing method and system, and electronic device and computer storage medium
Popescu et al. Patient-specific QA using 4D Monte Carlo phase space predictions and EPID dosimetry
US20150272497A1 (en) Methods, systems, and computer readable media for verifying the accuracy of medical treatment in accordance with a treatment plan
EP3750595B1 (en) Method and system for robust radiotherapy treatment planning for biological uncertainties
WO2022140987A1 (en) Image-guided cooperation method and system, and electronic device and computer storage medium
CN108744308A (en) Radiotherapy control method, device, system and equipment and storage medium
CN106714904A (en) Accuracy management system and method for radiotherapy apparatus
Woon et al. Trajectory log file sensitivity: a critical analysis using DVH and EPID
US20230019727A1 (en) Providing a treatment plan for radiotherapy when the delivery is interrupted
CN115364387A (en) Treatment record generation method, control system, computer equipment and storage medium
WO2022140986A1 (en) Method and apparatus for determining arcing start and end angles for multi-target treatment, and electronic device
Webster et al. New dosimetric guidelines for linear Boltzmann transport equations through comparative evaluation of stereotactic body radiation therapy for lung treatment planning
WO2023115261A1 (en) Radiotherapy device control method and apparatus, device, and storage medium
US20230381540A1 (en) Method for controlling radiation delivery, computer device and storage medium
Monod 6.2 Mars Rover Spirit Flash Memory Problem
US20220323790A1 (en) Particle therapy system, particle therapy method, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20967338

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202080108248.3

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20967338

Country of ref document: EP

Kind code of ref document: A1